.titlepolit {
  background: #1463d9;
  color: #fff;
  padding: 0.03rem 0;
  text-align: center;
}

.containercate {
    background: white;
    padding: 20px;
    max-width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 100%; /* Ancho conocido del contenedor */
    margin: auto;
  
  }
  .titulocateg{
    color: #ffffff;
    font-size: 1.5rem;
    position: relative;
    text-align: center;
    margin: 20px 0;
}
  
  h1 {
    text-align: center;
    color: #333;
  }
  
  .contenidooo {
    margin: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .image-seccion img {
    margin-top: 1.6rem;
    max-width: 100%;
    border-radius: 8px;
  }
  
  .info-seccion {
    margin-top: 20px;
    width: 100%;
  }
  
  h2 {
    color: #1273eb;
    text-align: center;
  }
  
  .course-listtt {
    list-style-type: none;
    padding: 1rem;
    margin: 5px 0 10px;
  }
  
  .course-listtt li {
    background: #f0f0f0;
    margin: 5px 0;
    padding: 10px;
    border-radius: 4px;
  }
  
  .detailscate {
    position: sticky;
    top: -100px; /* Distancia desde la parte superior donde se fija */
    width: 100%;
  }
  
  .detailscate p {
    margin: 10px 0;
    width: 20rem;
  }
  
  .registercat-btn {
    align-items: center;
    display: block;
    width: 97%;
    color: rgb(255, 255, 255);
    padding: 10px;
    background: #1273eb;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    text-align: center;
  }
  .registercat-btn a {
    color: rgb(255, 255, 255);
  }
  
  .registercat-btn:hover {
    background: #005bb5;
    color: rgb(255, 255, 255);
  }
  .centrarrrr{
    margin-left:3%;
  }
  
  /* Responsividad */
  @media (min-width: 768px) {
    .contenidooo {
      flex-direction: row;
      align-items: flex-start;
    }
  
    .image-seccion {
      width: 50%;
    }
  
    .info-seccion {
      width: 50%;
      margin-top: 0;
      padding-left: 20px;
    }
  
    .detailscate {
      margin-top: 20px;
      width: 50%;
      padding-left: 20px;
    }
  }

  