body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
}

.header-bar {
  background-color: #005dca;
  height: 40px;
  width: 100%;
  position: relative;
}

.header-bar img {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  margin-top: 7px;
  margin-left: 10%;
}

.contenedor {
  position: relative;
  overflow: hidden;
  width: 90%;
  max-width: 800px;
  margin: 100px auto;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.cinta-aviso {
  position: absolute;
  top: -40px;
  left: -60px;
  width: 200px;
  height: 70px;
  background: repeating-linear-gradient(
    0deg,           /* ← líneas dentro de la cinta */
    #fdd835,
    #fdd835 10px,
    #000 10px,
    #000 20px
  );
  transform: rotate(-45deg);  /* ← Inclina la franja completa */
  z-index: 2;
}

.contenedor h1 {
  font-size: clamp(48px, 5vw, 36px);
  color: #004884;
  margin-bottom: 20px;
  word-wrap: break-word;
}

.contenedor h2 {
  font-size: clamp(16px, 5vw, 12px);
  color: #666;
  margin-bottom: 20px;
  word-wrap: break-word;
}

.contenedor img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.contenedor p {
  font-size: 24px;
  color: #666;
}

/* Responsive para móviles */
@media (max-width: 600px) {
  .contenedor h1 {
    font-size: 6vw;
  }

  .contenedor p {
    font-size: 16px;
  }
}



