@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300;400;700&display=swap');

* {box-sizing: border-box;}

body {
    font-family: 'Jura', sans-serif;
    background-color: #495797;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

button {
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    padding: 5px 15px;
}

select {
    width: 100px;
    padding: 5px;
    appearance: none;
    -webkit-appearance: none;
    -mox-appearance: none;
    border-radius: 4px;
    background-color: #e9e9e9;
}

select:focus, button:focus {
    outline: 0;
}

.settings-btn {
    /* position: absolute; */
    /* position: relative; */
    left: 10px;
    bottom: 10px;
}

.settings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 48, 112, 0.9);
    height: 200px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}

.settings-div {
    position: absolute;
    left: 10px;
    bottom: 10px;
}

.instructions {
    margin-top: 10px;
}

.instructions p {
    line-height: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings.hide {
    transform: translateY(-76%);
}

.container {
    background-color: #91c6fc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    color: #242424;
    position: relative;
    text-align: center;
    width: 500px;
    /* height: 400px; */
}

h2 {
    background-color: #495797;
    padding: 8px;
    border-radius: 4px;
    margin: 0 0 60px;
    color: #fff;
}

h1 {
    margin: 0;
    font-size: 40px;
}

input {
    border: 0;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    width: 100%;
    padding: 12px 20px;
    margin-top: 60px;
}

/* input:focus {
    outline: 2;
    outline-color: #fffb00;
} */

.score-container {
    position: absolute;
    top: 60px;
    right: 20px;
}

.time-container {
    position: absolute;
    top: 60px;
    left: 20px;
}

.end-game-container {
    background-color: inherit;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}