body {
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    background-color: var(--primary-bg-color);
    font-family: roboto, sans-serif;
    color: white
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.recovery-container {
    background-color: rgb(16, 11, 27);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    min-height: 200px;
    padding: 32px 0;
    flex-direction: column;
    filter: var(--drop-shadow);
    position: relative;
}

.title{
    color: white;
    position: absolute;
    font-size: 50px;
    bottom: 100%;
    transform: translateY(100%);
}

form{
    width: 80%;
}

.recovery-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 17px;
}

.input-box {
    width: 100%;
}

.recovery-box h2 {
    margin: 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

.field {
    position: relative;
    width: 100%;
}

.field input {
    all: unset;
    padding: 10px 12px;
    background-color: rgb(6, 5, 10);
    outline: 1px solid rebeccapurple;
    border-radius: 20px;
    color: white;
    width: calc(100% - 24px);
}

.field label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 6px;
    color: lightgray;
    font-weight: 500;
    transition: 0.3s ease;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: white;
}

form button{
    all: unset;
    background-color: green;
    height: 30px;
    width: 50%;
    color: white;
    font-weight: bold;
    outline: 2px solid darkgreen;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s ease;
}

form button:hover{
    scale: 1.01;
}
