You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.0 KiB
63 lines
1.0 KiB
body {
|
|
font-family: 'Arial', sans-serif;
|
|
background-color: #acc2c2;
|
|
margin: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
#quiz {
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
padding: 20px;
|
|
width: 800px;
|
|
text-align: center;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 80px;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 30px;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.question {
|
|
font-size: 30px;
|
|
display: none;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
input {
|
|
display: inline-block;
|
|
padding: 15px;
|
|
margin-top: 10px;
|
|
background-color: #d6a7ff;
|
|
color: #000;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
font-size: 16px;
|
|
width: 48%;
|
|
}
|
|
|
|
input:hover {
|
|
background-color: #8833d2;
|
|
}
|