body {
  margin: 0 auto;
  max-width: 1024px;
  background-color: #e3e3e3;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
h1 {
  font-size: 1.25em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  padding: 2px;
  background-color: gray;
}
h2 {
  font-size: 1em;
  color: #797979;
  border-left: 4px solid #797979;
  text-align: center;
  text-transform: uppercase;
  padding: 4px;
  margin: 4px 0;
}
h3 {
  color: #2c3e50;
  font-size: 1em;
  padding-left: 4%;
}

.container {
      max-width: 1024px;
      margin: 10px auto;
      background: #fff;
      padding: 15px;
      border-radius: 8px;
      box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
p {
  margin-left: 4%;
}
    .question {
      margin-bottom: 1em;
      padding: 5px 15px;
      border-left: 3px solid #3498db;
      background: #ecf6fb;
      border-radius: 5px;
    }

    .question p {
      /*! margin-bottom: 10px; */
      font-weight: bold;
      color: #065bff;
    }

    label {
      display: block;
      margin: 5px 0;
      cursor: pointer;
    }
    .options label {
      display: block;
      margin: 8px 0;
      cursor: pointer;
    } 
    input[type="radio"] {
      margin-right: 8px;
    }

    .button-group {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }

    button  {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s cubic-bezier(.68,-0.55,.27,1.55);
  background-color: gray;
  color: white;
  font-size: 1.1em;
}
        button:hover {
            background-color: #2980b9;
        }

    .submit-btn {
      background-color: #28a745;
      color: white;
    }

    .submit-btn:hover {
      background-color: #218838;
    }


    .final-btn {
      background-color: #007bff;
      color: white;
    }

    .final-btn:hover {
      background-color: #0056b3;
    }

    .total-reset-btn {
      background-color: #6c757d;
      color: white;
    }

    .total-reset-btn:hover {
      background-color: #5a6268;
    }

    .result {
  color: white;
  margin: 1em;
  padding-left: 4%;
  border: 1px inset gray;
  background-color: gray;
}

   .summary {
  color: white;
  margin: 1em;
  padding-left: 4%;
  border: 1px inset gray;
  background-color: gray;
}

   .summary .result {
  color: white;
  margin: 1em;
  padding-left: 4%;
  border: 1px inset gray;
  background-color: gray;
}
    #counter {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 15px;
  background-color: gray;
  padding: 2px 10px;
  font-weight: bold;
  border: 1px inset;
  border-radius: 4px;
}
ul {
  list-style: disc;
  line-height: 1.4em;
  color: gray;
  font-size: 0.95em;
}

ul li {
  list-style: disc;
  line-height: 1.4em;
  color: gray;
  font-size: 0.95em;
}
        
        .score {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 10px;
        }
        .feedback {
            margin-top: 15px;
            padding: 10px;
            background-color: #e2e3e5;
            border-radius: 4px;
        }
        .hidden {
            display: none;
        }
        .language-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        .language-table th, .language-table td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        .language-table th {
            background-color: #f2f2f2;
        }
        .language-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
.incorrect {
      color: red;
    }
    .solution {
      display: none;
      margin-top: 10px;
      background-color: #e9f5ff;
      padding: 10px;
      border-left: 4px solid #007acc;
    }
    
    
    .activity-card {
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px #ccc;
      max-width: 950px;
      margin: auto;
    }

    .matching-game {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-top: 20px;
    }

    .matching-column {
      flex: 1;
    }

    .matching-items {
  border: 1px solid #ccc;
  min-height: 32px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 4px;
}
    .matching-item {
      background: #dff0ff;
      margin: 5px;
      padding: 10px;
      border-radius: 5px;
      cursor: grab;
      border: 1px solid #90c3f0;
    }

    .matching-item.dragging {
      opacity: 0.5;
    }

    .matching-items.over {
      background: #e0ffe0;
    }

    .btn {
      margin-top: 15px;
      padding: 10px 15px;
      font-size: 16px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .btn-primary {
      background-color: #4CAF50;
      color: white;
    }

    .btn-warning {
      background-color: #f0ad4e;
      color: white;
    }

    .feedback {
      margin-top: 15px;
      padding: 10px;
      border-radius: 5px;
      font-weight: bold;
    }

    .extra-info {
      font-size: 0.9em;
      color: #555;
      margin-top: 5px;
      padding-top: 5px;
      border-top: 1px dashed #ccc;
    }
    .boton-inicio {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  margin: 20px;
  background-color: #ff3030;
  color: white;
  float: right;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 2px rgb(255, 255, 255);
}    
    .boton-inicio:hover {
      background-color: #2980b9;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

