/* === Estilos base === */

/* === Footer === */


/* === Layout general === */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* === Sección de servicios === */
.servicios-universidad {
  background-color: #f0f4f8;
  padding: 40px 20px;
  border-radius: 12px;
  max-width: 1200px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.servicios-universidad h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #2c3e50;
}

.servicios-universidad ul {
  list-style: none;
  padding: 0;
}

.servicios-universidad li {
  font-size: 18px;
  margin-bottom: 10px;
  padding-left: 10px;
}

/* === Tarjetas de servicios === */
.tarjetas-servicios {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tarjeta {
  flex: 1 1 300px;
  max-width: 300px;
  background-color: #f5f5f5;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}


.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.tarjeta h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #34495e;
}

.tarjeta p {
  font-size: 16px;
  color: #555;
}

/* === Sección RVOE === */
.rvoe-section {
  background-color: #0072BB;
  padding: 2rem;
  color: #ffffff; /* azul institucional */
}
.rvoe-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-items: center;
  margin-top: 2rem;
}

.rvoe-item {
  background-color: #0072BB;
  border-radius: 8px;
  padding: 1rem;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.rvoe-item:hover {
  transform: scale(1.05);
}

.rvoe-item img {
  /*width: 80px;*/
  margin-bottom: 1rem;
}
/* === Barra lateral === */
.sidebar {
  position: fixed;
  top: 132px;
  right: 0;
  width: 290px;
  background-color: #0072BB;
  color: white;
  padding: 1.5rem;
  height: calc(13%);
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  overflow-y: auto;
  z-index: 1000;
}

.sidebar h3 {
  margin-top: 0;
  font-size: 20px;
  margin-bottom: 1rem;
}

.sidebar label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.sidebar input,
.sidebar textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  border: none;
  border-radius: 4px;
}

.sidebar button {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background-color: #ffcc00;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #004080;
  font-weight: bold;
}

.sidebar button:hover {
  background-color: #ffd633;
}

/* === Ajuste del contenido principal para escritorio === */
.servicios-universidad,
.rvoe-section,
.content {
  margin-right: 0px;
}

/* === Estilos responsive para móviles === */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }


  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: #000000;
    box-shadow: none;
    z-index: 10;
  }

  .sidebar h3 {
    text-align: center;
	z-index: 1000;

  }

  .sidebar form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sidebar input,
  .sidebar textarea {
    width: 90%;
  }

  .sidebar button {
    width: 50%;
  }

  .servicios-universidad,
  .rvoe-section,
  .content {
    margin-right: 0;
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .tarjetas-servicios {
    flex-direction: column;
    align-items: center;
  }

  .tarjeta {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 90%;
  }
