@font-face {
    font-family: 'Modal-Gilroy-Bold';
    src: url(https://2869891.fs1.hubspotusercontent-na1.net/hubfs/2869891/Gilroy-Bold.ttf);
}

.modal_button {
    all: unset;
    display: grid;
    place-items: center;
    min-height: 37px;
    width: 100%;
    max-width: 325px;
    padding: 8px 24px;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 140%;
    cursor: pointer;
    border: 2px solid transparent;
    margin: 0 auto;
}

.modal_button > p {
    all: unset;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 140%;
    font-family: 'Montserrat', sans-serif!important;
}

.modal {
    justify-content: center;
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    /*padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background: rgb(0,0,0); /* Fallback color */
    background: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal * {
    font-family: 'Montserrat', sans-serif!important;
    line-height: 0;
}

.modal_card {
    background: #f9f9f9;
    color: black;
    margin: 0 auto;
    width: 100%;
    height: fit-content;
    max-width: 478px;
    padding: 60px 26px 32px;
    border-radius: 8px;
    position: relative;
}

.modal .close {
    position: absolute;
    top: 20px;
    right: 32px;
}

.modal .close :is(svg:hover, svg:focus) {
    fill: black;
    cursor: pointer;
}

.modal .card {
    font-size: 0; /* eliminates blank space between picture and color line 🤷‍♂️*/
    margin-bottom: 17px;
}

.modal .card img {
    width: 100%;
    height: fit-content;
    object-fit: contain;
    border-radius: 8px 8px 0 0;
    line-height: unset;
}

.modal .card .banner__desktop {
    display: none;
}

.modal .modal__card__data__wrapper {
    border-radius: 0px 0px 8px 8px;
    padding: 28px 24px;
    background: white;
    border-top: solid 10px transparent;
}

.modal .big__titles {
    font-size: 48px;
}

.modal .thin__texts {
    font-size: 26px;
    line-height: 120%;
    margin: 0;
}

.modal_content span > h3 {
    display: none;
}

.modal input, .hs-input {
    width: 100%!important;
    min-height: 48px;
    background: white;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 12px 24px;
    box-sizing: border-box;
    font-size: 17px;
    font-weight: 500;
    line-height: 140%;
    margin-top:9px;
    margin-bottom:12px!important;
    list-style: none;
}

.modal .input, .hs-fieldtype-intl-phone > select,
.hs-fieldtype-intl-phone > input {
    margin: 0!important;
}

.input > .hs-fieldtype-intl-phone.hs-input select {
    width: 40%!important;
}

.input > .hs-fieldtype-intl-phone.hs-input input {
    width: 58%!important;
}

.modal fieldset div {
    margin-bottom: 0;
}

.modal fieldset input,
.modal fieldset textarea,
.modal fieldset select {
    min-height: 50px;
    color: black;
}

.modal form label {
    margin: 0;
}

.modal form label span {
    color: black;
    font-family: 'Modal-Gilroy-Bold'!important;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
}

.modal input.hs-button.primary.large {
    width: 100%;
    padding: 12px 24px;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    line-height: 140%;
    cursor: pointer;
    margin: 0!important;
}

.modal ul {
    list-style: none;
}

.hs-error-msg {
    color: red;
    display: block;
    margin-bottom: 12px;
}

@media (min-width: 480px) {
    .modal fieldset {
        display: flex;
        gap: 12px;
        max-width: unset!important;
    }

    .modal fieldset .hs_email {
        width: 100%;
    }
}

@media (min-width: 768px){
    .modal_card {
        margin: 0;
        padding: 64px 32px 32px;
        max-width: 600px;
        box-sizing: border-box;
    }

    .modal_content {
        max-width: 948px;
        margin: 0;
    }
}

@media (min-width: 1100px) {
    .modal_button {
        min-height: 55px;
        width: 404px;
        max-width: 404px;
        padding: 8px 20px;
        font-size: 20px;
    }

    .modal_button > p {
        font-size: 20px;
    }

    .modal_card {
        max-width: 899px;
    }

    .modal .card .banner__mobile {
        display: none;
    }

    .modal .card .banner__desktop {
        display: block;
    }
}