
@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;
}

.nav__menu{
    margin-right: 2%;
    line-height: 30px;
    overflow: hidden;
    transition: .5s ease!important;
    transform: translate(-100%,-100%);
    margin: 0;
    border-radius: 50%;
    width: 100%;
    margin: auto;
    text-align: center;
    background: rgba(20,20,20,.7);

}

.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__toggle{
    font-size: 1.4;
    cursor: pointer;
    z-index: 20;
}

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

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

/*=========SCROOLL*/
.scroll-header{
    background: rgba(20,20,20,0.8);
    /*    z-index: 1;*/
    /*    height: 152px;*/
}

.scrolltop{
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: .4s;
    visibility: hidden;

}

.scrolltop>img{
    width: 50px;
    height: 50px;
    background: rgba(20,20,20,1);
    border-radius: 50%;
}


.show-scroll{
    visibility: visible;
    bottom: 1.5rem;
}
/*================================================*/

.banner {
    font-family: "Lato";
    padding-top: 5%;
    background-color: #263e3d;
    color: #fff;
}



.banner h1{
    text-align: center;
    font-size: 3vw;
    /*    line-height: 2;*/
    font-style: italic;
}

.banner p{
    padding: 2% 4% 3% 4%;
    line-height: 1.5;
    text-align: justify;
}

.banner p span{
    font-style: italic;
}

.banner p strong{
    font-weight: bold;
}

.banner .fuente{
    font-size:1vw;
    font-style: normal;
}

.banner .ita{
    font-style: italic;
    padding-top: 0;
}

.description a{
    font-family: 'lato';
}

.dir a{
    color: cadetblue;
}

.gallery {
    position: relative;
    /*    overflow: hidden;*/
    overflow:auto;

}

.grilla {
    padding-top: 2%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    /*    grid-template-rows: repeat(3,1fr);*/
    width: 90%;
    margin: auto;
    gap:3px; 
    margin-bottom: 5%;
}

.grilla_b {
    padding-top: 2%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(2,1fr);
    width: 70%;
    margin: auto;
    gap:3px; 
    margin-bottom: 5%;
}

li>.image {
    position: relative;
    background: orange;
    width: 100%;
    display: flex;
    height: calc(220px);
}

.image>img {
    height: calc(220px);
    width: 100%;
    object-fit: cover;
}


.image p{
    position: absolute;
    z-index: 1;
    transition: all 0.3s linear;
    left: 30%;
    top: 0%;
    opacity: 0;
    font-size: 25px;
    padding: 5% 10% 5% 10%;
    border-radius: 25px;
    background: rgba(20,20,20,.8);
    font-family: 'Lato';
    font-weight: 900;
}
.image:hover p{
    top: 35%;
    opacity: 1;
}


.port {
    position: absolute;
    width: 100%;
    top: 0%;
    left: 0;
    background: #ffffff;
    z-index: 11;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.5s ease-in-out;
}

.interno{
    display: grid;
    grid-template-columns: 2fr 1fr;
    width: 95%;
    margin: auto;
}

.fotos{
    padding-top: 2%;
    margin: auto;
}

.alterno{
    width: 80%;
}

.alterno2{
    width: 95%;
}

.alterno3{
    width: 96%;
}

.alterno4{
    width: 98%;
}

.interno .description {
    padding-top: 5%;
    align-self: center;
    display: flex;
    flex-direction: column;
}

.description a{
    color: blue;
    text-decoration: underline;
    word-wrap: break-word;
    font-size: .7vw;
    text-align: center;
    width: 100%;
}

.port h1 {
    font-size: 35px;
    text-align: center;
    font-family: 'Lato';
    margin-bottom: 5%;
}

.port p{
    font-family: 'Lato';
    text-align: center;
}

.port > * {
    opacity: 0;
    transition: all 0.5s linear;
}
.port.item_open {
    visibility: visible;
    transform: translateY(0%);
    transition: all 0.4s ease-in-out;
}
.port > * {
    opacity: 1;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

.close {
    width: 21px;
    height: 21px;
    background: url(data:image/svg+xml;utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2017.1.0%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%3E%0A%3Csvg%20version%3D%221.1%22%0A%09%20id%3D%22svg2%22%20xmlns%3Adc%3D%22http%3A//purl.org/dc/elements/1.1/%22%20xmlns%3Acc%3D%22http%3A//creativecommons.org/ns%23%22%20xmlns%3Ardf%3D%22http%3A//www.w3.org/1999/02/22-rdf-syntax-ns%23%22%20xmlns%3Asvg%3D%22http%3A//www.w3.org/2000/svg%22%0A%09%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2021%2021%22%0A%09%20enable-background%3D%22new%200%200%2021%2021%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cg%20id%3D%22layer1%22%20transform%3D%22translate%280%2C-1031.3622%29%22%3E%0A%09%3Cpath%20id%3D%22path2987%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20d%3D%22M0%2C1031.4l21%2C21%22/%3E%0A%09%3Cpath%20id%3D%22path2989%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20d%3D%22M21%2C1031.4l-21%2C21%22/%3E%0A%3C/g%3E%0A%3C/svg%3E%0A%0A) no-repeat;
    position: absolute;
    right: 10px;
    top: -111px;
    opacity: 1;
    z-index: 1004;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
.item_open .close {
    opacity: 1;
    top: 5%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

@media screen and (min-width: 360px){
.nav__menu{
/*    line-height: 0px;*/
    margin: 0;
    padding-top: 4%;
}


.nav__list{
    justify-content: center;
    text-transform: uppercase;
/*    line-height: 20px;*/
}

.nav__item{
    padding: 1%;
    font-size: .8em;
    line-height: 24.9px;
}

    .nav__toggle{
        padding: 3%;
        position: fixed;
        color: white;
        font-size: 6vw;
    }
    .nav__list .fa-home{
        font-size: 1.6em;
        border: 0;
    }
    .l-header{
        width: 100%;
        font-size:1.2em;
    }

    .nav__list{
/*        display: grid;*/
    }

    .nav__item{
/*        display: grid;*/
/*        padding: 0;*/

    }

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

    /*    =================*/
    .banner {
        padding-top: 10%;
    }



    .banner h1{
        font-size: 1.2em;
    }

    .banner p{
        font-size: 0.8em;
    }


    .banner .fuente{
        font-size:0.6em;
    }

    .banner .ita{
        padding-top: 0;
    }

    /*
    .gallery {
    position: relative;
    overflow:auto;
}
    */

    .grilla {
        padding-top: 2%;
        display: grid;
        grid-template-columns: 100%;
        /*    grid-template-rows: repeat(3,1fr);*/
        width: 90%;
        margin: auto;
        gap:3px; 
        margin-bottom: 5%;
    }

    li>.image {
        width: 100%;
        height: auto;
    }

    .image>img {
        width: 100%;
        height: auto;

        object-fit: cover;
    }


    .grilla_b {
        grid-template-columns: 100%;
        width: 90%;
    }


    .image p{

        font-size: 18px;
        font-weight: 100;
    }

    .port {
        width: 100%;
        height: 100%;
    }

    .interno{
        display: grid;
        grid-template-columns: 100%;
        width: 95%;
        /*    margin: auto;*/
    }

    .fotos{
        margin: auto;
        width: 90%;
    }


    .interno .description {
        padding: 5%;
        font-size: .9em;
    }

    .description a{
        font-size: .6em;

    }
    .item_open .close {
        top: 0.5%;
    }

}

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

    .nav__toggle{
        font-size: 5vw;
    }

    .banner {
        padding-top: 10%;
    }



    .banner h1{
        font-size: 3vw;
    }

    .banner p{
        font-size: 2.8vw;
    }


    .banner .fuente{
        font-size:2.2vw;
    }

    .interno .description {
        padding: 5%;
        font-size: 3vw;
    }

    .description a{
        font-size: 2.7vw;

    }
}

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

    .nav__toggle{
        font-size: 1.5em;
    }

    .banner h1{
        font-size: 2.5vw;
    }

    .banner p{
        font-size: 2vw;
    }


    .banner .fuente{
        font-size:2.2vw;
    }

    .grilla {
        grid-template-columns: repeat(2,1fr);
        width: 90%;
    }

    .grilla_b {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(3,1fr);
    }

    li>.image {
        height: calc(250px);
    }

    .interno .description {
        font-size: 2vw;
    }

    .description a{
        font-size: 1.7vw;

    }
}

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

    .nav__toggle{
        display: none;
    }
    .nav__link .fa-home{
        font-size: 2vw;
    }

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

    .nav__menu{
        transform: translate(0);
        border-radius: 0%;
        padding: 0;
    }

    .nav__list{
        display: flex;
    }

    .nav__item{
        padding: 1%;
        display: block;
    }


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

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

    .banner{
        padding: 7% 0 0 0;
    }

    .banner h1{
        font-size: 1.6em;
    }

    .banner p{
        font-size: 1em;
    }


    .banner .fuente{
        font-size:.8em;
    }

    .grilla {
        grid-template-columns: repeat(3,1fr);
        width: 95%;
    }
    
        .grilla_b {
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: repeat(2,1fr);
            width: 80%;
    }

    li>.image {
        height: calc(220px);
    }

    .fotos{
        width: 100%;
    }

    .interno{
        display: grid;
        grid-template-columns: 2fr 1fr;
        width: 95%;
        margin: auto;
    }

    .item_open .close {
        top: 2.3%;
        right: 3%;  
    }

    .interno .description {
        font-size: .8em;
    }

    .description a{
        font-size: .7em;

    }
}

@media screen and (min-width: 1250px){
    .grilla {
        grid-template-columns: repeat(4,1fr);

    }
    /*==========================================*/

    .banner{
        padding: 5% 0 0 0;
    }

    .banner h1{
        font-size: 2em;
    }

    .banner p{
        font-size: 1.1em;
    }


    .banner .fuente{
        font-size:.8em;
    }

    .fotos{
        width: 85%;
    }

    .alterno{
        width: 80%;
    }

    .alterno2{
        width: 95%;
    }

    .alterno3{
        width: 96%;
    }

    .alterno4{
        width: 98%;
    }

    .item_open .close {
        top: 2.3%;
        right: 3%;  
    }

    .interno .description {
        font-size: 1em;
    }

    .description a{
        font-size: .7em;

    }

}