@import url('fabrikat.css');
@import url('lightbox.css');

:root{
        --mygap:1%;
        --rad:100px;
}

/*RESETS*/

h1, h2, h3, h4, h5, h6{margin:0; padding:0}

ul,li{
    list-style-type: none;
    margin:0;
    padding:0;
}


/*///RESETS*/

html{
    background-color:white;
    color:black;

}

body{
    transition: all 0.5s ease-out;
    font-family: FabrikatMono-Regular;
    display:grid;
    grid-template-columns: 300px 1fr;
    gap:90px;
    margin:0 auto;
    padding:30px;

    background-color: #E5E4EA;
    background-image:url(../gallery/turn-12.jpg);
    background-attachment: fixed;
    background-position: -150px 50px;
    background-repeat: no-repeat;
    background-size: contain;
}



nav{
    display:none;
    border-radius:1rem 0 0 0;
    position:fixed;
    bottom:0;
    right:0;
    background:black;
    padding:1rem;
    z-index:9999;

    ul{
        display: flex;
        flex-direction: row;
        gap:20px;
        place-content: center;

        li{
            font-family:FabrikatMono-Regular;
            font-size:1.5rem;
            letter-spacing: -1px;
            color:white;

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

                &:before{
                    color:grey;
                    content:"/";
                }

                &:hover{
                    color:red;
                }
            }
        }
    }
}

main{
    /*background:#333;*/
    max-width:900px;
}

aside{
    /*background:#333;*/

    h1{
        font-family:FabrikatMono-Medium;
        letter-spacing: -0.3rem;
        font-size:3rem;
        border-bottom:1px dashed black;
        margin:0 0 0.75rem 0;
    }
    h3{
        letter-spacing: -0.07rem;
    }
}

.gallery{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap:var(--mygap);

    img{
        width:32.5%;
        aspect-ratio: auto;
        object-fit: cover;
        border-radius:var(--rad);
        margin:var(--mygap) 0 var(--mygap) 0;
        cursor: pointer;
        transition: transform 0.2s ease;
    
        &.fullw{
            width:100%;
        }
    }

    img:hover{
        transform: scale(1.02);
    }
}

.one-col{columns:1;}
.two-col{columns:2;}
.three-col{columns:3;}


@media (max-width: 768px) {
    body{ 
        grid-template: "1fr";
    background-position: 0 0;
    }
    aside{height:20vh;}
    main{}


}