@font-face {
    font-family: 'Monaspace Neon';
    src: url(font.ttf);
}

html {
    font-size: 20px;
    font-family: 'Monaspace Neon';
    background-color: #F5F5F5;
    color: #333;
}

body {
    margin: 0px auto;
    min-height: 100vh;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header {
    margin: 25px 0px 0px 0px;
}

nav {
    color: #333;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    top: 80px;
}

nav a {
    color: black;
    text-decoration: none;
    margin: 0 15px;
}

nav a:hover, a.active {
    text-decoration: underline;
}

#container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    max-height: 500px;
}

#toggleOptions {
    text-align: center;
    margin-bottom: 20px;
}

.toggle {
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.toggle:active {
    text-decoration: underline;
}

.toggle:hover {
    text-decoration: underline;
}

#options {
    text-align: center;
}

#amtWord span.button:hover, #amtTime span.button:hover {
    cursor: pointer;
    text-decoration: underline;

}

#amtWord span.active {
    text-decoration: underline;
}

.hidden {
    display: none;
}

#stats {
    padding: 20px 0;
}

#timer {
    float: right;
}

#wpm {
    float: left;
}

#input {
    background-color: #E0E0E0;
    border-radius: 5px;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    margin: 20px 0;
}

#wordInput {
    flex: 1;
    overflow: hidden;
}

#redo {
    background-color: #B0BEC5;
    color: #333;
    font-family: 'Monaspace Neon';
    height: 30px;
    width: 50px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#redo:hover {
    background-color: #90A4AE;
}

.current {
    color: #4A90E2;
}

.correct {
    color: #4CAF50;
}

.error {
    color: #E57373;
}

#warning {
    color: #EF5350;
    padding: 20px;
}
