/* LICITACIÓN */

.prin {
  margin-top: 50px;
  /* display: flex; */
  margin-left: 50px;
  /* justify-content: center;
    flex-direction: column;
    align-items: center; */
  padding: 10px;
  width: 90%;
  overflow-x: hidden;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: bold;
  color: #691d33;
  text-transform: uppercase;
  border-bottom: 3px solid #bc945c;
  display: inline-block;
  padding-bottom: 10px;
  width: 100%;
  text-align: left;
  margin-left: 31px;
}

/* .wrap {
  display: grid;
  grid-column: auto;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  min-height: 100vh;
  align-items: start;
} */

iframe#viewer {
  grid-column: 2;
  /* Coloca el iframe en la segunda columna */
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Botones */
.primary-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: #691d33;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
  background: #a02142;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.primary-btn:focus {
  outline: none;
  box-shadow: 0 0 8px 2px rgba(216, 30, 31, 0.7);
}

/* Lista secundaria */
.sub {
  display: none;
  list-style: none;
  padding: 10px;
  font-size: 1.1rem;
  background-color: #a68888;
  border: 1px solid #b8b8b8;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

li {
  list-style-type: none;
}

.sub li {
  margin-bottom: 8px;
}

.sub li:last-child {
  margin-bottom: 0;
}

.sub li a {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
  border-bottom: 1.5px solid black;
  border-radius: 6px;
  margin-bottom: 10px;
  transition: background-color 0.3s;
}

.sub li a:hover {
  background-color: #f0f0f0;
}

.wrap {
  display: grid;
  grid-template-columns: 1fr 3fr;
  /* Por defecto, menú a la izquierda y contenido a la derecha */
  grid-template-areas:
    "menu contenido";
  gap: 10px;
}

.primary {
  grid-area: menu;
}

.iframe-container {
  grid-area: contenido;
}

.iframe-container iframe{
  width: 100%; 
  height: 750px; 
  border: none;
}

@media screen and (max-width: 768px) {
  .wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "contenido"
      "menu";
  }

  .prin {
    margin-left: 12px;
  }

  h1 {
    margin-left: 10px;
  }

  .iframe-container iframe{
    height: 300px;
  }
}