@charset "UTF-8";

:root {
    --green-color: #49a09d;
    --lilac-color: #5f2c82;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body, html {
    height: 100vh;
    width: 100vw;
    background-color: var(--lilac-color);
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

#login {
    background-color: white;
    overflow: hidden;
    width: 250px;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.674);
    transition: width .5s, heigth .5s;
    transition-timing-function: ease;
}

#image {
    display: block;
    background: var(--lilac-color) url(../images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
}

#forms {
    display: block;
    padding: 10px;
}

#forms > h1 {
    padding-bottom: 10px;
    text-align: center;
}

#forms > p {
    font-size: 0.8em;
    text-align: center;
}

form {
    margin-top: 20px;
}

.field {
    display: flex;
    align-items: center;
    background-color: var(--lilac-color);
    height: 40px;
    border-radius: 5px;
    margin: 5px 0px;
}

.field span{
    padding: 3px;
    color: white;
    
}

.field input {
    height: 100%;
    width: 100%;
    padding: 4px;
    outline: none;
    background-color: #64dbd7;
    border: 2px solid var(--lilac-color);
    border-radius: 5px ;
}

.field input:focus-within {
    background-color: white;
    border: 1px solid var(--lilac-color);
}

input[type=submit] {
    display: block;
    font-size: 1em;
    width: 100%;
    height: 40px;
    color: white;
    background-color: var(--green-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #49a074;
}

form > .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    width: 100%;
    height: 40px;
    background-color: #a14cda;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form > .btn:hover {
    background-color: #7738a1;
}

.btn p{
    margin-right: 5px;
}

