/*INICIO*/
/* BODY */
body {
    background-color: #fff7f0;
}

/*NAVBAR*/

.navbar-brand img{
    margin-top: -2px;
    width: 50px;
    height: auto;
}

.navbar-brand img:hover{
    transition-duration: 0.2s;
    transform: scale(1.15);
}

.navbar {
    margin: 0px;
    padding: 0px;
    background-color: #e8d0bc !important;
    height: 60px;
}

.navbar-brand {
    color: black !important;
}

.nav-link {
    color: black !important;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif !important;
    font-weight: bold;
    font-size: 20px;
    padding: 10px;
}

.nav-item {
    background-color: #e8d0bc;
    margin-top: -1px; /* Esto de aquí hace que en el desplegable del modo movil no haya espacios entre los padding de los links*/
    margin-right: 2%;
    border-radius: 3px;
}

.nav-item:hover {
    transition-duration: 0.4s;
    background-color: #c9b19d;
    transform: scale(1.15);
}

.nav-link:hover {
    color: white !important;
}

#under_nav {
    padding: 20px;
}

/*FOTO ENCABEZADO*/

/* #banner {
    position: relative;
} */

#foto_banner{
    padding: 100px;
    padding-bottom: 320px;
    background: url('./imagenes/Banner.jpg');
}

#Cuadro_texto {
    position: absolute;
    top: 15%;
    text-align: center;
    margin-inline: 33%;
    font-size: 18px;
    padding: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

button {
    padding: 10px !important;
    opacity: 1 !important;
    background-color: #e8d0bc !important;
    border-radius: 10px !important;
}

button:hover {
    transition-duration: 0.2s;
    background-color: #c9b19d !important;
    transform: scale(1.1);
}

/*TEXTO FECHAS*/

h3 {
    text-align: center;
    margin-bottom: 2%;
}

#Texto_fechas {
    margin: 0;
    padding-left: 10%;
    padding-right: 2%;
}

.row {
    margin: 0;
}

/*FOTO FECHAS*/

#Foto_calendario {
    margin:0;
    padding-left: 5%;
}

#Foto_calendario img{
    border: 2px solid #2C699B;
    border-radius:3px;
    height: auto;
    max-width: 100%;
}

/*TABLA CALENDARIO*/

table {
    text-align: center;
    margin:auto;
    border-color: black;
}

table th{
    background-color:#2C699B;
    color:white;
}

/*PATROCINADORES*/

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
}

.flip {
    perspective: 1000px;
}

.inner {
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip:hover .inner{
    transition-duration: 0.8s;
    transform: rotateY(180deg);
}

.front, .back {
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


.back {
    transform: rotateY(180deg);
    width: 90%;
    height: 90%;
    margin: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-container>.flip>.inner {
    background-color: #f1f1f1;
    width: 150px;
    height: 150px;
    margin: 10px;
    margin-inline: 20px;
    margin-bottom: 40px;
    border: 2px solid #2C699B;
    border-radius: 50px;
}

.flex-container img {
    margin: 10px;
    width: 130px;
    height: 130px;
}

.flex-container a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
}

/*FOOTER*/

#Footer {
    text-align: center;
    background-color: #e8d0bc;
    margin-top: 20px;
    padding: 20px;
}

.Logos_footer img {
    padding: 2px;
    margin: 2%;
    width: 42px;
    height: 42px;
    border-radius:3px;
}

.Logos_footer img:hover {
    transition-duration: 0.2s;
    transform: scale(1.3);
    background-color:#364E62;
    filter: invert(53);
}

#Links_footer {
    color: black;
    margin-top: 10px;
}

#Links_footer a {
    margin: 20px;
    padding: 5px;
    text-decoration: none;
    color: black;
    border-radius:3px;
}

#Links_footer a:hover {
    transition-duration: 0.4s;
    background-color: #c9b19d;
    color:white;
    font-size: 17px;

}

#Texto_abajo {
    margin-top: 20px;
}

/*OTROS*/

.Titulo {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

/*FAQ*/

#FAQ .flex-container>.flip>.inner{
    text-align: center;
    width: 90%;
    height: 95%;
    background-color: #f1f1f1;
    border: 2px solid #2C699B;
    border-radius: 50px;
}

#FAQ .flex-container>.flip {
    width: 500px;
    height: 200px;
    margin-bottom: 2%;
}

#FAQ .flip:hover .inner{
    transition-duration: 0.8s;
    transform: rotateY(180deg);
}

#FAQ .front{
    width: 90%;
    height: 90%;
    margin-left: 5%;
    justify-content: center;
    align-items:center;
}

#FAQ .back {
    transform: rotateY(180deg);
    width: 90%;
    height: 90%;
    margin: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#FAQ h3{
    margin: auto;
    max-width: 95%;
    font-size: 25px;
    margin-top: 15px;
}
#FAQ p{
    margin: auto;
    max-width: 95%;
    margin-top: 10px;
}

/*CONTACTO*/

#contact-text{
    margin: auto;
}

#contact-text iframe{
    max-width: 100%;
}

#contact-form {
    background-color:#c9b19d !important;
    border-radius: 20px;
    max-height:400px;
}

#contact {
    margin-bottom: 139px;
}

input:hover {
    border-color: #2C699B !important;
}

textarea:hover {
    transition-duration: 0.2s;
    border-color: #2C699B !important;
}

/*REGISTRO*/

#Registro{
    margin-top: 10% !important;
    margin-bottom: 35% !important;
    background-color: #c9b19d;
    border-radius: 20px;
}

#Registro form{
    padding-bottom: 10px;
}

#Registro .Titulo{
    margin-top: 1%;
}

/* Términos y Condiciones */
/*Política de Cookies*/
/*Política de Privacidad*/

#terminos_politicas{
    margin-bottom: 70px;
    margin-left: 2%;
    max-width: 90%;
}

/*Galería*/

#fondo-galeria{
    background-color:#e8d0bc;
    margin-top: 60px;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 20px;
    padding: 20px;
    border-radius:5px;
}

.carrusel {
    width:85%;
    margin: auto;
    overflow: hidden;
}

.carrusel ul{
    margin-top: 4%;
    display:flex;
    padding: 0;
    width:500%;
    animation: cambio 10s infinite linear; /*ease*/
    animation-direction: normal;
}

.carrusel li{
    width:100%;
    list-style: none;
}

.carrusel img{
    width:100%;
}

@keyframes cambio {
    0% {
        margin-left: 0;
    }
    20% {
        margin-left: 0%;
    }
    25% {
        margin-left: -100%; 
    }
    45% {
        margin-left: -100%;
    }
    50% {
        margin-left: -200%;
    }
    60% {
        margin-left: -200%;
    }
    65% {
        margin-left: -300%;
    }
    85% {
        margin-left: -300%;
    }
    90% {
        margin-left: -400%;
    }
    100% {
        margin-left: -400%;
    }
}

section .flex-container {
    max-width: 100%;
    padding: 10px;
    height: auto;
}

section .fila {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
}

section .fila img{
    width: 90%;
    max-width:45%;
    height: auto;
}

.fila img:hover{
    transition-duration: 0.2s;
    transform: scale(1.2);
}