header {
    background-color: rgb(30, 97, 119);
    padding: 35px 20px;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin-bottom: 20px;
}

h1 {
    color: white;
    font-size: 40px;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 200;
    letter-spacing: 10px;
    text-transform: uppercase;
}

main {
    margin-top: 100px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    left: 50%;
    height: 400px;
}

main input {
  font-size: 1.5em;
  margin-bottom: 15px;
  border: 2px solid rgb(131, 122, 184);
  border-radius: 20px;
  padding: 10px;
}

#loginForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: rgb(229, 229, 229);
    padding: 50px 60px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

#loginForm a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

#loginForm a:hover {
    color: rgb(30, 97, 119);
}

#loginForm input[type="submit"] {
    padding: 8px 30px;
    background-color: rgb(30, 97, 119);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

#loginForm input[type="submit"]:hover {
    background-color: rgb(131, 122, 184);
    cursor: pointer;
}

#errorbox {
  background-color: #debaba;
  border: 1px solid #db7d7d;
  padding: 10px;
  text-align: center;
  margin-bottom: -20px;
}

#errorbox.hidden {
  visibility: hidden;
}