@font-face {
    font-family: 'Geometria';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria'), url('../fonts/Geometria.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-Italic'), url('../fonts/Geometria-Italic.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-Thin';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-Thin'), url('../fonts/Geometria-Thin.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-ThinItalic';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-ThinItalic'), url('../fonts/Geometria-ThinItalic.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-ExtraLight';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-ExtraLight'), url('../fonts/Geometria-ExtraLight.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-ExtraLightItalic';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-ExtraLightItalic'), url('../fonts/Geometria-ExtraLightItalic.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-Light';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-Light'), url('../fonts/Geometria-Light.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-LightItalic';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-LightItalic'), url('../fonts/Geometria-LightItalic.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-Medium';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-Medium'), url('../fonts/Geometria-Medium.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-MediumItalic';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-MediumItalic'), url('../fonts/Geometria-MediumItalic.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-Bold'), url('../fonts/Geometria-Bold.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-BoldItalic';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-BoldItalic'), url('../fonts/Geometria-BoldItalic.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-ExtraBold';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-ExtraBold'), url('../fonts/Geometria-ExtraBold.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-ExtraBoldItalic';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-ExtraBoldItalic'), url('../fonts/Geometria-ExtraBoldItalic.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-Heavy';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-Heavy'), url('../fonts/Geometria-Heavy.woff') format('woff');
}


@font-face {
    font-family: 'Geometria-HeavyItalic';
    font-style: normal;
    font-weight: normal;
    src: local('Geometria-HeavyItalic'), url('../fonts/Geometria-HeavyItalic.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Geometria';
}

#page {
    background: url("../img/bg.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.page__wrap {

}

.logo__wrap {
    display: flex;
    justify-content: center;
    padding-top: 1.563vw;
}

.logo-link {
    width: 6.146vw;
}

.logo-link img {
    width: 100%;
}

.main {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.offer {
    z-index: 2;
}

.offer__wrap {
    background: url("../img/offer_bg.png") no-repeat;
    background-size: cover;
    background-position: 100% 100%;
    width: 26.042vw;
    height: 22.917vw;
    margin: 0 0 0 8.333vw;
}

.offer__title, .offer__sub-title {
    color: #00095B;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.04em;
    line-height: 0.9;
    font-family: 'Geometria-Bold';
}

.offer__title {
    font-size: 5.365vw;
    padding: 4.010vw 0 0.521vw 0;
}

.offer__sub-title {
    font-size: 3.229vw;
}

.offer__game {
    font-family: 'Geometria-Bold';
    font-weight: 700;
    font-size: 0.938vw;
    line-height: 1;
    color: #FFFFFF;
    text-align: center;
    padding: 1.146vw 0 2.344vw 0;
}

.offer__buttons {
    display: flex;
    justify-content: center;
}

.offer__code {
    width: 9.531vw;
    height: 3.125vw;
    background: #FFFFFF;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.521vw 0 0;
    cursor: pointer;
}

.offer__code--text {
    color: #00095B;
    font-family: 'Geometria-Bold';
    font-weight: bold;
    font-size: 0.833vw;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copy-color {
    color: #29B613;
}

.offer__link {
    background: #F15330;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
    border-radius: 10px;
    font-family: 'Geometria-Bold';
    font-weight: bold;
    font-size: 0.833vw;
    color: #FFFFFF;
    width: 7.396vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.termsBtn{
    color: #262D6D;
    font-family: 'Geometria-Medium';
    font-weight: 500;
    font-size: 0.833vw;
    position: absolute;
    z-index: 10;
    right: 2.083vw;
    bottom: 2.083vw;
    background: #F4F4F4;
    box-shadow: 0px 16px 24px #00000033;
    width: 3.281vw;
    height: 3.281vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all .4s;
}

.terms p{
    margin: 0;
}
.terms{
    max-width: 21vw;
    position: absolute;
    right: 2.083vw;
    bottom: 6.250vw;
    display: none;
    padding: 1.563vw 1.875vw 1.563vw 1.875vw;
    color: #00095B;
    font-family: 'Geometria-Medium';
    line-height: 1.042vw;
    background: #ffffff;
    font-size: 0.729vw;
    font-weight: 400;
    backdrop-filter: blur(5px);
    border-radius: 30px;
}

.terms b {
    font-weight: bold;
}

.princess, .witch-t, .link-mob {
    display: none;
}

@media (max-width: 1024px) and (orientation: portrait),(max-width: 1023px) {

    .link-desc {
        display: none;
    }

    .link-mob {
        display: block;
    }

    #page {
        background: url("../img/bg-t.jpg") no-repeat;
        background-size: cover;
        background-position: 60% 100%;
        min-height: 100vh;
    }

    .offer__wrap {
        background: url("../img/offer_bg-m.png") no-repeat;
        background-size: 100% 100%;
        background-position: 100% 100%;
    }

    .logo__wrap {
        padding-top: 30px;
    }

    .logo-link {
        width: 86px;
    }

    .main {
        min-height: 50vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .offer__wrap {
        background-size: 100% 100%;
        background-position: 100% 100%;
        width: 305px;
        height: 285px;
        margin: 0;
        transform: scale(1.3);
    }

    .offer__title {
        font-size: 55px;
        padding: 60px 0 10px 0;
    }

    .offer__sub-title {
        font-size: 32px;
    }

    .offer__game {
        font-size: 14px;
        padding: 30px 0 20px 0;
    }

    .offer__code {
        width: 130px;
        height: 40px;
        margin: 0 4px 0 0;
    }

    .offer__code--text {
        font-size: 14px;
    }

    .offer__link {
        font-size: 14px;
        width: 110px;
    }

    .termsBtn {
        font-size: 16px;
        position: absolute;
        right: 50%;
        transform: translateX(50%);
        bottom: 3%;
        background: #F4F4F4;
        box-shadow: 0px 16px 24px #00000033;
        width: 54px;
        height: 54px;
    }

    .terms {
        max-width: 320px;
        position: absolute;
        right: 50%;
        transform: translateX(50%);
        bottom: 0;
        padding: 20px 20px 20px 20px;
        line-height: 20px;
        font-size: 14px;
        backdrop-filter: blur(5px);
        border-radius: 30px 30px 0 0;
        z-index: 3;
    }

    .termsBtn.active{
        bottom: 9%;
    }
}

@media (max-width: 900px) and (orientation: portrait),(max-width: 900px) {
    .termsBtn.active{
        bottom: 12%;
    }

    .witch-t {
        width: 55%;
        height: 55%;
    }

    .offer__wrap {
        transform: scale(1.2);
    }
}

@media (max-width: 769px) and (orientation: portrait),(max-width: 768px) {
    .termsBtn.active {
        bottom: 12%;
    }

    .offer__wrap {
        transform: scale(1);
    }

    .witch-t {
        width: 50%;
        height: 50%;
    }
}

@media (max-width: 600px) and (orientation: portrait),(max-width: 599px) {
    .link-mob {
        display: block;
    }

    .link-desc {
        display: none;
    }

    #page {
        background: url("../img/bg-m.jpg") no-repeat;
        background-size: 100% 100%;
        background-position: 100% 45%;
        min-height: 100vh;
    }

    .witch-t {
        display: none;
    }

    .logo-link {
        width: 68px;
    }

    .logo__wrap {
        padding: 14px 0 14px 0;
    }

    .main {
        min-height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: space-between;
    }

    .offer__wrap {
        background: url("../img/offer_bg-m.png") no-repeat;
        background-size: 100% 100%;
        background-position: 100% 100%;
        height: 275px;
        margin: 0 0 450px 0;
        transform: scale(1);
    }

    .termsBtn {
        position: fixed;
    }

    .terms {
        max-width: 100%;
        position: fixed;
        right: auto;
        transform: translateX(0);
        bottom: 0;
        padding: 20px 20px 40px 20px;
        line-height: 20px;
        font-size: 14px;
        backdrop-filter: blur(5px);
        border-radius: 20px 20px 0 0;
    }

    .termsBtn.active {
        bottom: 19%;
    }

    .princess {
        display: flex;
        margin: 20px 0 0 0;
    }
}

@media (max-width: 376px) and (orientation: portrait),(max-width: 375px) {
    .termsBtn.active {
        bottom: 20%;
    }
}

@media (max-width: 321px) and (orientation: portrait),(max-width: 320px) {
    .termsBtn.active {
        bottom: 22%;
    }
}

@media (orientation: landscape)
and (max-height: 602px)
and (max-width: 1000px) {
    .witch-t {
        display: none;
    }

    #page {
        background: url("../img/bg-t.jpg") no-repeat;
        background-size: cover;
        background-position: 100% 45%;
        min-height: 600px;
        position: relative;
    }

    .logo-link {
        width: 68px;
    }

    .logo__wrap {
        padding: 14px 0 14px 0;
    }

    .main {
        min-height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: space-between;
    }

    .offer__wrap {
        background: url("../img/offer_bg-m.png") no-repeat;
        background-size: 100% 100%;
        background-position: 100% 100%;
        height: 275px;
        margin: 0 0 400px 0;
    }

    .termsBtn {
        position: absolute;
    }

    .terms {
        position: absolute;
        width: 60%;
        max-width: 100%;
        right: 50%;
        transform: translateX(50%);
        bottom: 0;
        padding: 20px 20px 40px 20px;
        line-height: 20px;
        font-size: 14px;
        backdrop-filter: blur(5px);
        border-radius: 20px 20px 0 0;
    }

    .termsBtn.active {
        bottom: 17%;
    }

    .princess {
        display: flex;
        margin: 20px 0 0 0;
    }

}

@supports (-webkit-touch-callout: none) {
    #page {
        min-height: -webkit-fill-available;
    }
}