
 .modal{
   display: none;
   z-index: 999;
  
 }
 /* The Close Button */
  .close {
    color: #aaa;
   /* float: right;*/
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top:-35px;
    right:-15px;
    
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  /*@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');*/
*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
/*  font-family: 'Quicksand', sans-serif;*/
}
/*body 
{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #000;
}*/
section.modal 
{
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  overflow: auto;
  
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
section.modal::before 
{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
/*  background: linear-gradient(#fff,#4DAF27,#fff);
  animation: animate 5s linear infinite;*/
}
@keyframes animate 
{
  0%
  {
    transform: translateY(-100%);
  }
  100%
  {
    transform: translateY(100%);
  }
}
section.modal  span 
{
  position: relative;
  display: block;
  width: calc(6.25vw - 2px);
  height: calc(6.25vw - 2px);
  background: #fff;
  z-index: 2;
  transition: 1.5s;
}
section.modal  span:hover 
{
  background: #4DAF27;
  transition: 0s;
}

/*------------------formulaire-------------------*/
section.modal  .signin
{
  position: absolute;
  width: 400px;
  background: #fff;  
  z-index: 1000;
  display: flex;
  justify-content: center;
 align-items: center;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0,0,0,9);
}
section.modal  .signin .content 
{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
 /* align-items: center;*/
  flex-direction: column;
  gap: 40px;
}
section.modal  .signin .content h2 
{
  font-size: 2em;
  color: #4DAF27;
  text-transform: uppercase;
}
section.modal  .signin .content .form 
{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
section.modal  .signin .content .form .inputBox
{
  position: relative;
  width: 100%;
}
section.modal  .signin .content .form .inputBox input 
{
  position: relative;
  width: 100%;
  background: #f5f5f5;
  border: none;
  outline: none;
  padding: 25px 10px 7.5px;
  border-radius: 4px;
  color: #000;
  font-weight: 500;
  font-size: 1em;
}
section.modal  .signin .content .form .inputBox i 
{
  position: absolute;
  left: 0;
  padding: 15px 10px;
  font-style: normal;
  color: #181818;
  transition: 0.5s;
  pointer-events: none;
}
.signin .content .form .inputBox input:focus ~ i,
.signin .content .form .inputBox input:valid ~ i
{
  transform: translateY(-7.5px);
  font-size: 0.8em;
  color: #000;
}
.signin .content .form .links 
{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.remember-me{
  margin-right: 5px;
}
.remember-me:checked{
  color: red;
}
.signin .content .form .links a 
{
  color: #000;
  text-decoration: none;
}
.signin .content .form .links a:nth-child(2)
{
  color: #4DAF27;
  font-weight: 600;
}
.signin .content .form .inputBox input[type="submit"]
{
  padding: 15px !important;
  background: rgb(77 175 39 / var(--tw-bg-opacity)) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.35em;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 50px;


}
.signin .content .form .inputBox input[type="submit"]:hover
{
  
  background: rgb(0 79 45 / var(--tw-bg-opacity)) !important;


}
.inputBox{
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
input[type="submit"]:active
{
  opacity: 0.6;
}
/*=================================================*/
@media (max-width: 900px)
{
  section.modal  span 
  {
    width: calc(10vw - 2px);
    height: calc(10vw - 2px);
  }
}
@media (max-width: 600px)
{
  section.modal  span 
  {
    width: calc(20vw - 2px);
    height: calc(20vw - 2px);
  }
}