* {
    font-family: "Kurale", serif;
    color: white;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#popup-background {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

html,
body {
    height: 100%;
    position: relative;
}

body {
    background-color: #8A0620;
    margin: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
p {
    margin: 0;
}

span {
    font-weight: bold;
}

a {
    text-decoration: unset;
    color: inherit;
}

button {
    background-color: transparent;
    outline: none;
    border: 0.5px solid white;
    cursor: pointer;
    width: 200px;
    height: 60px;
    font-size: 20px;
    position: relative;
}

button:disabled {
    opacity: 50%;
    cursor: default;
}

button img:first-of-type {
    position: absolute;
    left: -3px;
    top: -3px;
}

button img:last-of-type {
    position: absolute;
    right: -3px;
    top: -3px;
    rotate: 180deg;
}

header {
    padding-left: 36px;
    padding-top: 20px;
    position: relative;
}

header img:last-of-type {
    position: absolute;
    top: 0;
    right: 0;
}

#christmas-horizontal-lights {
    width: 100%;
}

#heading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 188px;
    position: relative;
}

h1 {
    font-size: 90px;
    text-align: center;
    font-weight: 400;
    line-height: 100px;
}

#heading-container p {
    margin-top: 80px;
    margin-bottom: 40px;
    font-size: 30px;
    text-align: center;
}

#choose-house-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 216px;
}

#choose-house-container h2 {
    font-size: 70px;
    font-weight: 400;
    line-height: 60px;
    text-align: center;
}

#choose-house-container p {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    font-size: 20px;
    line-height: 20px;
}

#choose-house-container div {
    display: flex;
    gap: 30px;
}

header,
.images,
.snow-container-one,
.snow-container-two,
.snow-container-three,
.snow-container-four,
.snow-container-five,
.snow-container-six {
    overflow-x: clip;
}

/* big christmas house */
#big-christmas-house {
    display: flex;
    flex-direction: column;
    padding-left: 40px;
}

#big-christmas-house h3 {
    font-size: 55px;
    line-height: 60px;
}

#big-christmas-house .inner-container {
    display: flex;
    margin-top: 100px;
}

#big-christmas-house .inner-container .content {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#big-christmas-house .inner-container ol {
    list-style-position: inside;
    margin-top: 50px;
    margin-bottom: 50px;
}

#big-christmas-house .inner-container span {
    font-size: 30px;
    line-height: 40px;
}

#big-christmas-house .inner-container ol li {
    font-size: 25px;
    font-weight: 400;
    line-height: 40px;
}

#big-christmas-house .inner-container .images {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* small christmas house */
#small-christmas-house {
    display: flex;
    flex-direction: column;
    padding-right: 40px;
}

#small-christmas-house h3 {
    font-size: 55px;
    line-height: 60px;
    text-align: start;
    width: 50%;
    margin-left: auto;
}

#small-christmas-house .inner-container {
    display: flex;
    margin-top: 100px;
}

#small-christmas-house .inner-container .content {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#small-christmas-house .inner-container ol {
    list-style-position: inside;
    margin-top: 50px;
    margin-bottom: 50px;
}

#small-christmas-house .inner-container span {
    font-size: 30px;
    line-height: 40px;
}

#small-christmas-house .inner-container ol li {
    font-size: 25px;
    font-weight: 400;
    line-height: 40px;
}

#small-christmas-house .inner-container .images {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.house-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.house-red-glow {
    width: 358px;
    height: 358px;
    border-radius: 100%;
    filter: blur(48px);
    background-color: #FF1534;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-right: 20px;
}

#small-christmas-house .house-red-glow {
    margin-right: unset;
    margin-left: 20px;
}

.house-white-glow {
    width: 246px;
    height: 264px;
    border-radius: 100%;
    filter: blur(66px);
    background-color: #F3F3EC;
}

#big-christmas-house .arrow {
    position: absolute;
    top: 186px;
    right: 0px;
    cursor: pointer;
}

#small-christmas-house .arrow {
    position: absolute;
    top: 162px;
    left: 0px;
    cursor: pointer;
}

#big-christmas-house,
#small-christmas-house {
    position: relative;
}

/* choose payment method */

.choose-payment-method {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: #29454B;
    width: 100%;
    max-width: 878px;
    height: 540px;
    border: 2px solid white;
    z-index: 20;
    align-self: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 112px 124px 72px 124px;
}

.choose-payment-method button:not(.close-button) {
    min-height: 60px;
}

.choose-payment-method h2 {
    font-size: 50px;
    font-weight: 400;
    line-height: 32px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 46px;
    margin-top: 100px;
    margin-bottom: 50px;
}

.payment-options div {
    display: flex;
    gap: 24px;
    align-items: center;
    height: 32px;
}

.payment-options input {
    width: 32px;
    height: 32px;
}

input[type="checkbox"] {
    appearance: none;
    background-image: url('images/checkbox.png');
    background-position: center;
    width: 32px;
    height: 32px;
    transition: 0.2s all linear;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-image: url('images/checkbox-checked.png');
}

.range-slider {
    width: calc(100% - 15px);
}

.payment-options p {
    font-size: 35px;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 26px;
    height: 26px;
    border: unset;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-button div {
    background-color: white;
    width: 140%;
    height: 3px;
    position: absolute;
    border-radius: 2px;
}

.close-button div:first-of-type {
    rotate: 45deg;
}

.close-button div:last-of-type {
    rotate: -45deg;
}

.purchase-buttons {
    display: flex;
    gap: 20px;
}

.purchase-buttons .pay-on-delivery {
    width: 232px;
}

.success-message {
    display: none;
    margin-top: 20px;
    font-size: 22px;
    color: #8aff8a;
}

.error-message {
    display: none;
    margin-top: 20px;
    font-size: 22px;
    color: #ff8a8a;
}

/* fill in data */
.fill-in-data {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: #29454B;
    width: 100%;
    max-width: 1100px;
    border: 2px solid white;
    z-index: 20;
    align-self: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 60px 136px 44px 112px;
}

.fill-in-data h2 {
    font-size: 50px;
    margin-bottom: 44px;
}

.fill-in-data form {
    display: flex;
    gap: 116px;
}

.fill-in-data .input-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fill-in-data .input-container label {
    font-size: 16px;
    font-weight: 400;
}

.fill-in-data .input-container input {
    border: 2px solid white;
    padding: 0 22px;
    outline: none;
    background-color: transparent;
    height: 50px;
}

.fill-in-data .input-containers {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 366px;
}

.input-containers .house-container {
    height: 306px;
    display: flex;
    position: relative;
}

.fill-in-data .input-containers .house-container img {
    position: absolute;
    width: 298px;
    height: 298px;
    right: -40px;
    top: -50px;
}

.fill-in-data .input-containers .house-container p {
    margin-top: auto;
    margin-bottom: 24px;
    margin-left: auto;
    font-size: 24px;
    font-weight: 600;
}

.fill-in-data .mobile-house-container {
    display: none;
    align-items: center;
}

.fill-in-data .mobile-house-container img {
    min-width: 136px;
    width: 136px;
    height: 136px;
}

.fill-in-data .mobile-house-container p {
    font-size: 24px;
    font-weight: 600;
}

.fill-in-data button:not(.close-button) {
    margin-top: 56px;
}

/*  */

footer {
    background-color: white;
    min-height: 550px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
}

footer p,
footer span {
    color: #97081A;
}

footer p {
    font-size: 20px;
}

footer button {
    color: #97081A;
    font-size: 20px;
    width: unset;
    height: unset;
    border: unset;
    text-align: start;
}

footer span {
    font-size: 25px;
    font-weight: 400;
}

footer>div {
    display: flex;
    justify-content: space-between;
    gap: 204px;
    margin: auto 0;
    padding: 0 40px;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    min-width: 190px;
    gap: 32px;
}

.footer-links-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-links-container .links-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-links-container .links-column span {
    margin-bottom: 14px;
}

img.falling-snow {
    object-fit: contain;
    width: 100%;
    max-width: 442px;
    height: 160px;
}

main .christmas-lights {
    position: absolute;
    top: 420px;
    left: 0px;
}

#created-by {
    color: #29454B;
    height: 50px;
    border-top: 1px solid #29454B;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

#created-by a {
    color: #FF1534;
}

button.change-color {
    margin-top: 32px;
    border: none;
    font-size: 30px;
    width: unset;
    font-weight: bold;
}

.small-christmas-presents {
    position: absolute;
    top: 22px;
    left: -322px
}


.big-christmas-presents {
    position: absolute;
    top: 22px;
    right: -360px
}

span.price {
    margin-bottom: 100px;
}

.big-christmas-house,
.small-christmas-house,
.house-glow {
    transition: transform 1s ease-in-out;
    transform: scale(0.1);
}

.big-christmas-house.visible,
.small-christmas-house.visible,
.house-glow.visible {
    transform: scale(1);
}

/* snow containers */
/* snow container one */
.snow-container-one {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    height: 200px;
    margin-bottom: 100px;
}


.snow-container-one .falling-snow:nth-child(2),
.snow-container-one .falling-snow:nth-child(4) {
    position: absolute;
    top: 40px;
}

.snow-container-one .falling-snow:nth-child(2) {
    left: 240px;
}

.snow-container-one .falling-snow:nth-child(4) {
    right: 260px
}

/* snow container two */
.snow-container-two,
.snow-container-three,
.snow-container-four,
.snow-container-five,
.snow-container-six {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 106px;
}

.snow-container-two .falling-snow:nth-child(2),
.snow-container-two .falling-snow:nth-child(3),
.snow-container-three .falling-snow:nth-child(2),
.snow-container-three .falling-snow:nth-child(3),
.snow-container-four .falling-snow:nth-child(2),
.snow-container-four .falling-snow:nth-child(3),
.snow-container-five .falling-snow:nth-child(2),
.snow-container-five .falling-snow:nth-child(3),
.snow-container-six .falling-snow:nth-child(2),
.snow-container-six .falling-snow:nth-child(3) {
    position: absolute;
    top: 40px;
}

.snow-container-two .falling-snow:nth-child(2),
.snow-container-three .falling-snow:nth-child(2),
.snow-container-four .falling-snow:nth-child(2),
.snow-container-five .falling-snow:nth-child(2),
.snow-container-six .falling-snow:nth-child(2) {
    left: 240px;
}

.snow-container-two .falling-snow:nth-child(3),
.snow-container-three .falling-snow:nth-child(3),
.snow-container-four .falling-snow:nth-child(3),
.snow-container-five .falling-snow:nth-child(3),
.snow-container-six .falling-snow:nth-child(3) {
    right: 240px;
}

/* snow container three */

.snow-container-three,
.snow-container-four,
.snow-container-five {
    margin-bottom: 0px;
}

.snow-container-six {
    margin-bottom: 80px;
}

@media screen and (max-width: 1279px) {
    footer {
        padding: 0 20px;
    }

    footer>div {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        padding-top: 50px;
    }

    header img:last-of-type {
        width: 326px;
    }

    main .christmas-lights {
        width: 310px;
        top: 562px;
    }

    #big-christmas-house {
        padding-left: 0px;
    }

    #small-christmas-house {
        padding-right: 0px;
    }

    #big-christmas-house .inner-container {
        flex-direction: column-reverse;
        margin-top: 50px;
    }

    #small-christmas-house .inner-container {
        flex-direction: column;
        margin-top: 50px;
    }

    #big-christmas-house .inner-container .images,
    #small-christmas-house .inner-container .images {
        width: 100%;
    }

    #big-christmas-house .inner-container .content,
    #small-christmas-house .inner-container .content {
        width: fit-content;
        margin: auto;
    }

    h1 {
        font-size: 68px;
        line-height: 75px;
    }

    #choose-house-container h2 {
        font-size: 52px;
        line-height: 45px;
    }

    footer .footer-logo-container div div {
        display: flex;
        justify-content: space-evenly;
    }

    #big-christmas-house h3,
    #small-christmas-house h3 {
        text-align: center;
        width: 100%;
    }
}

@media screen and (max-width: 1023px) {
    .fill-in-data .input-containers .house-container {
        display: none;
    }

    .fill-in-data form {
        gap: 24px;
        flex-direction: column;
    }

    .fill-in-data .input-containers {
        max-width: unset;
    }

    .fill-in-data {
        padding: 60px 68px 44px 56px;
    }

    .fill-in-data .mobile-house-container {
        display: flex;
    }
}

@media screen and (max-width: 767px) {
    .footer-links-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        padding-bottom: 50px;
    }

    .links-column {
        width: 200px;
    }

    #created-by {
        flex-direction: column;
        height: 100px;
    }

    header img:last-of-type {
        width: 216px;
    }

    main .christmas-lights {
        width: 207px;
        top: 702px;
    }

    #big-christmas-house,
    #small-christmas-house {
        padding: 0 4px;
    }

    .big-christmas-house {
        width: 257px;
    }

    .big-christmas-presents {
        width: 248px;
        right: -180px;
    }

    .small-christmas-house {
        width: 237px;
    }

    .small-christmas-presents {
        left: -161px;
        width: 217px;
    }

    #heading-container p {
        margin-top: 40px;
        margin-bottom: 20px;
        font-size: 24px;
        padding: 0 4px;
    }

    h1 {
        font-size: 45px;
        line-height: 50px;
    }

    #choose-house-container h2 {
        font-size: 35px;
        line-height: 30px;
    }

    #choose-house-container p {
        margin-top: 25px;
        margin-bottom: 25px;
        font-size: 16px;
        line-height: 16px;
        padding: 0 4px;
    }

    #choose-house-container div {
        flex-direction: column;
    }

    #choose-house-container {
        margin-bottom: 108px;
    }

    #big-christmas-house h3,
    #small-christmas-house h3 {
        font-size: 30px;
    }

    #big-christmas-house .inner-container,
    #small-christmas-house .inner-container {
        margin-top: 25px;
    }

    button.change-color {
        font-size: 20px;
    }

    #big-christmas-house .inner-container span,
    #small-christmas-house .inner-container span {
        font-size: 24px;
    }

    #big-christmas-house .inner-container ol li,
    #small-christmas-house .inner-container ol li {
        font-size: 16px;
    }

    #big-christmas-house .inner-container ol,
    #small-christmas-house .inner-container ol {
        margin-top: 25px;
        margin-bottom: 25px;
        text-align: center;
    }

    span.price {
        margin-bottom: 50px;
    }

    #big-christmas-house .inner-container .content,
    #small-christmas-house .inner-container .content {
        align-items: center;
    }

    #big-christmas-house .arrow {
        top: 104px;
        width: 72px;
        height: 86px;
    }

    #small-christmas-house .arrow {
        top: 88px;
        width: 74px;
        height: 86px;
    }

    .house-glow {
        width: 257px;
        height: 257px;
    }

    .house-red-glow {
        width: 180px;
        height: 180px;
        filter: blur(48px);
    }

    .house-white-glow {
        width: 124px;
        height: 132px;
        filter: blur(66px);
    }

    .choose-payment-method {
        height: 580px;
        border: none;
        align-items: center;
        padding: 88px 4px 88px 4px;
    }

    .choose-payment-method .close-button {
        top: 32px;
        right: 36px;
    }

    .choose-payment-method h2 {
        font-size: 40px;
        line-height: 50px;
        text-align: center;
        max-width: 425px;
    }

    .payment-options {
        margin-top: 96px;
        margin-bottom: 44px;
    }

    .purchase-buttons {
        flex-direction: column;
        align-items: center;
    }

    .fill-in-data {
        padding: 15px 17px 11px 14px;
    }

    .fill-in-data h2 {
        font-size: 40px;
        margin-bottom: 22px;
    }
}