*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{

    background-color: rgb(255, 255, 255);
    

}



.box{

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);


    font-size: 75vh;

    border: 1px solid seagreen;
    z-index: 99999999;

    opacity: 0;

}

header{
    position: fixed;
    padding-bottom: 2rem;

    width: 100vw;
    display: flex;
    flex-direction: row;

    background-color: rgba(255, 255, 255, 0.041);
    z-index: 9999;

    /* border: 1px solid darkblue; */
}

a{
    text-decoration: none;
}

.link{
    z-index: 99999;
}

.titulo{
    padding: .5rem 0rem 0rem 1rem;
    font-family: Georgia, Times, 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: lighter;
    color: rgb(44, 43, 43);
    

}

.top{
    width: 100%;
    padding-top: .4rem;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
 

    /* border: 2px solid lightcoral; */
}

.top h2{
    font-family: Gruppo;
    font-weight: lighter;
    font-size: 1.5rem;

}

.top a{
    color: black;
}

.instagram{
    position: fixed;
    right: 1rem;
    top: .5rem; 
}


.instagram img{
    height: 2rem;
}

.overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(2, 2, 2, 0.966);
    backdrop-filter: blur(25px);
    
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;

    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transition: all .5s ease;

    visibility: hidden;
    opacity: 0;
    
}

.slideshow{

    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow #img_slideshow{
    width: 97vw;
    height: 97vh;
    /* max-width: 1800px; */
    object-fit: contain;

}

.btn_cerrar{
    position: absolute;
    top: 1rem;
    right: 1rem;

    width: 1.5rem;
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

.atras{
    position: absolute;
    left: 1rem;
    width: 2rem;
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

.adelante{
    position: absolute;
    right: 1rem;
    width: 2rem;
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

.btn_cerrar:hover{
    transform: scale(1.05);
}

.svg{
    pointer-events: none;
}


.galeria{
    margin: 0;
    padding-top: 3%;

    display: grid;
    grid-template-columns: repeat(7, 1fr);
    
    /* border: 3px solid rgb(20, 22, 177); */
}

.galeria img{
    padding: 2px 2px;
}

.column {
    /* position: absolute;
    
    right: 63.33333%; */
    
    padding-top: 2rem;
 
   
    /* position: relative; */
    /* display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: ;
    grid-auto-flow: dense;
    grid-gap: 15px 15px; */
    

    
    /* padding: 20px 5px 50px 5px; */

    /* border: solid 1px rgb(201, 6, 6); */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
}

.column2{
    /* position: absolute;
    left: 63.333333%; */
    padding-top: 1rem;
   
    /* border: solid 1px rgb(13, 212, 56); */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
}

.column3{
    margin: 0;
    padding: 0;
    /* position: absolute; */
    padding-top: 1rem;
    /* left: 50%;
    right: 50%;
    transform: translate(-50%); */

    
    
    /* border: solid 1px rgb(224, 210, 15); */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
}

.galeria .img {
    aspect-ratio: 2/3;
    /* box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.8); */
    width: 97%;
    /* height: 100%; */
    object-fit: cover;
    border-radius: 5px;
    cursor: zoom-in;
    
    /* border: 1px solid;
    border-style: solid;
    border-color: rgb(255, 205, 112); */

}

.n1 .img:nth-child(6) {
    aspect-ratio: 3/2 ;
    object-fit: cover;

}

.n2 .img:nth-child(2) {
    aspect-ratio: 3/2 ;
    object-fit: cover;

}

.n3 .img:nth-child(2) {
    aspect-ratio: 3/2 ;
    object-fit: cover;
}

.n4 .img:nth-child(1){
    aspect-ratio: 3/2 ;
    object-fit: cover;
}

.n4 .img:nth-child(3){
    aspect-ratio: 3/2 ;
    object-fit: cover;
}
.n4 .img:nth-child(5){
    aspect-ratio: 3/2 ;
    object-fit: cover;
}
.n4 .img:nth-child(6){
    aspect-ratio: 3/2 ;
    object-fit: cover;
}
.n5 .img:nth-child(1){
    aspect-ratio: 3/2 ;
    object-fit: cover;
}
.n5 .img:nth-child(3){
    aspect-ratio: 3/2 ;
    object-fit: cover;
}
.n5 .img:nth-child(4){
    aspect-ratio: 3/2 ;
    object-fit: cover;
}










@media screen and (max-width: 800px) {

    #inicio{
        position: absolute;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-image: url(/ICOs/fondo2.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

        z-index: 999999;
    }

    #inicio:target{
        transition: opacity 2.2s linear;
        opacity: 0;
        z-index: 9;

       
      
    }

    
    .box{
        font-size: 65vh;
        opacity: 0;
    }

    header{
  
        padding-top: 0rem;
        padding-right: 0;
        padding-bottom: .7rem;
        
    }

    
    .titulo{
        font-size: .7rem;
        padding: .8rem 0rem 0rem .5rem;
    }

    .top{
        padding: .3rem 0 0 0rem;
     
    }

    .top h2{
        font-size: 1rem;
       

    } 

    .instagram{
        position: fixed;
        right: .6rem;
        top: .45rem;
    }
    
    .instagram img{
        height: 1.3rem;
    }

    .galeria{

        padding-top: 11%;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        border-radius: 1px;
    }



}