
 /*NUEVOOOOOOOOOOOOO*/
 /**
 * Oscuro: #283035
 * Azul: #03658c
 * Detalle: #c7cacb
 * Fondo: #dee1e3
 ----------------------------------*/
 * {
   margin: 0;
   padding: 0;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

 /*Duda*/
 .abs-center {
   display: flex;
   align-items: center;
   justify-content: center;
 }

 /*Duda*/
 .btn-light{
   background-color: #e0c7e5;
   color: black;
   
}


a {
   color: #7C83FD;
   text-decoration: none;
}

ul {
  list-style-type: none;
}

body {
   font-family: 'Poppins', sans-serif;
}

.container-nina {
  right: 0;  
  position: relative;
  top: -5px;
  padding-right: 3rem;
  width: fit-content;
  margin-top: 3em;
}
.img-nina {
  min-width: 200px;
  max-width: 430px;
 
}


/* Sección de curso */
.course-section {
  background: linear-gradient(to bottom, #FFFFFF, #E3E4FF);
  padding: 60px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
}

/* Contenedor de contenido */
.content-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* Contenido de texto */
.text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  margin-top: 4rem;
  width: 600px;
}

.titlecurso {
  font-family: 'Baloo Tamma 2';
  font-size: 3.5rem;
  color: #7D84FF;
  margin-bottom: 15px;
  font-weight: 800;
}

.profesor {
  font-size: 1rem;
  color: #000;
  margin-bottom: 10px;
}

.descripcion {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
  width: 530px;
}

/* Información con iconos */
.info-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.info-icons div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
}

/* Botón e Iconos alineados */
.button-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;             
  width: 100%;
  margin-top: 15px;
}

.cta-button {
  background-color: #7D84FF;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #6C6FFF;
}

/* Contenedor de íconos */
.icons-container {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.icon {
  width: 35px;
  height: 35px;
  cursor: pointer;
}

/* Imagen */
.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}



/* Sección de tres columnas*/
.info-section {
  background-color: #FFFFFF;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
}

/* Contenedor de las columnas */
.info-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  gap: 20px;
}

/* Estilo de cada columna */
.info-column {
  flex: 1;
  text-align: center;
}

.info-column h3 {
  color: #7D84FF;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.info-column p {
  color: #333;
  font-size: 1.1rem;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .info-column {
    width: 100%;
  }
}



/*seccion de contenido del curso*/	
.containerintro {
  height: 250px; /* Tamaño específico para la introducción */
  overflow: auto; /* Permitir scroll si el contenido excede */
}

/* Sección de contenido general del curso */
.colorsdegradado {
  padding: 20px 40px;
  background: #E3E4FF;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Ajustes de encabezados */
.font-weight-bold {
  margin-bottom: 10px; /* Controlar margen inferior de títulos */
}

/* Card para módulos */
.card {
  border: none;
  margin-bottom: 15px;
  border-radius: 9px;
}

/* Contenido del curso */
.contentcourse {
  background-color: #fff;
  border: 4px solid #7C83FD;
  border-radius: 9px;
  padding: 15px;
  max-width: 460px;
  margin: 0 auto;
}

/* Botón de verificar certificado */
.verify-button {
  background-color: #7C83FD;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 15px;
}

.verify-button:hover {
  background-color: #5a63d9;
}

@media (max-width: 768px) {
  .col-md-6 {
      width: 100%;
      margin-bottom: 20px;
  }
}

.nombre-profesor {
  font-size: 2rem; /* Tamaño de fuente más grande */
  color: #7D84FF; /* Color de texto */
  margin-bottom: 10px; /* Espaciado inferior */
}

.especialidad-profesor {
  font-size: 1.5rem; /* Ajustar tamaño de fuente */
  color: #333; /* Color más oscuro para mejor contraste */
  margin-bottom: 15px; /* Espaciado inferior */
}

.descripcion-profesor {
  font-size: 1.1rem; /* Tamaño de texto legible */
  color: #666; /* Color más claro */
  margin-bottom: 20px; /* Espaciado inferior */
}

/* Estilo para el botón */
.btn-instructor {
  background-color: #7D84FF;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s; /* Transición suave */
}

.btn-instructor:hover {
  background-color: #6C6FFF; /* Color más oscuro al pasar el mouse */
}



/* Sección de Opiniones */
.carousel-inner {
  display: flex;
  overflow-x: auto; /* Permite deslizar en pantallas táctiles */
  scroll-behavior: smooth;
  padding: 20px;
  flex-wrap: nowrap; /* Evita que los elementos se envuelvan */
}

.carousel-item {
  flex: 0 0 calc(100% / 3); /* Tres tarjetas visibles en pantallas grandes */
  transition: transform 0.5s ease-in-out;
}


.student-reviews {
  background-color: #E3E4FF;
  padding: 40px;
}

.reviews-title {
  color: #7D84FF;
  font-family: 'Baloo Tamma 2';
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

/* Card */
.review-card {
  background-color: #FFFFFF;
  border: 9px solid #7D84FF;
  border-radius: 10px;
  padding: 20px;
  height: 500px;
  position: relative;
  margin: 0 20px;
  transition: transform 0.5s ease;
}

/* Responsive - Menos tarjetas en pantallas pequeñas */
@media (max-width: 768px) {
  .review-card {
      height: auto;
  }
}

/* Opacidad para las tarjetas no activas */
.carousel-item {
  transition: transform 0.5s ease;
  flex: 0 0 calc(100% / 3);
}

/* Foto del estudiante */
.student-photo {
  width: 110px;
  height: 105px;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
}

/* Icono de comillas */
.quote-icon {
  width: 130px;
  height: 110px;
  position: absolute;
  bottom: 10px;
  right: 10px;
}


/* Estilo para la sección de calificación */
.rating-section {
  background-color: #FFFFFF;
  padding: 140px;
  text-align: center;
}

.rating-title {
  color: #7D84FF;
  font-family: 'Baloo Tamma 2';
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Estilo para las estrellas */
.star-rating {
  display: inline-block;
  cursor: pointer;
}

.star {
  font-size: 40px;
  padding: 5px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Color de estrella al pasar el mouse */
.star:hover,
.star.selected {
  color: #7D84FF;
}

.star-wrapper {
  margin: 0px 0;
}


/* Estilo para el área de comentarios */
.comment-area {
  width: 80%;
  height: 230px;
  margin: 20px auto;
  padding: 10px;
  border: 4px solid #7D84FF;
  border-radius: 5px;
  resize: none;
}

/* Estilo para el botón */
.submit-button {
  background-color: #7D84FF;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.button-wrapper {
  margin-top: 0px;
}

.submit-button:hover {
  background-color: #6C75D9;
}

/* Estilo para la seccion mas cursos */


/* Estilo para la sección del botón */
.btndetailcurso {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Estilo personalizado del botón */
.btn-custom {
  display: inline-block;
  padding: 10px 30px;
  background-color: #7D84FF;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  transition: all 0.3s ease;
}

/* Hover efecto para el botón */
.btn-custom:hover {
  color: #fff;
  background-color: #6a70e8;
}




/*
 Lista de Comentarios
=======================*/

.comments-container {
  margin-left: 54px;
  flex-grow: 1;
}

#comments-list {
  width: 100%;
  max-width: 740px;
}

.comment-arrow i{
  position: relative;
  top: 20px;
  right: -1px;
  font-size: 30px;
  color: #7C83FD;
}

.comment-box {
  width: 100%;
}

.comments-list {
  margin: 1rem 0;
  position: relative;
}

/**
* Lineas / Detalles
-----------------------*/
.comments-list:before {
  content: '';
  width: 2px;
  height: 100%;
  background: #c7cacb;
  position: absolute;
  left: 32px;
  top: 0;
}

.comments-list:after {
  content: '';
  position: absolute;
  background: #c7cacb;
  bottom: 0;
  left: 29px;
  width: 7px;
  height: 7px;
  border: 3px solid #dee1e3;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.comments-list.reply-list li {
  display: flex;
}

.reply-list li:before {
  content: '';
  width: 55px;
  height: 2px;
  background: #c7cacb;
  position: absolute;
  top: 25px;
  left: -55px;
}

.comments-list li {
  display: block;
  position: relative;
}

.comments-list li:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
  width: 0;
}

.reply-list {
  padding-left: 88px;
  margin-top: 15px;
}
/**
* Avatar
---------------------------*/
.comments-list .comment-avatar {
  flex-shrink: 0;
  width: 65px;
  height: 65px;
  border: 3px solid #FFF;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 50%;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  overflow: hidden;
}

.comments-list .comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  max-width: unset;
}

.reply-list .comment-avatar {
  width: 50px;
  height: 50px;
}

/**
* Caja del Comentario
---------------------------*/

.comment-box .comment-head, .comment-box .comment-content {
  padding: 10px 12px 10px 22px;
}

.comment-box .comment-head {
  background: #7C83FD;
  border-bottom: 1px solid #E5E5E5;
  overflow: hidden;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  border-radius: 20px 20px 0 0;
}

.comment-box .comment-head i {
  color: #A6A6A6;
  -webkit-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.comment-box .comment-head i:hover {
  color: #03658c;
}

.comment-box .comment-name {
  color: #283035;
  font-size: 14px;
  font-weight: 700;
}

.commen-name{
  display: inline-block;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0;
}

.comment-box .comment-name a {
  color: #283035;
}

.comment-box .comment-head span {
  color: #fff;
  font-size: 13px;
}
.comment-box .comment-head span i {
  color: #dadada;
  font-size: 4px;
}

.comment-box .comment-content {
  background: #FFF;
  font-size: 15px;
  color: black;
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 20px 20px;
  width: auto;
  /* Control de la altura con base en el texto del div*/
  height: auto;
  word-wrap: break-word;
}

.comment-box .comment-name.by-author, .comment-box .comment-name.by-author a {color: #03658c;}
.comment-box .comment-name.by-author:after {
  content: 'autor';
  background: #03658c;
  color: #FFF;
  font-size: 12px;
  padding: 3px 5px;
  font-weight: 700;
  margin-left: 10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

#btnComienzaAhora_2 {
  width: auto;

  position: relative;
  left: -10px;
}

#btnComentar2 {

  /*Centrar botón*/
  /* display: block;  */
  margin: 0 auto;
}

#botonEliminarTodo {

  position: relative;
  left: 70px;
}

/****************************************************************************************************/
/** =====================
* Responsive
========================*/
@media (max-width: 1300px) {
  .img-nina {
      position: relative;
      max-width: 320px;
      max-height: 350px;
  }
}
@media (max-width: 913px) {
  div.flex.topup {
      flex-direction: column;
  }
  .container-nina {
      position: static;
      width: auto;
      padding-right: 0;
      display: flex;
      justify-content: center;
      margin-bottom: 2rem;
      margin-top: 1em;
  }
  .img-nina {
      position: static;
      max-width: 250px;
      max-height: 300px;
      
  }
  .comments-container {
      margin: 0 30px;
  }
}

@media only screen and (max-width: 766px) {

  #btnComienzaAhora_2 {
    width: auto;

    position: relative;
    left: -10px;
  }
  
  #btnComentar2 {

    /*Centrar botón*/
    /* display: block;  */
    margin: 0 auto;
  }

  #botonEliminarTodo {

    position: relative;
    left: 12px;
  }
}

@media (max-width: 668px) {
  .comment-box .comment-head button {
    padding: 0 0.2rem;
    font-size: .8rem;
  }
  .comment-box .comment-head span {
    font-size: .8rem;
  }
  .comment-box .comment-content {
    font-size: .9rem;
  }

  .comments-list .comment-avatar {
    width: 38px;
    height: 38px;
  }
  .comments-list::before {
    left: 18px;
  }
  .reply-list {
    padding-left: 58px;
  }
  .reply-list li::before {
    left: -39px;
    top: 21px;
    width: 40px;
  }
  .comments-list:after {
    left: 16px;
  }
  .comment-box .comment-head, .comment-box .comment-content {
    padding: 10px 12px 10px 16px;
  }
  .comment-box .comment-head {
    border-radius: 15px 15px 0 0;
  }
  .comment-box .comment-content {
    border-radius: 0 0 15px 15px;
  }
  .comment-arrow i{
    top: 8px;
  }
}
@media (max-width: 425px) {
  .reply-list {
    padding-left: 35px;
  }
  .reply-list li::before {
    left: -17px;
    top: 21px;
    width: 17px;
  }
}

/****************************************************************************************************/

/* CODIGO SIDEBAR */

:root{
  --orange:#9494fc ;
}

.cont_formular{
    width: 100%;
    height: auto;
    padding: 15px;
}

.container-contformulario{
  font-family: 'Nunito', sans-serif;
}

.boton1{
  display: inline-block;
  margin-top: 1rem;
  background:var(--orange);
  color:#fff;
  padding:.8rem 3rem;
  border:.2rem solid var(--orange);
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
}

.boton1:hover{
  background:#d6d6fd ;
  border-color: #d6d6fd ;
  color:#a9a9af ;
  font-weight: bold;
  transition: 0.3s ease-in-out all;
}

.contformulario .row{
  display: flex;
  flex-wrap: wrap;
  gap:1.5rem;
  align-items: center;
  margin: 0 1rem;
}

.contformulario .row .image{
  flex:1 1 25rem;
}

.contformulario .row .image img{
  width:100%;
}

.contformulario .row form{
  flex:1 1 25rem;
  padding:1rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,.1);
  border-radius: .5em;
  display: inline-block;
  grid-template-columns:auto auto;
  gap: 10px;
  width: 100%;
}

.contformulario .row form .inputBox{
  padding:.5rem 0;
}
.contformulario .row form .boton1{
  grid-column: 1 / 3;
}

.contformulario .row form .inputBox input, select, textarea{
  font-family: 'Nunito', sans-serif;
  width:100%;
  padding:.5rem 0 .5rem .5rem;
  border:.1rem solid rgba(0,0,0,.1);
  font-size: 1em;
  color:#333;
  text-transform: none;
}
.contformulario .row form .inputBox input:focus , select:focus, textarea:focus{
  border-color: #8494f4  ;
  outline: 0 none;
  
}

.contformulario .row form .inputBox h3{
  /*font-size: 1em;*/
  color:#666;
  margin: 0.5rem 0;
  font-weight: bold;
}

.title{
  font-family: 'Satisfy', cursive;
  font-size: 3em;
  color: #27ae60;
}

.about .content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 30rem;
  flex: 1 1 30rem;
}
  
.about .content span {
  font-family: "Satisfy", cursive;
  font-size: 3rem;
  color: #27ae60;
}

.boton_personalizado{
  display: inline-block;
  text-align: center;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 5px;
  margin: 5px;
  color: #ffffff;
  border: none;
  background: gray;
  border-radius: 5px;
  cursor: pointer;
  font-size:medium;
}

.boton_personalizado:hover{
  background: black;
  transition: 0.3s ease-in-out all;
}
