.newsletter-section {
    background-color: var(--blue2);
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 100%;
}

.newsletter-section-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
}

.newsletter-section-wrapper > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--black1);
}

#omnisend-wrapper {
    width: 600px;
}

.newsletter-section-wrapper input {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--greyBorder);
    transition: 0.3s ease all;
    max-width: 460px;
    width: 460px;
}

.newsletter-section-wrapper input.process-success, 
.newsletter-section-wrapper input.process-success:not(:placeholder-shown) {
    border: 1px solid green;
    transition: 0.3s ease all;
}

.newsletter-section-wrapper input.process-fail,
.newsletter-section-wrapper input.process-fail:not(:placeholder-shown) {
    border: 1px solid var(--red1);
    transition: 0.3s ease all;
}

.newsletter-section-wrapper input::placeholder {
    color: var(--grey2);
    opacity: 1;
}
  
.newsletter-section-wrapper input::-ms-input-placeholder {
    color: var(--grey2);
}

.newsletter-section-wrapper input:hover,
.newsletter-section-wrapper input:focus,
.newsletter-section-wrapper input:not(:placeholder-shown),
.newsletter-section-wrapper input.process-success:hover,
.newsletter-section-wrapper input.process-success:focus,
.newsletter-section-wrapper input.process-fail:hover,
.newsletter-section-wrapper input.process-fail:focus {
    border: 1px solid var(--blue1);
    transition: 0.3s ease all;
}

.newsletter-section-wrapper button {
    padding: 14px 24px;
    background-color: var(--blue1);
    border: none;
    color: var(--white1);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.5s ease all;
}

.newsletter-section-wrapper button:hover {
    background-color: var(--hoverBlue);
    transition: 0.5s ease all;
}

.newsletter-input-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-input-container.loading button{
    color: transparent;
    caret-color: transparent;
    pointer-events: none;
    background-color: var(--hoverBlue);
}

.newsletter-input-container.loading .spinner-loader {
    display: block;
}

@media screen and (max-width:1200px) {

    .newsletter-section-wrapper input {
        width: 300px;
    }
}

@media screen and (max-width:1000px) {

    .newsletter-section-wrapper input {
        width: 250px;
    }
}

@media screen and (max-width:900px) {

    .newsletter-section-wrapper {
        flex-direction: column;
        gap: 24px;
        justify-content: unset;
    }

    .newsletter-section-wrapper > div:last-child > div {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-section-wrapper input {
        max-width: unset;
        width: 100%;
    }

    .newsletter-section-wrapper p, .newsletter-section-wrapper h4 {
        text-align: center;
    }

    .newsletter-section-wrapper button {
        padding-top: 13px;
        width: 100%;
    }

    .newsletter-section-wrapper .h4 {
        font-size: 20px;
    }

    #omnisend-wrapper {
        width: unset;
    }
}