html {
    background-color: black;
}

html,
body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    color: #001229;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    line-height: 1;
    margin: 0;
    background-image: url('./img/background-desktop.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    background-size: cover;
    font-family: 'DrukMedium';
}

a, div {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-top: 54px;
    margin-left: 74px;
}

.logos {
    display: flex;
    flex-direction: row;
    gap: 21px;
    align-items: center;
    width: 100%;
}

.stavka-logo {
    width: 330px;
    height: 64px;
}

.text-and-roulette {
    width: 87%;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.text {
    margin-top: 52px;
}

.spin-text {
    font-size: 57px;
    font-weight: 500;
    line-height: 61px;
    letter-spacing: 1px;
    text-align: left;
    font-family: 'DrukMedium';
}

.bonus-text {
    margin-top: 22px;
    margin-left: -9px;
    font-size: 136px;
    font-weight: 700;
    line-height: 124px;
    letter-spacing: 1.2px;
    text-align: left;
    width: 820px;
    font-family: 'DrukBold';
}

.arrow {
    position: absolute;
    margin-left: 154px;
    margin-top: 19px;
    z-index: 2;
}

.roulette-logo {
    position: absolute;
    margin-top: 132px;
    margin-left: 132px;
    z-index: 2;
}

.roulette-container {
    width: fit-content;
}

.roulette {
    width: 652px;
    height: 652px;
    transition: transform 3s ease-in-out;
}

.roulette-img {
    width: 652px;
    height: 652px;
}

.buttons {
    display: flex;
    flex-direction: column;
    width: fit-content;
    gap: 22px;
    margin-top: -220px;
}

.spin-button {
    width: 410px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-radius: 128px;
    background-color: #001229;
    color: #F3F3F7;
    font-size: 50px;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: -2px;
    text-align: center;
    cursor: pointer;
}

.take-button {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    width: 410px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-radius: 128px;
    background-color: #0161DA;
    color: white;
    font-size: 50px;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: -2px;
    text-align: center;
    cursor: pointer;
}

@media (orientation: landscape) and (max-width: 1920px) and (max-height: 1080px) {
    .container {
        margin-top: 38px;
        margin-left: 60px;
    }

    .stavka-logo {
        width: 257px;
        height: 50px;
    }

    .text-and-roulette {
        margin-top: 102px;
        width: 85%;
    }

    .spin-text {
        font-size: 44px;
        font-weight: 500;
        line-height: 47px;
    }

    .bonus-text {
        width: 600px;
        margin-left: -6px !important;
        font-size: 92px;
        font-weight: 700;
        line-height: 94px;
        letter-spacing: 1px;
    }

    .spin-button {
        width: 318px;
        padding-top: 19px;
        padding-bottom: 19px;
        border-radius: 98px;
        font-size: 38px;
        font-weight: 500;
        line-height: 38px;
        letter-spacing: -1.5px;
    }

    .take-button {
        width: 318px;
        padding-top: 19px;
        padding-bottom: 19px;
        border-radius: 98px;
        font-size: 38px;
        font-weight: 500;
        line-height: 38px;
        letter-spacing: -1.5px;
    }

    .roulette {
        width: 532px;
        height: 532px;
    }

    .roulette-img {
        width: 532px;
        height: 532px;
    }

    .arrow {
        width: 22px;
        margin-left: 128px;
        margin-top: 16px;
    }

    .roulette-logo {
        width: 106px;
        margin-top: 106px;
        margin-left: 106px;
    }

    .buttons {
        margin-top: -180px;
    }
}

@media (orientation: landscape) and (max-height: 940px) {
    .text-and-roulette {
        margin-top: 32px;
    }

    .bonus-text {
        margin-left: -9px;
    }
}

@media (max-width: 1200px) {
    .container {
        margin-top: 16px;
        margin-left: 40px;
    }

    .stavka-logo {
        width: 219px;
        height: 48px;
    }

    .text-and-roulette {
        width: 90%;
    }

    .spin-text {
        font-size: 32px;
        line-height: 34px;
    }

    .bonus-text {
        font-size: 72px;
        line-height: 70px;
        width: 450px;
    }

    .spin-button {
        width: 240px;
        padding-top: 14px;
        padding-bottom: 14px;
        border-radius: 90px;
        font-size: 28px;
        line-height: 28px;
        letter-spacing: -2px;
    }

    .take-button {
        width: 240px;
        padding-top: 14px;
        padding-bottom: 14px;
        border-radius: 90px;
        font-size: 28px;
        line-height: 28px;
        letter-spacing: -2px;
    }
}

@media (orientation: portrait) {
    body {
        background-image: url('./img/background-phone.jpg');
    }

    .container {
        margin: 0;
        align-items: center;
        height: 100%;
        justify-content: space-evenly;
    }

    .logos {
        justify-content: center;
        width: 95%;
    }

    .stavka-logo {
        width: 330px;
        height: 65px;
    }

    .text-and-roulette {
        margin-top: 0;
        flex-direction: column;
        align-items: center;
    }

    .buttons {
        flex-direction: row;
    }

    .text {
        width: 100%;
        margin-top: 0;
        margin-bottom: 32px;
    }

    .spin-text {
        font-size: 38px;
        font-weight: 500;
        line-height: 41px;
    }

    .bonus-text {
        margin-left: -6px;
        font-size: 92px;
        font-weight: 700;
        line-height: 82px;
        letter-spacing: 0.9px;
        width: 560px;
        margin-top: 0;
    }

    .arrow {
        margin-left: 134px;
        margin-top: 18px;
    }

    .roulette-logo {
        width: 112px;
        margin-top: 115px;
        margin-left: 115px;
    }

    .roulette {
        width: 573px;
        height: 573px;
    }

    .roulette-img {
        width: 573px;
        height: 573px;
    }

    .buttons {
        margin-top: 0;
    }

    .spin-button {
        width: 320px;
        padding-top: 25px;
        padding-bottom: 25px;
        border-radius: 127px;
        font-size: 48px;
        font-weight: 500;
        line-height: 49px;
        letter-spacing: -2px;
    }

    .take-button {
        width: 320px;
        padding-top: 25px;
        padding-bottom: 25px;
        border-radius: 127px;
        font-size: 48px;
        font-weight: 500;
        line-height: 49px;
        letter-spacing: -2px;
    }
}

@media (orientation: portrait) and (max-width: 700px) {
    .stavka-logo {
        width: 250px;
        height: 52px;
    }

    .bonus-text {
        margin-left: -5px;
        font-size: 80px;
        line-height: 81px;
        width: 520px;
    }

    .spin-button {
        width: 280px;
        padding-top: 20px;
        letter-spacing: normal;
        padding-bottom: 20px;
        border-radius: 100px;
        font-size: 42px;
        font-weight: 500;
        line-height: 44px;
    }

    .take-button {
        width: 280px;
        letter-spacing: normal;
        padding-top: 20px;
        padding-bottom: 20px;
        border-radius: 100px;
        font-size: 42px;
        font-weight: 500;
        line-height: 44px;
    }
}

@media (orientation: portrait) and (max-width: 620px) {
    .text {
        margin-bottom: 16px;
    }

    .spin-text {
        font-size: 34px;
        line-height: 47px;
    }

    .bonus-text {
        font-size: 72px;
        line-height: 74px;
        width: 480px;
        margin-left: -5px;
    }

    .roulette {
        width: 532px;
        height: 532px;
    }

    .roulette-img {
        width: 532px;
        height: 532px;
    }

    .arrow {
        width: 22px;
        margin-left: 128px;
        margin-top: 16px;
    }

    .roulette-logo {
        width: 106px;
        margin-top: 106px;
        margin-left: 106px;
    }

    .spin-button {
        letter-spacing: normal;
        width: 230px;
        padding-top: 18px;
        padding-bottom: 18px;
        border-radius: 90px;
        font-size: 36px;
        line-height: 36px;
    }

    .take-button {
        letter-spacing: normal;
        width: 230px;
        padding-top: 18px;
        padding-bottom: 18px;
        border-radius: 90px;
        font-size: 36px;
        line-height: 36px;
    }
}

@media (orientation: portrait) and (max-width: 560px) {
    .stavka-logo {
        width: 220px;
        height: 42px;
    }

    .spin-text {
        font-size: 32px;
        line-height: 38px;
    }

    .bonus-text {
        margin-left: -4px;
        font-size: 62px;
        line-height: 64px;
        width: 420px;
    }

    .roulette {
        width: 480px;
        height: 480px;
    }

    .roulette-img {
        width: 480px;
        height: 480px;
    }

    .arrow {
        margin-left: 115px;
        margin-top: 14px;
    }

    .roulette-logo {
        width: 94px;
        margin-top: 96px;
        margin-left: 96px;
    }
}

@media (orientation: portrait) and (max-width: 500px) {
    .stavka-logo {
        width: 180px;
        height: 34px;
    }

    .spin-text {
        font-size: 28px;
        line-height: 32px;
        letter-spacing: 1.5px;
    }

    .bonus-text {
        font-size: 54px;
        line-height: 56px;
        width: 360px;
    }

    .roulette {
        width: 420px;
        height: 420px;
    }

    .roulette-img {
        width: 420px;
        height: 420px;
    }

    .arrow {
        margin-left: 99px;
        margin-top: 13px;
    }

    .roulette-logo {
        width: 84px;
        margin-top: 84px;
        margin-left: 84px;
    }

    .spin-button {
        width: 200px;
        padding-top: 16px;
        padding-bottom: 16px;
        border-radius: 80px;
        font-size: 34px;
        line-height: 34px;
    }

    .take-button {
        width: 200px;
        letter-spacing: normal;
        padding-top: 16px;
        padding-bottom: 16px;
        border-radius: 80px;
        font-size: 34px;
        line-height: 34px;
    }
}

@media (orientation: portrait) and (max-width: 440px) {
    .stavka-logo {
        width: 180px;
        height: 34px;
    }

    .bonus-text {
        margin-left: -3px;
        font-size: 48px;
        line-height: 50px;
        width: 320px;
    }

    .roulette {
        width: 380px;
        height: 380px;
    }

    .roulette-img {
        width: 380px;
        height: 380px;
    }

    .arrow {
        margin-left: 90px;
        margin-top: 12px;
    }

    .roulette-logo {
        width: 74px;
        margin-top: 76px;
        margin-left: 76px;
    }

    .buttons {
        gap: 14px;
    }

    .spin-button {
        width: 172px;
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 70px;
        font-size: 30px;
        line-height: 30px;
    }

    .take-button {
        width: 172px;
        letter-spacing: normal;
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 70px;
        font-size: 30px;
        line-height: 30px;
    }
}

@media (orientation: portrait) and (max-width: 400px) {
    .text {
        width: 95%;
    }

    .spin-text {
        font-size: 24px;
        line-height: 25px;
    }

    .bonus-text {
        margin-left: -2px;
        font-size: 42px;
        line-height: 44px;
        width: 280px;
    }

    .roulette {
        width: 340px;
        height: 340px;
    }

    .roulette-img {
        width: 340px;
        height: 340px;
    }

    .arrow {
        margin-left: 79px;
        margin-top: 10px;
    }

    .roulette-logo {
        width: 68px;
        margin-top: 68px;
        margin-left: 68px;
    }

    .buttons {
        gap: 10px;
    }

    .spin-button {
        width: 152px;
        padding-top: 14px;
        padding-bottom: 14px;
        border-radius: 70px;
        font-size: 26px;
        line-height: 26px;
    }

    .take-button {
        letter-spacing: normal;
        width: 152px;
        padding-top: 14px;
        padding-bottom: 14px;
        border-radius: 70px;
        font-size: 26px;
        line-height: 26px;
    }
}

@media (orientation: portrait) and (max-width: 420px) and (max-height: 740px) {
    .stavka-logo {
        width: 160px;
        height: 28px;
    }

    .text {
        width: 90%;
        margin-bottom: 8px;
    }

    .spin-text {
        font-size: 22px;
        line-height: 22px;
    }

    .bonus-text {
        font-size: 38px;
        line-height: 40px;
        width: 280px;
    }

    .roulette {
        width: 340px;
        height: 340px;
    }

    .roulette-img {
        width: 340px;
        height: 340px;
    }

    .arrow {
        margin-left: 79px;
        margin-top: 10px;
    }

    .roulette-logo {
        width: 68px;
        margin-top: 68px;
        margin-left: 68px;
    }
}

@media (orientation: portrait) and (max-width: 380px) and (max-height: 680px) {
    .stavka-logo {
        width: 142px;
        height: 24px;
    }

    .text {
        width: 90%;
        margin-bottom: 8px;
    }

    .spin-text {
        font-size: 18px;
        line-height: 18px;
    }

    .bonus-text {
        font-size: 32px;
        line-height: 34px;
        width: 250px;
    }

    .roulette {
        width: 300px;
        height: 300px;
    }

    .roulette-img {
        width: 300px;
        height: 300px;
    }

    .arrow {
        width: 18px;
        margin-left: 70px;
        margin-top: 9px;
    }

    .roulette-logo {
        width: 56px;
        margin-top: 61px;
        margin-left: 61px;
    }

    .buttons {
        gap: 16px;
    }

    .spin-button {
        width: 132px;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 60px;
        font-size: 22px;
        line-height: 22px;
    }

    .take-button {
        letter-spacing: normal;
        width: 132px;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 60px;
        font-size: 22px;
        line-height: 22px;
    }
}

@media (orientation: portrait) and (max-width: 340px) and (max-height: 600px) {
    .stavka-logo {
        width: 132px;
        height: 22px;
    }

    .text {
        width: 90%;
        margin-bottom: 6px;
    }

    .spin-text {
        font-size: 16px;
        line-height: 16px;
    }

    .bonus-text {
        font-size: 28px;
        line-height: 30px;
        width: 240px;
    }

    .roulette {
        width: 260px;
        height: 260px;
    }

    .roulette-img {
        width: 260px;
        height: 260px;
    }

    .arrow {
        width: 18px;
        margin-left: 61px;
        margin-top: 8px;
    }

    .roulette-logo {
        width: 52px;
        margin-top: 52px;
        margin-left: 52px;
    }

    .buttons {
        gap: 6px;
    }

    .spin-button {
        letter-spacing: normal;
        width: 130px;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 60px;
        font-size: 22px;
        line-height: 22px;
    }

    .take-button {
        letter-spacing: normal;
        width: 130px;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 60px;
        font-size: 22px;
        line-height: 22px;
    }
}

@font-face {
    font-family: 'DrukBold';
    src: url("./fonts/DrukBold.otf") format("opentype");
}

@font-face {
    font-family: 'DrukMedium';
    src: url("./fonts/DrukMedium.otf") format("opentype");
}

@font-face {
    font-family: 'MontserratBlack';
    src: url("./fonts/MontserratBlack.ttf") format("truetype");
}
