:root {
    --dark-color: rgb(9, 5, 44, 0.9);
    --light-color: rgb(180, 209, 180);

}

body {
    font-family: 'Open Sans', sans-serif;
    font-family: 'Roboto', sans-serif;;
    background-color: var(--dark-color);
    color: var(--light-color);
}

.top-bar {
    color:  var(--light-color);
    height: 25px;
    width: 600px;
    display: flex;
    justify-content: space-between;
    margin: 100px auto 30px;
}

.flex-ends {
    display: flex;
    justify-content: space-between;
}

.top-bar button {
    width: 150px;
}

main {
    width: 500px;
    margin: 100px auto;
}

#first-block {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.justify-content-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

button {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
}

.large-button {
    height: 50px;
    width: 100px;
}

.option {
    border-radius: 3px;
    color: var(--dark-color);
    background-color: var(--light-color);
    padding: 4px 10px;
    margin-top: 3px;
}

.option:hover {
    background-color: rgba(180, 209, 180, 0.6);
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
    bottom: -30px;
}

form {
    margin-top: 10px;
}

input {
    margin-left: 10px;
    margin-right: 10px;
}

#submit-score {
    height: 20px;
    width: 70px;
}

.high-score-box {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

ol {
    padding: 0px;
    margin-top: 20px;
}

li {
    font-size: 25px;
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0px 10px;
}

/* make the list readable */
li:nth-of-type(odd) {
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* resize element to fit mobile screen */
@media screen and (max-width: 768px) {
    body {
        padding: 0px 5px;
    }

    .top-bar, main, .high-score-box {
        width: 100%;
    }
    
    .top-bar button {
        color: var(--dark-color);
        width: 130px;
    }
}