html {
    font-size: 18px;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    width: 100%;
}

h1 {
    display: inline-block;
    font-size: 1rem;
}

main {
    height: 100vh;
    align-content: center;
}

footer {
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
    padding-bottom: 1rem;
}

.hidden {
    display: none;
}

#credits {
    margin-top: 1rem;
    display: inline-block;
}

#credits a {
    color: black;
    text-decoration: none;
}

#credits a:hover {
    border-bottom: 1px solid black;
}

#controller {
    width: 100%;
    text-align: center;
}

#controller button {
    border: none;
    background-color: cornflowerblue;
    color: white;
    border-radius: 0.2rem;
    padding: 0.4rem;
    font-size: 1rem;
}
#controller button:hover {
    position: relative;
    top: -0.1rem;
    cursor: pointer;
}

#controller button:active {
    position: relative;
    top: 0.1rem;
}


code {
    font-size: 2rem;
    display: none;
    text-align: left !important;
}

.selected {
    background-color: cornflowerblue;
}

.active {
    display: block;
}

#helpers {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 100vh;
    background-color: white;
    z-index: 1;
}

#img-html-items {
    max-width: 50%;
    display: block;
    margin-right: auto;
    margin-left: auto;
    z-index: 2;
}

#code-quiz {
    display: flex;
    height: calc(80vh - 2rem);
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

#controller-container {
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    height: 20vh;
    width: 100%;
}

#correct-answer-container {
    height: 4rem;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    
}

#correct-answer {
    font-size: 1.2rem;
    color: green;
    font-style: italic;
    padding: 0.5rem;
    border: 0.3rem green solid;
    border-radius: 0.5rem;
    box-sizing: border-box;
    margin: 0;
    width: auto;
}

code {
    text-align: center;
}

.hidden {
    display: none !important;
}

.visually-hidden {
    visibility: hidden;
}