
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


:root{

    --color-primary: #445118;
    --color-text: gray;
    --card-shadow:8px 11px 19px -8px rgba(18, 3, 46, 0); 
    --transition: all 300ms ease;
    --border-radius-label: 6px;

}
  

*{
    padding: 0;
    margin: 0;
}

body{
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    width: 100vw;
    text-decoration: none;
    appearance: none;
    box-sizing: border-box;
}

input{
   height: 50px;

   position: relative;
}

label{
    white-space: nowrap;
}

input[type="button"]{
    font-family: 'Poppins', sans-serif;
    border-radius: 6px;
    padding: 5px;
    width: 125px;
    height: 45px;
    background-color: hsl(0, 0%, 98%); 
    border: solid #9b9b9b 1.9px;
    transition: var(--transition);

}

input[type="button"]:hover{
    background-color: hsl(0, 0%, 90%); 
    transform: translate(0px,5px);
    -webkit-transform: translate(0px,5px);
    -moz-transform:translate(0px,5px);
    cursor: pointer;
}

input[type="checkbox"]{
    height: 20px;

}

input[type="text"], input[type="password"] {
    font-family: 'Poppins', sans-serif;
    border: none;
    text-indent: 10px;
}

input[type="text"], input[type="password"]:focus {
    outline: 1px solid #006414;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none;
}

input::placeholder{
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #006414;
}

.container{

    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
}

.grid-divider {
    border-left: 1.8px dashed #006400;
}

.login{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    background-color:hsl(200, 60%, 99%);
}


.login__container{

    width: 45%;
    display: grid;
    grid-template-rows: auto auto;
    background-color: #5ccb5f;
    border-radius: 10px;
    gap: 1.2rem;
    padding-bottom: 22px;
    box-shadow: 8px 11px 19px -8px rgba(217,217,217,0); 
}

.login .top{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 0px 20px 0px;
}

.login .top h1{
    font-size: 1.8rem;
    line-height: 1.2;

}

.login__container form > .remenber-password{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;

}

.login__container form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.login__container form #warning{
    text-align: center;
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.label-sector{
   
    border-radius: var(--border-radius-label);
    font-size: 14px;
  }

  .rotate{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-label);

  }

  .label-sector .label-s1{
    background-color: #7052ff;

  }

  .label-sector .label-s2{
    background-color: #ff0000;
    transform: rotate(0deg);
  }

  .label-sector .label-s3{
    background-color: #1b003a;
   
  }

  .label-sector .label-s4{
    background-color: #e5097f;
  }

  .label-sector .label-s5{
    background-color: #ff9800;

  }

  .form input[type="text"]{
    width: 80%;
    border-radius: 5px;
  }

  .form .container-password{
    position: relative;
    width: 80%;
  }

  .form .container-password input[type="text"],
  .form .container-password input[type="password"]{

    width: 100%;
    border-radius: 5px;
  }

  .form .container-password span{

    position: absolute;
    color:var(--color-primary);
    font-size: 20px;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }


  .form__message{
    visibility: hidden;
    opacity: 0;
    text-align: center;
  }

  .form__message--active{
    visibility: visible;
    opacity: 1;
    
  }



  /* Estilos para pantallas medianas */
  @media (max-height: 800px) {

    .login__container{

        width: 50%;
    }

  }

  @media (max-height: 600px) {

    .login__container{

        width: 60%;
    }

  }
  
  /* Estilos para pantallas pequeñas */
  @media (max-width: 768px) {


    .container{
        grid-template-columns: 1fr;
        grid-template-rows: 50% 50%;
        gap: 1rem;
   
    } 


    .login__logo > img{
        display: none;
    }


    .login__container{
        gap: 0rem;
        width: 80%;
        padding-bottom: 0px;
    }


    .login__container form{
        gap: 1.5rem;
    }

    input[type="text"],
    input[type="password"]{

      height: 40px;
    }


  }