
@font-face {
    font-family: 'fonta';
    src: url('../fonts/Caveat-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'dolce';
    src: url('../fonts/DolceVita.ttf');
}

/*========== BASE ==========*/

*,::before,::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul{
    padding: 0;
    list-style: none;
}

a{
    text-decoration: none;
    color: white;
}

a>.fa-home{
    font-size: 2vw;
}

/*=========================*/

/*========HEADER================*/
.l-header{
    width: 100%;
    position: fixed;
    font-family: 'fonta';
    z-index: 2;
    font-size: 1.4vw;
    text-align: center;
}

.nav__menu{
    margin-right: 2%;
    line-height: 30px;
    overflow: hidden;
    transition: .5s ease!important;
    transform: translate(-100%,-100%);
    margin: 0;
    border-radius: 50%;
}

.show-menu{
    transform: translate(0%);
    border-radius: 0;
}

.nav__list{
    justify-content: center;
    text-transform: uppercase;
}

.nav__item{
    padding: 1%;
}

.nav__item>a:hover{
    color: #3187eb;
}

.nav__item ul li a,a>i{
    color: white;

}

#sub-menu{
    text-align: center;
    height: 0px;
    overflow: hidden;
    transition: .3s ease!important;
}


.nav__item ul li a:hover{
    color: #000; 
}


.bot{
    cursor: pointer;
    color: white;

}

.nav__item ul li:hover{
    background: white;
    transition: .3s linear!important;
}


.nav__link{
    transition: .3s;
}
.nav__link p{

}

.nav__toggle i{
    cursor: pointer;
    z-index: 20;
}

.nav__logo>img{
    width: 20%;
    object-fit: cover;
}

.active-link{
    color: #f0f0f0;
    border-bottom: 2px solid;
}

/*==========================================*/
.main{
    height: 100%;
    width: 100%;
    padding-bottom: 4%;
    font-family: 'lato';
    background: #bfc2cb;
}

.containers{
    padding: 5% 0 0% 0%;

}

.title h1{
    text-align: center;
    font-family: 'lato';
    font-weight: 100;
    color: white;
    margin: 2% 0%;
}

#page,#page2{
    height: calc(88vh);
    position: relative;
    overflow: hidden;
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 85% 15%;
    box-shadow: 2px 3px 2px 0 #000000;
}

#imgDiv{
    text-align: center;
    border: 1px solid gray;
}

.buttons{
    position: absolute;
    top: 4%;
    left: 1%;
    z-index: 1;
    display: grid;
    gap:1px;
}

.button{
    text-align: center;
    justify-content: center;
    padding: 10px;
    font-size: 15px;
    margin: 0;
    align-self: center;
    background: #3e5589;
    color: white;
    border: 0;
    margin-left: 2px;
}
a>.fa-search-minus, a>.fa-repeat, a>.fa-search-plus{
    color: white;
    font-size: 1.5vw;
    font-weight: 100;
}

.button:hover{
    background: dodgerblue;
    transition: all 0.3s ease;
}

.img-responsive{
    width: 100%;

}

.fondo{
    position: relative;
}
#caso{
    width: 50px;
    height: 50px;
    background: #a23737;
}

.b1, .b2, .b3, .b4, .b5, .b6{
    padding: .51%;
    background: #c13a3a;
    color: white;
    z-index: 300;
    position: absolute;
    border-radius: 45%;
    font-family: 'lato';
    font-size: 1.2vw;
}


.sectores{
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(68,71,96,1) 100%);
    text-align: center;

}

.sectores>ul>li{
    font-family: 'lato';
    padding: 5%;
    color: #30343e;
}

.info_map{
    /*    background: red;*/
    text-align: center;
    font-family: 'lato';
    padding: 1% 0;
}


@media screen and (max-width: 920px){
    .nav__toggle{
        padding: 3%;
        position: fixed;
        color: white;
        font-size: 1.4em;
        z-index: 2;
    }
    .nav__list .fa-home{
        font-size: 1.6em;
        border: 0;
    }
    .l-header{
        width: 100%;
        font-size:.8em;

    }
    .nav__menu{
        padding-top: 4%;
        background: rgba(20,20,20,.7);
    }

    .nav__list{
        display: grid;
    }

    .nav__item{
        display: grid;
        padding: 0;
        line-height: 32px;
    }

    .active-link{
        border: 0;
    }
    .nav__item a:hover{
        background: white;
        color: black;
    }

    /*
    .main{
    height: 100%;
    width: 100%;
    padding-bottom: 4%;
    font-family: 'lato';
    background: #bfc2cb;
}
    */

    .containers{
        padding: 5% 0 0% 0%;
        margin: 0;

    }

    .title h1{
        font-size: 1em;
    }

    #page,#page2{
        height: auto;
        /*    position: relative;*/
        /*    overflow: hidden;*/
        width: 95%;
        /*    margin: auto;*/
        display: grid;
        grid-template-columns: 100%;
        box-shadow: 2px 3px 2px 0 #000000;
    }

    /*
    #imgDiv{
    text-align: center;
    border: 1px solid gray;
}
    */

    .buttons{
        top: 1%;
        left: 1%;
        z-index: 1;
        display: flex;
        gap:1px;
    }

    .button{
        padding: 7px;
        font-size: 5px;
    }
    a>.fa-search-minus, a>.fa-repeat, a>.fa-search-plus{
        color: white;
        font-size: 2em;
    }


    .sectores{
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(68,71,96,1) 100%);
        text-align: center;

    }

    .sectores>ul>li{
        padding: 1%;
        color: white;
    }

    .info_map p{
        font-size: .7em;
    }


}

@media screen and (min-width: 921px) {

    .nav__toggle{
        display: none;
    }


    .l-header{
        width: 100%;
        font-size: 1.4vw;
    }

    .nav__menu{

        transform: translate(0%);
        border-radius: 0%;
        background: rgba(20,20,20,.5);
    }


    .nav__list{
        display: flex;
    }

    .scroll-header{
        background: rgba(20,20,20,.8);
    }

    .nav_item>.bot{
        display: none;
        color: red;
    }

    .nav_item .bot:hover{
        display: block;
    }

    .nav__item ul li:hover{
        background: white;
        transition: .3s linear!important;
    }


    .nav__link{
        transition: .3s;
    }
}
