*{
    margin: 0;
    padding: 0;
}
.logo{
  padding-top: 8%;
  padding-left: 25%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
  font-family: "Quicksand", serif;
  font-optical-sizing: auto;
    font-style: normal;
    background-image: url(../obrazky/Exterier/7.jpg);
    background-size: cover;
    backdrop-filter: blur(10px);
}
.login{  
   display: block;
   margin: auto;
   border: 1px solid black;   
   width: 400px;
   height: 460px;
   color: white;
   border-radius: 20px;
   background-color: black;
   overflow: hidden;
}
form{
  display: block;
  box-sizing: border-box;
  padding: 40px;
  margin-top: 8%;
  width: 100%;
  height: 100%;
  backdrop-filter: brightness(40%);
  flex-direction: column;
  display: flex;
  gap: 5px;
}
h1{
  font-weight: normal;
  font-size: 24px;
  text-shadow: 0px 0px 2px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}
label{
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    padding-left: 10px;
}
input{
  background: rgba(255, 255, 255, 0.3);
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  padding: 0px 20px;
  border: none;
  margin-bottom: 20px;
  color: white;
}
::placeholder{
  color: white;
}
input:hover{
  border: 1px solid rgb(45, 231, 48);
}
.error{
     font-size: 0.7em;
     color: red;
     margin-bottom: 20px;
}
button{
  background: rgb(45, 231, 48);
  height: 40px;
  line-height: 40px;
  margin-top: 20px;
}
button:hover{
  transform: scale(1.1);
  box-shadow: 0px 0px 10px rgba(0,255,0, 1);
  border-radius: 8px;
  transition: 1s; 
}
a{
    color: limegreen;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
    color: green;
}
.message{
     font-size: 0.7em;
     color: white;
     margin-bottom: 20px;
}
.success{
     font-size: 0.9em;
     color: limegreen;
     margin-bottom: 5px;
}
@media (max-width: 1024px) {
   .login {
     width: 90%;
     max-width: 400px;
     padding: 20px;
   }
   .logo {
     margin-left: auto;
     margin-right: auto;
   }
   h1 {
     font-size: 20px;
     margin-bottom: 10px;
   }
   label {
     font-size: 8px;
   }
   input, button {
     height: 35px;
     font-size: 14px;
   }
   input::placeholder {
     font-size: 14px;
   }
   button {
     margin-top: 15px;
   }
}
@media (max-width: 480px) {
   .login {
     width: 90%;
     max-width: 350px;
     padding: 15px;
   }
   h1 {
     font-size: 18px;
     margin-bottom: 10px;
   }
   label {
     font-size: 8px;
   }
   input, button {
     height: 35px;
     font-size: 14px;
   }
   button {
     margin-top: 15px;
   }
}
