@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Roboto+Slab:wght@100..900&family=Wix+Madefor+Display:wght@400..800&display=swap');

.modal-show {
    display: flex!important;
}

.modal-discount {
    z-index: 1042;
    display: none;
    --modal-width: 800px;
    --modal-height: 500px;
    box-sizing: border-box;
    position: fixed;
    top: 50%;
    left: 50%;
    width: var(--modal-width);
    height: var(--modal-height);
    margin-left: calc(-1 * var(--modal-width) / 2);
    margin-top: calc(-1 * var(--modal-height) / 2);
    padding-top: 96px;
    padding-right: 43px;
    flex-direction: column;
    align-items: flex-end;
    background-image: url(/include/modals/discount-modal/assets/modal-discountImage.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
    line-height: normal;
}

@media screen and (max-width: 768px) {
    .modal-discount {
        overflow: hidden;
        align-items: center;
        padding: 10px 26px;
        margin: 0;
        width: 100%;
        bottom: -1px;
        left: 0;
        top: auto;
        border-radius: 20px 20px 0 0;
        background-image: none;
    }
    .modal-discount::after {
        top: -80%;
        content: '';
        position: absolute;
        width: 150%;
        height: 120%;
        border-radius: 50%;
        background-color: #006AC5;
    }
}

.modal-discount__offer {
    width: fit-content;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 45px;
}

@media screen and (max-width: 768px) {
    .modal-discount__offer {
       gap: 32px;
    }
}

.modal-discount__image-mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    .modal-discount__image-mobile {
        display: block;
    }
}

.modal-discount__title {
    color: #000;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .modal-discount__title {
        font-size: 32px;
    }
}

.modal-discount__subtitle {
    color: #000;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .modal-discount__subtitle {
        display: none;
    }
}

.modal-discount__button {
    color: #FFF;
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    border-radius: 4px;
    background: #006AC5;
    padding: 19px 122px;
    text-decoration: none;
}

.modal-discount__cross {
    position: absolute;
    top: 0;
    right: 0;
    margin: 16px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.modal-discount__cross:hover {
    transform: scale(1.2);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.74);
    z-index: 1041;
}