
.newsletter_section {
    margin: 40px 0 0 0;
    max-width: 100svw;
    width: 100%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.newsletter_section__container {
    max-width: 1280px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .newsletter_section__container {
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .newsletter_section__container {
        max-width: 640px;
    }
}

@media (max-width: 1024px) {
    .newsletter_section__container {
        max-width: 768px;
        flex-direction: column;
    }

    .newsletter_section .newsletter_section__content__picto img {
        display: none;
    }
}

@media (max-width: 1280px) {
    .newsletter_section__container {
        max-width: 1024px;
    }
}

@media (max-width: 1536px) {
    .newsletter_section__container {
        max-width: 1536px;
    }
}

.newsletter_section .newsletter_section__content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    width: 100%;
    text-align: start;
    color: #fff;
    gap: 30px;
}

.newsletter_section .newsletter_section__content__picto img {
    height: 110px;
}

.newsletter_section .newsletter_section__content__text h4 {
    font-size: 28px;
}

.newsletter_section .newsletter_section__content__text p {
    font-size: 16px;
    line-height: 24px;
}

.newsletter {
    background-color: #fff;
    padding: 5px 5px 5px 5px;
    border: 1px solid transparent;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    width: 500px;
    max-height: 51px;
}

@media (max-width: 768px) {
    .newsletter {
        width: auto;
    }
}

.newsletter__input {
    background-color: #fff;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    outline: none;
    font-size: var(--btn-font-size);
    margin-right: 5px;
    transition: all 0.3s linear;
}

.newsletter__submit {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 38px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s linear;
    color: #fff;
    font-size: var(--btn-font-size);
    cursor: pointer;
    text-align: center;
}

.newsletter__submit.message {
    width: 100%;
    display: inline-block;
    padding: 0px;
    cursor: default;
}

.newsletter__submit.message:hover {
    box-shadow: none;
    color: white;
}

.newsletter__submit.message.success {
    background-color: var(--green);
    border-color: var(--dark-green);
}

.newsletter__submit.message.error {
    background-color: var(--red);
    border-color: var(--dark-red);
}

.newsletter__submit:hover {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
    background-color: #fff;
    color: var(--primary-color);
}

.d-none {
    display: none;
}

.loader {
    width: 16px;
    height: 16px;
    border: 3px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}