@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Noto+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');


html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    margin: 0 auto;
    /*background: url(img/sad.gif);*/
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Comfortaa';
    font-family: 'Montserrat', sans-serif;
    font-family: 'Varela Round', sans-serif;
    width: 100%;
}

header {
    background: white;
    position: fixed;
    width: 100%;
    z-index: 3;
    transition: ease 0.2s;
}

header::after {
    content:'';
    display: table;
    clear: both;
}

.scrolled-header {
    box-shadow: 0 0 10px 10px rgba(0,0,0,0.03);
    transition: ease .2s;
}

.topnav {
    margin: 0 auto;
    width: 95%;
    padding: 10px;
}

/* making the avatar change upon hover */

.leoActiv, .leoAvatar {
    width:275px;
}

.leo img {
    object-fit: cover;
}

.leoActiv{
    display:none;
}

.leo:hover .leoAvatar {
    display:none;
}

.leo:hover .leoActiv {
    display:inline-block;
}

.leo:hover {
    cursor: pointer;
}


/* -------------- NAV SECTION OF TOP BAR ----------------------*/

nav {
    float: right;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li{
    display: inline-block;
    margin-left: 80px;
    padding-top: 15px;

    position: relative;
}

nav ul li a {
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 17px;
}

#theNav {
    top: 0;
}

#home-button:hover {
    color: #007fff;
}
#work-button:hover {
    color: #03ac13;
    transition: 0.25s ease-in;
}
#art-button {
    color: #d10000;
}
#about-button:hover {
    color: rgb(105, 105, 105);
}

nav a:before {
    content: '';
    display: block;
    height: 5px;
    width: 100%;
    background-color: black ;

    position: absolute;
    top: 5px;
    width: 0;
    
    transition: all ease-in-out 250ms;
}

nav a:hover::before {
    width: 100%;
}



.content {
    margin: 0 auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.art-title {
    margin-top: 100px;
    margin-bottom: 50px;
}

.art-container {
    margin: 0 auto;
    display: flex;
    
}

.art-grid {
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: 0 auto;
    gap: 15px;
    flex-wrap:wrap;
    justify-content: center;
}

.art-grid .image {
    cursor: pointer;
    object-fit: cover;
    transition: 0.3s;
}

.art-grid .image:hover {
    filter: brightness(0.8);
}

#image-viewer {
    display: none;
    z-index: 999;
}

#image-viewer div {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#image-viewer div img{
    display: block;
    
    height: 80%;
    max-width: 50%;
    animation: showImage 0.5s;
}

@keyframes showImage {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

#close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 30px;
    transition: 0.3s;
    cursor: pointer;
}

#close:hover, #close:focus {
    opacity: 0.8;

}

@media screen and (max-width: 700px) {
    .viewer {
        width: 100%;
    }
}

img {
    border-radius: 10px;
    image-resolution: 100dpi;
}

/* ---- The Wave SVG Mechanics ---- */
.spacer {
    aspect-ratio: 960/150;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
    .layer1 {
        background-image: url("../img/toplayer2.svg");
        margin-bottom: -28px;
    }
    .layer2 {
        margin-top: -51px;
        background-image: url('../img/downlayer2.svg');
    }
.footerspacer {
    aspect-ratio: 900/50;
    width: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
    .footerlayer {
        background-image: url('../img/footerlayer.svg');
        margin-bottom: -1px;
    }


/* ---- Footer ---- */
.bottom {
    background-color: #0066FF;
    width: 100%;
    margin: 0;
}

.bottom a {
    text-decoration: none;
}
.contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
    .contact-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 0 auto;
        gap: 40px;
    }
    .contact-links a i {
        margin-top: 15px;
        color: white;
    }
        .contact-links a i:hover {
            color: lightslategrey;
            transition: ease-in .1s;
        }
    .contact p {
        color: white;
        margin: 0 auto;
    }
        .contact p:nth-child(2) {
            padding-top: 20px;
        }
        .contact p:nth-child(3) {
            padding-bottom: 40px;
        }


.copyright {
    margin: 0 auto;
    text-align: center;
    background-color: #0066FF;
    position: relative;
    bottom: 0;
}
.copyright p {
    background-color: #0066FF;
    color: white;
    bottom:0;
    margin: 0;
    padding: 10px;
    font-family:'Courier New', Courier, monospace;
}




/* .art-box {
    height: 350px;
    width: 300px;
    background-color: cornflowerblue;
    border-radius: 20px;

} */

/* .art-box:hover {
    filter: brightness(0.7);
    transition: 0.1s ease-in;
    cursor: pointer;
}

.art-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px ;
} */
