html {
    overflow-x: hidden;
}

#main_content {
    padding: 0;
}

.landing-header {
    background: url("/static/img/landing/morele/alarmcenowy/alarm-bg-desktop.png") bottom center no-repeat;
    background-color: #D7D2D2;
}
.landing-header.christmas-background {
    background: url("/static/img/landing/morele/alarmcenowy/christmas-background.png") bottom center no-repeat;
}

.landing-header .new_promo_header .title {
    color: #3f170e;
    font-size: 38px;
    font-weight: 300;
    display: block;
    margin-bottom: 0;
    position: relative;
    left: 160px;
    top: 12px;
}

.landing-header .new_promo_header .sub-title {
    color: #ff503c;
    font-size: 124px;
    font-weight: 600;
    display: block;
    line-height: 0.9;
}

.landing-header .new_promo_header .sub-title2 {
    color: #ff503c;
    font-size: 96px;
    font-weight: 600;
    display: block;
    line-height: 0.9;
    margin-bottom: 80px;
    margin-top: -15px;
}

.landing-header .gif-container {
    max-height: 200px;
}

.landing-header .header-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

@media (min-width: 1025px) {
    .new-promo-code {
        margin-top: 32px;
    }
    
    .counterContainer {
        margin-top: 48px;
    }
}

@media (max-width: 1280px) {
    .landing-header .new_promo_header .title {
        font-size: 32px;
        left: 114px;
    }
    .landing-header .new_promo_header .sub-title {
        font-size: 90px;
    }
    .landing-header .new_promo_header .sub-title2 {
        font-size: 70px;
    }
}

@media (max-width: 1024px) {
    .landing-header.header-alarmcenowy {
        height: 320px;
        background-size: cover;
        margin-top: 48px;
    }
    .landing-header .header-image {
        max-width: 640px;
    }
    .landing-header .new_promo_header,
    .new-promo-code {
        margin-top: 0;
    }
    .landing-header .new_promo_header .title {
        font-size: 32px;
        transform: none;
        left: 76px;
    }
    .landing-header .new_promo_header .sub-title {
        font-size: 74px;
    }
    .landing-header .new_promo_header .sub-title2 {
        font-size: 60px;
        line-height: 1.2em;
    }
    .landing-header .counterContainer .counter-label {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .landing-header.header-alarmcenowy {
        background: url("/static/img/landing/morele/alarmcenowy/alarm-bg-mobile.png") bottom
            center no-repeat;
        background-color: #D7D2D2;
        background-size: contain;
        margin-bottom: 32px;
        padding-top: 10px;
        height: auto;
        margin-top: 0;
        padding-bottom: 32px;
    }
    .landing-header.christmas-background {
        background: url("/static/img/landing/morele/alarmcenowy/christmas-background-mobile.png") bottom center
            no-repeat;
    }
    .landing-header .new_promo_header {
        margin: 0 auto;
    }
    .landing-header .rotate-box {
        transform: unset;
    }

    .landing-header .header-image {
        position: relative;
        max-width: 540px;
        top: 0;
        transform: translateX(-50%);
    }

    .landing-header .new_promo_header .sub-title2 {
        margin-bottom: 0;
    }

    .landing-header .relative-on-front .full-mobile {
        margin: 0 auto 20px;
        max-width: 50%;
        transform: unset;
        bottom: -90px;
        position: absolute;
        left: 0;
        right: 0;
    }
    .new-promo-code .code-label {
        margin: 0;
    }
    .landing-header .new_promo_header {
        text-align: center;
    }
    .landing-header .new_promo_header .title {
        font-size: 20px;
        margin-bottom: 8px;
        left: 24px;
    }
    .landing-header .new_promo_header .sub-title {
        margin-bottom: 2px;
        font-size: 50px;
    }
    .landing-header .new_promo_header .sub-title2 {
        font-size: 40px;
        line-height: 1.2em;
    }
}

@media (max-width: 660px) {
    .landing-header .relative-on-front .full-mobile {
        bottom: -80px;
    }
}

@media (max-width: 600px) {
    .landing-header .relative-on-front .full-mobile {
        margin: 0 auto;
        bottom: -60px;
    }
}

@media (max-width: 566px) {
    .landing-header .relative-on-front .full-mobile {
        bottom: -50px;
    }
}

@media (max-width: 462px) {
    .landing-header .new_promo_header .title {
        margin-top: 20px;
    }
}

@media (max-width: 440px) {
    .landing-header .relative-on-front .full-mobile {
        max-width: 56%;
    }
}

@media (max-width: 400px) {
    .landing-header .new_promo_header .title {
        margin-top: 10px;
    }
}

@media (max-width: 340px) {
    .landing-header {
        margin-bottom: 40px;
    }

    .landing-header .relative-on-front .full-mobile {
        max-width: 50%;
        bottom: -40px;
    }
}

@media (min-width: 1921px) {
    .landing-header.header-alarmcenowy {
        background-size: unset !important;
        background-position: center bottom;
        max-height: 482px;
        margin-bottom: 63px;
    }
}

.warstwa-1 {
    position: absolute;
    right: 63%;
    bottom: 15%;
}

.warstwa-2 {
    position: absolute;
    left: 63%;
    top: 15%;
}

@media (max-width: 1280px) {
    .warstwa-1, .warstwa-2 {
        display: none;
    }
}