/*font*/
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@400;500;600;700;800&display=swap');
body, div, h1, h2, h3, h4, ul, ol{
    font-family: 'Encode Sans', sans-serif;
}

/*NAV*/

#navbar{ 
    display: flex;
    top: 0;
    position: sticky;
    z-index: 100;
    background-color: white;
    padding: 1rem 5%;
    align-items: center;
}

#navbar-brand{
    display: inline-block;
    flex: 30%;
    max-width: 250px;
}
#navbar-brand img{
    width: 100%;
    height: auto;
}

#hamburguer{
    display: none;
    transition: transform 0.5s ease;
    -webkit-tap-highlight-color: transparent;
}

.fa.fa-times{
    transform: rotate(90deg);
}

#navbar-content{
    display: flex;
    flex: 70%;
    justify-content: flex-end;
    max-height: 1000px;
}

#item-list{
    flex: 70%;
    display: flex;
    padding: 1rem;
    list-style-type: none;
    justify-content: flex-end;
    align-items: center;
}

.caret{
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-top: 4px solid #000;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-top-color: #009aae;
    border-bottom-color: #009aae;
    margin-left: -1rem;
}

.dropdown{
    position: relative;
}

.dropdown-content{
    display: block;
    overflow: hidden;
    max-height: 0px;
    position: absolute;
    right: 0px;
    width: 160px;
    background-color: white;
    transition: all 0.5s ease;
    box-shadow: 3px 5px 4px #00000040;
}

.dropdown-content a{
    display: block;
    width: 100%;
    padding: 5px 0px 8px;
    color: #009aae;
    text-align: right;
    text-decoration: none;
    border-bottom: solid 1px #00adc1;
} 

#nav-promoted{
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    padding-inline-start: unset;
}

.nav-item{
    display: inline-block;
    height: fit-content;
}

.nav-item>a, .dropbtn{
    display: inline-block;
    height: fit-content;
    font-weight: bold;
    color: #009aae;
    text-align: center;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    cursor: pointer;
}
.background-closer{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
}

#closeDropdown{
    z-index: 99;
}
#closeNav{
    z-index: 98;
}

/*FOOTER*/

footer {
    background-color: #eaeaea;
    padding-bottom: 50px
}

footer a{
    text-decoration: none;
}

#footer-banner{
    margin-bottom: 30px;
    background-color: white;
    padding-top: 50px;
}

#footer-banner .mobile{
    display: none;
}

#footer-banner img{
    width: 100%;
    bottom: 0px;
    float: left;
}

#footer-flex{
    display: flex;
    padding: 0px 15%;
}

.footer2-container {
    display: inline-block;
    flex: 70%;
}

.footer2-row {
    display: flex;
    width: 70%;
    max-width: 500px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.footer1-col {
    display: inline-block;
    width: 30%;
    max-width: 300px;
    flex-wrap: wrap;
}

.logoprovfooter img {
    max-width: 60%;
}

.footer2-col {
    display: inline-block;
    width: 50%;
}

p.titulofooter {
    font-size: 18px;
    color: #000;
    font-family: 'EncodeSemiBold', sans-serif;
    margin: 0 0 10px;
}

.servicios>p {
    margin: 0;
    line-height: 2rem;
}

.servicios>p>a {
    font-size: 16px;
    color: #414042;
    font-weight: 500;
    transition: color 0.5s ease;
}

.servicios>p>a:hover{
    color: #009aae;
}

ul.social {
    display: flex;
    margin-top: 15px;
    margin-left: -55px;
    list-style-image: none;
    flex-wrap: wrap;
}

ul.social li {
    padding: 3px;
    list-style-type: none;
}

ul.social li a{
    display: inline-block;
    background-size: cover;
    width: 43px;
    height: 43px;
}

ul.social li a:hover {
    border: none;
    background-position: 0px 45px;
}

.footer_twt_icon {
    background: url(/sites/default/files/images-footer/sprite_twitter.webp);
}

.footer_fbk_icon {
    background: url(/sites/default/files/images-footer/sprite_facebook.webp);
}

.footer_ig_icon {
    background: url(/sites/default/files/images-footer/sprite_instagram.webp);
}

.footer_youtube_icon {
    background: url(/sites/default/files/images-footer/sprite_youtube.webp);
}

.footer_twitch_icon {
    background: url(/sites/default/files/images-footer/sprite_twitch.webp);
}

.footer_tiktok_icon {
    background: url(/sites/default/files/images-footer/sprite_tiktok.webp);
}

.footer_telegram_icon {
    background: url(/sites/default/files/images-footer/sprite_telegram.webp);
}

p.titulofooter {
    font-size: 18px;
    font-weight: bold;
    color: #414042;
    font-family: 'EncodeSemiBold', sans-serif;
}

@media (max-width: 800px) {
    /*Nav*/
    #navbar{
        justify-content: space-between;
    }

    #hamburguer{
        display: inline-block;
        border: none;
        background-color: transparent;
        font-size: 1.5rem;
        color: darkslategrey;
    }

    #navbar-content{
        max-height: 0px;
        position: absolute;
        width: 74%;
        overflow: hidden;
        top: 110px;
        left: 0;
        background-color: white;
        flex-wrap: wrap;
        padding: 0 13%;
        justify-content: center;
        transition: max-height 0.5s linear;
    }

    #item-list{
        flex-wrap: wrap;
        width: 100%;
    }

    #nav-promoted{
    width: min-content;
    }

    .nav-item{
        width: 100%;
        text-align: end;
        border-bottom: solid 3px #00adc1;
    }

    .nav-item>a, .dropbtn {
        padding: 0.5rem 0;
    }

    .caret{
        margin-left: 0rem;
    }

    .dropdown-content{
        position: inherit;
        width: 85%;
        margin-left: auto;
        box-shadow: none;
    }

    /*footer*/
    #footer-flex{
        display: block;
    }
    .footer2-col {
        margin: 20px 0;
        width: 100%;
    }
    .servicios>p {
        margin: 0 0 10px;
    }
    .footer2-row {
        margin: auto;
        margin-bottom: 0px;
    }
    #footer-banner .web{
        display: none;
    }

    #footer-banner .mobile{
        display: block;
    }

    .footer1-col {
        width: 100%;
    }

    .logoprovfooter img{
        margin: auto;
        display: block;
    }
  }