* {
    padding: 0;
    margin: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Lato', sans-serif;
    /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
    font-size: 20px;
    background-color: rgb(68, 90, 156);
}
header{
    background-color: rgb(68, 90, 156);
    background-image: url(https://d16kd6gzalkogb.cloudfront.net/__sized__/magazine_images/Vincent-van-Gogh-Starry_Night_Over_the_Rhone.-Image-via-wikimedia.org_-thumbnail_webp-9999x9999.webp);
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    text-align: center;
}
nav ul li {
    display: inline-block;
}
main{
    background-color: rgb(68, 90, 156);
    min-height: 300px;
    display: flex;
}
section{
    background-color: rgb(123, 147, 146);
    width: 66%;
    color: rgb(0, 36, 71);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    /* float: left; */
}
aside{
    background-color: rgb(207, 205, 155);
    width: 34%;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    /* float: right; */
}
section.bio{
    display: flex;
    min-height: 200px;
    width: 100%;
    background-color: rgb(68, 90, 156);
    border-radius: unset;
    padding: 20px;
    box-sizing: border-box;
}
/* .clear{
    clear: both;
} */
footer{
    background-color: rgb(235, 215, 193);
    height: 150px;
}

header, nav, main, section, aside, footer {
    /* padding: 20px 15px 100px 15px; */
    padding: 20px 15px 100px;
}
header{
    padding-top: 100px;
}

nav {
    padding: 20px 15px;
    word-spacing: 50px;
    /* Sticky Navigation */
    position: fixed;
    top:0px;
    background-color:rgb(235, 215, 193);
    width: 100vw;
    text-align: center;
    z-index: 10;
}
/* nav::before {
    width: 100%;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    filter: blur(10px);
    position: fixed;
    top: -5px;
    display: block;
    width: 120%;
    text-align: center;
    z-index: -1;
    content: '';
    left: -35px;
} */

nav ul li a, h1, h2 {
    font-family: 'Space Mono', monospace;
}

h1 {
    color: rgb(0, 0, 0);
}

a {
    font-weight: bold;
    text-decoration: none;
    color: black;    
}
a:hover {
    color: blue;
}
nav ul li a {
    text-decoration: none;
    text-transform: uppercase;    
    letter-spacing: 1px;
    color: rgb(56, 56, 56);
} 
nav ul li a:hover{
    color: rgba(68, 90, 156);
}


/* Gallery */
.gallery {
    display: grid;
    /* grid-template-columns: repeat(5, 1fr); */
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 5vw;
    grid-row-gap: 5vh;
    padding: 20px;
    max-width: 1980px;

    /* positioning to center */
    position: relative;
    margin: 0 auto;
}

.boxes {
    background-color: white;
    width: 100%;
    min-height: 200px;
    border: 2px solid black;
    box-shadow: 14px 9px 15px 0px rgba(50, 50, 50, 0.59);
    height: fit-content;
    text-align: center;
}

.boxes img {
    width: 100%;
    transform-origin: top center;
    transition: all 0.4s ease-in;
}

.boxes img:hover {
    transform: scale(1.5);
}

figcaption {
    padding-bottom: 15px;
}

@media only screen and (max-width: 1024px) {
    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .boxes img:active {
        transform: scale(1.5);
    }
}

@media only screen and (max-width: 640px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}