:root{
    --colorBck: #1e524d;
    --colorBtn:#a5d085;
    --colorHoverBTN: #eaeae7 ;
    --colorHoverText: #4F4F4F;
    --colorNavBar: #eaeae7;
    --colorNavA: #eaeae7;
    --footer: gray;
    --buttonC: #F3F3F3;
    --buttonD: #a5d085;

}
@import url('https://fonts.googleapis.com/css2?family=Abyssinica+SIL&family=Nunito:wght@400;700&display=swap');
*{
    box-sizing: border-box;
    margin:0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
}


body{
    background-image: url(../images/font.jpg);
    background-repeat: repeat-y;
    background-size: 110%;
    background-attachment: fixed;
    margin: 0 0 0 0px;
    height: 100vh;

}
/*HEADER*/
.header{
    background-color: var(--colorBck);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 5px 10%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 100;
            /* animation */
            animation-name: home;
            animation-duration: 3s;
}
@keyframes home{
    100%{
        transform: translateY(-0%);
    }
    0%{
        transform: translateY(-100%);
    }
    
}
.header .logo img{
    height: auto;
    width: 80px;
    transition: all 0.3s;
}
.header .logo img:hover{
    transform: scale(1.05);
    z-index: 4;
}

header .logo{
    cursor: pointer;
}

.header .nav-links{
    list-style: none;
}

.header .nav-links li{
    display: inline-block;
    padding: 0 20px;
    transition: all 0.3s;
}
.header .nav-links li:hover{
    transform: scale(1.1);
}

.header .nav-links a{
    font-size: 700;
    color: var(--buttonC);
    text-decoration: none;
}

.header .nav-links li a:hover{
    color: var(--buttonD); 
}

.header .btn button{
    font-weight: 700;
    color: var(--buttonC);
    padding: 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.header .btn button:hover{
    background-color:var(--buttonD);
    color: var(--buttonD);
    transform: scale(1.1);
}

.btn{
    cursor: pointer;   
    transition: 0.3s ease;

}

.btn:hover{
    transform: scale(1.01);
    color: var(--buttonD);
}
/*fin del header*/
/*.contenedor{
    width:90%;
    max-width: 1000px;
    margin:auto auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
}
*/
.galery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
    margin: auto;
    width: 80%;
    grid-gap: 10px;
    padding: 40px 10px;
    overflow: hidden;
    position: relative;    
}

.galery img{
    border-radius: 5px;
    width: 100%;
    vertical-align: top;
    height: 400px;
    object-fit: cover;
    transition: transform 0,5;

}

.galery img:hover{
    transform: scale(1.04);
}

.imgespacio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
    margin: 0;
    width: 100%;
    height: 700px;
    grid-gap: 10px;
    padding: 100px 0;
    overflow: hidden;
    padding-left: 5%;
    margin-top: 0%;
    margin-bottom: -4%;
    z-index: 0;
} 

.imgespacio img{
    margin-left: 40px;
    width: 800px;
    height: auto;
    
}

.imgespacio2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
    margin: auto;
    width: 100%;
    grid-gap: 10px;
    padding: 100px 0;
    overflow: hidden;
    margin-left: 0px;
    margin-top: 0%;
    margin-bottom: -4%;
    display: none;
} 

.imgespacio2 img{
    margin-left: 40px;
    width: 900px;
    height: auto;
    display: none;

}

.relleno img{
    position: fixed;
    width: 110%;
    height: auto;
    margin-bottom: -27%;    
}

@media(max-width: 1165px){
.relleno img{
    display: none;
}
}

.animation{
        /* animation */
        animation-name: button;
        animation-duration: 2s;
        animation-direction:reverse;
        transition: all 0.3s;
        
        /*100%-0%*/;
}
@keyframes button{
    100%{
        transform: translateY(-10%);
        background-color: transparent;
    }
    0%{
        transform: translateY(0%);
        background-color: transparent;
        
    }
    
}


/*NAVBAR CELULARES*/

.btn-adaptative{
    font-weight: 700;
    color: var(--buttonC);
    padding: 3px 17px;
    background-color: var(--colorBck);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 45px;
    display: none;
}
.btn-adaptative:hover{
    color: #a5d085;
    transform: scale(1.1);
}
.btn{
    display: flex;
    text-decoration: 0;
}
.nav-links{
    display: block;
    font-size: 50px;
    font-weight: bold;
    background-color: var(--colorBck);
    top: 10%;
    position: fixed;
    width: 100%;
    text-align: center;
    padding: 10% 45%;
    padding-bottom: 100%;
    transition: all 0.5s;
    left: 150%;
    transition: 0,5s;
}
.header .nav-links li:hover{
    transform: scale(1.1);
}
.header .btn button{
    font-weight: 700;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;       
}
.header .btn button:hover{
    color: var(--colorHoverBTN);
    transform: scale(1.1);
}
.header .btn-adaptative{
    margin: 0 -40px;
    display: block;
}
.btn-adaptative_visible{
    left: 0;
}

.header .nav-links li a:hover{
    color: #a5d085; 
}

/*MEDIA QUERY PARA TABLETS*/
@media(max-width: 1105px){
    body{
        background-image: url(../images/font2.jpeg);
        background-repeat: repeat-y;
        background-size: 110%;
        background-attachment: fixed;
        margin: 0 0 0 0px;
        height: 100vh;
    }
    .header{
        background-color: var(--colorBck);
        justify-content: space-between;
        align-items: center;
        
        padding: 20px 20%;
        position: fixed;
            /* animation */
            animation-name: home;
            animation-duration: 0s;
    }
    @keyframes home{
        100%{
            transform: translateY(0%);
        }
        0%{
            transform: translateY(0%);
        }

    }

    .btn{
        display: flex;
        text-decoration: 0;
    }
    .nav-links{
        display: block;
        font-size: 50px;
        font-weight: bold;
        background-color: var(--colorBck);
        top: 10%;
        position: fixed;
        width: 100%;
        text-align: center;
        padding: 20% 40%;
        padding-bottom: 100%;
        transition: all 0.5s;
        left: 150%;
        transition: 0,5s;
    }
    .header .nav-links li:hover{
        transform: scale(1.1);
    }
    .header .btn button{
        font-weight: 700;
        color: white;
        padding: 15px;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s;       
    }
    .header .btn button:hover{
        color: #a5d085;
        transform: scale(1.1);
    }
    .header .btn-adaptative{
        margin: 0 -40px;
        display: block;
    }
    .btn-adaptative_visible{
        left: 0;
    }

    .header .nav-links li a:hover{
        color: #a5d085; 
    }
/*FIN NAVBAR TABLETS*/
/*INICIO CONTENIDO PARA TABLETS*/

.galery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
    margin: auto;
    width: 80%;
    grid-gap: 15px;
    padding: 40px 0;
    overflow: hidden;
}
    
.imgespacio{
    display: none;
}

.imgespacio img{
    margin-top: 10%;
    margin-left: 10%;
    width: 600px;
    height: auto;
    display: none;
}

.imgespacio2{
    display: block;
}

.imgespacio2 img{
    margin-top: 10%;
    margin-left: 10%;
    width: 500px;
    height: auto;
    display: block;
}

/*FIN CONTENIDO TABLETS*/    
}
/*INICIO CONTENIDO CELULARES*/
@media(max-width: 700px){

    .header .logo img{
        height: 90px;
        width: auto;
        margin-left: -50px;
        transition: all 0.3s;
    }

    

.img-pop-1{
    width: 100%;
    height: 100%;
}
.img-pop-2{
    width: 100%;
    height: 100%;
}
.img-pop-3{
    width: 100%;
    height: 100%;
}
.img-pop-4{
    width: 100%;
    height: 100%;
}
.img-pop-5{
    width: 100%;
    height: 100%;
}
.img-pop-6{
    width: 100%;
    height: 100%;
}
.img-pop-7{
    width: 100%;
    height: 100%;
}

.container-textt{
    width: 100%;
    height: 60%;
    padding: 80px;
}

.header{
    background-color: var(--colorBck);
    justify-content: space-between;
    align-items: center;

    padding: 20px 15%;
    position: fixed;
        /* animation */
        animation-name: home;
        animation-duration: 0s;
}
@keyframes home{
    100%{
        transform: translateY(0%);
    }
    0%{
        transform: translateY(0%);
    }

}

.btn{
    display: flex;
    text-decoration: 0;
    margin: 50px;
}
.nav-links{
    display: block;
    font-size: 50px;
    font-weight: bold;
    background-color: var(--colorBck);
    top: 10%;
    position: fixed;
    width: 100%;
    text-align: center;
    padding: 20% 40%;
    padding-bottom: 100%;
    transition: all 0.5s;
    left: 150%;
    transition: left 0,5s;
}
.header .nav-links li:hover{
    transform: scale(1.1);
}
.header .btn button{
    font-weight: 700;
    color: white;
    padding: 9px 25px;
    
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;       
}
.header .btn button:hover{
    background-color: transparent;
    color: var(--buttonC);
    transform: scale(1.1);
}
.header .btn-adaptative{
    margin: 0 -40px;
    display: block;
}
.btn-adaptative_visible{
    left: 0;
}

.header .nav-links li a:hover{
    color: #a5d085; 
}
    /*fin del header*/
 
.header .btn button{
    font-weight: 700;
    color: white;
    padding: 9px 25px;
    background-color: var(--colorBck);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;       
}
/*INICIO CONTENIDO PARA TABLETS*/

.galery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
    margin: auto;
    width: 90%;
    grid-gap: 25px;
    overflow: hidden;    
}

.imgespacio2 img{
    margin-top: 5%;
    margin-bottom: 20%;
    width: 80%;
    margin-left: 7%;
    height: auto;
    display: flex;
}

.imgespacio{
    display: none;
}

.imgespacio img{
    display: none;
}


/*FIN CONTENIDO TABLETS*/  

}

@media(max-width: 530px){

    .nav-links{
        display: block;
        font-size: 50px;
        font-weight: bold;
        top: 10%;
        bottom: 0;
        position: fixed;
        width: 100%;
        text-align: center;
        padding: 20% 40%;
        padding-bottom: 100%;
        transition: all 0.5s;
        left: 150%;
        transition: left 0,5s;
    }
    .header .nav-links li:hover{
        transform: scale(1.1);
    }
    .header .btn button{
        font-weight: 700;
        padding: 9px 25px;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s;       
    }
    .header .btn button:hover{
        transform: scale(1.1);
    }
    .header .btn-adaptative{
        margin: 0 -40px;
        display: block;
    }
    .btn-adaptative_visible{
        left: 0;
    }

    
 
}

@media(max-width: 487px){

    .nav-links{
        display: block;
        font-size: 50px;
        font-weight: bold;
        top: 10%;
        bottom: 0;
        position: fixed;
        width: 100%;
        text-align: center;
        padding: 20% 35%;
        padding-bottom: 100%;
        transition: all 0.5s;
        left: 150%;
        transition: left 0,5s;
    }
    .header .nav-links li:hover{
        transform: scale(1.1);
    }
    .header .btn button{
        font-weight: 700;
        padding: 9px 25px;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s;       
    }
    .header .btn button:hover{
        transform: scale(1.1);
    }
    .header .btn-adaptative{
        margin: 0 -40px;
        display: block;
    }
    .btn-adaptative_visible{
        left: 0;
    }

   
    
    .container-textt{
        width: 20%;
        padding: 50px;
        margin-left: -37px;
    }

    .imgespacio img{
        margin-left: -20px;
    }

    body{
        background-image: url(../images/font2.jpeg);
        
    background-size: 110%;
    background-attachment: fixed;
    
    }

}

/*POPUP*/
.container-all{
    width: 100%;
    height: 130%;
    margin-top: -5%;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
    padding: 40px;
    z-index: 300;
}

.container-all:target{
    background-color: rgba(0,0, 0, 0.8);
    visibility: visible;
    opacity: 1;
    
    
}

.popup{
    width: 100%;
    max-width: 800px;
    height: 500px;
    position: relative;
    display: flex;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;

} 

.img-pop-1{
    width: 40%;
    background-image: url(../buzos/111a.png);
    background-size: cover;
    background-position: center;
}

.img-pop-2{
    width: 40%;
    background-image: url(../buzos/22a.jpeg);
    background-size: cover;
    background-position: center;
}

.img-pop-3{
    width: 40%;
    background-image: url(../buzos/33a.jpeg);
    background-size: cover;
    background-position: center;
}

.img-pop-4{
    width: 40%;
    background-image: url(../buzos/44a.png);
    background-size: cover;
    background-position: center;
}

.img-pop-5{
    width: 40%;
    background-image: url(../buzos/55a.jpeg);
    background-size: cover;
    background-position: center;
}

.img-pop-6{
    width: 40%;
    background-image: url(../buzos/66a.jpeg);
    background-size: cover;
    background-position: center;
}
.img-pop-7{
    width: 40%;
    background-image: url(../buzos/77a.jpeg);
    background-size: cover;
    background-position: center;
}
.img-pop-8{
    width: 40%;
    background-image: url(../buzos/88a.jpeg);
    background-size: cover;
    background-position: center;
}
.img-pop-9{
    width: 40%;
    background-image: url(../buzos/99a.jpeg);
    background-size: cover;
    background-position: center;
}


.container-textt{
    width: 60%;
    padding: 50px;
}

.container-textt h1{
    font-size: 30px;
}

.container-textt p{
    margin-top: 20px;
    font-size: 16px;
}

.container-textt a{
    margin-top: 20px;
    font-size: 16px;
    color: var(--colorHover);
}

.btn-close-popup{
    width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: -20px;
    background-color: var(--colorBck);
    color: var(--buttonD);
    border-radius: 50%;
    line-height: 10px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-close-popup:hover{
    transform: scale(1.15);
    background-color: var(--buttonD);
    color: var(--colorBck);
}

.imgpopup{
    max-width: 100%;
    position: flex;
    justify-content: center;
}

.btn button{
    margin-top: 4%;
    font-weight: 700;
    color: var(--colorNavBar);
    padding: 9px 25px;
    background-color: var(--colorBtn);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn button:hover{
    background-color: var(--colorBck);
    color: var(--buttonD);
    transform: scale(1.1);
}


.footer{
    display: flex;
    justify-content:center;
    align-items: center;
    color: var(--light);
    background-color: var(--footer);
    padding: 30px;
    bottom: 0;
    color: var(--light);
    position: relative;
    z-index: 1;
    }

    .fab{
        display: flex;
        justify-content:end;
        color: var(--colorBck);
        text-decoration: none;
        margin-left: 20%;
    }
    .fab:hover{
        color: #a5d085;
        
    }

.container-all-card{
    width: 100%;
    top: 0%;
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
    padding: 0px;
    z-index: 300;

}
.container-all-card:target{
    background-color: rgba(0,0, 0, 0.8);
    visibility: visible;
    opacity: 1;
}

.container-textt .buttonsC{
    display: flex;
    right: 0;
    padding: 20px 10px;
    border-radius: 15px;
    justify-content: center;
    background-color: var(--colorBck);
    color: var(--buttonD);
    text-decoration: none;
}

.container-textt .buttonsC:hover{
    background-color: var(--buttonD);
    color: var(--colorBck);
    
}

del{
    color: #7b3030;
}