#gameframe {
    margin-top: 5vw;
    margin-bottom: 6vw;
    margin-right: 23vw;
    display: flex;
    color: white;
    font-family: title;
    text-transform: uppercase;
}

#gameframe .gameDisplay {
    margin: auto;
    outline: 0.2vw solid #ffffff26;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.24);
    width: 72.5vw;
    height: 38.5vw;
    background-color: #ffffff26;
    border-radius: 0.5vw;
    overflow: hidden;
}

#gameframe .game {
    margin: auto;
    width: 72.5vw;
    height: 34vw;
    background-color: #ffffff26;
    background-repeat: no-repeat;
    background-position: center;
}

#gameframe .game iframe {
    width: 72.6vw;
    height: 34.1vw;
    border: 0;
}

#gameframe .options {
    margin: auto;
    width: 100%;
    height: 2.3vw;
    display: flex;
    align-items: center;
    padding-bottom: 1.5vh;
}

#gameframe .options .left {
    display: flex;
    align-items: center;
}

#gameframe .options .right {
    display: flex;
    margin-top: 2.2vw;
    margin-right: 1.5vw;
    align-items: center;
    justify-content: flex-end;
}

.addisplay {
    margin-left: 80vw;
    width: 16vw;
    height: 32vw;
    background-color: #3d4756;
    border-radius: 0.5vw;
    display: flex;
    margin-top: -42.5vw;
    margin-bottom: -5vw;
    outline: 0.2vw solid #ffffff26;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.24);
}

.gameicon {
    margin-left: 0.6vw;
    margin-top: 1.9vw;
    border-radius: 0.5vw;
    background: #19191b;
    width: 2.6vw;
    height: 2.6vw;
    margin-top: 0.2vw;
    transition: 0.4s;
}

.margin {
    margin-top: 0.3vw;
    margin-left: 0.7vw;
}

.flex {
    display: flex;
}

#titletext {
    margin-left: 20px;
    font-size: 1.4vw;
    padding: 0 0.5vw 0.5vw 0 0;
    color: #ffffff;
    width: 45vw;
}

.bytext {
    display: block;
    color: #cfcfcf;
    font-size: 1.1vw;
    margin: 0.2vw 0 0;
    letter-spacing: 0.3px;
    font-size: 0.8vw;
}

.gametext {
    font-size: 1.25vw;
    display: flex;
    margin-top: 2vw;
}

.adtext {
    font-size: 0.5vw;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.7;
    letter-spacing: 0.05vw;
    position: absolute;
    right: 15vw;
    padding-top: 10px;
    margin-top: 32.2vw;
    transform-origin: right center;
}

#gameframe .options .left,
#gameframe .options .right {
    width: 50%;
    height: 100%;
}

#gameframe .options .right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#gameframe .options .right .game-button {
    float: right;
    margin-right: 1vw;
    height: 70%;
}

.addisplay {
    margin-left: 80vw;
    width: 160px;
    height: 600px;
    background-color: #272727;
    border-radius: 0.5vw;
    display: flex;
    margin-top: -42.5vw;
    margin-bottom: 6vw;
    outline: 0.2vw solid #ffffff26;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.24);
    position: relative;
    left: 50px;
}

.addisplay .adtext {
    font-size: 0.5vw;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.7;
    letter-spacing: 0.05vw;
    position: absolute;
    right: 2vw;
    padding-top: 10px;
    margin-top: 32.2vw;
    transform-origin: right center;
    color: white;
    font-family: notitle;
}

.bottom-addisplay {
    width: 90%;
    max-width: 728px;
    height: auto;
    aspect-ratio: 728 / 90;
    background-color: #272727;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: 2px solid #ffffff26;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.24);
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
}

.bottom-addisplay .adtext {
    font-size: min(12px, 2vw);
    text-transform: uppercase;
    text-align: center;
    opacity: 0.7;
    letter-spacing: 0.05em;
    position: absolute;
    bottom: -15px;
    width: 100%;
    color: white;
    font-family: notitle;
}


@media screen and (max-width: 1080px) {
    #gameframe .gameDisplay .game .options {
        height: 500px;
    }
    .bottom-addisplay {
        left: 40%;
        bottom: 1%;
    }
    .addisplay {
        left: 2%;
    }
}

@media screen and (max-width: 1366px) {
    #gameframe {
        flex-direction: column;
        margin-right: 0;
        margin-top: 100px;
        margin-right: 200px;
        font-size: 2.5vw;
        margin-top: 6.5vw;
    }

    #gameframe .gameDisplay {
        width: 80vw;
        height: auto;
        font-size: 2.5vw;
    }

    #gameframe .game {
        width: 100%;
        height: 60vh;
        font-size: 2.5vw;
    }

    #gameframe .game iframe {
        width: 100%;
        height: 60vh;
        font-size: 2.5vw;
    }

    #gameframe .options {
        height: auto;
        font-size: 2.5vw;
    }
    
    .addisplay {
        margin-top: -55vw;
    }
}


@media screen and (max-width: 480px) {
    .bottom-addisplay {
        bottom: 180px;
    }

    .bottom-addisplay .adtext {
        font-size: 10px;
    }
}

#gameframe .options .game-button,
.fullscreenbtn,
.reloadbtn,
.downloadbtn {
    color: white;
    cursor: pointer;
    margin-left: 1.2vw;
    font-size: 1.6vw;
    transition: transform 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreenbtn:hover {
    transform: scaleX(1.2) scaleY(1.2) rotate(-10deg);
}

.reloadbtn:hover {
    transform: scaleX(1.2) scaleY(1.2) rotate(360deg);
}

.downloadbtn:hover {
    transform: scaleX(1.2) scaleY(1.2);
}

@font-face {
    font-family: notitle;
    src: url(../assets/RedditSans-Medium.ttf);
  }
  
  @font-face {
    font-family: title;
    src: url(../assets/ClashDisplayBold.otf)
  }
  