* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Wittgenstein", serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #f4f4f4;
}

.navbar {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
}

.logo img {
    max-width: 100px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #bbb;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    /*position: fixed;*/
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the same height as the navbar */
}

.footer p {
    margin: 0;
    font-size: 0.8rem; /* Decreased font size */
}

.footer .instagram-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer .instagram-link:hover {
    color: #bbb;
}

.footer1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the same height as the navbar */
}

.footer1 p {
    margin: 0;
    font-size: 0.8rem; /* Decreased font size */
}

.footer1 .instagram-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer1 .instagram-link:hover {
    color: #bbb;
}

.landing-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: -1;
}

.landing-content {
    display: flex;
    align-items: center;
    color: #fff;
}

.landing-image {
    margin-top: 0;
    width: 300px;
    height: auto;
    margin-right: 20px;
}

.landing-text {
    font-size: 3em;
    font-weight: bold;
}

/* Existing styles */
/* ... */

.typing-speed-tester {
    max-width: 600px;
    margin: 2em auto;
    text-align: center;
    border: 1px solid #000;
    padding: 2em;
    border-radius: 8px;
    background-color: #fff;
}

.difficulty-buttons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.difficulty-button {
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 20px; /* Circular edges */
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: "Wittgenstein", serif;
}

.difficulty-button:hover {
    background-color: black;
    color: white;
}

.difficulty-button.active {
    background-color: black;
    color: white;
}

.paragraph-container {
    width: 100%;
    max-width: 600px; /* Adjust as needed */
    height: 8em; /* Assuming each line is 1.5em tall */
    overflow: hidden;
    /*border: 1px solid #ccc;*/
    padding: 10px;
    box-sizing: border-box;
}

.typing-paragraph {
    color: #000;
    font-size: 1.2em;
    margin-bottom: 1em;
}

#typing-input {
    width: 100%;
    height: 100px;
    padding: 1em;
    border: 1px solid #000;
    border-radius: 8px;
    font-size: 1em;
    resize: none;
}

#virtual-keyboard {
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.virtual-keyboard-row {
    display: flex;
    justify-content: center;
    margin-bottom: 0.2em;
}

.virtual-key {
    padding: 1em;
    margin: 0.2em;
    border: 1px solid #000;
    border-radius: 5px;
    width: 40px;
    text-align: center;
    font-size: 1em;
    background-color: #f4f4f4;
    transition: background-color 0.3s;
}

.virtual-key.correct {
    background-color: #00ff00;
}

.virtual-key.incorrect {
    background-color: #ff0000;
}

.virtual-key.typing {
    background-color: #cccccc;
}

.correct {
    color: grey;
}

.incorrect {
    color: red;
}

#results {
    margin-top: 20px;
    font-size: 18px;
}

#spacebar {
    width: 200px; /* Spacebar is wider */
}

#typing-input:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

.content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.content h1 {
    margin-bottom: 1rem;
}

.content p {
    margin-bottom: 1rem;
}

.content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
}