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

/*NavBar*/

.navbar {
    background-color: #4FC4B9;
    box-shadow: 5px 7px 13px rgba(0, 0, 0, 0.3);
    z-index: 1030;
}

.navbar-toggler {
    color: #e8ebea;
}

.navbar-logo {
    width: 5rem;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10rem;
    margin-right: 1rem;
}

.nav-item .nav-link {
    font-weight: bold;
    color: #e8ebea;
}

.nav-item .nav-link:hover {
    font-weight: bold;
    color: #e8ebea;
    border-bottom: 0.1rem solid #e8ebea;
}

.dropdown-menu {
    background-color: #4FC4B9;
}

.dropdown-item {
    font-weight: bold;
    color: #e8ebea;
}

.contact-button {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    border-radius: 1rem;
    padding: 0.5rem;
    border: 0.2rem solid #ffffff;
    background-color: rgb(37, 211, 102);
}

.contact-button:hover {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    border-radius: 1rem;
    padding: 0.5rem;
    border: 0.2rem solid #ffffff;
    background-color: rgb(30, 172, 82);
}

/*Banner*/

.banner {
    position: relative;
    background-image: url("../images/estudio/estudio1.jpeg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden;
    box-shadow: 5px 7px 13px rgba(0, 0, 0, 0.3);
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.pick {
    position: absolute;
    top: 5rem;        
    left: 3rem;
    z-index: 2;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 1rem; 
    
}

.pick img {
    border-radius: 500rem;
    box-shadow: 7px 9px 15px rgba(0, 0, 0, 0.3);
}

/*biography*/

.biography {
    text-align: center;
    font-family: "Roboto Condensed";
}

.biography h1 {
    margin-top: 2rem;
    font-size: 3rem;
}

.biography p {
    margin-top: 2rem;
    font-size: 1.4rem;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto; 
    text-align: center; 
}

.biography h5 {
    margin-top: 2rem;
    font-size: 2rem;
}

.biography img {
    width: 1000px;
    height: auto;
}

/*footer*/

.footer {
    background-color: #5E4973;
    color: #e8ebea;
    margin-top: 2rem;
    font-weight: bold;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
}

.flex-items:nth-child(1) {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.flex-items:nth-child(2) {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.flex-items:nth-child(3) {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.flex-items:nth-child(2) .social-red {
    list-style: none;
    padding-top: 1rem;
}

.flex-items:nth-child(2) .social-red li a {
    text-decoration: none;
    color: #e8ebea;
}

.flex-items:nth-child(2) .social-red li a:hover {
    border-bottom: 0.1rem solid #e8ebea;
}

.imagen {
    width: 20vh;
}

@media (max-width: 768px) {

    /* --- Footer --- */
    .flex-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }

    .flex-items {
        width: 100%;
    }

    .flex-items img {
        max-width: 100%;
        height: auto;
    }

    /* --- Botón de contacto --- */
    .contact-button {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    /* --- Navbar --- */
    .navbar-logo {
        width: 120px;
        height: auto;
    }

    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.5rem 0;
    }

    /* --- baner --- */
    .banner {
        height: 60vh;
    }

    /* --- pick --- */
    .pick img {
        width: 250px;
        height: auto;
    }

    /* --- biography --- */
    .biography h1 {
        font-size: 2.2rem;
    }

    .biography p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .biography h5 {
        font-size: 1.5rem;
    }

    .biography img {
        width: 100%;
        max-width: 1000px;
        height: auto;
    }

    /* Botón de contacto ancho completo, centrado */
    .contact-button {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        display: flex;
        justify-content: center;
    }
}
