@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@700&display=swap');
* {
    box-sizing: border-box;
}
body {
    display: flex;
    justify-content: center;
    height: 100vh;
    background-color: hsl(183, 100%, 15%);
    font-family: 'Space Mono', monospace;
    font-size: 24px;
}

h3 {
    color: hsl(186, 14%, 43%);
    padding: 12px 0;
    font-size: .65em;
    margin-top: 20px;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo{
    display: flex;
    justify-content: center;
    margin: 1em;
    padding: 1em;
    color: moccasin;
}
.main_title {
    font-size: 2em;
    margin: 0.5em;
}
img {
    width: 4em;
    height: 4em;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 375px;
    background-color: hsl(0, 0%, 100%);
    padding: 24px;
    border-radius: 20px;
}

.notes {
    padding: 8px;
}

.input {
    display: block;
    font-size: .9em;
    width: 100%;
    font-family: 'Space Mono', monospace;
    height: 48px;
    border: none;
    border-radius: 4px;
    background-color: hsl(189, 41%, 97%);
    text-align: end;
    outline: none;
    color: hsl(183, 100%, 15%);
}

.input::placeholder {
    color: lightgray;
}

.btn{
    font-family: 'Space Mono', monospace;
    font-size: .9em;
    height: 48px;
    width: auto;
    border: none;
    border-radius: 6px;
    background-color: hsl(183, 100%, 15%);
    color: hsl(0, 0%, 100%);
    cursor:pointer;
    transition-duration: .2s;
    margin-bottom: .4em;
}
.answer-btn {
    display: block;
}
.selected{
    background-color: crimson;
    color: gold;    
}
.get_random{
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    padding: 24px;
    box-shadow: 0 10px 12px 0 rgba(0,0,0,0.6);
    background-color: #2f4f4f;
}
.note{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.title{
    font-size: .65em;
    padding: 0 0 5px;
    color: hsl(0, 0%, 100%);
}
.subtitle{
    font-size: .6em;
    color: hsl(186, 14%, 43%);
}
.value{
    font-size: 1.3em;
    color: gold;
}
.value_ans{
    font-size: 1.3em;
    color: black;
    text-align: center;
}
.value_reveal{
    font-size: .8em;
    color: black;
    text-align: center;
    display: block;
}
#explanation {
    background-color: gold;
    border-radius: 10px;
    display: none;
}
.notes_guide {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 1%;
}
.notes_guide li {
    margin: 10px;
    background-color: red;
    border-color: white;
    border-style: solid;
    border-radius: 10px;
    width: 4em;
}
.reveal_answer {
    display: block;
}
.reset{
    margin-top: 20px;
}
.btn:active {
    transform: scale(0.9);
}
@media (min-width: 780px){
    .container {
        flex-direction: row;
        max-width: 920px;
        border-radius: 20px;
    }
    .notes{
        width: 50%;
        margin-right: 12px;
    }
    .get_random{
        margin-left: 12px;
        width: 50%;
        justify-content: space-between;
    }
    .buttons{
        grid-template-columns: repeat(3, 1fr)
    }
}
@media screen and (max-width: 500px) {
    .main_title {
        font-size: 2rem;
        margin: 0.5em;
    }
    img {
        max-width: 4rem;
        max-height: 4rem;
    }
    .input::placeholder {
        font-size: 1rem;
    }
    .value{
        font-size: 1.2rem;
        color: gold;
    }
    .value_ans{
        font-size: 1.2rem;
        color: green;
    }
}