*{
    margin: 0;
    padding: 0;
}

body{
    background-image: url(BG.png);
    background-size: 100px;
    background-position: center;
    image-rendering: pixelated;
    font-family: monospace;
    font-size: larger;
}

main{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

header{
    display: flex;
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    min-height: 50px;
    justify-content: center;
    align-items: center;
    position: sticky;
}

#logo, nav{
    width: 50%;
    height: 4.4vw;
    min-height: 50px;
    display: flex;
    align-items: center;
}

#logo {
    flex-shrink: 1;
    justify-content: center;
}

#logo a {
    height: 100%;
}

#navbar{
    flex-shrink: 0;
    justify-content: flex-end;
}

#navbar a{
    height: 100%;
    text-decoration: none;
    color: black;
    padding: 0 30px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    -webkit-user-select: none; /* Safari, Chrome, Opera */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;
}

#navbar a:hover{
    background-color: rgb(216, 216, 216);
}

#navbar #dropdown-enter {
    background-image: url(dropdownButtons/maximize.png);
    width: 5vw;
    min-width: 42px;
    height: 70%;
    margin: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#navbar #dropdown-enter:hover {
    background-image: url(dropdownButtons/maximizeHover.png);
}

#dropdown {
    background-image: url(dropdown.png);
    position: fixed;
    top: 0;
    right: 0;

    z-index: 999;

    display: none;
    flex-direction: column;
    justify-content: space-evenly;

    width: 180px;
    height: 275px;

    padding-top: 15px;

    background-repeat: no-repeat;
}

#dropdown-exit {
    background-image: url(dropdownButtons/minimize.png);
    height: 21px;
    width: 21px;
    background-position: center;
    position: absolute;

    top: 5px;
    right: 6px;

    border: 1px black
}

#dropdown-exit:hover {
    background-image: url(dropdownButtons/minimizeHover.png);
}

#dropdown a{
    text-decoration: none;
    color: black;
    padding: 8px 8px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: 2px outset rgb(04, 04, 04);
    border-radius: 3px;

    outline: 2px solid rgba(04, 04, 04, 0);
    outline-offset: -5px;
    outline-style: dotted;

    box-shadow: inset -1px -1px 2px rgba(0, 0, 0, 0.5);

    -webkit-user-select: none; /* Safari, Chrome, Opera */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;
}

#dropdown a:hover{
    border-color: rgb(0, 105, 122);
    outline-color: rgba(04, 04, 04, 1);
}

#dropdown-enter {
    display: none;
}

.hideOnMobile {
    display: flex;
}

@media(max-width: 600px) {
    #dropdown-enter {
        display: flex;
    }

    .hideOnMobile {
        display: none;
    }
}

#intro-div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 10px;

    width: 70vw;
}

#intro-div img {
    width: 300px;
    object-fit: contain;
    max-width: 70vh;
    background-color: white;
}

#intro-div p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    background-color: white;
    border-radius: 30px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.3);
    padding: 15px;
    text-align: center;
}

#intro-div #footer{
    max-width: none;
    width: 100%;
}

#portfolio {
    display: flex;
    flex-wrap: wrap;
    padding-top: max(4vh, 30px);
    padding-bottom: 50px;
    padding-inline: 4vh;
    justify-content: space-evenly;
    align-content: flex-start;
    gap: min(15vh, 150px) 8vh
}

.game {
    min-width: 300px;
    min-height: 200px;
    position: relative;
}

.game img[src*="cartridge"] {
    width: 300px;
    height: 200px;
    position: absolute;
    object-fit: contain;
    z-index: 1;
}

.game .picture {
    background-color: white;
    border-radius: 5px;
    margin-top: 15px;
    margin-left: 75px;
    width: 150px;
    height: 165px;
    position: absolute;
}

.game .picture img{
    object-fit: fill;
    width: 150px;
    height: 165px;
}

.music {
    background-image: url("CDCase.png");
    min-width: 300px;
    min-height: 300px;
    flex-shrink: 2;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.music p {
    background-color: bisque;
    font-family: sans-serif;
    color: blue;
    margin-top: 75%;
    margin-left: 20%;
    margin-right: 10%;
    text-align: center;

}

.music img {
    margin-left: 41px;
    margin-top: 24px;
    width: 251px;
    height: 245px;
    border-radius: 3px;
    object-fit: fill;
}

.other {
    background-image: url("other.png");
    min-width: 300px;
    min-height: 300px;
    flex-shrink: 2;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.other p{
    color: White;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-top: 27.5px;
    margin-left: 10px;
    text-shadow: 1.2px 1.2px 1px rgba(0, 0, 0);
}

.other .picture{
    background-color: rgb(239, 238, 224);
    margin-top: 2px;
    margin-left: 5px;
    width: 290px;
    height: 219px;
}

.other .picture img{
    object-fit: fill;
    width: 290px;
    height: 219px;
}

#notfound {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100%;
}

#notfound p{
    display: flex;
    align-items: center;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}