Home page
padding: 0;
font-size: 62.5%;
font-family: 'Nova Square', cursive;
}
h1 {
font-size: 5.4rem;
color: #fff;
margin-bottom: 5rem;
}
h2 {
font-size: 4.2rem;
margin-bottom: 4rem;
}
.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: rgb(28, 26, 26);
background: linear-gradient(90deg, rgb(18, 92, 255) 0%, rgb(0, 102, 255) 100%);
border-radius: 4px;
}
.btn:hover {
cursor: pointer;
box-shadow: 0 0.4rem 1.4rem 0 rgba(8, 114, 244, 0.6);
transition: transform 150ms;
transform: scale(1.03);
}
.btn[disabled]:hover {
cursor: not-allowed;
box-shadow: none;
transform: none;
}
#highscore-btn {
background: linear-gradient(90deg, rgb(255, 247, 9) 0%, rgb(240, 221, 6) 100%);
}
#highscore-btn:hover {
box-shadow: 0 0.4rem 1.4rem 0 rgba(255,255,0,0.5)
}
.fa-crown {
font-size: 2.5rem;
margin-left: 1rem;
}
/* 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.1rem 1.4rem 0 rgba(86, 185, 235, 0.5);
}
input::placeholder {
color: #aaa;
}
#username {
margin-bottom: 3rem;
width: 100%;
outline: none;
}
#end-text {
font-size: 2.4rem;
color: #fff;
text-align: center;
}
#saveScoreBtn {
border: none;
}
.fa-home {
margin-left: 1rem;
font-size: 2rem;
color: rgb(28, 26, 26)
}
#highScoresList {
list-style: none;
margin-bottom: 4rem;
}
.high-score {
font-size: 2.8rem;
margin-bottom: 0.5rem;
}
body {
color: #fff;
}
.choice-container {
display: flex;
margin-bottom: 0.8rem;
width: 100%;
border-radius: 4px;
background: rgb(18, 93, 255);
font-size: 3rem;
min-width: 80rem;
}
.choice-container:hover {
cursor: pointer;
box-shadow: 0 0.4rem 1.4rem 0 rgba(6, 103, 247, 0.5);
transform: scale(1.02);
transform: transform 100ms;
}
.choice-prefix {
padding: 2rem 2.5rem;
color: white;
}
.choice-text {
padding: 2rem;
width: 100%;
}
.correct {
background: linear-gradient(32deg, rgba(11, 223, 36) 0%, rgb(41, 232, 111) 100%);
}
.incorrect {
background: linear-gradient(32deg, rgba(230, 29, 29, 1) 0%, rgb(224, 11, 11, 1) 100%);
}
/* Heads up Display */
#hud {
display: flex;
justify-content: space-between;
}
.hud-prefix {
text-align: center;
font-size: 2rem;
}
.hud-main-text {
text-align: center;
}
#progressBar {
width: 20rem;
height: 3rem;
border: 0.2rem solid rgb(11,223,36);
margin-top: 2rem;
border-radius: 50px;
overflow: hidden;
}
#progressBarFull {
height: 100%;
background: rgb(11,223,36);
width: 0%;
}
@media screen and (max-width: 768px) {
.choice-container {
min-width: 40rem;
}
}
What is the answer to this question
Post a Comment