main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, min-content);
    max-width: 500px;
    margin: auto;

    .separator, h1, .sub-title, form {
        grid-column: 1/3;
    }
}

form {
    display: flex;
    flex-direction: column;
    margin: 20px 0;

    label {
        color: var(--title-clr);
    }

    input {
        border-radius: 6px;
        background-color: var(--bg-clr-card);
        border: 2px solid var(--border-clr);
        padding: 10px;
        margin-bottom: 10px;
        
        &::placeholder {
            color: var(--text-clr);
        }
    }

}


.separator {
    width: 100%;
    text-align: center;
    position: relative;
    padding: 0 10px;
    margin-bottom: 20px;

    &::before, &::after {
        content: "";
        position: absolute;
        z-index: -10;
        top: 50%;
        width: 45%;
        transform: translateY(-50%);
        height: 1px;
        background-color: var(--border-clr);
    }
    &::before {
        left: 0;    
    }
    &::after {
        right: 0;
    }
}

a {
    place-self: start end;
}