@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Oswald:wght@200..700&display=swap');
@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;
}

.tittle {
    position: absolute;
    top: 5rem;
    left: 3rem;
    text-align: center;
    z-index: 2;
    padding: 3rem;
    color: #e8ebea;
    text-shadow: 5px 7px 13px rgba(0, 0, 0, 0.685);
}

.tittle h1 {
    font-size: 7rem;
    text-decoration: underline;
    font-family: "Oswald";
}

.tittle h3 {
    font-size: 3.5rem;
    padding-top: 2rem;
    font-family: "Cedarville Cursive";
}

/*Content*/

.content {
    margin-top: 2.8rem;
    font-family: "Roboto Condensed";
}

.content-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding-left: 10rem;
    padding-right: 10rem;
}

.card {
    margin-top: 2rem;
}

.card-body {
    padding: 4rem;
    text-align: center;
}

.card-title {
    text-align: center;
    font-weight: bold;
}

/*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) {

    /* --- Banner principal --- */
    .tittle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #e8ebea;
        text-shadow: 5px 7px 13px rgba(0, 0, 0, 0.685);
    }

    .tittle h1 {
        font-size: 3rem;
        font-weight: bold;
        margin: 0;
    }

    .tittle h3 {
        font-size: 1.7rem;
        color: black !important;
    }

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

    /* --- content --- */
    .content-text {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 1.2rem;
    }

    /* --- Cards de servicios --- */
    .cards {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .card {
        width: 90% !important;
    }

    .card-body {
        padding: 1.5rem;
    }

    /* --- 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;
    }
}