  .modal {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
      padding: 10px;
  }

  /* Contenido del modal */
  .modal-content {
      background: white;
      border-radius: 12px;
      max-width: 500px;
      height: auto;
      width: 100%;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      animation: fadeIn 0.3s ease-in-out;
  }

  /* Imagen */
  .modal-content img {
      display: block;
      width: 100%;
      height: 300px;
      object-fit: cover;
  }

  /* Texto */
  .modal-body {
      padding: 15px;
      text-align: center;
  }

  .modal-body h2 {
      margin: 10px 0;
      font-size: 1.4rem;
      color: var(--primary-color);
  }

  .modal-body p {
      margin: 0;
      font-size: 0.9rem;
      color: #666;
      line-height: 1.3;
      padding-bottom: 0.5em;
  }

  /* Botón de cerrar */
  .close {
      position: absolute;
      top: 2rem;
      right: 4rem;
      font-size: 28px;
      font-weight: bold;
      color: var(--primary-color);
      padding: 0.1em 0.3em;
      background-color: black;
      border-radius: 5px;
      cursor: pointer;
      z-index: 3;
      transition: 0.1s background-color ease;

      &:hover {
          color: black;
          background-color: white;
      }
  }

  @keyframes fadeIn {
      from {
          opacity: 0;
          transform: scale(0.9);
      }

      to {
          opacity: 1;
          transform: scale(1);
      }
  }

  /* Responsivo */
  @media (max-width: 600px) {
      .modal-content {
          max-width: 80%;

          .modal-body {
            h2{
                font-size: 14px;
            }
              p {
                  font-size: 12px;
              }
          }
      }
  }