
body{
    
    background-image: url('../slider/login.png');
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
   
}

  
 
   
  .header {
    top:-20px;
     max-width: 400px;
     width: 100%;
     position: relative;
     background-clip: border-box;
     background-color: #e5251e;
     background-image: linear-gradient(to bottom,#920909,#c20c06);
     margin: 4px 2px;
     border-radius: 0.75rem;
     overflow: hidden;
     color: #fff;
     box-shadow: 0 0 #0000,0 0 #0000,0 0 #0000,0 0 #0000,rgba(33,150,243,.4);
     height: 7rem;
     letter-spacing: 0;
     font-weight: 600;
     font-size: 1.9rem;
     font-family: Roboto, sans-serif;
     display: flex;
     align-items: center;
     justify-content: center;
   }
form {
 margin-left: -40px;
   max-width: 280px;
   width:100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: white;
    padding: 2.5em;
    border-radius: 25px;
   
    box-shadow: rgba(0, 0, 0, 0.822) 1px 2px 2px;
  }
  
  .field {
     
    height: 50px;
    max-width: 320px;
    width: 100%;
    display: flex;
    position: relative;
  
  }
  
  .field:nth-child(2) {
      
    margin-top: 20px;
  }
  
  .field .input {
   
    height: 100%;
    width: 100%;
    padding-left: 45px;
    outline: none;
    border: none;
    font-size:20px;
    font-weight: 400;
    background: #dde1e7;
    color: #030303;
    border-radius: 25px;
    box-shadow: inset 2px 2px 5px #BABECC,
                inset -5px -5px 10px #ffffff73;
  }
  
  .field .input:focus {
    box-shadow: inset 1px 1px 2px #BABECC,
                inset -1px -1px 2px #86858573;
  }
  
  .field .span {
    position: absolute;
    color: #595959;
    width: 50px;
    line-height: 55px;
  }
  
  .field .label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 45px;
    pointer-events: none;
    color: #666666;
  }
  
  .field .input:valid ~ label {
    opacity: 0;
  }
  
  

  
  button {
    top:20px;
    position: relative;
    max-width: 270px;
    width: 100%;
    border: 1px solid #f3eeee;
    background-color: #b90707;
    height: 60px;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    font-family: Roboto, sans-serif;
    letter-spacing: 1px;
    border-radius: 30px;
    margin: 10px;
    cursor: pointer;
    overflow: hidden;
    
  }
  button::after {
    margin: 20px 10px;
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.253);
    height: 100%;
    max-width: 150px;
    width: 100%;
    top: 0;
    left: -200px;
    border-bottom-right-radius: 100px;
    border-top-left-radius: 50px;
    filter: blur(10px);
    transition-duration: .5s;
    box-shadow: 2px 2px 5px #BABECC,
    -5px -5px 10px #111111c7;
   
}
/*antes*/
button:before {
    background-color: initial;
    background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
    border-radius: 125px;
    content: "";
    height: 50%;
    left: 4%;
    opacity: .5;
    position: absolute;
    top: 0;
    transition: all .3s;
    width: 92%;
}
button:hover {
    box-shadow: rgba(0, 0, 0, 0.445) 0 3px 15px inset, rgba(0, 0, 0, .1) 0 3px 5px, rgba(0, 0, 0, .1) 0 10px 13px;
    transform: scale(1.05);
}
button:hover::after {
    transform: translateX(600px);
    transition-duration: .5s;
}

@media (max-width: 768px) {
  body{
    background-size: cover;
    text-align: center  ;
    
    background-image: url('../slider/loginresponsive.png');
  }
  form {
    top:-40px;
    left: -9px;
    position: relative;
    width: 100%;
    max-width: 768px;
    height: 100%;
    gap: 18px;
  }
  .field {
     
    height: 58px;
  }
  button {
    height: 70px; 
    left: -10px;
  }
  
}
 
  
