/* SECTION */
.newsletter-section {
    background: #10213FFF;
    padding: 50px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Container */
.newsletter-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
}

.newsletter-content {
  max-width: 650px;
}

/* Title */
.newsletter-content h2 {
  font-size: 72px;
  line-height: 0.95;
  margin-bottom: 25px;
  font-weight: 900;
  text-transform: uppercase;
  color: white;
}

.newsletter-content h2 span {
  color: #0c57c7;
}

/* Text */
.newsletter-content p {
  font-size: 24px;
  margin-bottom: 5%;
  color: #fff;
}

/* Form */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sizebuttun{
  width: 30%;
}

.cgu{text-decoration: underline;}

/* Input */
.newsletter-form input[type="email"] {
width: 100%;
    height: 50px;
    border: none;
    border-radius: 8px;
    padding: 1%;
    font-size: 22px;
    background: #efefef;
    outline: none;
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: #fff;
}

.checkbox input {
  width: 22px;
  height: 22px;
  accent-color: #0c57c7;
}

/* Button */


.newsletter-form button:hover {
  transform: translateY(-3px);
}

.validmessage{
    color: #25E62F!important;
    font-weight: bold;
}

.errormessage{
    color: #fe1000!important;
    font-weight: bold;}

/* ========================================= */
/* DESKTOP LARGE 2048 */
/* ========================================= */

@media screen and (min-width:1800px){

    .newsletter-container{
        max-width:1600px;
    }

    .newsletter-content{
        max-width:900px;
    }

    .newsletter-content h2{
        font-size:96px;
    }

    .newsletter-content p{
        font-size:32px;
    }

    .newsletter-form input[type="email"]{
        height:70px;
        font-size:28px;
    }

    .checkbox{
        font-size:24px;
    }

    .sizebuttun{
        width:25%;
    }
}

/* ========================================= */
/* TABLETTE */
/* ========================================= */

@media screen and (max-width:1024px){

    .newsletter-section{
        padding:60px 30px;
    }

    .newsletter-container{
        width:100%;
    }

    .newsletter-content{
        max-width:100%;
    }

    .newsletter-content h2{
        font-size:58px;
        line-height:1;
    }

    .newsletter-content p{
        font-size:22px;
    }

    .newsletter-form{
        gap:20px;
    }

    .newsletter-form input[type="email"]{
        height:60px;
        font-size:20px;
        padding:0 20px;
    }

    .checkbox{
        font-size:16px;
        align-items:flex-start;
    }

    .sizebuttun{
        width:50%;
    }
}

/* ========================================= */
/* MOBILE */
/* ========================================= */

@media screen and (max-width:768px){

    .newsletter-section{
        padding:50px 20px;
    }

    .newsletter-container{
        width:100%;
    }

    .newsletter-content{
        width:100%;
        max-width:100%;
    }

    .newsletter-content h2{
        font-size:42px;
        line-height:1;
        margin-bottom:20px;
    }

    .newsletter-content p{
        font-size:18px;
        line-height:1.5;
        margin-bottom:25px;
    }

    .newsletter-form{
        width:100%;
        gap:18px;
    }

    .newsletter-form input[type="email"]{
        width:100%;
        height:56px;
        font-size:17px;
        padding:0 16px;
    }

    .checkbox{
        font-size:15px;
        line-height:1.4;
        gap:10px;
        align-items:flex-start;
    }

    .checkbox input{
        width:18px;
        height:18px;
        margin-top:2px;
    }

    .sizebuttun{
        width:100%;
    }
}

/* ========================================= */
/* PETIT MOBILE */
/* ========================================= */

@media screen and (max-width:480px){

    .newsletter-content h2{
        font-size:32px;
    }

    .newsletter-content p{
        font-size:16px;
    }

    .newsletter-form input[type="email"]{
        height:52px;
        font-size:16px;
    }

    .checkbox{
        font-size:14px;
    }
}

/* ========================================= */
/* FULL HD 1920x1080 */
/* ========================================= */

@media screen and (min-width:1600px) and (max-width:2047px){

    .newsletter-container{
        max-width:1500px;
    }

    .newsletter-content{
        max-width:850px;
    }

    .newsletter-content h2{
        font-size:84px;
        line-height:0.95;
    }

    .newsletter-content p{
        font-size:28px;
        margin-bottom:40px;
    }

    .newsletter-form{
        gap:30px;
    }

    .newsletter-form input[type="email"]{
        height:70px;
        font-size:24px;
        padding:0 24px;
    }

    .checkbox{
        font-size:20px;
    }

    .checkbox input{
        width:24px;
        height:24px;
    }

    .sizebuttun{
        width:320px;
    }
}