:root {
    --dark-clr: #0C0614;
    --scd-clr: #5052A9;
    --third-clr: #080A41;
    --frth-clr: #C499EE;
    --light-clr: #F9F8F8;
    --ft-clr: #EEF7FC;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100vw;
    min-height: 100vh;
    color: var(--dark-clr);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container {
    display: flex;
    width: 90vw;
    min-height: 90vh;
    box-shadow: 0 0 1em .5em;
}

.left {
    display: flex;
    flex-direction: column;
    background-image: url(./ella-don-fK5Oomnc-Wk-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 40%;
}

.logo {
    position: relative;
    top: 20vh;
    background-color: var(--third-clr);
    opacity: 0.5;
    width: 100%;
    height: 10%;
}

img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.right {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 2em;
    justify-content: center;
    align-items: center;
}

.wrapper {
    box-shadow: 0 0 .25em;
    padding: 1rem;
    min-width: calc(100% - 2rem);
}

.duos {
    display: flex;
    gap: .5em;
    flex-wrap: wrap;
}

.duos > * {
    flex-grow: 1;
}

button {
    align-self: flex-start;
    margin-left: 1rem;
    font: inherit;
    background-color: var(--scd-clr);
    border: none;
    border-radius: .25em;
    padding: .75em;
    color: var(--light-clr);
    transition: all 0.3s ease;
}

button:hover, button:active {
    font-size: smaller;
    background-color: var(--third-clr);
    box-shadow: 0 0 1em var(--dark-clr);
}

h1, p {
    margin: 1rem 0 0 1rem;
}

a {
    color: var(--scd-clr);
    text-decoration: none;
    font: inherit;
}

a:visited {
    color: var(--third-clr);
}

input {
    font: inherit;
    border-radius: .25em;
    padding: .5em;
    transition: all 0.3s ease;
    width: 90%;
}

input:focus, input:hover {
    border-color: var(--third-clr);
    box-shadow: 0 0 1em;
}

input:valid {
    border-color: var(--frth-clr);
}

[type="password"]:invalid {
    border-color: red;
}

footer {
    color: var(--ft-clr);
    text-align: center;
    margin-top: auto;
    margin-bottom: 10px;
}

footer a {
    text-decoration: underline;
    color: inherit;
}