@font-face {
    font-family: MetroidPixel;
    src: url(super-metroid-menu.otf);
}

@font-face {
    font-family: MetroidTitle;
    src: url(super-metroid-title.otf);
}

body {
    background-image: url("SuperMetroidCrateriaRain.gif");
    background-size: cover;
    background-repeat: no-repeat;
}

#startButton {
    height: 5vh;
    width: 10vw;
    background-color: black;
    font-family: MetroidPixel;
    color: #00FF09;
    border: solid;
    border-width: 1px;
    border-color: #00FF09;
    text-shadow: 0px 0px 4px #145416;
    margin-top: 40px;
    cursor: pointer;
}

.mainboard {
    display: flex;
    flex-direction: row;
    background-color: black;
    width: 40%;
    height: 490px;
    justify-content: space-evenly;
    margin: 20px auto 40px auto;
    padding: 10px;
    opacity: 0;
    transition: opacity 7s;
    border: 2px dashed #00FF09;
}

@media only screen and (min-width: 1920px) {
    .mainboard {
        width: 675px;
        height: 575px;
        margin-top: 100px;
    }
}

@media only screen and (max-width: 650px) {
    .mainboard {
        width: 85%;
        height: 575px;
        margin-top: 100px;
    }
}


.circle {
    border-radius: 50%;
    height: 15%;
    width: 100%;
    background-color: lightgrey;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: solid;
    border-width: 1px;
    border-color: #00FF09;
}

.circlecontainers {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 11%;
}

.circlecontainers:hover {
    background-color: #535251fd;
}

#leftsupport {
    background: blue;
    position: absolute;
    left: 31%;
    height: 240px;
    width: 20px;
    margin-top: 410px;
}

#rightsupport {
    background: blue;
    position: absolute;
    left: 68%;
    height: 240px;
    width: 20px;
    bottom: 113px;
}

/* button {
    height: 30px;
    width: 11%;
    flex-basis: 1;
} */

.buttoncontainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 20%;
    padding: 20px 0px 20px 0px;
    align-items: center;
}

#wincontainer {
    display: none;
    height: 20vh;
    margin-top: 10vh;
    flex-direction: column;
    align-items: center;
    gap: 10vh;
}

#winmessage {
    color: #FFD548;
    font-family: MetroidTitle;
    text-shadow: 4px 8px 6px #702D3D;
    letter-spacing: 4px;
    animation: resize 2s infinite
}

@keyframes resize {
    0% {
        font-size: 20pt;
    }

    50% {
        font-size: 40pt;
    }

    100% {
        font-size: 20pt;
    }
}

#winmessagecontainer {
    display: none;
    justify-content: center;
}

#winbutton {
    height: 30px;
    width: 25%;
    color: #00FF09;
    font-family: MetroidPixel;
    cursor: pointer;
    background: black;
    border: 1px solid #00FF09;
    text-shadow: 0px 0px 4px #145416;
}

#winbutton:hover {
    opacity: 1.5;
}

.connect4 {
    color: #FFD548;
    font-size: 46pt;
    font-family: MetroidTitle;
    text-shadow: 4px 8px 6px #702D3D;
    letter-spacing: 4px;
    margin: 0px;
    text-align: center;
}

.connect4pt2 {
    color: #FFA93A;
    font-size: 60pt;
    font-family: MetroidTitle;
    text-shadow: 4px 8px 6px #702D3D;
    letter-spacing: 4px;
}

.button-right {
    position: absolute;
    font-family: MetroidPixel;
    border: solid;
    border-color: #00FF09;
    border-width: 1px;
    background-color: transparent;
    color: #00FF09;
    height: 70px;
    width: 30px;
    right: 50px;
    font-size: 20pt;
    top: 50vh;
    cursor: pointer;
}

.button-left {
    position: absolute;
    font-family: MetroidPixel;
    border: solid;
    border-color: #00FF09;
    border-width: 1px;
    background-color: transparent;
    color: #00FF09;
    height: 70px;
    width: 30px;
    left: 50px;
    font-size: 20pt;
    top: 50vh;
    display: none;
    cursor: pointer;
}

@media only screen and (max-width: 650px) {
    .button-right {
        position: static;
        margin-left: 45vw;
        margin-top: 25px;
        font-size: 25pt;
        border-width: 3px;
        width: 45px;
    }

    .button-left {
        position: static;
        margin-left: 45vw;
        margin-top: 25px;
        font-size: 25pt;
        border-width: 3px;
        width: 45px;
        background-color: black;
    }

    #startButton {
        width: 30vw;
        height: 10vh;
    }
}

@media only screen and (max-width: 500px) {
    .connect4 {
        font-size: 32pt;
    }

    .connect4pt2 {
        font-size: 42pt;
    }
}