.contentnumbers{
     background: black;
  border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  color: #ffffff;
  display: inline-block;
  font-weight: bold;
  line-height: 1.6em;
  margin-right: 5px;
  text-align: center;
  width: 1.6em; 
}
.seokiller-lesson{
        text-align:left;
        border-radius:0px;
        margin: 0 25px;
        padding: 25px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        font-family:helvetica !important;
}
.seokiller-lesson h2{
    border-top: solid 1px #d3d3d3;
       font-weight:1000;
              margin:10px 0px 10px 0px;
       padding:10px 0px 10px 0px;
       font-family:helvetica;
}
.seokiller-lesson h3{
       font-weight:800;
       border-top: 1px dotted #d3d3d3;
       margin:10px;
       padding:10px;
       font-family:helvetica;
}
.exercise-group{
    border:solid 1px black;
    padding: 20px;
    width:95%;
    max-height:90vh;
    overflow-x: scroll;
}
.seokiller-lesson h1{
    font-size: 4rem !important;
}
.seokiller-lesson-content{
    padding:0px 20px 0px 20px;
}
.seokiller-exercise-menu {
    margin-bottom: 20px;
    max-width: 90vw; /* Limit width to 90% of the viewport */
    margin-left: auto; /* Center align */
    margin-right: auto; /* Center align */
    overflow-x: auto; /* Ensure horizontal scrolling */
}

.seokiller-exercise-menu ul {
    list-style: none;
    padding: 0;
    border-radius: 0px;
    display: flex;
    gap: 10px;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Ensure all items are on a single row */
    margin: 0;
}

.seokiller-exercise-menu ul li {
    margin: 0;
    flex: 0 0 auto; /* Prevent resizing; keep items inline */
    padding:10px;
}
.seokiller-exercise-menu ul::-webkit-scrollbar {
    width: 8px; /* Adjust scrollbar width */
    height: 8px; /* Adjust scrollbar height */
}

.seokiller-exercise-menu ul::-webkit-scrollbar-thumb {
    background-color: black; /* Black scrollbar thumb */
    border-radius: 4px; /* Rounded edges */
}

.seokiller-exercise-menu ul::-webkit-scrollbar-track {
    background-color: white; /* White scrollbar track */
    border-radius: 4px; /* Rounded edges */
}

/* Add styles for Firefox */
.seokiller-exercise-menu ul {
    scrollbar-width: thin; /* Thin scrollbar for Firefox */
    scrollbar-color: black white; /* Black thumb on white track */
}

.seokiller-exercise-menu ul li button {
    padding: 15px 20px; /* Increase button height */
    border-radius: 0px;
    background-color: black;
    color: white;
    border: 1px solid white;
    font-family: Helvetica, Arial, sans-serif;
    border: none;
    cursor: pointer;
    max-width: 200px; /* Set a maximum width for buttons */
    overflow: hidden; /* Ensure text stays within the bounds */
    text-overflow: ellipsis; /* Add ellipsis for overflowing text */
    white-space: nowrap; /* Prevent text wrapping */
    display: inline-block;
    text-align: center; /* Center-align text */
}

.seokiller-exercise-menu ul li button.active,
.seokiller-exercise-menu ul li button:hover {
    background-color: white;
    color: black;
    border: 1px solid black;
}


/*#region opencloze*/
.seokiller-open-cloze-exercise{
    border-bottom: 1px solid black;
    padding: 10px;
}
.seokiller-oc-check-button{
    color:white !important;
    background:black !important;
    border:solid 1px white !important;
    margin:20px;
}
.seokiller-oc-check-button:hover{
    color:black !important;
    background:white !important;
    border:solid 1px black !important;
}
.seokiller-oc-answer {
    color: black;
    font-size: 2rem;
    margin:20px;
    background-color: transparent;
    box-sizing: border-box;
    padding: 0.7em 0.5em; /* Consistent padding */
    border: none; /* Removes all borders */
    border-bottom: 1px solid black; /* Only a bottom border */
}

.seokiller-oc-answer:hover {
    background-color: transparent; /* Keeps the background transparent on hover */
    color: black; /* Ensures the text color stays black */
}

.seokiller-oc-answer:focus {
    outline: none; /* Removes the default focus outline */
    border-bottom: 1px solid black; /* Reinforces the bottom border on focus */
}

/*#endregion*/

/*#region multiplechoice*/
.seokiller-multiple-choice-question{
    border-bottom: 1px solid black;
    padding: 10px;
}

.seokiller-mc-check-button{
    color:white !important;
    background:black !important;
    border:solid 1px white !important;
    margin:20px;
}
.seokiller-mc-check-button:hover{
    color:black !important;
    background:white !important;
    border:solid 1px black !important;
}

.seokiller-multiple-choice-question ul li input[type="checkbox"] {
    border: 1px solid black !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.seokiller-multiple-choice-question ul li input[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 10px;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.seokiller-multiple-choice-question ul li input[type="checkbox"]:checked::before {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

.seokiller-multiple-choice-question ul li input[type="checkbox"]:hover {
    border-color: black !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}
.seokiller-explanation img{
    width:60%;
    height:auto;
}
/*I am a table*/
.seokiller-explanation table {
    width: 100%;
    margin: 0 auto;
    overflow:scroll;
    border-collapse: collapse; /* Elimina espacios entre celdas */
    font-family: helvetica;
}

/* Estilo para las celdas de encabezado */
.seokiller-explanation th {
    background-color: #000; /* Fondo negro */
    color: #fff; /* Texto blanco */
    padding: 10px;
    text-align: left;
    border: 1px solid #000; /* Bordes negros */
}

/* Estilo para las celdas de datos */
.seokiller-explanation td {
    padding: 10px;
    border: 1px solid #000; /* Bordes negros */
}

/* Alterna el color de fondo de las filas para mejorar la legibilidad */
.seokiller-explanation tbody tr:nth-child(odd) {
    background-color: #f9f9f9; /* Fondo gris claro */
}

.seokiller-explanation tbody tr:nth-child(even) {
    background-color: #fff; /* Fondo blanco */
}

@media (max-width: 768px) {
        .seokiller-explanation th,
    .seokiller-explanation td {
        padding: 8px;
        font-size: 0.6em;
    }
    .seokiller-lesson{
        text-align:left;
        border-radius:0px;
        margin: 0 5px;
        padding: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        font-family:helvetica !important;
}
    .seokiller-explanation img{
        width:100%;
    }
   .exercise-group{
    border:solid 1px black;
    padding: 20px;
    width:100%;
    max-height:90vh;
    overflow-x: scroll;
}
  .seokiller-exercise-menu ul {
        gap: 5px; /* Reduce gap between items */
    }

    .seokiller-exercise-menu ul li button {
        padding: 10px 15px; /* Reduce button padding for smaller screens */
        font-size: 0.9em; /* Adjust font size for better fit */
        max-width: 150px; /* Slightly smaller max width for buttons */
    }
.seokiller-oc-answer {
    color: black;
    font-size: 1.5rem;
    margin:20px;
    background-color: transparent;
    box-sizing: border-box;
    padding: 0.7em 0.5em; /* Consistent padding */
    border: none; /* Removes all borders */
    border-bottom: 1px solid black; /* Only a bottom border */
}
}

/*#endregion*/
