*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #F4F0F8;
    color: #111111;
}

main {
    background-color: #FFFFFF;
    border-radius: 14px;
    width: 50%;
    min-width: 370px;
    max-width: 450px;
    text-align: center;
    box-shadow: 3px 3px 15px rgba(15, 20, 32, 0.35);
    margin: auto;
    padding: 3vh 4%;
}

#form {
    display: flex;
    flex-direction: column;
    margin: 0;
    line-height: 1.5;
    text-align: left;
}

span {
    display: block;
    font-size: 1.8vh;
    color: #444444;
    margin-top: 0.8vh;
}

label {
  font-size: 2.2vh;
  font-weight: 600;
  color: #111111;
  margin-top: 2vh;
}

input[type="checkbox"] {
    cursor: pointer;
    width: 2.2vh;
    height: 2.2vh;
    vertical-align: middle;
    accent-color: #7C1FB0;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 1.5vh 1.5vh;
    border: 2px solid gray;
    border-radius: 5px;
    font-size: 2vh;
    color: #111111;
}

input[type="text"]:hover,
input[type="password"]:hover {
    border-color: rgba(124, 31, 176, 0.4);
}

input:focus {
    border: none;
    outline: 2px solid #7C1FB0;
    box-shadow: 2px 2px 5px #5E1687;
}

a {
    color: #A20F5B;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.8vh;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: #7D1046;
    font-weight: 600;
    text-decoration: underline;
}

input[type="submit"] {
    background-color: #7C1FB0;
    border: none;
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 2.2vh;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 1.5vh 0;
    margin: 2vh 0;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #5E1687;
}