@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
}

p,
a,
li {
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: #FFFEFD;
}

section {
    padding: 4vh;
}


header {
    background-color: #fff;
    color: #121010;
    font-size: 1.2rem;
    font-weight: 550;
}

.nav-link {
    color: inherit;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}


/* banner */
.banner {
    width: 100%;
}

/* directiva */
.directiva {
    margin-top: 3vh;
}

/* about */
.about {
    margin-top: 6vh;
}

.about .about-photo {
    background-image: url('/images/integrantes/banner_about.jpg');
    background-size: cover;
    aspect-ratio: 16/9;
}

.about .about-text {
    background-color: #000;
    color: white;
    text-align: center;
}

@media(max-width:767px) {
    .about .about-text h2 {
        font-size: 1rem;
    }

    .about .about-text p {
        font-size: 0.7rem;
    }
}


/* congreso latam */
.latam-congres img {
    width: 100%;
    object-fit: contain;
}


/* intercoiffure teams */
.intercoiffure-team {
    margin-top: 5vh;
    text-align: center;

}

/* galeria */


.intercoiffure-team .row .card .img-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.intercoiffure-team .row .card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Formulario de contacto */

.contact-form {
    margin-top: 3vh;
    padding: 1vh;
}

.mb-3 button {
    width: 100%;
}


/* footer */

.footer {
    background-color: #000;
    color: white;
    text-decoration: none;
}

.footer a {
    color: inherit;
    text-decoration: inherit;
    transition: 0.5s ease;
}

.footer a:hover {
    color: lightgreen;
}




/* Animación base */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

h2,
h3 {
    position: relative;
    animation: fadeInText 1s ease forwards;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.about-photo {
    background-size: cover;
    background-position: center;
    min-height: 300px;
    animation: zoomIn 1.2s ease forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


.banner {
    animation: bannerFade 1.2s ease forwards;
}

@keyframes bannerFade {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* intercoiffure_mondial.html */
#message-section {
    padding: 2vh;
    background-image: url(../images/background_congress25.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
}