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

    *:not(.register-txt) {
        grid-column: 1/3;
    }

    a:last-of-type {
        place-self: center end;
    }
}

a {
    color: var(--text-clr);
    &:hover {
        text-decoration: 1px underline var(--text-clr);
    }
}

form {
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);

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

    input, label {
        grid-column: 1/3;
    }

    label:nth-child(3), a {
        grid-row: 3/4;
    }
    label:nth-child(3) {
        grid-column: 1/2;
    }

    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;
    }
}