/* INDEX
------variables------
------general-------
------tipografias------
------nav-------
------form---------
------styles--------
------position-----
*/
/* ------variables------ */
footer {
    background-color: #2D2D2A;
}

.section-beig {
    background-color: var(--beig);
}

.section-green {
    background-color: var(--green);
}

.color-nav {
    background-color: var(--black);
}

.color-footer {
    background-color: var(--black);
}

.color-text {
    color: var(--white);
}

.color-text-invert {
    color: var(--black);
}

.color-body {
    background-color: var(--grey);
}

.color-cream {
    background-color: var(--cream);
}

/* ------general------- */
:root {
    --beig: #E1BF8D;
    --green: #43624B;
    --white: #ffffff;
    --grey: #D0C4A5;
    --black: #2D2D2A;
    --cream: #F4F1EA;
}

body,
html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    background-color: #D0C4A5;
    margin: 0 8%;
    scroll-behavior: smooth;
}

/* ------nav------- */

nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    align-items: center;
    margin: 0;
}
ul{
    margin-left: 50px;
}

ul a,
li .nav {
    color: var(--white);
    text-decoration: none;
    padding: 14px;
}

.li-nav {
    display: flex;
}

.icon-nav {
    align-self: anchor-center;
}

.icon-nav-hov {
    opacity: 0;
}

.a-nav:hover {
    background: var(--white);
    border-radius: 5%;
    color: var(--black);
}

.li-nav:hover>.icon-nav {
    opacity: 0;
    transition: .2s;
}


/* ------tipografias------ */
.quattrocento-bold-big {
    font-size: 38px;
    font-family: "Quattrocento", serif;
    font-weight: 700;
    font-style: normal;
}

.quattrocento-bold {
    font-family: "Quattrocento", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 26px;
}
.quattrocento-bold-nav {
    font-family: "Quattrocento", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
}

.fanwood-text-regular {
    font-family: "Fanwood Text", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
}

/* ------styles-------- */

/* ------position------ */
.margin-text {
    margin: 0px 80px;
}

.center-frontpage {
    margin-left: -15%;
    display: flex;
    flex-direction: column;
}

p+ul {
    margin: 0px 80px;
}

.logo {
    display: flex;
    height: 120px;
}

section+section {
    margin-top: 2rem;
    /* o el margen que quieras */
}

img {
    max-width: 100%;
    height: auto;
}

.front-page {
    background: url(img-onepage/frida-sobremi.png) no-repeat center center/cover;
    min-height: 100vh;
}

.footer-ul {
    list-style-type: none;
    padding-left: 0;
}

.footer-social {
    display: flex;
}

.logoandimg {
    display: flex;
}

.footer-right {
    display: flex;
    flex-wrap: wrap;
}

.li-flex {
    display: flex;
    align-items: anchor-center;
    gap: 20px;
}

section {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    justify-content: center;
}

.team img {
    aspect-ratio: 1/1;
    width: 266.3px;
    height: auto;
}

.text-center {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.top-margin {
    margin-top: 12px;
}

.first-row-img {
    display: flex;


}

.second-row-img {
    display: flex;
}

.navegation-inside {
    display: flex;
}

.navegation-inside-frontpage {
    align-self: center;
    margin-top: 15%;
}

.margin-between-row-icon {
    margin-bottom: 15px;
}

.img-with-explanation {
    position: relative;
    width: 266.3px;
    /* mismo ancho que tus imágenes */
    aspect-ratio: 1/1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-with-explanation img,
.img-with-explanation .explanation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.img-with-explanation img {
    object-fit: cover;
    opacity: 1;
    z-index: 1;
}

.img-with-explanation .explanation {
    background-color: var(--black);
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0;
    z-index: 2;
}

.img-with-explanation:hover img {
    opacity: 0;
}

.img-with-explanation:hover .explanation {
    opacity: 1;
}

.footer-all {
    display: flex;
}

.footer-logo {
    display: flex;
    justify-content: center;
}
.a-footer {
    display: flex;
}




.contact-form {
    border: 2px solid #43624B;
    border-radius: 10px;
    padding: 2rem;
    max-width: 600px;
    margin: auto;
}

.contact-form legend {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--white);
}

.contact-form input {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus {
    outline: none;
    border-color: #43624B;
    box-shadow: 0 0 5px #43624B33;
}

/* ---------------------------mobile  */
/* Media queries-  big mobile */
@media screen and (min-width:576px) {
    .movil-doce {
        width: 100%;
    }

    .movil-once {
        width: 91.6667%;
    }

    .movil-diez {
        width: 83.3333%;
    }

    .movil-nueve {
        width: 75%;
    }

    .movil-ocho {
        width: 66.6667%;
    }

    .movil-siete {
        width: 58.3333%;
    }

    .movil-seis {
        width: 50%;
    }

    .movil-cinco {
        width: 41.6667%;
    }

    .movil-cuatro {
        width: 33.3333%;
    }

    .movil-tres {
        width: 25%;
    }

    .movil-dos {
        width: 16.6667%;
    }

    .movil-uno {
        width: 8.3333%;
    }

}

/* Media queries-  Tablet vertical*/
@media screen and (min-width:768px) {
    .tablet-v-doce {
        width: 100%;
    }

    .tablet-v-once {
        width: 91.6667%;
    }

    .tablet-v-diez {
        width: 83.3333%;
    }

    .tablet-v-nueve {
        width: 75%;
    }

    .tablet-v-ocho {
        width: 66.6667%;
    }

    .tablet-v-siete {
        width: 58.3333%;
    }

    .tablet-v-seis {
        width: 50%;
    }

    .tablet-v-cinco {
        width: 41.6667%;
    }

    .tablet-v-cuatro {
        width: 33.3333%;
    }

    .tablet-v-tres {
        width: 25%;
    }

    .tablet-v-dos {
        width: 16.6667%;
    }

    .tablet-v-uno {
        width: 8.3333%;
    }

}

/* Media queries-  Tablet horizontal*/
@media screen and (min-width:992px) {
    .tablet-h-doce {
        width: 100%;
    }

    .tablet-h-once {
        width: 91.6667%;
    }

    .tablet-h-diez {
        width: 83.3333%;
    }

    .tablet-h-nueve {
        width: 75%;
    }

    .tablet-h-ocho {
        width: 66.6667%;
    }

    .tablet-h-siete {
        width: 58.3333%;
    }

    .tablet-h-seis {
        width: 50%;
    }

    .tablet-h-cinco {
        width: 41.6667%;
    }

    .tablet-h-cuatro {
        width: 33.3333%;
    }

    .tablet-h-tres {
        width: 25%;
    }

    .tablet-h-dos {
        width: 16.6667%;
    }

    .tablet-h-uno {
        width: 8.3333%;
    }

}

/* Media queries-  laptop*/
@media screen and (min-width:1200px) {
    .laptop-doce {
        width: 100%;
    }

    .laptop-once {
        width: 91.6667%;
    }

    .laptop-diez {
        width: 83.3333%;
    }

    .laptop-nueve {
        width: 75%;
    }

    .laptop-ocho {
        width: 66.6667%;
    }

    .laptop-siete {
        width: 58.3333%;
    }

    .laptop-seis {
        width: 50%;
    }

    .laptop-cinco {
        width: 41.6667%;
    }

    .laptop-cuatro {
        width: 33.3333%;
    }

    .laptop-tres {
        width: 25%;
    }

    .laptop-dos {
        width: 16.6667%;
    }

    .laptop-uno {
        width: 8.3333%;
    }

}

/* Media queries-  Desktop*/
@media screen and (min-width:1400px) {
    .desktop-doce {
        width: 100%;
    }

    .desktop-once {
        width: 91.6667%;
    }

    .desktop-diez {
        width: 83.3333%;
    }

    .desktop-nueve {
        width: 75%;
    }

    .desktop-ocho {
        width: 66.6667%;
    }

    .desktop-siete {
        width: 58.3333%;
    }

    .desktop-seis {
        width: 50%;
    }

    .desktop-cinco {
        width: 41.6667%;
    }

    .desktop-cuatro {
        width: 33.3333%;
    }

    .desktop-tres {
        width: 25%;
    }

    .desktop-dos {
        width: 16.6667%;
    }

    .desktop-uno {
        width: 8.3333%;
    }

}