@import url('https://fonts.googleapis.com/css2?family=ABeeZee&display=swap');

body {
    font-family: 'ABeeZee', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    font-size: large; 
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('./assets/background.jpg');
    background-position: 30% 30%;
    background-repeat: no-repeat;
    background-size: cover;
}

h1 {
    color: #ffffff;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px; margin-top: -40px; 
}

#controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 60px;
    flex-wrap: wrap;
}

.dropdown-group p {
    font-weight: bold;
    color: #ffffff;
}

#typing-box {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

#text-to-type {
    font-size: 18px;
    margin-bottom: 20px;
}

#text-to-type span {
    color: black;
}

#text-to-type span.red {
    color: red;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

#user-input {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    width: 80%;
}

button {
    background-color: #19238d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #151c7d;
}

#speed-result {
    font-size: 16px;
    margin-top: 20px;
}
#reset-button {
    margin-top: 20px; /* Space above Reset button */
}
.button-wrapper {
    display: flex; /* Flexbox for buttons */
    justify-content: center;
    gap: 20px; /* Space between Start Test and Retake Test buttons */
    margin-top: 10px; /* Space above button wrapper */
}

/* Attractive Dropdown Styles */
select {
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

select:focus {
    border-color: #19238d;
    box-shadow: 0 0 5px rgba(25, 35, 141, 0.5);
    outline: none;
}

option {
    padding: 30px;
    background-color: #ffffff;
    color: #000000;
}
