@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');

:root {
    font-family: Bitter, Inter;
}

* {
    margin: 0;
    font-family: Inter;
  }

a {
    text-decoration: none;
}

body {
    background-color: var(--lightchoco);
    
}

main {
    height: 100vh;
    overflow: hidden;

    display: flex;

}

article {
    height: 90%;
    min-height: 30em;
    width: 70%;
    min-width: 50em;
    margin: auto;

    /* position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%); */

    background-color: var(--panel);
    display: flex;

    border-radius: 1em;
}

#left {
    height: 100%;
    width: 50%;
    background-image: url(/static/mmrn/img/login_side_background.webp);
    background-position: center;
    background-size: cover;
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
}

#right {
    height: 100%;
    width: 50%;

    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: center;
    padding-left: 1.5em;
}

#title {
    font-weight: 900;
    font-size: 3em;
    margin-bottom: 2em;
}

#entrar, .salmonbutton {
    background-color: var(--salmon);
    border: none;
    font-size: 1.6em;
    color: var(--panel);
    border-radius: .3em;
    padding: .3em 1em;
    margin-top: 1em;
    font-family: Bitter, Inter;
    width: max-content;
}
#entrar:hover, .salmonbutton:hover {
    cursor: pointer;
    background-color: var(--hoversalmon);
}

input[type="password"], input[type="text"] {
    font-size: 1.2em;
    background-color: var(--element);
    border: none;
    border-radius: .3em;
    color: var(--hard);
}

label {
    font-weight: 600;
}

@keyframes invalid {
    from {opacity: 100%;}
    to {opacity: 100%;}
}

#invalid {
    color: var(--red);
    padding: .5em;
    border-radius: .3em;
    background-color: rgb(255, 117, 117);
    margin-bottom: .5em;
    width: 12em;
    animation-name: invalid;
    animation-duration: 5s;
    opacity: 0%;
}