body{
    font-family: "Libre Baskerville", sans-serif;
    background-color: #ffff;

    width: 100%;
    height: 100%;

    padding: 0;
    margin: 0;
}

#navBar{
    background-color: #ffffffd5;

    display: flex;
    justify-content: left;
    align-items: center;

    width: 100%;
    height: 125px;
    gap: 50px;

    top: 0px;

    padding-left: 10px;
    position: fixed;
    transition: top 0.3s;

    box-shadow: 0px 2px #6b7c6aa9;

    z-index: 3;
}

.navBarItems{
    display: flex;
    flex-direction: row;

    margin-left: auto;
    margin-right: 50px;

    padding-right: 100px;
    gap: 25px;
}

.navBarMobileItem{
    display: none;
    flex-direction: row;

    margin-left: auto;
    margin-right: 50px;

    padding-right: 100px;
    gap: 25px;
}

.customName{
    max-width: 16%;
}

.navBarButtons{
    background: none;
    border: none;
}

.navBarButtons:hover{
    text-decoration: underline;
}

.galleryButtons{
    color: #455852;
    font-size: 1.5rem;

    background: none;
    border: none;
}

.galleryButtons:hover{
    color: #1B3738;
    text-decoration: underline;
}

.subNavbar{
    display: flex;
    justify-content: center;

    gap: 10px;
}

.imageContainer{
    visibility:visible;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;

    background-color: #ffff;

    justify-content: center;

    max-width: 90%;
    max-height: 100%;

    margin-left: auto;
    margin-right: auto;

    margin-top: 50px;

    gap: 20px;

    z-index: 0;

    position: relative;
}

.OverlayContainer{
    display: inline-flex;
    position: relative;

    flex:400px;
}

.OverlayContainer:hover .overlayImage{
    opacity: .3;
}

.OverlayContainer:hover .overlay{
    opacity: 1;
}

.overlay{
    transform: .5s ease;
    opacity: 0;

    position: absolute;
    overflow: auto;
    
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

}

.PortraitsItem{
    display: block;
    max-width: 100%;
}

.overlayImage{
    transition: .3s ease;
}

.overlayImage:hover{
    opacity: 3;
}

.LandscapesItem{
    display: block;
    max-width: 100%;
}

.SketchesItem{
    display: none;
    max-width: 100%;
}

.GameArtItem{
    display: none;
    max-width: 100%;
}

.customUnderline{
    display: flex;
    justify-content: center;
    max-width: 100%;
}

#Cross{
    display: none;
    width: 50%;
}

#Burger{
    display: block;
    width: 50%;
}

#BurgerMenu{
    display: none;
    position: fixed;
    background-color: #6B7C6A;
    right: -250px;
    top: 0px;
    width: 250px;
    height: 200%;
    bottom: 0;
    z-index: 2;

    transition: .4s ease;
}

.BurgerMenuContainer{
    display: flex;
    flex-direction: column;
    max-width: 100%;
    max-height: 100%;

    margin-top: 125px;

    position:relative;

    gap: 5px;
}

.BurgerMenuButton{
    max-width: 100%;
    height: 50px;

    background-color: #ffffff00;
    border: none;

    color: #D2BE9D;
    font-size: 2rem;
}

.BurgerMenuButton:hover{
    background-color: #1B3738;
}

.BurgerMenuButton:active{
    background-color: #102020;
}

h{
    color: #455852;
    font-size: 1.5rem;
}

h1{
    color: #6B7C6A;
    font-size: 2rem;
}

h2{
    color: #6B7C6A;
    font-size: 3rem;
}

p{
    color: #455852;
    font-size: 1rem;
}

p1{
    color: #6B7C6A;
    font-size: 1.7rem;
}


@media (max-width: 850px) {

    #BurgerMenu{
        display: block;
    }
    
    #navBar{
        position: fixed;
        background-color: #ffffff;
    }
    
    .galleryButtons{
        font-size: .9rem;
    }

    .underline{
        max-width: 80%;
    }

    .customName{
        max-width: 50%;
    }

    .navBarItems{
        display: none;
    }

    .navBarButtonsStyle{
        border: none;
        background: none    ;
    }

    .navBarMobileItem{
        display: flex;
        flex-direction: row;
    
        margin-left: auto;
        
        padding-right: 30px;
        margin-right: 0px;
    }
}
