/* General Styles */
body {
    font-family: Arial, sans-serif;
    padding-top: 80px;
}

h1 {
    text-align: center;
}

#wordTable {
    width: 80%;
    margin: 0 auto;
    display: none;
}

#wordTable tbody tr {
    transition: background-color 0.3s;
}

/* Alternating row colors for the word table */
#wordTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

#wordTable tbody tr:nth-child(odd) {
    background-color: white;
}

/* Hover effect for the word table */
#wordTable tbody tr:hover {
    background-color: lightpink;
    cursor: pointer;
}

.controls-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 20px;
}

.controls-container label {
    margin-right: 10px;
    color: rgb(10, 10, 2);
}

.controls-container input[type="range"] {
    width: 200px;
}

.controls-container select {
    width: 150px;
}

.slidecontainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1000;
    padding: 5px 10px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mainframe {
    margin-top: 80px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

/* Styles for the important sentences table */
#importantSentences table {
    width: 100%;
    border-collapse: collapse;
}

#importantSentences tbody tr {
    transition: background-color 0.3s;
}

/* Alternating row colors for the important sentences table */
#importantSentences tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

#importantSentences tbody tr:nth-child(odd) {
    background-color: white;
}

/* Hover effect for the important sentences table */
#importantSentences tbody tr:hover {
    background-color: lightpink;
    cursor: pointer;
}

/* Hidden Division */
#importantSentences {
    display: none;
    margin-top: 20px;
}

#importantSentences th, #importantSentences td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#importantSentences th {
    background-color: #ffebcc;
}

.contentxy {
    margin-top: 60px;
    text-align: center;
}