.pop-up-background {
    position: fixed;
    z-index: 80;
    height: 100vh;
    width: 100vw;
    background-color: rgba(57, 57, 57, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
}

.pop-up {
    height: fit-content;
    width: 60%;
    background-color: #f6f1e7;
    /* border-radius: 3px; */
    max-height: 85vh;
    /* overflow: auto; */
    /* padding: 30px; */
    /* background-image: url('/assets/front/img/common/pop-up-bg.svg'); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    min-width: 380px;
}
#pop-up-data {
    width: 65%;
    max-width: 600px;
    min-width: 369px;
    min-height: 562px;
    color: var(--black);
    font-family: var(--sorealism) !important;
    aspect-ratio: 2/2;
}
#pop-up-data-content-container {
    width: 95%;
    height: 95%;
    max-width: 600px;
    min-width: 350px;
    min-height: 475px;
    border: solid 3px #00ffff;
    margin: auto;
    padding: 1em 0;
}
#pop-up-data > .pop-up-title-container {
    margin: 0;
    position: absolute;
    top: 30px;
}
/* #pop-up-data-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    -webkit-filter: invert(1) grayscale(100%) brightness(200%);
} */

#pop-up-data-content {
    width: 95%;
    margin: 0;
}
#pop-up-data-content > .pop-up-title {
    font-family: var(--variableSerif);
    font-weight: 500;
    font-size: clamp(3.5rem, 2.429rem + 2.857vw, 5rem);
    width: 98%;
    line-height: 93%;
    text-align: left;
    margin-top: -10px;
    margin-left: 10px;
    margin-bottom: 0;
    text-align: center;
}
.pop-up-title-2-container > .pop-up-title-2 {
    width: 100%;
    font-family: var(--sorealism);
    font-size: clamp(0.8rem, 0.5231rem + 1.2308vw, 2rem);
    /* margin-top: -10px; */
    text-align: end;
}

#pop-up-data-content > .pop-up-title-3 {
    width: 100%;
    font-size: clamp(0.3rem, 0.0231rem + 1.2308vw, 1.5rem);
    margin-left: -25%;
    text-align: center;
}

.pop-up-title-2-container > .pop-up-title-4 {
    /* width: 80%; */
    font-size: clamp(0.4rem, 0.2615rem + 0.6154vw, 1rem);
        /* margin-left: 57%; */
    margin-top: -18px;

    text-align: center;
}

.pop-up-title-2-container{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    margin-right: 20%;
}
#pop-up-data-content > .pop-up-subtitle {
    width: 97%;
    font-family: var(--fontLight);
    font-size: clamp(0.5rem, 0.3846rem + 0.5128vw, 1rem); /* margin-bottom: 15px; */
    margin: 20px auto;
    text-align: left;
    font-weight: bold;
    line-height: 97%;
    /* margin-left: 15px; */
}
#pop-up-data-form {
    width: 100%;
    /* max-width: 65%; */
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}
#pop-up-data-form > .pop-up-form-section {
    font-family: var(--fontLight) !important;
    width: 87%;
    /* margin-left: 25px; */
    flex-direction: row;
    justify-content: space-between;
    font-size: clamp(1.1rem, 0.957rem + 0.381vw, 1.3rem);
}
#pop-up-data-form > .pop-up-form-section > label {
    white-space: nowrap;
    min-width: 45px;
    text-decoration: underline var(--turquiouse) 0px;
    text-underline-offset: 5px;
}

#pop-up-data-form > .pop-up-form-section > input[type="text"] {
    border: solid 1px var(--turquiouse);
    height: 22px;
    padding: 3px;
    min-width: 78%;
}
#pop-up-data-form > .pop-up-optin {
    width: 90%;
    max-width: 89%;
    justify-content: left;
    margin: 5px auto;
    /* max-width: 500px; */
    text-decoration: none;
    gap: 12px;
}
#pop-up-data-form > .pop-up-optin {
}
#pop-up-data-form > .pop-up-optin > label {
    font-size: 0.67rem;
    white-space: pre-wrap;
    width: 100%;
    max-width: 400px;
    text-decoration: none;
}
#pop-up-data-form > .pop-up-optin > label > a {
    color: var(--black);
    text-decoration: none;
}
#pop-up-data-form > .pop-up-optin > label > a:visited {
    color: var(--black);
    text-decoration: none;
}
#pop-up-data-button {
    width: 110px !important;
    padding: 4px 0px !important;
    /* margin-left: 25px; */
    margin-top: 5px;
    font-size: clamp(0.8rem, 0.667rem + 0.533vw, 1.2rem);
    background-color: var(--turquiouse);
    color: var(--black);
    border: none;
    box-shadow: none;
    font-family: "variableSerif";
    font-weight: 600;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

/* .pop-up::before{
    background-color: rgb(250, 0, 0);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: -1;
} */
.pop-up-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pop-up-title-container {
    display: flex;
    justify-content: flex-end;
    width: 90%;
    margin: auto;
    margin: 25px 0;
}
.pop-up-img-container {
    display: flex;
    justify-content: center;
}
.pop-up-close {
    height: 13px;
    width: 13px;
    opacity: 0.8;
    cursor: pointer;
}
.pop-up-title {
    color: var(--black);
    font-size: clamp(1.2rem, 0.986rem + 0.571vw, 1.5rem);
    text-align: center;
    margin-bottom: 2vh;
}
.pop-up-form-container {
    width: 80%;
    margin-bottom: 5vh;
}
.pop-up-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pop-up-form-section {
    display: flex;
    flex-direction: column;
    font-family: var(--fontMedium);
    gap: 5px;
    margin-bottom: 10px;
    width: 80%;
}
.pop-up-optin {
    flex-direction: row;
    justify-content: flex-start;
    width: 90%;
}
.pop-up-form-section > input[type="text"] {
    padding: 8px;
    outline: none;
    border: solid 1px var(--primario1);
    max-width: 400px;
}
.pop-up-optin > label {
    font-size: clamp(0.8rem, 0.729rem + 0.19vw, 0.9rem);
}
.popup-section-button {
    padding: 8px 30px;
    margin-top: 2vh;
}
.pop-up-thanks,
.pop-up-data-thanks {
    margin: 4vh auto;
    font-family: var(--variableSerif);
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
}
.pop-up-thanks {
    font-size: 3.4rem;
    width: 50%;
    text-align: left;
    margin-left: 40px;
}
input[type="checkbox"] {
    appearance: none;
    /* background-color: #fff; */
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 16px;
    height: 16px;
    border: 2px solid var(--turquiouse);
    /* border-radius: 0.15em; */
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    /* ...existing styles */
    display: grid;
    place-content: center;
}

input[type="checkbox"]::before {
    content: "";
    width: 17px;
    height: 17px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: var(--turquiouse);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

@media screen and (max-width: 750px) {
    #pop-up-data {
        .pop-up-title {
            margin-bottom: 15px;
        }
    }
}
