:root {
    --body-bg-color: #303740;
    --text-color: white;
    --card-bg-color: #1c2126;
    --card-border-color: black;
    --check-color: green;
    --wrong-color: red;
    --input-valid-color: #131519;
    --button-hover: #82878c;
    --button-text-color: black;
}

html {
    font-size: 62.5%;
}

#container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    background-color: var(--body-bg-color);
    color: var(--text-color);

    width: 100%;
    flex: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-family: 'Roboto', sans-serif;
}

#app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#app #logo {
    font-family: "Anta", sans-serif;
    font-weight: 400;
    font-size: 6rem;
    font-style: normal;
    margin: 1.6rem 0 1rem;
    padding: 0;
    text-decoration: underline;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Standard syntax */
}

#app > h1 {
    font-size: 3.4rem;
    margin: 0 1rem;
    text-align: center;
}

#obs > h2 {
    font-size: 2.4rem;
    align-self: flex-start;
    margin: 1rem;
}

#app > h1,
#obs > h2 {
    color: var(--text-color);
}

#app > #result {
    font-size: 3rem;
    height: fit-content;
    min-height: 3.6rem;
    padding: 2rem;
    visibility: hidden;
    text-align: center;
}

#app > #result,
div#obs {
    background-color: var(--card-bg-color);
    border: 3px solid var(--card-border-color);
    border-radius: 12px;
}

#check {
    background-color: var(--check-color);
    color: var(--text-color);
    height: 2.4rem;
    width: 2.4rem;
}

#wrong {
    background-color: var(--wrong-color);
    color: var(--text-color);
    height: 2.4rem;
    width: 2.4rem;
}

#form {
    margin-top: 3.2rem;
    display: flex;
    gap: 1.2rem;
}

#form > input {
    height: 4.8rem;
    width: 100%;
    border: none;
    color: var(--text-color);
    background-color: var(--card-bg-color);
    border-radius: .5rem;
    padding: 0 1.2rem;
    font-size: 1.6rem;
}

#form > input:focus {
    outline: .2rem solid white;
}

#form > input:valid {
    background-color: var(--input-valid-color);
}

#form > button {
    height: 4.8rem;
    width: 4.8rem;
    border: none;
    border-radius: .5rem;
    background-color: white;
    cursor: pointer;
    transition: background-color .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#form > button:hover {
    background-color: var(--button-hover);
}

#form > button > span {
    font-size: 2.4rem;
    color: var(--button-text-color);
}

div#obs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 50rem;
    margin: .5rem 1rem;
}

div#obs > ul {
    padding: 0 .5rem 0 3.5rem;
}

div#obs > ul > li {
    font-size: 1.6rem;
    padding-bottom: 3rem;
}

footer {
    background: linear-gradient(to bottom, var(--body-bg-color), var(--card-bg-color)) ;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    flex: 1;
}

footer>p {
    font-size: 1.2rem;
    margin: 0;
    padding: 1.2rem 0;
}