
@font-face {
	font-family: 'GeosansLight.ttf';
	src:url('../fonts1/GeosansLight.ttf');

}

.container-portada{
    width:90%;
    height: 400px;
    position: relative;
    background-image: url(../img/portada.jpg);
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}

.container-portada1{
    width:90%;
    height: 400px;
    position: relative;
    background-image: url(../img/d1.jpg);
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}

.container-portada2{
    width:90%;
    height: 400px;
    position: relative;
    background-image: url(../img/por2.jpg);
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}

.container-portada3{
    width:90%;
    height: 400px;

    position: relative;
    background-image: url(../img/por3.jpg);
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}

.container-portada4{
    width:90%;
    height: 400px;
    position: relative;
    background-image: url(../img/por4.jpg);
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}

.container-portada5{
    width:90%;
    height: 400px;
    position: relative;
    background-image: url(../img/img5.jpg);
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}

.container-portada6{
    width:90%;
    height: 400px;
    position: relative;
    background-image: url(../img/ma2.jpg);
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}

.container-portada7{
    width:90%;
    height: 400px;
    position: relative;
    background-image: url(../img/boda1.jpg);
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}


.container-portada8{
    width:90%;
    height: 400px;
    position: relative;
    background-image: url(../img/tarima1.jpg);
    background-size: 200%;
    animation: movimiento 20s infinite linear alternate;
}

@keyframes movimiento{
    from{
        background-position: bottom left;
    }to{
        background-position: top right;
    }
}


.capa-gradient{
    width: 100%;
    height: 100%;
    position: absolute;
    background: -webkit-linear-gradient(left, black, #790000);
    opacity: 0.3;
}




.container{
    display: flex;
    width: 85%;
    height: 65vh;
    padding: 4% 2%;
    box-sizing: border-box;

}

.box{
	background: rgba(255, 255, 255, 0.75);
    flex: 1;
    overflow: hidden;
    margin: 8px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.48);
    line-height: 0;
    transition: all 600ms;

}
a{
text-decoration: none;
color: rgb(0, 0, 0);
}

.box > a img{
    width: 200%;
    height: calc(100% - 10vh);
    object-fit: cover;
    transition: all 300ms;
}

.box > a span{
    font-size: 110%;
    font-family: sans-serif;
    display: block;
    text-align: center;
    height: 0px;
    font-family: 'GeosansLight.ttf';
    font-weight: bold;
    line-height: 3;
}

.box:hover{
    flex: 50%;
}

.box:hover > a img{
    width: 100%;
    height: 100%;
}


@media screen and (max-width: 500px){

}

@media screen and (max-width: 800px){
	.container-portada{
	    width:100%;
	}
	.container-portada1{
	    width:100%;
	}
	.container-portada2{
	    width:100%;
	}
	.container-portada3{
	    width:100%;
	}
	.container-portada4{
	    width:100%;
	}
	.container-portada5{
	    width:100%;
	}
	.container-portada6{
	    width:100%;
	}

	.container{
	    display: flex;
	    width: 100%;
	    height: 45vh;
	    padding: 4% 2%;


	}


	.box > a span{
	    font-size: 70%;





}
