body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-family: 'Hind';
    font-style: normal;
    line-height: normal;
    color: #000;
    width: 100%;
    height: 100vh;
}

p {
    margin: 0;
    padding: 0;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: auto;
    gap: 64px;
    height: inherit;
}

.background-img {
    border-radius: 16px;
    width: 33vw;
    /*height: auto;*/
    height: 100%;
    object-fit: cover;
}

.page {
    font-family: 'Merriweather';
    font-size: 18px;
    font-weight: 700;
    text-align: start;
}

.header {
    font-family: 'Merriweather';
    font-size: 30px;
    font-weight: 700;
    text-align: start;
    line-height: 40px;
    color: #004799;
    margin-top: 4px;
}

.description {
    font-size: 18px;
    font-weight: 400;
    text-align: start;
    margin-top: 48px;
}

.dropbtn {
    background-color: #fff;
    font-size: 15px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-weight: 400;
    width: 20vw;
    height: 40px;
    padding: 8px 16px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
    width: 20vw;
    max-height: 200px;
    margin-top: 48px;
}

.dropdown-element {
    cursor: pointer;
    width: 20vw;
    background-color: #fff;
    height: 24px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 400;
}

.dropdown-element:hover {
    background-color: #ccc !important;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 20vw;
    max-height: 200px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
    overflow-x: hidden;
    box-shadow: 0px 2px 12px 0px rgba(34, 62, 105, 0.15);
    border-radius: 8px;
}

dropdown-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px; /* Height of the blur effect */
    background: linear-gradient(transparent, rgba(240, 240, 240, 0.8));
    backdrop-filter: blur(8px);
}

.display-block {
    display: block !important;
}

.navigation-buttons-wrapper {
    width: 20vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-button {
    background-color: #f60;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 10vw;
    height: 50px;
    padding: 8px 20px 8px 20px;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    margin-top: 24px;
    cursor: pointer;
}

#restart-button.next-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 9vw;
    height: 50px;
    padding: 8px 20px 8px 20px;
    font-size: 15px;
    font-weight: 400;
    color: #5E5E5E;
    margin-top: 24px;
    cursor: pointer;
    text-align: right;
    border: 1px solid #ccc;
    background-color: #fff;
}

#restart-button.next-button .right-arrow {
    transform: rotate(90deg);
}

.prev-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 9vw;
    height: 50px;
    padding: 8px 20px 8px 20px;
    font-size: 15px;
    font-weight: 400;
    color: #5E5E5E;
    margin-top: 24px;
    cursor: pointer;
    text-align: right;
    border: 1px solid #ccc;
    background-color: #fff;
    display: none;
}

.right-arrow {
    transform: rotate(-90deg);
}

.left-arrow {
    transform: rotate(90deg);
}

.second-description {
    font-size: 15px;
    font-weight: 400;
    margin-top: 24px;
}

.legal-texts {
    color: #004799;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    margin-top: 24px;
    display: flex;
    gap: 10px;
    position: relative;
    width: fit-content;
}


.popup-law {
    position: absolute;
    bottom: 36px;
    left: 0;
    width: 40vw;
    /*height: 320px;*/
    height: fit-content;
    padding: 32px;
    background-color: #fff;
    z-index: 10;
    box-shadow: 0px 2px 64px 0px rgba(34, 62, 105, 0.15);
    border-radius: 16px;
    color: #000;
    display: none;
    cursor: default;
}

.pop-low-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
}

.pop-low-header {
    color: #004799;
    font-family: 'Merriweather';
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
}

.pop-low-description {
    margin-top: 32px;
    font-size: 15px;
    font-weight: 400;
}

.close-popup {
    cursor: pointer;
}

.counter {
    margin-top: 48px;
}

.counter-input {
    width: calc(20vw - 32px);
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
}

.counter-button {
    border: none;
    background-color: #fff;
    cursor: pointer;
}

.img-wrapper {
    position: relative;
    height: 400px;
}

.conclusion-wrapper {
    position: absolute;
    right: 21px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0px 4px 16px 0px rgba(34, 62, 105, 0.15);
    padding: 32px;
    width: 16vw;
    backdrop-filter: blur(64px);
}

.conclusion-img {
    width: 24px;
    height: 24px;
}

.location-conclusion {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.conclusion-key {
    font-size: 15px;
}

.conclusion-value {
    font-family: "Merriweather";
    font-size: 18px;
    font-weight: 700;
}

.conclusion-small-margin {
    margin-bottom: 16px;
}

.conclusion-base-margin {
    margin-bottom: 12px;
    margin-top: 12px;
}

.divider {
    width: 100%;
    margin-bottom: 16px;
}

.required-field {
    display: none;
    font-size: 14px;
    color: red;
}

.ctas {
    justify-content: space-between;
}

.ctas > button {
    width: 28%;
}

@media screen and (max-width: 768px) {
    body {
        height: auto;
    }

    .main {
        display: block;
        margin: 32px auto;
    }

    .img-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 64px;
    }

    .background-img {
        width: 90vw;
        height: auto;
    }

    .header {
        font-size: 22px;
        line-height: normal;
    }

    .navigation-buttons-wrapper {
        width: 90vw;
    }

    .next-button {
        width: 43vw;
    }

    .prev-button {
        width: 43vw;
    }

    .dropbtn,
    .dropdown,
    .dropdown-element,
    .dropdown-content {
        width: 90vw;
    }

    .conclusion-wrapper {
        position: unset;
        width: calc(90vw - 64px);
        transform: translateY(0);
        backdrop-filter: none;
    }

    .counter-input {
        width: calc(90vw - 32px);
    }

    .legal-texts {
        position: unset;
    }

    .popup-law {
        position: absolute;
        top: 50%;
        left: 50%;
        width: calc(90vw - 32px);
        transform: translate(-50%, -50%);
        height: fit-content;
    }
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}