:root {
    --background-color-light: #E0E8FF;
    --background-color-dark: #D6E1FF;
    --text-color: #222A42;
    --button-color: #372AE1;
    --accent-color: #DFE5FA;
}


html {
    box-sizing: border-box;
    font-size: 100%;
}

*, 
*::before, 
*::after {
    box-sizing: inherit;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 3rem 1.1rem;
    font-family: 'Kumbh Sans', sans-serif;
    background: #EECDA3;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #EF629F, #EECDA3);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #EF629F, #EECDA3); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

main {
    background-color: white;
    border-radius: 8px;
    margin: 3rem;
    padding: 2rem;
}

.title {
    margin: 0;
}

.desc {
    line-height: 25px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}


.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.flex-column > h1 {
    font-size: 2.5rem;
    color: white;
}

.hidden {
    display: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222A42;
    margin-bottom: 1rem;
    padding: 0;
}

.nav-header {
    background: -webkit-linear-gradient(#EF629F, #EECDA3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.play-link {
    text-decoration: none;
    color: #EF629F;
    font-weight: bold;
    padding: .5rem;
}

.play-link:hover {
    border: 1px solid #EECDA3;
    border-radius: .5rem;
    background-color: #EECDA3;
    color: white;
    transition: .4s ease-in-out;
}

.btn {
    font-size: 1.8rem;
    padding: 2rem 0;
    width: 20rem;
    text-align: center;
    margin-bottom: 1rem;
    text-decoration: none;
    color: white;
    background-color: #22c1c3;
    border-radius: 8px;
}

.btn:hover {
    cursor: pointer;
    box-shadow: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.35);
    transition: transform 150ms;
    transform: scale(1.03);
}

.btn[disabled]:hover {
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

a {
    font-family: inherit;
}

/* End Page styles */

.end-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 30rem;
}

#end-text {
    color: white;
    font-size: 2rem;
}

input {
    margin-bottom: 1rem;
    width: 20rem;
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 1.8rem;
    border: none;
    box-shadow: 0 0.1rem 1.4rem 0 rgba(0, 0, 0, 0.2);
}

input::placeholder {
    color: #aaa;
}

#username {
    margin-bottom: 3rem;
    width: 100%;
    outline: none;
}

#saveScoreBtn {
    border: none;
}

.fa-house {
    font-size: 1.5rem;
    margin-left: 1rem;
}

@media (max-width: 50rem){
    main {
        margin: 1rem;
    }
}

