@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/static/Montserrat-ExtraBold.ttf') format('woff2'),
    url('fonts/montserrat/static/Montserrat-ExtraBold.ttf') format('woff');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/static/Montserrat-Bold.ttf') format('woff2'),
    url('fonts/montserrat/static/Montserrat-Bold.ttf') format('woff');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/static/Montserrat-Medium.ttf') format('woff2'),
    url('fonts/montserrat/static/Montserrat-Medium.ttf') format('woff');
    font-weight: 400;
    font-style: normal;
}

html {
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    outline: none;
    margin: 0;
    padding: 0;
}

p, h1, h2, h3 {
    margin: 0;
    padding: 0;
}

.main {
    overflow: hidden;
    background-image: url("img/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 100vh;
    height: fit-content;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    @media screen and (max-width: 1280px) {
        background: none;
    }
}

.wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;

    @media screen and (max-width: 1280px) {
        padding-bottom: 200px;
        background-image: url("img/bg.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    @media screen and (max-width: 1024px) {
        padding-bottom: 200px;
    }

    @media screen and (max-width: 640px) {
        padding-bottom: 50%;
    }
}

.main__inner {
    margin: 20px auto;
    max-width: 944px;
    width: 100%;
    text-align: center;
    z-index: 10;
    box-sizing: border-box;

    @media screen and (max-width: 1024px) {
        padding: 0 12px;
    }
}

.main__title {
    max-width: 100%;
    height: 117px;
    margin-bottom: 10px;
    box-sizing: border-box;

    @media screen and (max-width: 1024px) {
        display: none;
    }
}

.main__title_mobile {
    display: none;
    max-width: 100%;
    max-height: 234px;
    margin: 0 auto 10px;
    box-sizing: border-box;

    @media screen and (max-width: 1024px) {
        display: block;
    }

    @media screen and (max-width: 640px) {
        margin: 0 auto 10px;
        max-height: 117px;
    }
}

.subtitle {
    font-family: Montserrat, sans-serif;
    font-weight: 900;
    font-size: 64px;
    line-height: 78px;
    text-align: center;
    color: #fff;
    text-shadow: 4.27px 6.4px #070338;
    margin-bottom: 10px;

    @media screen and (max-width: 640px) {
        font-size: 30px;
    }

    @media screen and (max-width: 640px) {
        margin-bottom: 5px;
        line-height: 36px;
    }
}

.subtitle span {
    color: #FFC600;
}

.spins {
    font-family: Montserrat, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 49px;
    letter-spacing: 0.01em;
    text-align: center;
    color: #fff;
    text-shadow: 2px 3px #070338;
    max-width: 747px;
    margin: 0 auto 40px;

    @media screen and (max-width: 640px) {
        font-size: 20px;
        line-height: 24px;
        margin: 0 auto 20px;
    }
}

.button {
    display: block;
    padding: 25px 109px;
    border-radius: 50px;
    background: red;
    width: fit-content;
    margin: 0 auto 30px;
    background: linear-gradient(51.5deg, #FF8C00 5.11%, #FFAE00 58.23%, #FFCA00 98.06%);

    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 39px;
    text-align: center;
    color: #4C1D93;
    text-transform: uppercase;

    @media screen and (max-width: 640px) {
        font-size: 16px;
        line-height: 19px;
        padding: 12px 52px;
        margin: 0 auto 27px;
    }
}

.text {
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 29px;
    letter-spacing: 0.01em;
    text-align: center;
    color: #fff;
    text-shadow: 2px 3px #070338;
    max-width: 652px;
    margin: 0 auto;

    @media screen and (max-width: 640px) {
        font-size: 12px;
        line-height: 14px;
    }
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 40px 60px;
    flex-wrap: wrap;

    @media screen and (max-width: 1280px) {
        padding-top: 600px;
        background: #010117;
    }

    @media screen and (max-width: 1024px) {
        padding-top: 400px;
    }

    @media screen and (max-width: 640px) {
        gap: 10px;
        padding: 50% 7px 40px;
    }
}

.partner__item {
    max-width: 86px;
    z-index: 10;

    @media screen and (max-width: 1280px) {
        max-width: 80px;
    }

    @media screen and (max-width: 1024px) {
        max-width: 64px;
    }

    @media screen and (max-width: 640px) {
        max-width: 50px;
    }
}

.partner__item > img {
    max-height: 100%;
    max-width: 100%;
}

.logo {
    width: 100%;
    margin: 40px 0 0;
    text-align: center;
    z-index: 10;

    @media screen and (max-width: 640px) {
        margin: 12px 0 0;
    }
}

.logo__img {
    width: 200px;

    @media screen and (max-width: 640px) {
        width: 92px;
    }
}

.coins {
    position: absolute;
    top: 9%;
    left: 0;
    z-index: 1;
    width: 100%;

    @media screen and (max-width: 1280px) {
        top: 6%;
        left: -31%;
        z-index: 1;
        width: auto;
    }

    @media screen and (max-width: 640px) {
        top: -7%;
        left: -200%;
        transform: scale(.6);
    }
}

.coins__img {
    width: 100%;

    @media screen and (max-width: 1280px) {
        width: auto;
    }
}

.img {
    position: absolute;
}

.img__left {
    left: 0;
    top: 50%;
    transform: translate(0%, -47%);
    z-index: 3;

    @media screen and (max-width: 1280px) {
        transform: none;
        top: auto;
        bottom: 300px;
    }

    @media screen and (max-width: 1024px) {
        max-height: 471px;
        max-width: 450px;
    }

    @media screen and (max-width: 640px) {
        max-width: 75%;
        left: -2%;
        bottom: 16%;
    }
}

.img__right {
    right: 0;
    bottom: 0;
    z-index: 2;

    @media screen and (max-width: 1280px) {
        bottom: 135px;
    }

    @media screen and (max-width: 1024px) {
        max-height: 695px;
        max-width: 494px;
    }

    @media screen and (max-width: 640px) {
        max-width: 80%;
        right: -21%;
        bottom: 8%;
    }
}

.img img {
    max-width: 100%;
    max-height: 100%;
}
