@charset "UTF-8";
/* VARIABLES GLOBALES */
/* COLORES */
/* FUENTES */
/* Variables Media Querys */
/* Box-Model/Box-Sizing */
/* Bottoms */
/* Background-Img */
/* Background-Fondo */
/* Distancia-Texto */
/* PSEUDOCLASE hover */
/* Menu Footer */
/* Mixins Media Querys */
/*ESTOS MIXINS NO REQUIREN
PARENTESIS PORQUE LA VARIABLE SE
INYECTA DE FORMA DIRECTA CON LA 
SIGUIENTE SYNTAX:
480px
 */
/* Telefono Muy pequeño */
/* Telefono */
/* Tablet */
/* Desktop */
/* Carrito Despues De 400 */
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

body {
  font-family: "Raleway", sans-serif;
}

.contenedor {
  max-width: 1100px;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.carrito-compras {
  margin: 0;
  position: relative;
  cursor: pointer;
  /* &:hover */
}

@media only screen and (min-width: 401px) {
  .carrito-compras {
    margin: 0 0.2rem;
  }
}

@media only screen and (min-width: 480px) {
  .carrito-compras {
    margin: 0 0.5rem;
  }
}

@media only screen and (min-width: 768px) {
  .carrito-compras {
    margin: 0 1rem;
  }
}

.carrito-compras .contenido.oculto {
  padding: 1px;
  min-width: 320px;
  display: block;
  position: absolute;
  z-index: 1;
  right: 0;
  background-color: #f2f2f2;
}

@media only screen and (min-width: 401px) {
  .carrito-compras .contenido.oculto {
    width: 350px;
    padding: 0.5rem;
  }
}

@media only screen and (min-width: 480px) {
  .carrito-compras .contenido.oculto {
    width: 390px;
    padding: 0.5rem;
  }
}

@media only screen and (min-width: 768px) {
  .carrito-compras .contenido.oculto {
    width: 500px;
    padding: 1rem;
  }
}

.carrito-compras .contenido.oculto img {
  max-width: 150px;
}

.carrito-compras .contenido.oculto .boton {
  background-color: #33c3f0;
  padding: 0.8rem 1rem;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 1.2rem;
  color: #ffffff;
}

.contenido.oculto {
  display: none;
}

/* Funcionalidad Carrito Compras */
.parte-titulos,
.dom-dinamico {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 50px 50px 50px 50px 50px;
  grid-row-gap: 0.5rem;
  grid-column-gap: 0.2rem;
  justify-items: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.parte-titulos p,
.dom-dinamico p {
  width: 100%;
  font-weight: normal;
  font-size: 12px;
  text-align: center;
}

@media only screen and (min-width: 480px) {
  .parte-titulos p,
  .dom-dinamico p {
    font-size: 13px;
  }
}

@media only screen and (min-width: 480px) {
  .parte-titulos,
  .dom-dinamico {
    grid-template-columns: 90px 50px 40px 60px 40px 40px;
    grid-gap: 0.5rem;
    justify-items: center;
    align-items: center;
  }
}

@media only screen and (min-width: 768px) {
  .parte-titulos,
  .dom-dinamico {
    grid-template-columns: 100px 80px 50px 80px 50px 50px;
    grid-gap: 0.5rem;
    justify-items: center;
    align-items: center;
  }
}

.parte-titulos .img-carrito,
.dom-dinamico .img-carrito {
  width: 50px;
}

@media only screen and (min-width: 480px) {
  .parte-titulos .img-carrito,
  .dom-dinamico .img-carrito {
    width: 80px;
  }
}

@media only screen and (min-width: 768px) {
  .parte-titulos .img-carrito,
  .dom-dinamico .img-carrito {
    width: 98px;
  }
}

.parte-titulos .precio-individual,
.dom-dinamico .precio-individual {
  font-weight: bold;
}

.parte-titulos .container-spinner,
.dom-dinamico .container-spinner {
  grid-column: 3 / 5;
  grid-row: 3 / 5;
}

@media only screen and (min-width: 480px) {
  .parte-titulos .container-spinner,
  .dom-dinamico .container-spinner {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
  }
}

.parte-titulos .container-mensaje,
.dom-dinamico .container-mensaje {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1rem;
  font-family: "Raleway", sans-serif;
}

.referencia {
  position: relative;
}

.referencia .agrupar-cantidad {
  display: flex;
}

.referencia .agrupar-cantidad p {
  position: absolute;
  top: 6px;
  left: 27px;
}

.curso-individual {
  background-color: #f12626;
  border-radius: 100%;
  color: #ffffff;
  padding: 0.5rem;
}

@media only screen and (min-width: 480px) {
  .curso-individual {
    width: 100%;
  }
}

.btn-container {
  display: flex;
  justify-content: space-around;
  margin-top: 0.5rem;
}

@media only screen and (min-width: 480px) {
  .btn-container {
    justify-content: space-between;
  }
}

.btn-container #btn-uno {
  width: 49%;
  height: 20%;
  padding: 1rem 0;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #f12626;
}

@media only screen and (min-width: 480px) {
  .btn-container #btn-uno {
    font-size: 0.8rem;
    padding: 0.8rem 0.5rem;
  }
}

@media only screen and (min-width: 768px) {
  .btn-container #btn-uno {
    font-size: 1.2rem;
    padding: 0.8rem 1rem;
  }
}

.btn-container .botonComprar {
  width: 49%;
  height: 20%;
  padding: 1rem 0;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #33c3f0;
}

@media only screen and (min-width: 480px) {
  .btn-container .botonComprar {
    font-size: 0.8rem;
    padding: 0.8rem 0.5rem;
  }
}

@media only screen and (min-width: 768px) {
  .btn-container .botonComprar {
    font-size: 1.2rem;
    padding: 0.8rem 1rem;
  }
}

.hero {
  min-height: 24rem;
  background-image: url("../assets/img/hero.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.hero .contenido-hero {
  flex: 1;
}

.hero .contenido-hero h2 {
  font-weight: 400;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero .contenido-hero p {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.hero .contenido-hero form {
  position: relative;
}

@media only screen and (min-width: 768px) {
  .hero .contenido-hero form {
    width: 40%;
  }
}

.hero .contenido-hero form input[type='submit'] {
  position: absolute;
  top: 2px;
  right: 1px;
  background-image: url("../assets/img/lupa.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-position-x: right;
  height: 2.8rem;
  width: 3rem;
  text-indent: -9999px;
  border: none;
  cursor: pointer;
  background-color: white;
}

.hero .contenido-hero form input[type='text'] {
  width: 100%;
  height: 3rem;
  border: none;
  outline: none;
  padding-left: .5rem;
  transition: all 500ms;
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  -ms-transition: all 500ms;
  -o-transition: all 500ms;
}

.hero .contenido-hero form input[type='text']:hover {
  border-color: #33c3f0;
  border-width: 1.2%;
}

.barra {
  display: flex;
  min-height: 7rem;
  color: #ffffff;
  background: linear-gradient(to right, #741d51 0%, #e44e52 100%);
}

.barra .iconos {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media only screen and (min-width: 1024px) {
  .barra .iconos {
    flex-direction: row;
    align-items: center;
  }
}

.barra .iconos .icono {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3.5rem;
  background-size: 2rem;
}

@media only screen and (min-width: 320px) {
  .barra .iconos .icono {
    background-position: 3% center !important;
  }
  .barra .iconos .icono.icono1 p,
  .barra .iconos .icono.icono1 span {
    display: block;
    text-indent: 50px !important;
  }
  .barra .iconos .icono.icono2 p,
  .barra .iconos .icono.icono2 span {
    display: block;
    text-indent: 25px !important;
  }
  .barra .iconos .icono.icono3 p,
  .barra .iconos .icono.icono3 span {
    display: block;
    text-indent: -42px !important;
  }
}

@media only screen and (min-width: 480px) {
  .barra .iconos .icono {
    background-position: 7% center !important;
  }
}

@media only screen and (min-width: 768px) {
  .barra .iconos .icono {
    background-position: 10% center !important;
  }
}

@media only screen and (min-width: 1024px) {
  .barra .iconos .icono {
    background-position: left center !important;
  }
}

.barra .iconos .icono.icono1 {
  background-image: url("../assets/img/icono1.png");
  background-repeat: no-repeat;
  background-position: center center;
}

.barra .iconos .icono.icono2 {
  background-image: url("../assets/img/icono2.png");
  background-repeat: no-repeat;
  background-position: center center;
}

.barra .iconos .icono.icono2 p,
.barra .iconos .icono.icono2 span {
  display: block;
  text-indent: -5.5% !important !important;
}

.barra .iconos .icono.icono3 {
  background-image: url("../assets/img/icono3.png");
  background-repeat: no-repeat;
  background-position: center center;
}

.barra .iconos .icono.icono3 p,
.barra .iconos .icono.icono3 span {
  display: block;
  text-indent: -32% !important !important;
}

.centrado {
  text-align: center;
}

/* CODIGO IMPORTANTE ESTILO CARDS */
.cursos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cursos .curso {
  flex: 1 0 100%;
  margin-bottom: 1rem;
  border: 2px solid #f2f2f2;
}

.cursos .curso .imagen-curso {
  width: 100%;
}

@media only screen and (min-width: 480px) {
  .cursos .curso {
    flex: 0 1 calc(50% - 1rem);
  }
}

@media only screen and (min-width: 768px) {
  .cursos .curso {
    flex: 0 1 calc(33% - 1rem);
  }
}

@media only screen and (min-width: 1024px) {
  .cursos .curso {
    flex: 0 1 calc(25% - 1rem);
  }
}

.info-curso {
  padding: 1rem;
}

.info-curso h4 {
  font-size: 1.2rem;
}

.info-curso .precio {
  display: flex;
  justify-content: space-between;
}

.info-curso .precio .regular {
  text-decoration: line-through;
  color: red;
}

.info-curso .precio .oferta {
  font-size: 2rem;
  font-weight: 500;
  color: green;
}

.info-curso .contadores {
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: .3rem;
}

.info-curso .contadores .contador-suma {
  margin-right: 1.2rem;
  cursor: pointer;
}

.info-curso .contadores .contador-visual {
  position: absolute;
  height: 1.5rem;
  width: 2rem;
  line-height: 19px;
  text-align: center;
  top: 5px;
  border: solid 0.5px #000000;
}

.info-curso .contadores .contador-resta {
  margin-left: 1.2rem;
  cursor: pointer;
}

.info-curso .boton {
  background-color: #33c3f0;
  padding: 0.8rem 1rem;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 1.2rem;
  color: #ffffff;
}

.footer {
  border-top: 1px solid #f2f2f2;
  background: linear-gradient(to right, #741d51 0%, #e44e52 100%);
  height: auto;
}

.footer .contenedor-footer {
  display: flex;
  flex-direction: column;
}

@media only screen and (min-width: 480px) {
  .footer .contenedor-footer {
    flex-direction: row;
  }
}

.footer .footer-final {
  text-align: center;
  color: #ffffff;
  font-size: 1.3rem;
  padding: .5rem;
}

.menu {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  flex: 1;
}

@media only screen and (min-width: 1024px) {
  .menu {
    flex: 0 1 calc(30% - 1rem);
  }
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.enlace.diferente {
  margin-bottom: 0;
}
