/* ------------News letter----------- */

.newsletter{
    /* height: 100vh; */
    width: 100vw;
    display: flex;
    margin-top: 100px;
    margin-bottom: 100px;
    
  }
  
  .newsletter .column1{
    width: 18%;
  }
  
  .newsletter .column2{
    height: 100%; 
    display: flex;
    align-items: center;
    background-color: white;
    justify-content: center;
    position: relative;
    z-index: 10;
    width: 41%;
  }
  
  .containNewsLetter{
      margin-right: 170px;
      align-items: center;
  }
  .c-subscribe-box__wrapper h2{
  font-size: 2rem;
  line-height: 24px;
  color: var(--color-third);}
  
  
  
  /*------------contact------------*/
  
  .newsletter .column3{
    /* justify-content: center; */
    align-items: center;
    margin: auto;
  
  
  }
  
  .newsletter .column3 h2{
    font-size: 3rem;
    color: #000;
  }
  
  
  
  a:link {
    color: black ;
  }
  
  a:visited {
    color: black;
  }
  
  a:hover {
    color: #db0500;
  }
  .reseauxsociaux{
    margin-top: 50px;
  }
  
  .picto{
    border-radius: 10px;
    height: 50px;
    width: 50px;
  }
  .pictoRS{
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  /*----------- Newsletter ANIM -------------- */

  
  .rainbow {
    width: 100%;
    height: 100%;
    -webkit-animation: o-rotate-360 linear 8s infinite;
            animation: o-rotate-360 linear 8s infinite;
  }
  .rainbow span {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    transform: translate(-50%, -50%);
  }
  .rainbow span:after {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 100%;
  }
  .rainbow span:first-child {
    background: var(--color-first);
  }
  .rainbow span:first-child:after {
    background: var(--color-second);
  }
  .rainbow span:last-child {
    background: var(--color-third);
  }
  .rainbow span:last-child:after {
    background: var(--color-forth);
  }
  
  .c-subscribe-box {
    width: 350px;
    height: 400px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px -10px rgba(0, 64, 128, 0.2);
    border-radius: var(--border-radius-outer);
  }
  .c-subscribe-box__wrapper {
    width: calc(100% - var(--border-width));
    height: calc(100% - var(--border-width));
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 3rem 1rem 3rem;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-inner);
    border: #db0500 3px;
  }
  .c-subscribe-box__title {
    font-size: 1.6rem;
  }
  .c-subscribe-box__desc {
    font-size: 0.935rem;
    margin: 0.7rem auto 1.8rem;
    max-width: 240px;
  }
  .c-subscribe-box__form {
    margin-top: auto;
    
    
  }
  
  .c-form--accent input:hover, .c-form--accent input:active, .c-form--accent input:focus {
    border-color: var(--color-third);
    box-shadow: 0 0 0 3px rgba(232, 94, 152, 0.25);
    
  }
  .c-form--accent [type=submit] {
    background: var(--color-third);
    border:none;
    color: #fff;

  }
  
  @-webkit-keyframes o-rotate-360 {
    0% {
      transform: rotate(0);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes o-rotate-360 {
    0% {
      transform: rotate(0);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  [type=submit] {
    margin-bottom: 0;
    font-family: 'Baloo Paaji 2', cursive;
    font-weight: 600;
    letter-spacing: 0.015em;
    font-size: 1.1rem;
    color: white;
  }
  [type=submit]:active {
    transform: scale(0.97);
  }
  
  input {
    font-family:'Quicksand', sans-serif;  ;
    color: inherit;
    outline: none;
    transition: all 300ms ease;
    display: block;
    width: 80%;
    height: 40px;
   margin: auto;
   border-radius: 50px;
   margin-bottom: 16px;
  }
  

  
  .u-align-center {
    text-align: center;
  }
  .full-button{
    padding-left: 20px;
    padding-right: 20px;
    width: 80%;
    border-radius: 20px;
    font-family: 'Baloo Paaji 2', cursive;
  }
  button {
    margin: 0;
    border: none;
    background-color: #db0500;
    border: #db0500 1px solid;
    color: white;
    text-align: center;
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    transition: 300ms;
  }
  button:hover{
    background-color: white;
    border: #db0500 1px solid;
    color: #db0500;
  }



  @media screen and (max-width : 1024px){
  /*newsletter*/
  .newsletter{
    flex-direction: column;
    align-items: center;
    height: auto;
    margin-top: 100px;

  
  }
  .newsletter .column2{
    height: 50%;
  }
  .newsletter .column3{
    margin-top: 60px;
    margin-bottom: 60px;
  }
  .contact{
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .reseauxsociaux{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
    width: 70%;
  }
  .main_popup{
    width: 50vw !important;
  }
}


@media screen and (max-width: 768px)
{
/*newsletter*/

.newsletter{
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-top: 100px;
  margin-bottom: 30px;

}
.newsletter .column2{
  width: 100%;
  padding: 0;
}
.newsletter .column3{
  padding-bottom: 20%;

  display: flex;
  flex-direction: column;
}
.newsletter .column3 h2{
  font-size: 2rem;
}
.reseauxsociaux{
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.c-subscribe-box {
  width: 280px;
  height: 400px;
}
.main_popup{
  width: 80vw !important;
}
}

.pop_up{
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 100;
}
.main_popup{
  height: fit-content;
  width: 30vw;
  background-color: white;
  border-radius: 50px;
  padding: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.image_pop_up{
  background-image: url('/asset/img/png/pop_up.png'); 
  background-position: center; 
  background-size: cover; 
  height: 150px; 
  width: 80%;
}
.image_pop_up_error{
  background-image: url('/asset/img/png/Pop_up_close.png'); 
  background-position: center; 
  background-size: cover; 
  height: 150px; 
  width: 80%;
}
.main_popup p{
  font-size: 1rem;
  margin-top: 16px;
  margin-bottom: 16px;
}
.close{
  transform: translateX(-110vw);
}
.scale-in-center {
	-webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
 @-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
.shake-horizontal {
	-webkit-animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
	        animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}
 @-webkit-keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-10px);
            transform: translateX(-10px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(10px);
            transform: translateX(10px);
  }
  80% {
    -webkit-transform: translateX(8px);
            transform: translateX(8px);
  }
  90% {
    -webkit-transform: translateX(-8px);
            transform: translateX(-8px);
  }
}
@keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-10px);
            transform: translateX(-10px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(10px);
            transform: translateX(10px);
  }
  80% {
    -webkit-transform: translateX(8px);
            transform: translateX(8px);
  }
  90% {
    -webkit-transform: translateX(-8px);
            transform: translateX(-8px);
  }
}


