@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
*{
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
}

body{
    background-image: url('../res/backg.svg');
    background-size: cover;
    background-position: center;
    font-family: Poppins;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

a{
    text-decoration: none;
}

form{
    width: 100%;
    max-width: 300px;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 0 10px #fff2; 
}
form input{
    width: 100%;
    height: 40px;
    margin: 5px 0;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Poppins;
}
form label{
    font-size: .9em;
    color: #333;
    font-weight: 500;
    margin-bottom: -10px;
}
#login-form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

button{
    font-family: Poppins;
    width: 100%;
    height: 40px;
    margin: 10px 0;
    background-color: #52537F;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover{
    background-color: #3d3f63;
}

.logo{
    width: 80px;
    margin-bottom: 40px;
}

#login-message{
    color: #fff;
    font-size: 14px;
    margin-top: 25px;
    width: 100%;
    background: #D72F59;
    border-radius: 5px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    cursor: pointer;
}
#login-message.active {
    opacity: 1;
    pointer-events: all;
}



.img{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: .2;
  object-position: 0 -100px;

}

.credit{
  position: fixed;
  bottom: 10px;
  right: 10px;
  color: #fffa;
  font-size: 12px;
}
.credit a{
  color: #fffa;
  /* underline dots */
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  text-decoration-color: #fffa;
  
  

}

/* media query */
@media screen and (max-width: 768px){
  body{
    height: 100dvh;
    font-size: 1.1em;
  }
  .form{
    margin-top: -110px;
  }
  form{
    width: 100%;
    padding: 20px;
    margin-top: 40px;
  }
  form input{
    padding: 20px 10px;
    font-size: 1em;
  }
  button{
    height: 50px;
    font-size: .9em;
  }
  .logo{
    width: 60px;
    margin-bottom: 20px;
  }
  #login-message{
    font-size: 12px;
  }
  .credit{
    opacity: 0;
    font-size: 10px;
  }
}