body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

#marg {
    margin-top: 14px;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #67b63f; /* Header color */
    color: white;
    padding: 12px;
    text-align: center;
    z-index: 1000; /* Ensure the header is above other content */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    background-color: #727b81; /* Background color */
    border: 2px solid transparent; /* Initial border color */
    padding: 6px 10px;
    border-radius: 5px;
    transition: all 0.3s ease; /* Smooth transition effect */
}

nav ul li a:hover {
    background-color: #3498db; /* Background color on hover */
    border: 2px solid #ffffff; /* Border color on hover */
}

section {
    flex: 1;
    padding: 20px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.typing-area {
    text-align: center;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

.start-btn {
    background-color: #4CAF50; /* Green */
    color: white;
}

.stop-btn {
    background-color: #f44336; /* Red */
    color: white;
}

.reset-btn {
    background-color: #008CBA; /* Blue */
    color: white;
}

#user-input {
    width: 100%;
    height: 100px;
    margin: 10px 0;
    padding: 10px;
    box-sizing: border-box;
}

.button-container {
    display: flex;
    justify-content: center;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #212323; /* Footer color */
    color: white;
}
