:root {
    --primary: #344051;
    --azul: #0c85b8;
    --celeste: #D9F4FF;
    --fondo-celeste: #A7D3E6;
    --negro: #141C24;
    --violeta: #40376E;
    --blanco: #ffffff;
    --blanco1: #F5F5F5;
    --celeste2: #2CB6F2;
    --humburguer-hover: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2812, 133, 184, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/inter-variablefont_slnt,wght.ttf') format('truetype');
}

* {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    letter-spacing: 0.03em;
}

body, html {
    font-size: 16px;
}

ul {
    list-style: none;
    margin: 0;
}

p.bajada {
    text-align: center;
}

.accordion-button {
    background-color: var(--azul) !important;
    color: #ffffff !important;
}

.container-fluid::before,
.container-fluid::after {
    content: none;
}

a.navbar-brand {
    display: flex;
    height: 60px;
    align-items: center;
}

ul.navbar-nav {
    align-items: center;
}

/*BUTTONS*/
.btn.btn-primary {
    background-color: var(--azul);
    border-color: var(--azul);
}


button#seguir,
button#volver {
    border: 0 !important;
}

.btn-whatsapp {
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 25px;
    width: fit-content;
    border-radius: 76px;
}

    .btn-whatsapp:hover {
        color: #ffffff;
        background-color: var(--azul);
    }

    .btn-whatsapp img {
        height: 25px;
    }

.btn-adjuntar {
    background-color: var(--fondo-celeste);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

    .btn-adjuntar:hover {
        background-color: var(--primary);
        color: #ffffff;
    }

button.navbar-toggler {
    border: 0;
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: var(--humburguer-hover);
    background-repeat: no-repeat;
}

.navbar-toggler:focus {
    box-shadow: none;
}
/*BUTTONS end*/

/*NAVBAR*/
.navbar-collapse {
    flex-grow: unset;
}

    .navbar-collapse li a {
        font-weight: 500;
        color: var(--primary);
    }

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--azul);
}
/*NAVBAR ends*/

h2 {
    font-weight: 600;
    text-align: center;
    color: var(--primary);
}

.column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#autoridades h2 {
    color: #ffffff;
}

#home {
    background-color: var(--azul);
    z-index: 99999;
    position: relative;
}

    #home .registro {
        color: #ffffff;
        align-items: flex-start;
    }

        #home .registro button {
            width: fit-content;
            color: var(--azul);
        }

    #home .img-wrapper img {
        width: 100%;
        max-height: 350px;
        margin-top: -1px;
    }

.semicircle {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 0 0 100% 100%;
    background-color: var(--azul);
}

#polideportivo h2{
    color: var(--blanco);
}
#polideportivo {
    /*background-image: url(../imagenes/galeria-8.jpg);*/
    background-color: var(--celeste2);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: 80px;
    display: grid;
    min-height: 700px;
    margin-top: -1px;    
}
.wrapper-servicio-polideportivo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.servicio-polideportivo {
    background-color: var(--azul);
    padding: 15px 30px;
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
}


#centroDeSalud {
    background-image: url(../imagenes/linitas-newsletter.svg);
    background-position:right;
    background-repeat: no-repeat;
    background-size:contain;
    /*background-position-y: 80px;*/
    background-color: var(--blanco1);
    display: grid;
    min-height: 500px;
    /*margin-top: -1px;*/
}



.wrapper-especialidades {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.especialidad {
    background-color: var(--celeste);
    padding: 15px 30px;
    color: var(--primary);
    font-weight: 600;
    border-radius: 10px;
}

.horario {
    background-color: var(--celeste);
    padding: 5px 20px;
    color: var(--primary);
    border-radius: 120px;
    font-size: 0.875rem;
    font-weight: 600;
}

#autoridades {
    background-color: var(--fondo-celeste);
}

.autoridades-wrapper {
    height: 500px;
}

    .autoridades-wrapper > div {
        height: 100%
    }

#autoridades .img-wrapper {
    height: 100%;
    width: 90%;
}

    #autoridades .img-wrapper img {
        max-width: 100%;
        border-radius: 8px;
        object-fit: cover;
        height: 90%;
    }

#autoridades ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 34px;
    height: 100%;
}

#autoridades p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--primary);
}

#banner img {
    object-fit: cover;
    max-width: 100%;
}

#turismo .carrouselHoteles {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr 10fr 1fr;
    padding-bottom: 5px;
}

#turismo .listaHoteles {
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}

#turismo .card {
    border: 0;
    width: 30%;
    min-width: 200px;
    padding: 0 10px;
    display: inline-block;
}

    #turismo .card .img-wrapper {
        border-radius: 8px;
        background-size: cover;
        background-position: center;
        height: 150px;
    }



#turismo .card-title {
    text-wrap: wrap;
}

#turismo .wrapper-card-content {
    text-decoration: none;
    color: var(--negro);
    display: flex;
    flex-direction: column;
}

#prestaciones {
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}

/*ACCORDION*/

.accordion {
    width: 70%;
}


.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--primary) !important;
    border-radius: 8px;
}

.accordion-header button div {
    display: flex;
    justify-content: center;
    width: 100%;
}

.accordion-header button {
    background-color: #d9d9d9;
    border-radius: 8px 8px 0 0;
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-header button.collapsed {
    border-radius: 8px;
}

.accordion li {
    text-align: center;
    padding-bottom: 10px;
    font-size: 0.875rem;
}

.accordion-button.no-chevron:after {
    content: none;
}


/*ACCORDION ends*/

.newsletter-wrapper {
    background-color: var(--fondo-celeste);
    border-radius: 8px;
    background-image: url('../imagenes/linitas-newsletter.svg');
    background-position: right;
    background-repeat: no-repeat;
}

.newsletter-title {
    display: flex;
    flex-direction: column;
}

#contacto h2 {
    text-align: left;
}

.wrapper-mapa iframe {
    width: 100%;
}

footer {
    background-color: var(--azul);
    min-height: 105px;
}

    footer .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }

    footer .wrapper-RRSS {
        display: flex;
        flex-wrap: wrap;
        color: #ffffff;
        height: 100%;
    }

        footer .wrapper-RRSS > div > div {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 10px;
        }


        footer .wrapper-RRSS div {
            display: flex;
            align-items: center;
            gap: 3px;
        }

        footer .wrapper-RRSS p {
            margin: 0;
            font-size: 0.875rem;
        }

    footer .contacto {
        display: flex;
        flex-direction: row-reverse;
    }

.redesSociales {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.direccion {
    display: flex;
    justify-content: flex-end;
}

.modal h1 {
    font-weight: 600;
}

form {
    display: flex;
    flex-direction: column;
}

    form div {
        padding-bottom: 10px;
    }

    form label.form-label {
        text-transform: uppercase;
        font-size: 0.875rem;
        margin: 0;
    }

input[type=number] {
    -moz-appearance: textfield;
}


@media screen and (max-width: 992px) {
    .accordion {
        width: 100%;
    }

    ul.navbar-nav {
        align-items: flex-start;
    }

        ul.navbar-nav li {
            width: 100%;
            padding-left: 10px;
        }

            ul.navbar-nav li:hover {
                background-color: var(--azul);
            }


                ul.navbar-nav li:hover a {
                    color: #ffffff;
                }

    .collapse:not(.show) {
        display: none !important;
    }

    .navbar-collapse.show {
        margin: 5px 0 0 0;
        border-top: 1px solid var(--negro);
    }


    footer .contacto div {
        display: flex;
        justify-content: flex-end;
    }

    #autoridades ul {
        gap: 28px;
    }
}


@media screen and (max-width: 768px) {

    footer .container-fluid {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
    }

    footer .wrapper-logo {
        display: flex;
        justify-content: center;
    }

    footer .contacto div, .redesSociales, .direccion {
        display: flex;
        justify-content: center;
    }

    #autoridades .container.column-center {
        max-width: unset;
    }

    .semicircle {
        height: 80px;
    }

    #centroDeSalud {
        background-position-y: 40px;
    }


    #home .row {
        flex-direction: column-reverse;
        align-items: center;
    }

    #home .registro {
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 671px) {
    #autoridades ul {
        gap: 23px;
    }
}

@media screen and (max-width: 620px) {
    #autoridades ul {
        gap: 8px;
    }
}

@media screen and (max-width: 576px) {

    footer .contacto {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        gap: 10px;
    }

        footer .contacto > div {
            width: 100%;
        }


    #autoridades .img-wrapper {
        height: 80%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .autoridades-wrapper {
        height: unset;
        gap: 8px;
    }

        .autoridades-wrapper > div:first-child {
            height: 200px;
        }

        .autoridades-wrapper ul,
        .autoridades-wrapper li,
        .autoridades-wrapper p {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

    .newsletter-wrapper,
    #contacto h2 {
        text-align: center;
    }

    .especialidad {
        padding: 5px 15px;
    }

    .btn-whatsapp {
        padding: 10px 15px;
    }
}
