* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: #15202B;
    color: #ffffff;
    font-family: Nunito, sans-serif;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
.info-bar {
    display: flex;
    justify-content: space-between; /* This distributes space between items */
    align-items: center; /* Aligns items vertically in the center */
    width: 100%;
}

.score {
    flex: 1; /* Takes up 1/3 of the space */
    text-align: center; /* Aligns text to the left */
    font-size: 18px;
}

.target-word {
    flex: 1; /* Takes up 1/3 of the space */
    text-align: center; /* Centers text */
    font-size: 18px;
    margin-bottom: 0px;
}

.skip-button {
    background-color: #007BFF;
    color: white;
    flex: 1; /* Takes up 1/3 of the space */
    text-align: center; /* Aligns text to the right */
    padding: 8px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.button-container {
    display: flex;
    justify-content: center; /* Centers children horizontally */
    align-items: center; /* Centers children vertically, optional */
}
.input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.input-box {
    background-color: #273340;
    border: none;
    color: #ffffff;
    padding: 8px;
    width: 100%; 
    height: 100px;
    box-sizing: border-box;
    resize: none; 
    white-space: pre-wrap;
    overflow-wrap: break-word;
    vertical-align: top;
    margin-top: 10px;
}
.message-info {
    color: #ffffff;
    font-size: 16px;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid transparent;
}
.message-correct {
    color: #00BA7C;
    font-size: 16px;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid transparent;
}
.message-wrong {
    color: #F91880;
    font-size: 16px;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid transparent;
}
.word-list {
    list-style: none;
    padding: 0;
}
.word-item {
    background-color: #333333;
    border: 1px solid #444;
    padding: 10px 15px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.word-item.correct {
    background-color: #004d40;
}
.footer {
    color: #999;
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
}
.header h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 800;
}
input, button, textarea {
    font-size: 16px; /* Prevents zooming on iOS devices */
}

@media (min-width: 768px) {
    .input-box {
        width: 600px; /* Fixed width */
        margin: auto; /* Centers the container horizontally */ 
    }
    .button-container {
        width: 600px; /* Fixed width */
        margin: auto; /* Centers the container horizontally */ 
    }
    .difficulty-selector-container {
        width: 600px;
        margin: auto; /* Centers the container horizontally */ 
    }
}
