:root {
    background-color: whitesmoke;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    font-family: 'tahoma, trebuchet, sans-serif'
}

h1 {
    font-size: 5.4rem;
    color: darkslategrey;
    margin-bottom: 5rem;

}

h2 {
    font-size: 4.2rem;
    margin-bottom: 4rem;
}

p {
    font-size: 2.4rem;
    margin-bottom: 4rem;
    text-align: center;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.justify-center {
    justify-content: center;

}

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

.hidden {
    display: none;
}

.btn {
    font-size: 2.4rem;
    padding: 2rem 0;
    width: 30rem;
    text-align: center;
    margin-bottom: 1rem;
    text-decoration: none;
    color: darkslategrey;
    background: #F78888;
    border-radius: 5px;
}

.btn:hover {
    cursor: pointer;
    box-shadow: 0 0.4rem;
    transition: transform 150ms;
    transform: scale(1.03);
}

.btn[disabled]:hover {
    cursor:not-allowed;
    box-shadow: none;
    transform: none;
}

#highscore-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
    padding: 5px;
    width: 18rem;
}

.timer {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
}

/* end page css  */

.end-form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width:30rem;
}

input {
    margin-bottom:1rem;
    width: 20rem;
    padding: 1.5rem;
    font-size:1.8rem;
    border:none;
    box-shadow: 0 0.5px 5px 0;
}

input::placeholder {
    color: #aaa;
}

#username {
    margin-bottom: 1rem;
    width: 100%;
    outline: none;
}

#end-text {
    font-size: 2.4rem;
    color:darkslategrey;
    text-align: center;
}

#save-score-btn {
    border: none;
}

