header {
    width: 100vw;
    text-align: center;
    font-family: monospace;
    font-size: 300%;
    margin: 0px;
    background-color: rgb(255, 255, 255);
    /* padding: 0px; */
    border-bottom: 2px white solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px 10px 0px;

}

a {
    text-decoration: none;
    color: black;
}

#logo {
    width: 12%;
    background-color: black;
    border-radius: 50%;
    margin-right: 5%;
    margin-left: 30px;
}

#left-header {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#right-header {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
    width: 20%;
    margin-left: 10%;
}

#right-header a {
    /* margin-left: 30px;
    margin-right: 30px; */
}

.links {
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
}

.links::after {
    content: "";
    /* Required to create the pseudo-element */
    width: 0%;
    height: 2px;
    /* Thin underline */
    background-color: blue;
    /* Match the link color */
    display: block;
}

.links:hover::after {
    width: 100%;
    height: 100%;
    border-top: 1px solid black;
    width: 100%;
    transition: width .3s;
}

#settings {
    transition: transform .5s;
    cursor: pointer;
    margin-left: 20px;
    height: 3vw !important;
}

#settings:hover {
    transition: transform .5s;
    transform: rotateZ(75deg);
}

@media (max-width: 1500px) {

    /* Your CSS styles to apply when the viewport is at most 100px wide */
    .title {
        display: none !important;
    }

    #right-header {
        margin-left: 10% !important;
    }
}

@media (max-width: 1800px) {

    /* Your CSS styles to apply when the viewport is at most 100px wide */
    header {
        font-size: 200%;
    }
}

@media (max-width: 1000px) {

    /* Your CSS styles to apply when the viewport is at most 100px wide */
    #settings {
        height: 5vw !important;
    }

}

@media (max-width: 600px) {

    /* Your CSS styles to apply when the viewport is at most 100px wide */
    header {
        font-size: 150%;
    }
}

@media (max-width: 400px) {

    /* Your CSS styles to apply when the viewport is at most 100px wide */
    header {
        font-size: 100%;

    }

    .links {
        cursor: pointer;
        padding-left: 10px;
        padding-right: 10px;
    }

    #settings {
        margin-left: 10px;
    }

}



.title {
    font-size: 150%;
    margin: 0px;
    color: black;
    font-family: "Chewy", system-ui;
    display: inline;
}

html,
body {
    width: 100vw;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background-color: transparent;
    min-width: 100vw;
}

.bgcont {
    perspective: 1000000000000px;
    width: 100%;
    height: 100%;
}

body {
    background-color: rgb(145, 211, 145);
}

.games {
    display: flex;
    flex-wrap: wrap;
    /* grid-gap: 10px; */
    /* grid-template-columns: auto auto auto auto; */
    padding: 20px 0;
    text-align: center;
    justify-content: space-evenly;
    align-items: center;
}

.gameLink {
    /* grid-column: ; */
    width: 11vw;
    height: 11vw;
    /* height: 200%; */
    /* border: solid 1px black; */
    /* border-radius: 30px; */
    margin: 10px;
    transition: transform .5s;
    cursor: pointer;
}

.gameLink:hover {
    transform: scale(1.1);
    transition: transform .5s;
}

.gameLink img {
    transition: box-shadow .5s;
    z-index: 5;
}

.gameLink img {
    width: 100%;
    height: 100% !important;
    border-radius: 20px;
    border: solid 1px black;
    background-color: white;
}

/* .gameLink::after {
    position: relative;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: calc(-17.7vw);
    left: 1px;
    border-radius: 20px;
    opacity: 0;
}
.gameLink:hover::after {
    background-color: rgba(34, 34, 34, 0.514);
    opacity: 100;
} */

.gameLink:hover :nth-child(2) {
    opacity: 100 !important;
}



.gameName {
    font-family: monospace;
    font-size: 200%;
    position: relative;
    right: -.5%;
    bottom: 17%;
    width: 100%;
    height: 14%;
    background-color: rgba(128, 128, 128, 0.575);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding-top: 1%;
    opacity: 0;
}

#settingsOverlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(168, 168, 168, 0.651);
    display: none;
}

#settingsModal {
    background-color: rgb(125, 172, 216);
    width: 50%;
    height: 50%;
    margin: auto;
    margin-top: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

#volume {
    width: 20vw;
    margin: auto;
    color: black;
}

#volume::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #0c6444; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

#volume::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #04AA6D; /* Green background */
  cursor: pointer; /* Cursor on hover */
}