.newsletter-form {
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--background-color);
    height: 100%;
    width: 100%;
    display: flex;
}

.newsletter-form .image-container {
    width: 35%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.newsletter-form .image-container img {
    width: auto;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.newsletter-form .form-container {
    padding: var(--padding);
    width: calc( 65% - var(--padding) * 2 );
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.newsletter-form .form-container * {
    color: var(--texts-color);
}
.newsletter-form .form-container h2 {
    margin-bottom: var(--margin);
    font-weight: 200;
    font-size: calc( var(--font-size-xxl) * 2 );
    line-height: 1;
    text-align: center;
}
.newsletter-form .form-container form {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 10px;
}
.newsletter-form .form-container input,
.newsletter-form .form-container button {
    padding: 5px;
    background: transparent;
    outline: none;
    border: none;
}
.newsletter-form .form-container div {
    width: fit-content;
}
.newsletter-form .form-container div span {
    display: block;
    margin-bottom: -36px;
    visibility: hidden;
    pointer-events: none;
}
.newsletter-form .form-container div span,
.newsletter-form .form-container input {
    font-size: var(--font-size-l);
    font-family: var(--font-family);
    font-weight: 400;
    padding-inline: 20px;
}
.newsletter-form .form-container input {
    width: calc( 100% - 40px );
}
.newsletter-form .form-container button {
    background: black;
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius);
}
.newsletter-form .form-container button svg {
    width: 100%;
    height: 100%;
}
.newsletter-form .form-container button svg path {
    fill: white !important;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    
    .newsletter-form .form-container h2 {
        font-size: calc( var(--font-size-l) * 2 );
    }
    
    .newsletter-form .form-container div span, .newsletter-form .form-container input {
        font-size: var(--font-size-m);
    }
    
    .newsletter-form .form-container div span {
        margin-bottom: -26px;
    }
    
}

@media (max-width: 768px) {
    
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form .image-container img {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        height: auto;
        width: 100%;
    }
    .newsletter-form > div {
        width: 100% !important;
    }
    .newsletter-form .form-container {
        width: calc( 100% - var(--padding) * 2 ) !important;
    }
    .newsletter-form .form-container h2 {
        font-size: calc( var(--font-size-xl) * 2 );
        color: white;
        position: absolute;
        padding: var(--padding);
        top: 0;
        left: 0;
        width: calc( 100% - var(--padding) * 2 );
        text-align: center;
    }

}