* {
    box-sizing: border-box;
}

.popup::backdrop{
    background: none;
    backdrop-filter: blur(5px);
}

.popup {
    background: #fefefe;
    border: none;
    transition: all .4s;
    -webkit-box-shadow: 0 5px 12px 2px rgba(0,0,0,0.45);
    box-shadow: 0 5px 12px 2px rgba(0,0,0,0.45);
    z-index: 5;
    padding: 0;
}

.popup-scrollview{
    max-width: 1200px;
    max-height: min(650px, 70vh);
    overflow-y: auto;
}

.popup input[type="submit"]{
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    font-family: var(--main-font-stack);
    font-weight: 900;
}

.popup-content {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 40px 1.17%;
    padding: 60px 25px;
}

.popup-custom img {
    max-width: 100%;
}

.popup-heading {
    color: rgb(var(--main-dark-color));;
    margin: 0 0 0.5em;
}

.popup-subheading {
    font-size: 2rem;
    margin: 0 0 .7em;
}

.popup-text {
    font-size: 1.8rem;
    margin: 0 0 1em;
}

.popup.popup-hidden {
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.popup-close {
    position: fixed;
    top: 15px;
    right: 15px;
    cursor: pointer;
    height: 25px;
    width: 25px;
    z-index: 30;
}

.popup-close {
    position: absolute;
}

.popup-close > div {
    position: relative;
    height: 3px;
    width: 100%;
    background: #050505;
    transform: translateY(7px);
    transition: all .4s linear;
}

.popup-close > div:before,
.popup-close > div:after {
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: #050505;
    transition: all .4s linear;
}

.popup-close > div:before {
    top: -7px;
}

.popup-close > div:after {
    bottom: -7px;
}

.popup-close > div {
    background: transparent;
}

.popup-close > div:before {
    transform: rotate(225deg);
    top: 0;
}

.popup-close > div:after {
    transform: rotate(135deg);
    top: 0;
}

.popup .button {
    padding: 8px 12px;
    color: #000000;
    text-decoration: none;
    margin: 0 5px;
}

@media screen and (min-width: 480px) {

    .popup-content {
        padding: 110px 40px 40px;
    }

}

@media screen and (min-width: 840px) {
    .popup-content {
        flex-direction: row;
    }

    .popup-default{
        width: 100%;
    }

    .popup-default.popup-split, .popup-custom {
        width: 48.83%
    }

    .popup-close {
        top: 25px;
        right: 30px;
    }
}

@media screen and (min-width: 1200px) {
    .popup:before {
        content: '';
        position: absolute;
        top: -1px;
        left: -1px;
        width: 90px;
        aspect-ratio: 1;
        background-image: url(/images/newsbox-logo.svg);
        background-size: cover;
        pointer-events: none;
    }
}