

.modal-field-error-container, .modal-field-container {
    display: none;
}

.modal-container {
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    width: 100vw;
    height: 100vh;
    z-index: 1002;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-details-container {
    position: relative;
    padding: 106px 70px 106px 70px;
    max-width: 809px;
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
}

.modal-image {
    padding-bottom: 70px;
}

.modal-title {
    padding-bottom: 34px;
    color: #2D2D2D;
    font-size: 43px;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: bold;
}

.modal-text {
    padding-bottom: 26px;
    text-align: center;
    color: #8E8E8E;
    font-size: 20px;
}

.modal-slogan {
    text-align: center;
    color: #2B70A6;
    font-family: 'Red Hat Display', sans-serif;
}

.close-error-modal-button, .close-modal-button {
    cursor: pointer;
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    background-image: url('/img/close-icon.svg');
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
}

@media (max-width: 1024px) {
    .modal-details-container {
        padding: 47px 26px;
        max-width: 350px;
    }

    .modal-image {
        padding-bottom: 38px;
        width: 80px;
        height: 80px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-slogan, .modal-text, .error-modal-text {
        font-size: 14px;
    }
}
