@property --main-color{
    syntax: "<color>";
    inherits: false;
    initial-value: #0f1012;
}
@property --border-color{
    syntax: "<color>";
    inherits: false;
    initial-value: #C89A4B;
}

@font-face {
    font-family: Plus Jakarta Sans;
    src: url(../fonts/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf);
}
@media (max-width: 768px) {
  html{
    width: 100% !important;
  } 
  #login-box{
    width: 90% !important;
  }
  #reset-box{
    width: 80% !important;
    height: 300px !important;
    
  }
  .top-header-flex-container{
    width: 80%;
  }

}
html, body {
   margin:0;
   padding:0;
   height:100%;
   /* background-color: var(--main-color); */
   background: radial-gradient(circle at top,
        #202020,
        #111111);;
   color: white;
   font-family: Plus Jakarta Sans, sans-serif;
   
}

  .top-header-flex-container{
    color: white;
    padding: 10px;
    display: flex;
    justify-content:space-around; /* items v řádku */
    align-items: center; /* items v cross-axis - tady vertikálně */
    margin-bottom: 20px;
  }
  .top-header-left{
    flex: 1;
  }
  .top-header-center {
    flex: auto
  }

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}


#login-container, #reset-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 500px;
    margin-top: 50px;
    padding: 40px;
    /* background-color: #171717; */
    background:
    radial-gradient(circle at top,
        #202020,
        #111111);
    border-radius: 14px;
    border: 2px solid var(--border-color);
    
}
#login-box, #reset-box{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 500px;
}
#forgot-password{
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 50px;
    align-self: end;
    text-decoration: none;
    cursor: pointer;
    color: white;
}
a{
    text-decoration: none;
    color: white;
}
a:visited{
    color: white;
}
#forgot-password:hover{
    text-decoration: underline;
}

#error-message{
    color: red;
}

input{
    background: #222;
    color: white;
    border:1px solid #444;
    height:52px;
    padding:0 16px;
    border-radius:8px;
    font-size:16px;
    margin: 5px 0 5px 0;
}
input:focus{
    border-color:#C89A4B;
    outline:none;
}

button{
    width: 15rem;
    height: 3rem;
    margin-top: 0.5rem;
    display: block;
    margin: 0.5rem auto 0;
    display: block;
    margin: 1rem auto 0;
    border-radius: 8px;
    border: none;
    background-color: #C89A4B;
}
button:hover{
    transition-duration: 0.2s;
      background-color: #d6af58;
      color: #0f1012;
      cursor: pointer;
}


.bottom-footer-flex-container{
    color: white;
    display: flex;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    justify-content: space-between;
    align-items: center;
    
}
.bottom-footer-flex-container > *{
    padding-left: 10px;
    padding-right: 10px;
}