@font-face {
    font-family: 'Xmas Xpress';
    src: url('../font/xmasxpress.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0; /* Убираем возможные отступы */
    overflow-x: hidden; /* Отключаем горизонтальную прокрутку */
    overflow-y: hidden; /* Разрешаем вертикальную прокрутку */
}

.background {
    background: linear-gradient(77.37deg, #FF5001, #FF8D01, #FF7B01);
    background-size: cover; /* Растягиваем фон на весь экран */
    position: fixed; /* Фиксируем фон, чтобы он оставался на месте при прокрутке */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index: 0
}


/* Хедер */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 80px;
}

.logo {
    width: 100px;
    height: auto;
}

.logotxt {
    width: 13vw;
    margin-bottom: -6px;
}

.logotxt2 {
    width: 11vw;
    margin-bottom: -6px;
}

.language-panel {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

/* Секция текста */
.text-section {
    padding: 40px 0 0 80px;
    max-width: 62%;
}

.main-heading {
    color: #fff;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    font-size: clamp(48px, 6vw, 92px);
    font-weight: 900;
    line-height: clamp(48px, 6vw, 92px);
    letter-spacing: 0.02em;
    text-align: left;
    margin-bottom: 20px;
}

.main-heading2 {
    color: #fff;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 900;
    line-height: clamp(48px, 6vw, 76px);
    letter-spacing: 0.02em;
    text-align: left;
    margin-bottom: 20px;
}

.subheading {
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    max-width: 820px;
    line-height: clamp(24px, 2.8vw, 36.4px);
    text-align: left;
}


/* Контейнер с формой */
.form-container {
    display: flex;
    position: absolute;
    left: 80%;
    bottom: 0%;
    transform: translateX(-50%);
    width: 880px;
    min-height: 900px;
    max-height: 900px;
    background: url(../img/santa.png) no-repeat center bottom;
    background-size: contain;
    align-items: flex-end;
}

.santa-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.decorative-element {
    position: absolute;
    bottom: -5px;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.decorative-element img {
    max-width: 80%;
    height: auto;
}

.decorative-box {
    display: none;
    position: fixed;
    bottom: 0;
    z-index: -1; /* Убедитесь, что они выше фонового изображения */
    pointer-events: none; /* Делаем их неинтерактивными */
}

.decorative-box-left {
    left: 0;
    width: auto;
    height: 302px; /* Укажите подходящий размер */
}

.decorative-box-right {
    right: 0;
    width: auto;
    height: 280px; /* Укажите подходящий размер */
}

.garland {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    mix-blend-mode: screen; /* Применение фильтра "экран" */
    pointer-events: none;
    -webkit-mix-blend-mode: screen;
}

@media (max-width: 1600px) {
    .subheading {
        width: 84%;
    }
}

@media (max-width: 1380px) {
    .subheading {
        width: 75%;
    }
}

@media (max-width: 1100px) {
    .header {
        padding: 30px 40px;
    }

    .subheading {
        width: 70%;
    }

    .text-section {
        padding: 40px 0 0 40px;
    }
}

@media (max-width: 960px) {
    .header {
        padding: 30px 24px;
    }

    .subheading {
        width: 80%;
    }

    .text-section {
        padding: 40px 0 0 24px;
        max-width: 58%;
    }

    .main-heading {
        font-size: 36px;   
        line-height: 36px;
    }
    .main-heading2 {
        font-size: 36px;   
        line-height: 36px;
    }
    .logotxt {
        width: 98px;
        margin-bottom: -2px;
    }
    .logotxt2 {
        width: 98px;
        margin-bottom: -2px;
    }
}

@media (max-height: 900px){
    .form-container {
        display: flex;
        position: absolute;
        left: 80%;
        bottom: 0%;
        transform: translateX(-50%);
        width: 880px;
        min-height: 700px;
        max-height: 900px;
        background: url(../img/santa.png) no-repeat center bottom;
        background-size: contain;
        align-items: flex-end;
    }
    .decorative-element img {
        max-width: 55%;
        height: auto;
    }
 }

@media (max-width: 768px) {
    .garland {
        display: none;
    }
    
    html, body {
        height: 920px;
    }
    .background {
        overflow-y: auto;
    }
    .header {
        padding: 20px 20px;
    }

    .logo {
        width: 88px;
        height: auto;
    }

    .text-section {
        padding: 0px 20px 0 20px;
        max-width: 100%;
    }

    .main-heading {
        font-size: 36px;   
        line-height: 36px;
        margin-bottom: 10px;
    }

    .main-heading2 {
        font-size: 36px;   
        line-height: 36px;
        margin-bottom: 10px;
    }

    .logotxt {
        width: 73px;
        margin-bottom: -2px;
    }
    .logotxt2 {
        width: 73px;
        margin-bottom: -2px;
    }

    .form-container {
        background: url('../img/santa2.png') no-repeat center bottom;
        width: 760px;
        left: 60%;
        top: 23%;
        height: 920px;
        max-height: 920px;
        align-items: flex-start;
    }

    .main-heading {
        font-size: 26px;
        line-height: 26px;
    }

    .main-heading2 {
        font-size: 26px;
        line-height: 26px;
    }

    .subheading {
        font-size: 14px;
        width: 100%;
        font-weight: 700;
        line-height: 16.8px;
    }

    .decorative-element {
        content: url('../img/boxmob.png');
        position: absolute;
        top: 180px;
        left: 0;
        z-index: 0;
        pointer-events: none;
    }
}

@media (max-width: 440px) {
    .form-container {
        left: 63%;
    }
}

@media (max-width: 390px) {
    .form-container {
        left: 65%;
    }
}

@media (max-width: 370px) {
    .form-container {
        left: 66%;
    }
}

