*{
    padding: 0;
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: "Noto Sans Mono", monospace;
    background-color: rgb(21, 21, 21);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    color: white;
}

.IndexSite{
    background-image: url(Images/T0_Bridge_IMRPOVED.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
}

.DripsuationSite{
    background-image: url(Images/Submarine_Bg.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
}

.BoneVoyageSite{
    background-image: url(Images/Games/BoneVoyage/ofTEhR.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
}

.TheWarMasksSite{
    background-image: url(Images/Games/TheWarMasks/R0igHT.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
}

.ONAPSite{
    background-image: url(Images/Games/ONAP/Dyl_Ms.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
}

.NavigationBar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2%;
    width: 100%;
    top: 0;
    padding: 0;
    position: fixed;
    background-color: black;
    color: white;
    overflow: hidden;
}


.NavigationLeft{
    /* display: flex; */
    /* flex-direction: column; */
    margin-left: 1%;
    text-align: left;
    justify-content: flex-start;
}

.NavigationLeft a{
    text-decoration: none;
    color: white;
    justify-content: flex-start;
}

.NavigationMiddle {
    margin: 0; /* Remove that 34% margin */
    flex-grow: 1;
    text-align: center;
}

.NavigationRight{
    display: flex;
    align-items: flex-end;
    text-align: right;
    justify-content: flex-end;

    margin-left: auto;
    margin-right: 1%;
}

/* Update your existing HamburgerMenu class */
.HamburgerMenu {
    display: none; /* Hide it by default */
    flex-direction: column;
    position: fixed;
    top: 85px; /* Adjust based on your Nav height */
    right: 0;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 20px;
    z-index: 1000;
}

/* This class will be added via JavaScript */
.HamburgerMenu.active {
    display: flex;
}

.HamburgerMenu a {
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgb(255, 255, 255);
}

.HamburgerMenu a:hover {
    color: #aaa;
}

#MenuToggle{
    cursor: pointer;
}

/*Modal*/
.Modal{
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 50px;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    margin-top: -80px;
}

.Modal-Content{
    margin: auto;
    display: block;
    width: auto;
    max-width: 65vw;
    max-height: 90vh;
}
/*Modal end*/

.OutsideNav{
    align-items: center;
    margin-top: 100px;
    text-align: center;
}

.Boxes{
    display:flex;
    flex-direction: row;
    align-items: flex-start;
}

.MiddleBox{
    display: flexbox;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0.5%;
    margin-right: 0.5%;
    background-color: rgba(0, 0, 0, 0.85);
    width: 55%;
    height: auto;
    padding-top: 1vh;
    padding-bottom: 2vh;
}

.ArtSection{
    border-top: 1px solid white;
}

.ArtPiece{
    border-bottom: 2px solid white;
}

.ArtPiece img {
    width: 90%;
    margin-bottom: 1%;
}

.ArtPiece video {
    width: 70%;
    margin-bottom: 1%;
}

.RightSideBox{
    display: flexbox;
    justify-content: flex-end;
    align-items: flex-end;
    width: 21%;
    height: auto;
    margin-left: auto;
    margin-right: 3%;
    background-color: rgba(0, 0, 0, 0.9);
    padding-left: 1%;
    padding-right: 1%;
    padding-bottom: 2vh;
}

.RightSideBox img{
    margin-top: 3%;
    height: auto;
    width: 90%;
}

.RightSideBoxEmpty{
    display: flexbox;
    justify-content: flex-end;
    align-items: flex-end;
    width: 21%;
}

.LeftSideBox{
    display: flexbox;
    justify-content: flex-end;
    align-items: flex-end;
    width: 21%;
    height: auto;
    margin-right: auto;
    margin-left: 3%;
    background-color: rgba(0, 0, 0, 0.9);
    padding-left: 1%;
    padding-right: 1%;
    padding-bottom: 2vh;
}

.LeftSideBox img{
    height: auto;
    width: 90%;
}

.LeftSideBoxEmpty{
    display: flexbox;
    justify-content: flex-end;
    align-items: flex-end;
    width: 21%;
}

.ListableStuff {
    color: white;
    border-bottom: 1px solid rgb(255, 255, 255);
}

.NewsList {
    color: white;
    border-bottom: 1px solid rgb(255, 255, 255);
    text-align: start;
}

.NewsList p {
    margin-bottom: 10px;
    padding-left: 5px;
    border-left: 2px solid #fff; /* A little vertical line to indicate a list */
}

.ListableStuff h3{
    color: white;
    border-bottom: 1px solid rgb(255, 255, 255);
}

.ListableStuff a{
    text-decoration: none;
    color: white;
    border-bottom: 1px solid rgb(255, 255, 255);
    font-size: 1.2rem;
}

.ListableStuff video{
    width: 90%;
}

.ListableStuff img{
    width: 90%;
}

.AboutMeSocials {
    display: inline-block;
    margin-top: 15px;
}

.AboutMeSocials img {
    width: 12%;
    margin: 7px;
}

.AboutMeMiddle{
    position: relative;
    display: none;
}

/*Game projects*/
.GameProjectBlock{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    /* max-width: 30vw; */
    /* min-width: 4vw; */
    margin-top: 20px;
}

.GameProjectBlock a{
    text-decoration: none;
    color: white;
}

.GameProject{
    background-color: rgb(14, 14, 14);
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 10px;
    width: 90%;
}

.GameProject img {
    /* height: 95%; */
    width: 80%;
    margin: 15px;
}

.SocialLinks{
    margin-left: 12px;
    margin-right: 12px;
    margin-top: 20px;
    /* width: auto; */
    height: 30px;
}

footer{
    position: relative;
    background-color: black;
    margin-top: 5vh;
}

.Footer-Container{
    text-align: center;
    /* height: auto; */
    /* margin-top: 5vh; */
    padding-top: 1vh;
    padding-bottom: 1vh;
    width: 100%;
    /* overflow-x: hidden; */
    left: 0;
    right: 0;
    bottom: 0;
}

/*Game project pages*/
.GameDescription{
    border-bottom: 2px solid rgb(255, 255, 255);
}

.GameGallery{
    flex-direction: row;
}

.GameGallery img{
    margin-top: 4%;
    width: 100%;
}

.GameProjectDetails {
    padding-left: 2%;
    padding-right: 2%;
}

.OtherGames {
    border-top: 1px solid white;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 5px;
}

.itchFrame{
    width: 650px;
    height: 167px;
}

.OtherLeft{
    background-color: black;
    color:  white;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

.OtherLeft a{
    color:  white;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

.OtherRight{
    background-color: black;
    color:  white;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

.OtherRight a{
    color:  white;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

@media only screen and (max-width:1300px) {
    body{
        font-size: 12px;
    }

    .HamburgerMenu{
        top: 65px;
    }

    .itchFrame{
    width: 300px;
    height: 167px;
    }

    .RightSideBoxEmpty{
        display: none;
        padding: 0;
        margin: 0;
    }
}

@media only screen and (max-width:600px) {
    body{
        font-size: 12px;
    }

    .RightSideBox{
        display: none;
        /* visibility: collapse; */
        padding: 0;
        margin: 0;
    }

    .RightSideBoxEmpty{
        display: none;
        padding: 0;
        margin: 0;
    }

    .LeftSideBoxEmpty{
        display: none;
        padding: 0;
        margin: 0;
    }

    /* .NavigationMiddle{
        visibility: collapse;
    } */

    /* .LeftSideBox{
        visibility: collapse;
        padding: 0;
        margin: 0;
    } */

    .MiddleBox{
    display: flexbox;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0.5%;
    margin-right: 0.5%;
    background-color: rgba(0, 0, 0, 0.85);
    width: 100%;
    height: auto;
    padding-top: 1vh;
    padding-bottom: 2vh;
    }

    .AboutMeMiddle{
        display: flex;
        flex-direction: column;
        position:relative;
        border-bottom: 1px solid white;
    }

    .itchFrame{
    width: 300px;
    height: 167px;
    }
}

@media only screen and (max-width:400px) {
    body{
        font-size: 10px;
    }

    .RightSideBox{
        display: none;
        /* visibility: collapse; */
        padding: 0;
        margin: 0;
    }

    .RightSideBoxEmpty{
        display: none;
        padding: 0;
        margin: 0;
    }

    .NavigationMiddle{
        display: none;
        /* visibility: collapse; */
    }

    .LeftSideBox{
        display: none;
        /* visibility: collapse; */
        padding: 0;
        margin: 0;
    }

    .LeftSideBoxEmpty{
        display: none;
        padding: 0;
        margin: 0;
    }

    .MiddleBox{
        display: flexbox;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 0.5%;
        margin-right: 0.5%;
        background-color: rgba(0, 0, 0, 0.85);
        width: 100%;
        height: auto;
        padding-top: 1vh;
        padding-bottom: 2vh;
    }

    .AboutMeMiddle{
        display: flex;
        flex-direction: column;
        position:relative;
        border-bottom: 1px solid white;
    }

    .itchFrame{
    width: 200px;
    height: 167px;
    }

    .HamburgerMenu{
        top: 53px;
    }
}