body{

    background:#111;

    color:#eee;

    font-family:Georgia, serif;

    padding:40px;

}

.backBar{

    position:fixed;

    top:20px;

    left:20px;

    padding:10px 18px;

    background:#111;

    border:1px solid #444;

    border-radius:20px;

    z-index:100;

}


.backBar a{

    color:white;

    text-decoration:none;

}



h1{

    text-align:center;

    font-size:50px;

    letter-spacing:5px;

    margin-bottom:60px;

}



h2{

    font-size:30px;

    margin-top:50px;

    margin-bottom:20px;

    border-bottom:1px solid #444;

    padding-bottom:10px;

}



/* horizontal scrolling */

.gallery{

    display:flex;

    gap:25px;

    overflow-x:auto;

    padding:20px 10px 35px;

    scroll-behavior:smooth;

}



/* scrollbar */

.gallery::-webkit-scrollbar{

    height:10px;

}



.gallery::-webkit-scrollbar-thumb{

    background:#555;

    border-radius:20px;

}



/* image cards */

.artCard{

    flex:0 0 auto;

    width:280px;

    height:380px;

    background:#1c1c1c;

    border-radius:15px;

    overflow:hidden;

    border:1px solid #333;

    box-shadow:0 10px 25px rgba(0,0,0,.5);

    cursor:pointer;

    transition:.3s;

}



.artCard:hover{

    transform:translateY(-8px);

    border-color:#a97cff;

}



/* images */

.artCard img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}



/* nicer scrollbar spacing */

section{

    margin-bottom:70px;

}

.teenieGallery{

    display:grid;

    grid-auto-flow:column;

    grid-template-rows:repeat(2, 200px);

    grid-auto-columns:150px;

    gap:20px;

    overflow-x:auto;

    padding:20px 10px 35px;

}


.teenieGallery .artCard{

    width:150px;

    height:200px;

}


.teenieGallery .artCard img{

    width:100%;

    height:100%;

    object-fit:contain;

    background:#1c1c1c;

}

.imageOverlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.85);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:999;

    cursor:pointer;

}



.imageOverlay img{

    max-width:90%;

    max-height:90%;

    border-radius:15px;

    box-shadow:0 0 40px black;

}