
@font-face{
    font-family: 'Aquire';
    src: url(../fonts/Aquire-BW0ox.otf);
    font-style:normal;
    font-weight: 100;

}

@font-face{
    font-family: 'Tempest';
    src: url(../fonts/TempestApache-a3OJ.otf);
    font-style:normal;
    font-weight: 100;

}

@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@500&display=swap');


html,
body{
    height: 100vh;
    font-family: 'Poppins';
    color: white;
    background:black;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}
.container{
    position:absolute;
    z-index: 1;
    width: 100%;
    height: 100vh;
    display: grid;
    justify-content: center;
}
menu{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
h1{
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    font-size: 20px;
}
h1 a{
    text-decoration:none;
    width: 100%;
    font-size: 4em;
    font-family: Aquire;
    color: #34eb43;
    text-align: center;
    cursor: pointer;
   
}
nav{
    position: relative;
    display: flex;
    width: 100%;
    padding-top: 0em;
    gap: 6em;
    text-align: center;
    justify-content: center;
    font-size: 15px;

}
.small-link {
    text-decoration:none;
    transform: translate(50%,-50%);
    transform: skew(-5deg) rotate(-5deg);
    text-transform: uppercase;
    font-family: Tempest;
    font-size: 4em;
    font-weight: 700;
    color: #34eb43;
    background-color: transparent;
    border: transparent;
    text-shadow: 
        1px 1px 1px #1c8024,
        1px 2px 1px #1c8024,
        1px 3px 1px #1c8024,
        1px 4px 1px #1c8024,
        1px 5px 1px #1c8024,
        1px 6px 1px #1c8024,
        1px 7px 1px #1c8024,
        1px 8px 1px #1c8024,
        1px 9px 1px #1c8024,
        1px 10px 1px #1c8024,
    1px 18px 6px rgba(16,16,16,0.4),
    1px 22px 10px rgba(16,16,16,0.2),
    1px 25px 35px rgba(16,16,16,0.2),
    1px 30px 60px rgba(16,16,16,0.4);
}
.small-link:hover{
    color: #33ff44;
    font-size: 5em;
    text-shadow: 
    1px 2px 1px #1c8024,
    1px 3px 1px #1c8024,
    1px 4px 1px #1c8024,
    1px 5px 1px #1c8024,
    1px 6px 1px #1c8024,
    1px 7px 1px #1c8024,
    1px 8px 1px #1c8024,
    1px 9px 1px #1c8024,

    1px 10px 1px #1c8024,
    1px 20px 1px #1c8024,
    1px 30px 1px #1c8024,
    1px 40px 1px #1c8024,
    1px 50px 1px #1c8024,
    1px 60px 1px #1c8024,
    1px 70px 1px #1c8024,
    1px 80px 1px #1c8024,
    1px 90px 1px #1c8024,
    1px 100px 1px #1c8024,
1px 18px 6px rgba(16,16,16,0.4),
1px 22px 10px rgba(16,16,16,0.2),
1px 25px 35px rgba(16,16,16,0.2),
1px 30px 60px rgba(16,16,16,0.4);
}
.gallery-container{
    margin-top: 60px;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}
.gallery{
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 50px 20px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    grid-gap: 30px;
}

.gallery .image-box{
    position: relative;
    overflow: hidden;
    cursor: pointer;

}
.gallery .image-box:nth-child(7n+1){
    grid-column: span 2;
    grid-row: span 2;
}

.gallery .image-box img{
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.5s ease;

}
.image-box{
    border:none;
    padding: 0;
    background:none;
    border-radius: 20px;
}
.image-box:hover{
    border-radius:30px ;
    transform: scale(1.03)
}

.highlighted-image{
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left:0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.highlighted-image img{
    max-height: 80vh;
    max-width: 80vw;
    border-radius: 10px;
}
.highlighted-text{
    margin-left: 40px;
    margin-top: 0px;
    /* max-height: 80vh; */
    max-width: 15vw;
    border-radius: 10px;
    font-size: 20px;
    font-family: 'Spartan', sans-serif;
}

.hidden-text{
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
}
p a{
    color: #44f
}
/* 
@media(max-width:1920px){
    .gallery{
        grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
        grid-auto-rows: 250px;
    }
    .gallery .image-box:nth-child(7n+1){
        grid-column: unset;
        grid-row: unset;
    }
    
} */

@media(max-width:768px){
    .gallery{
        grid-template-columns: repeat(auto-fit,minmax(450px,1fr));
        grid-auto-rows: 250px;
    }
    .gallery .image-box:nth-child(7n+1){
        grid-column: unset;
        grid-row: unset;
    }
    
}