:root {
        --primary-color: #5b6abf;
        --secondary-color: #9c64a6;
        --accent-color: #6a5acd;
        --light-color: #e6e6fa;
        --success-color: #4caf50;
        --error-color: #f44336;
        --text-color: #2c3e50;
        --white: #ffffff;
      }

      /* Header styles */
      .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(
          135deg,
          var(--primary-color),
          var(--secondary-color)
        );
        padding: 0 10%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        height: 70px; /* Fixed height for consistency */
      }

      .header:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
      }

      .logo {
        font-size: 28px;
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        color: var(--white);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        letter-spacing: 1px;
      }

      .navigation ul {
        list-style: none;
        margin: 0;
        padding: 0;
      }

      .header .navigation ul li {
        float: left;
        position: relative;
      }

      .header .navigation ul li a {
        font-family: "Poppins", sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: var(--white);
        text-decoration: none;
        padding: 22px 20px;
        display: block;
        transition: all 0.3s ease;
      }

      .header .navigation ul li a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
      }

      .header .navigation ul li ul {
        position: absolute;
        right: 0;
        width: 220px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        display: none;
        overflow: hidden;
      }

      .header .navigation ul li ul li a {
        color: var(--text-color);
        padding: 12px 20px;
        font-size: 14px;
      }

      .header .navigation ul li ul li a:hover {
        background-color: var(--light-color);
        color: var(--primary-color);
      }

      .header .navigation ul li:hover > ul {
        display: initial;
        animation: fadeIn 0.3s ease-out;
      }

      #toggle,
      .header label {
        display: none;
        cursor: pointer;
      }

      .menu {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
      }

      @media (max-width: 950px) {
        .header label {
          display: initial;
        }

        .header {
          padding: 15px 10%;
        }

        .header .navigation {
          position: absolute;
          top: 100%;
          left: 0;
          right: 0;
          background: var(--primary-color);
          display: none;
          border-radius: 0 0 12px 12px;
        }

        .header .navigation ul li {
          width: 100%;
        }

        .header .navigation ul li a {
          padding: 12px 20px;
        }

        .header .navigation ul li ul {
          position: relative;
          width: 100%;
          left: 0;
          background: rgba(255, 255, 255, 0.1);
        }

        .header .navigation ul li ul li a {
          padding-left: 30px;
        }

        #toggle:checked ~ .navigation {
          display: block;
          animation: slideDown 0.4s ease-out;
        }
      }

      /* Main content styles */
      body {
        font-family: "Poppins", sans-serif;
        background: linear-gradient(135deg, #e0f7fa, #d1c4e9, #b3e5fc);
        margin: 0;
        padding: 0;
        color: var(--text-color);
        background-size: 400% 400%;
        animation: gradientBG 15s ease infinite;
        /* Add padding to account for fixed header */
        padding-top: 90px; /* Increased to ensure content isn't hidden */
        min-height: 100vh;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Comic Sans MS", "Chalkboard SE", sans-serif;
      }

      .container {
        max-width: 900px;
        margin: 0 auto;
        background-color: white;
        border-radius: 12px;
        padding: 25px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        /* Add margin-top to push the container down below the fixed header */
        margin-top: 30px;
      }

      header {
        text-align: center;
        margin-bottom: 25px;
        /* Add padding to make sure the title is not covered by the fixed menu */
        padding-top: 20px;
      }

      h1 {
        color: var(--primary-color);
        font-size: 28px;
        margin-bottom: 10px;
      }

      .instructions {
        background-color: #f0f4ff;
        border-left: 5px solid var(--primary-color);
        padding: 15px;
        margin-bottom: 25px;
        border-radius: 0 8px 8px 0;
      }

      .adjectives-box {
        background-color: var(--light-color);
        border: 2px dashed var(--secondary-color);
        border-radius: 10px;
        padding: 15px;
        margin: 20px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
      }

      .adjective {
        background-color: var(--secondary-color);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: bold;
        cursor: pointer;
        transition: transform 0.2s, background-color 0.2s;
        font-size: 16px;
      }

      .adjective:hover {
        transform: translateY(-3px);
        background-color: var(--primary-color);
      }

      .example {
        background-color: #fafafa;
        padding: 15px;
        margin: 20px 0;
        border-radius: 8px;
        border-left: 5px solid var(--accent-color);
      }

      .exercise-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 20px;
        margin-top: 25px;
      }

      .comparison-item {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        border: 2px solid #e0e0e0;
        transition: transform 0.3s;
      }

      .comparison-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
      }

      .comparison-images {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #eeeeee;
        position: relative;
        padding: 15px;
        background-color: #f9f9f9;
      }

      .image-container {
        width: 45%;
        text-align: center;
        position: relative;
      }

      .image-container img {
        width: 100px;
        height: 120px;
        object-fit: contain;
      }

      .image-label {
        font-size: 12px;
        color: var(--dark-color);
        margin-top: 5px;
        font-weight: bold;
      }

      .comparison-symbol {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        background-color: var(--dark-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        border-radius: 50%;
        font-size: 20px;
      }

      .answer-section {
        padding: 15px;
        text-align: center;
      }

      .response-input {
        width: 100%;
        padding: 10px 15px;
        border: 2px solid #e0e0e0;
        border-radius: 5px;
        font-size: 16px;
        margin-top: 10px;
        transition: border-color 0.3s;
      }

      .response-input:focus {
        border-color: var(--primary-color);
        outline: none;
      }

      .check-answer {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 15px;
        font-weight: bold;
        transition: background-color 0.3s;
      }

      .check-answer:hover {
        background-color: var(--secondary-color);
      }

      .feedback {
        margin-top: 15px;
        font-weight: bold;
        min-height: 24px;
      }

      .correct {
        color: var(--success-color);
      }

      .incorrect {
        color: var(--error-color);
      }

      .submit-all {
        background: linear-gradient(135deg, var(--accent-color), #ff9e80);
        color: white;
        border: none;
        padding: 12px 30px;
        border-radius: 50px;
        font-size: 18px;
        font-weight: bold;
        margin: 30px auto;
        display: block;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(255, 112, 67, 0.3);
        transition: transform 0.3s, box-shadow 0.3s;
      }

      .submit-all:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(255, 112, 67, 0.4);
      }

      .results {
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 30px;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: none;
      }

      .results h2 {
        color: var(--primary-color);
        margin-bottom: 15px;
      }

      .score {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 15px;
      }

      .retry {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 10px 25px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
        transition: background-color 0.2s;
      }

      .retry:hover {
        background-color: var(--secondary-color);
      }

      @media (max-width: 768px) {
        .container {
          padding: 15px;
          margin-top: 15px;
        }

        .exercise-container {
          grid-template-columns: 1fr;
        }

        h1 {
          font-size: 24px;
        }

        /* Add additional padding to the header on mobile */
        header {
          padding-top: 30px;
        }
      }

      /* Animaciones */
      @keyframes gradientBG {
        0% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
        100% {
          background-position: 0% 50%;
        }
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(-10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes slideDown {
        from {
          opacity: 0;
          transform: translateY(-20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes pulse {
        0% {
          transform: scale(1);
        }
        50% {
          transform: scale(1.05);
        }
        100% {
          transform: scale(1);
        }
      }

      @keyframes bounce {
        0%,
        20%,
        50%,
        80%,
        100% {
          transform: translateY(0);
        }
        40% {
          transform: translateY(-15px);
        }
        60% {
          transform: translateY(-7px);
        }
      }