* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    user-select: none;
    -moz-user-select: none;
  }
  @font-face{
    font-family: Cgt;
    src:url(../Cgt.ttf) format('truetype');
  } 
  :focus {
    outline: none;
  }
    
  body {
    background-image: url("/assets/imagenes/fondo-3.jpg");
    background-repeat: no-repeat;

    background-size: cover; 
    display: flex;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
  }
  .cajalogin{
  margin-top: 3.6dvh;
    border: 2px solid black;
    border-radius: 10px;
    background-color: #656565; 
    padding: 1.2dvh 1.2dvw;
    max-width: 400px;
    display: flex;
    justify-content: center;
    box-shadow: 4px 4px 5px;        
  }
 
  .center{
    text-align: center;
    margin-bottom: 15px;
    margin-top: 2.5dvh;
  }
  form {
  padding: 20px; 
   }
  
   h1{
    text-align: center;
    margin-top: 3vh;
    font-family: Cgt; 
    font-size: 3.6dvh;
   }
  
  h2 {
    text-align: center;
    margin-top: 2.1dvh;
    color: black;
    font-family: Cgt;
    font-size: 3.5dvh;
  }
  .h2-box{
    color: white;
    margin-bottom: 12px;
    margin-top: 0px;
  }
  h3{
   color: white;
   font-family: Cgt;
   font-size: 2.4dvh;
   margin-bottom: -1.3dvh;
  }
  
  input {
    display: block;
    padding: 10px;

    width: 300px;
    height: 5dvh;
    margin: 30px 0;
    font-size: 2dvh;
    font-family: Cgt;
    border-radius: 30px;
    border: 2px solid black;
    box-shadow: 3px 3px 3px;
  }
  
  input[type="submit"] {
    background: white;
    border: 0;
    color: black;
    cursor: pointer;
    border-radius: 25px;
    font-family: Cgt;
    font-size: 2dvh !important;
    width: 203px;
    margin: 0 auto;
    transition: 0.4s;
  }
  select{
    width: 240px;
    text-align: center;
    font-size: 2.4dvh;
    border: 2px solid;
    height: 5dvh;
    border-radius: 20px;
    box-shadow: 3px 3px 3px;  
    margin-bottom: 1.5dvh;
    margin-left: 30px;
  }
  
  input[type="submit"]:hover {
  text-decoration: underline;
  transition: 0.4s;
    
  }
  
 
  input[type="submit"]:active {
    transform: scale(0.95);
  
  }
  select.colegis{
    text-align:center;
  width: 100%;
  height: 45px;

  }
  .boton1{
    display: flex;
    justify-content: center;
    align-items: center;
   width: 158px;
   text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    color: black;
    background-color: white;
    border-radius: 16px;
    border: 2px solid white;
    box-shadow: 4px 4px 4px black;
    height: 42px;
    overflow: hidden;
    margin: 0 auto;
  }
a{
  color: black;
  text-decoration: none;
}



.logos{
 position: absolute;
 bottom: 2dvh;
}
 .colaboracions{
  font-size: 2.3dvh;
  font-family: Cgt;
 }
.logo1 > img, .logo2 > img{
  width: 300px;
}

.button-registrar{
  width: 200px;
  background-color: white;
  border: 2px solid white;
  box-shadow: 2px 2px 2px black;
  border-radius: 25px;
  height: 5dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Cgt;
  margin: 0 auto;
font-size: 2dvh !important;
  margin-top: 2dvh;

}

span.logo-amcl{
  min-width: 160px; 
  height: 250px;
  background-image: url("/assets/imagenes/logo-amcl-lletres.png");
  background-size: contain;
  position: absolute;
  background-repeat: no-repeat;
  top: 2dvh;
  left: 4dvh;
}
#logo-flex{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5dvh;
  gap: 1dvw;
}
span.logo-departament{
  display: block;
background-image: url("/assets/imagenes/departament.png");
background-size: 246px 50px;
width: 246px;
height: 50px;

}
span.logo-ministerio{
   display: block;
background-image: url("/assets/imagenes/ministerio.png");
background-size: 297px 62px;
width: 297px;
height: 62px;
}
.error-login{
  color: white;
  font-size: 17px;
  font-family: Cgt;
  margin-top: -2dvh;
  margin-bottom: 1dvh;
}
@media (max-height:730px) {
  .cajalogin{
    margin-top: 1dvh;
  }
  h2{
    margin-top: 1dvh;
  }
  input{
    margin: 22px 0;
  }

}