/* fonts */
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/* colors */
:root {
  --blue: #0accfc;
  --light-blue: #ccffff;
  --green: #00d480;
  --light-green: #99ffcc;
  --purple: #b091f0;
  --light-purple: #ccccff;
  --pink: #fa4fd4;
  --light-pink: #ffccff;
  --strong-purple: #471f82;
  --light-strong-purple: #9999cc;
  --black: #000;
  --white: #fff;
  --very-light-gray: #fcfbfb;
  --light-grey: #f4f4f4;
  --grey: #ababab;
  --grey-medium: #313131;
  --grey-dark: #1a1a1a;
  --red: #ec222b;
  --color-primary: #00c4b3;
  --color-secondary: #96c93c;
  --color-neutral: #646469;
  /* versiones pastel (~60% blanco) SOLO para fondos de heros internos (no home) */
  --color-primary-pastel: #99e7e1;
  --color-secondary-pastel: #d5e9b1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: "Work Sans", sans-serif;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 14px;
  overflow-x: hidden;
}

body::-webkit-scrollbar-track {
  background: var(--grey-dark);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--grey);
  border-radius: 20px;
  border: none;
}

body::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

body::-webkit-scrollbar-thumb:active {
  background-color: #bdbdbd;
}

h1 {
  font-size: 40px;
  font-weight: 700;
}

h2 {
  font-size: 24px;
  font-weight: 600;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

h5 {
  font-size: 16px;
  font-weight: 500;
}

h6 {
  font-size: 14px;
  font-weight: 600;
}

p {
  font-weight: 400;
  font-size: 16px;
  color: var(--black);
  line-height: 22px;
}

.p-primary {
  font-size: 20px;
}

.p-secondary {
  font-size: 14px;
}

.p-detail {
  font-size: 12px;
}

.p-small {
  font-size: 11px;
}

.p-list {
  font-size: 18px;
  font-weight: normal;
}

.p-list-select {
  font-size: 18px;
  font-weight: 700;
}

.p-white {
  color: var(--white);
}

.p-grey {
  color: var(--grey);
}

.p-italic {
  font-style: italic;
}

/* buttons */
button {
  align-items: center;
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  max-height: 60px;
  padding: 0 28px;
  transition: all 0.3s ease;
}

.arrow-icon {
  transition: all 0.3s ease;
}

.btn-light {
  border: 1.5px solid var(--black);
  color: var(--black);
}

.btn-dark {
  border: 1.5px solid var(--light-green);
  color: var(--white);
}

.btn-black {
  background: var(--black);
  color: var(--white);
  border: 0;
}

.btn-light:hover {
  background-color: var(--black);
  border: 1.5px solid var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--white);
  border: 1.5px solid var(--white);
  color: var(--black);
}

.btn-light:active {
  background-color: var(--light-green);
  border: 1.5px solid var(--black);
  color: var(--black);
}

.btn-dark:active {
  background-color: var(--light-green);
  border: 1.5px solid var(--light-green);
  color: var(--black);
}

.btn-black:hover {
  background: var(--grey);
  color: var(--black);
  border: 0;
}

.btn-black:active {
  background-color: var(--light-green);
  color: var(--black);
}

.btn-dark:active .arrow-icon {
  content: url("../img/icons/icono_flecha_black.svg");
}

.btn-black:active .arrow-icon {
  content: url("../img/icons/icono_flecha_white.svg");
}

.btn-light:active .arrow-icon {
  content: url("../img/icons/icono_flecha_black.svg");
}

.btn-big {
  font-size: 20px;
}

.btn-medium {
  font-size: 18px;
  padding: 0 30px 0 20px;
}

.btn-small {
  font-size: 16px;
  height: 50px;
}

.btn-icon {
  padding: 0 30px;
}

.btn-icon img {
  margin-right: 15px;
}

/* icons */
.compressed-menu-icon {
  width: 24px;
}

.menu-icon {
  cursor: pointer;
}

.quote-icon {
  width: 40px;
  margin-bottom: 14px;
}

.star-icon {
  width: 20px;
}

.big-circle-item {
  width: 115px;
}

.medium-circle-item {
  width: 82px;
}

.big-item {
  width: 72px;
}

.medium-item {
  width: 58px;
}

.small-item {
  width: 28px;
}

.shade-circle-arrow-icon,
.circle-cancel-icon {
  cursor: pointer;
  width: 60px;
}

.circle-arrow-icon {
  cursor: pointer;
  width: 61.5px;
}

.shade-circle-arrow-icon:hover,
.circle-cancel-icon:hover,
.circle-arrow-icon:hover {
  scale: 1.1;
}

.arrows-icon {
  width: 110px;
}

.arrow-icon {
  width: 31px;
}

.lateral-arrow-icon {
  width: 26px;
}

.arrow-icon-banner {
  width: 20px;
}

.arrow-icon-bottom {
  width: 30px;
  height: 50px;
}

.small-arrow-icon {
  width: 40px;
}

.text-globe-icon {
  width: 90px;
}

.in-icon {
  width: 24px;
}

.ods-icon {
  width: 115px;
}

.social-icon {
  width: 34px;
}

a {
  text-decoration: none;
  color: var(--white);
}

hr {
  height: 1px;
  background-color: var(--black);
  border: none;
}

input {
  height: 50px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-family: "Work Sans", sans-serif;
  margin-right: 15px;
  padding: 10px;
}

/*** main banner ***/
.main-banner {
  height: 740px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #000;
  animation: animatedBg 20s ease infinite;
}

.class-wrapper .banner-bg,
.home-wrapper .banner-bg,
.course-wrapper .banner-bg,
.blog-wrapper .banner-bg {
  background: linear-gradient(
    135deg,
    #029258,
    var(--green),
    var(--purple),
    #6f35c7,
    var(--purple),
    var(--green),
    #029258
  );
  background-size: 500%;
}

@keyframes animatedBg {
  0% {
    background-position: 0 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

.bannerfadeIn {
  animation: bannerfadeIn 1s ease-in-out forwards;
}

@keyframes bannerfadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#main-banner-video {
  height: 100%;
  width: 100%;
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.videofadeIn {
  animation: videofadeIn 2s ease-in-out forwards;
}

@keyframes videofadeIn {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    display: none;
  }
}

.main-banner h1 {
  font-size: 45px;
}

#gradient-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
}

.login-modal #gradient-canvas {
  height: 100% !important;
}

#gradient-canvas.main-canvas {
  --gradient-color-1: #563b97;
  --gradient-color-2: #09cc83;
  --gradient-color-3: #8e74cd;
  --gradient-color-4: #1c9388;
}

#gradient-canvas.canvas-unique {
  --gradient-color-1: #fff;
  --gradient-color-2: #fff;
  --gradient-color-3: #dfd0fd;
  --gradient-color-4: #fff;
}

.pop-up #gradient-canvas {
  --gradient-color-1: #fff;
  --gradient-color-2: #fff;
  --gradient-color-3: #dfd0fd;
  --gradient-color-4: #fff;
}

#gradient-canvas.tiny-canvas {
  min-height: 0;
  max-height: 300px;
  max-width: 60%;
  left: auto;
  right: 0;
}

img.canvas-mask {
  height: 300px;
  max-width: 60%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}

.main-banner .container {
  color: var(--white);
  display: flex;
  position: relative;
  justify-content: space-between;
  max-width: 1250px;
  width: 100%;
  padding: 20px 40px;
  box-sizing: border-box;
  display: none;
}

.banner-content {
  display: flex;
  flex-direction: column;
  max-width: 620px;
}
.banner-content p {
  color: var(--white);
  font-size: 17px;
}

.arrow-icon-bottom {
  margin-bottom: 20px;
}

.main-banner h4,
.main-banner h1 {
  margin-bottom: 40px;
}
.main-banner p {
  margin-bottom: 40px;
}

.main-banner button {
  border: 1.5px solid var(--white);
  font-size: 24px;
  height: 70px;
  width: fit-content;
}

.banner-logo {
  display: flex;
  align-items: baseline;
  margin: 0 20px;
  position: relative;
}

.banner-logo > p {
  position: absolute;
  bottom: 170px;
  right: -50px;
  margin-bottom: 0;
  margin-right: 20px;
}

#logo-anim {
  width: 318px;
  height: 277px;
  position: absolute;
  bottom: 190px;
  right: 0;
  animation-name: logoAnim;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-play-state: running;
  animation-direction: normal;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-delay: 1s;
  transition: opacity 0.5s ease;
}

@keyframes logoAnim {
  0% {
    background-image: url(../img/logos/logo_banner1.png);
  }

  10% {
    background-image: url(../img/logos/logo_banner2.png);
  }

  20% {
    background-image: url(../img/logos/logo_banner3.png);
  }

  30% {
    background-image: url(../img/logos/logo_banner4.png);
  }

  38% {
    background-image: url(../img/logos/logo_banner5.png);
  }

  46% {
    background-image: url(../img/logos/logo_banner6.png);
  }

  52% {
    background-image: url(../img/logos/logo_banner7.png);
  }

  60% {
    background-image: url(../img/logos/logo_banner8.png);
  }

  70% {
    background-image: url(../img/logos/logo_banner9.png);
  }

  78% {
    background-image: url(../img/logos/logo_banner10.png);
  }

  86% {
    background-image: url(../img/logos/logo_banner11.png);
  }

  94% {
    background-image: url(../img/logos/logo_banner12.png);
  }

  100% {
    background-image: url(../img/logos/logo_banner13.png);
  }
}

.banner-link {
  column-gap: 5px;
  display: flex;
  justify-content: space-evenly;
  align-content: center;
  max-width: 215px;
  margin-top: 10px;
  padding: 20px 10px;
}

.banner-link img {
  width: 32px;
}

/*** master header ***/
.master-header {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.master-header h1 {
  margin-bottom: 18px;
  max-width: 900px;
}

.master-header p {
  max-width: 800px;
}

/*** cards-topics ***/
.cards-topics {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cards-topics-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 25%);
  max-width: 1525px;
  width: 100%;
}

.card-topic {
  display: flex;
  flex-direction: column;
  bottom: 0;
  min-height: 405px;
  position: relative;
}

.cardsfadeIn {
  animation-delay: 1s;
  animation: cardsfadeIn 0.5s 0.4s backwards;
}

@keyframes cardsfadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.topic-btn-1 .card-topic-band {
  background-color: var(--light-green);
}

.topic-btn-2 .card-topic-band {
  background-color: var(--light-blue);
}

.topic-btn-3 .card-topic-band {
  background-color: var(--light-purple);
}

.topic-btn-4 .card-topic-band {
  background-color: var(--light-pink);
}

.card-topic-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;

  min-height: 295px;
}
@media (min-width: 768px) {
  .card-topic-img {
    box-shadow: inset 0px -15px 0px 0px rgba(0, 0, 0, 0.2);
  }
}
@media (max-width: 768px) {
  .card-topic-band {
    border-right: 7px solid rgb(0 0 0 / 15%);
  }
}
.cat-topic-mobile {
  display: none;
}

@media (max-width: 768px) {
  .cat-topic-desktop {
    display: none;
  }
  .cat-topic-mobile {
    display: block;
  }
}

.topic-btn-1 .card-topic-img {
  background-image: url("../img/pictures/foto_button1.png");
}

.topic-btn-2 .card-topic-img {
  background-image: url("../img/pictures/foto_button2.png");
}

.topic-btn-3 .card-topic-img {
  background-image: url("../img/pictures/foto_button3.png");
}

.topic-btn-4 .card-topic-img {
  background-image: url("../img/pictures/foto_button4.png");
}

.card-topic-band {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 120px;
  position: absolute;
  bottom: 0px;
  padding: 38px;
  transition: all 0.3s ease;
}

.card-topic-band > h2 {
  color: var(--black);
  font-weight: 500;
}

.card-topic p {
  align-self: baseline;
  color: var(--white);
  height: 120px;
  margin-top: 30px;
}

.card-content-hover img {
  width: 32px;
}

.card-content-hover h2 {
  color: var(--white);
}

.card-content-hover,
.card-topic-band:hover .card-topic-title {
  display: none;
}

.card-topic-band:hover {
  background-image: url(../img/pictures/foto_button_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  max-height: 405px;
}

.card-topic-band:hover .card-content-hover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: calc(405px - 38px * 2);
}

/*** learning-experience-section ***/
.learning-experience-section {
  padding: 40px 0;
  max-width: 1325px;
  margin: 0 auto;
}

.learning-experience-section h2 {
  margin: 20px 0;
}

/* bulletpoints-vertical */
.bulletpoints-vertical {
  display: grid;
  grid-template-columns: 30% 30% 30%;
  justify-content: space-between;
}

.bullet-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 0;
  margin: 0 20px;
}

.bullet-vertical img {
  margin-bottom: 22px;
}

.bulletImgAnim {
  animation-delay: 1s;
  animation: bulletImgAnim 0.6s ease-in-out;
}

@keyframes bulletImgAnim {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.bullet-vertical span,
.bullet-vertical h3 {
  margin-bottom: 8px;
}

/*** teachers section ***/
.teachers-section {
  min-height: calc(350px + 300px + 280px);
  height: 100%;
  position: relative;
  max-width: 1325px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.teachers-section h1 {
  font-weight: 600;
  line-height: 40px;
}

.teachers-board,
.education-board,
.tutors-board {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: absolute;
  padding: 0 20px;
}

.teachers-board {
  background-color: var(--grey-dark);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  min-height: 370px;
  padding-bottom: 20px;
  top: 0;
}

.teachers-content-board {
  max-width: 340px;
}

.education-board {
  background-color: var(--light-purple);
  height: 320px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  bottom: 260px;
  padding-bottom: 20px;
}

.tutors-board {
  background-color: var(--light-green);
  border-radius: 20px;
  height: 280px;
  bottom: 0;
}

.content-board {
  max-width: 450px;
}

.education-diagram,
.tutors-diagram {
  height: 210px;
}

.teachersfadeIn {
  /* animation: teachersfadeIn 4s ease-out forwards; */
  animation-delay: 1s;
  animation: teachersfadeIn 0.5s 0.4s backwards;
}

.educationfadeIn {
  animation-delay: 1s;
  animation: educationfadeIn 0.5s 0.4s backwards;
}

@keyframes teachersfadeIn {
  0% {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes educationfadeIn {
  0% {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.teachers-content-board p,
.content-board p {
  margin-top: 30px;
}

.teacher-data-cards {
  width: 790px;
  display: inline-flex;
  justify-content: space-between;
  list-style: none;
  height: calc((113px * 2) + 20px);
}

.teachers-jcarousel {
  overflow: hidden;
  position: relative;
  display: flex;
}

.teachers-jcarousel ul {
  width: calc(250px * 3 + 20px * 2);
  position: relative;
  list-style: none;
  /*display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
  gap: 20px;*/
  display: flex;
}
.teacher-data-cards-home .teachers-jcarousel ul {
  gap: 0 !important;
}

.teachers-jcarousel li {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  min-width: 250px;
  width: 100%;
  margin-right: 20px;
}

.teacher-card {
  float: left;
  display: flex;
  justify-content: start;
  min-height: 113px;
  min-width: 250px;
  width: 100%;
}

.teacher-card > div:not(.teacher-photo) {
  align-self: end;
}

.teacher-card:last-child {
  margin-right: 0;
}

.teacher-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  height: 113px;
  width: 100%;
  max-width: 110px;
  margin-right: 14px;
}

.teacher-card .teacher-title {
  font-size: 12px;
}

.teacher-card .teacher-name {
  font-size: 14px;
}

.teachers-jcarousel-control {
  width: 150px;
  display: flex;
  position: absolute;
  justify-content: space-between;
  bottom: -15px;
  z-index: 1;
  right: 180px;
}

.teachers-jcarousel-control-prev.inactive,
.teachers-jcarousel-control-next.inactive {
  cursor: default;
}

.teachers-jcarousel-control img:hover {
  transform: scale(1.05);
}

/*** teacher big ***/
.teachers-feature-container {
  display: grid;
  grid-template-columns: 70% 30%;
  width: 100%;
  max-width: 1325px;
  padding: 0 40px;
  margin: 0 auto;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .teachers-feature-container {
    padding: 0 10px !important;
  }
}

.teacher-big {
  background: var(--light-green);
  border: 2px solid var(--black);
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-left: 0;
  width: 100%;
  max-width: 1080px;
  padding: 40px 100px;
  display: flex;
}

.teachers-content-grid {
  gap: 20px;
  display: grid;
  grid-template-columns: 50% 50%;
}

@media (max-width: 768px) {
  .teachers-content-grid {
    grid-template-columns: 100% !important;
  }

  .teacher-big h2 {
    text-align: center;
  }

  .diplo-content-team .teacher-big-content {
    padding-left: 0 !important;
  }
}

.teacher-big h2 {
  margin-bottom: 5%;
}

.tb-pic {
  display: flex;
  flex-flow: column;
}

.tb-pic a {
  margin-top: 20px;
}

.tb-info {
  margin-left: 20px;
  display: flex;
  flex-flow: column;
}

.tb-info span {
  margin-top: 40px;
  font-size: 14px;
}

.tb-p {
  margin-top: 10px;
}

/*** community-section ***/
.community-section {
  display: flex;
  padding: 0 5px 54px;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  max-width: 1325px;
  align-items: start;
}

.community-content {
  padding-top: 40px;
}

.community-section h1 {
  max-width: 470px;
  margin-top: 24px;
}

.community-content img {
  animation-delay: 1s;
  animation: starAnim.8s alternate-reverse infinite;
}

@keyframes starAnim {
  0% {
    transform: scale(0.85);
  }

  75% {
    transform: scale(1);
  }

  85% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.community-video {
  /* background-image: url("../img/icons/fondo_video.svg"); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  min-width: 638px;
  /* min-height: 449px; */
  position: relative;
  /* padding: 0 16px 20px; */
  border: 2px solid var(--black);
  border-top: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  aspect-ratio: 16/9;
}

.community-video video {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  /* max-width: 614px; */
  max-height: 380px;
  width: 100%;
  /* height: 100%; */
  /* position: absolute; */
  object-fit: cover;
  top: 2px;
  left: 1.5px;
}

/*** institutions-section ***/
.institutions-section {
  background-color: var(--grey-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-height: 300px;
  padding: 30px 20px 20px;
}

.institutions-section p {
  align-self: center;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
}

/* .logos-container / #homeSlider: ver public/assets/css/institutions-swiper.css */

.institutions-section .more-about {
  display: flex;
  align-self: center;
  align-items: center;
}

.institutions-section .more-about p {
  font-size: 12px;
}

.institutions-section .lateral-arrow-icon {
  margin-right: 12px;
}

/*** featured-section ***/
.featured-section {
  align-items: center;
  display: flex;
  flex-flow: column;
  margin: 0 auto;
  max-width: 1325px;
  padding: 70px 40px;
}

.featured-header {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
}

.see-all {
  right: 20px;
  position: relative;
  padding: 5px 0;
  cursor: pointer;
}

.see-all img {
  margin-bottom: 5px;
}

.see-all ul {
  list-style: none;
  position: absolute;
  top: 35px;
  right: -20px;
  padding: 0px 20px;
  padding-right: 80px;
  background: var(--white);
  border-radius: 5px;
  border: 1px solid var(--black);
  z-index: 1;
  display: none;
}

.see-all ul li {
  margin: 20px 0;
}

.see-all ul a {
  color: var(--black);
}

.see-all ul a:hover {
  font-weight: 600;
}

.see-all.open ul {
  display: initial;
}

.featured-container {
  display: grid;
  grid-template-columns: 384px 384px 384px;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
}

.featured-card {
  height: 96%;
  margin: 30px 0;
  margin-bottom: 0;
  max-width: 385px;
  position: relative;
  display: flex;
  flex-flow: column;
}

.course-type .featured-content,
.course-type h6 {
  background-color: rgb(100 100 105 / 6%);
}

.open-class-type .featured-content,
.open-class-type h6 {
  background-color: rgb(100 100 105 / 6%);
}

.diploma-type .featured-content,
.diploma-type h6 {
  background-color: rgb(100 100 105 / 6%);
}

.featured-img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  padding: 20px;
  position: relative;
  min-width: 384px;
  min-height: 170px;
}

.featured-img h6 {
  border-radius: 5px;
  display: flex;
  padding: 5px 20px;
  position: absolute;
  background-color: var(--black);
  color: var(--white);
}

.featured-content {
  box-sizing: border-box;
  height: 100%;
  padding: 20px 30px;
  border-radius: 10px;
  padding-top: 40px;
  margin-top: -20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-content .card-data {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.open-class-type .card-data {
  flex-direction: column;
}

.open-class-type .card-data > div {
  display: flex;
  align-items: end;
  margin-top: 5px;
}

.open-class-type .card-data .p-date {
  font-size: 18px;
  line-height: 20px;
  margin-right: 10px;
}

.featured-content .card-data h4 {
  font-size: 18px;
}

.featured-content .card-data .card-logos {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  justify-content: end;
}

.featured-content .card-data .card-logos img {
  height: 100%;
  max-height: 40px;
  margin-left: 5px;
}

.featured-content > p:last-of-type {
  margin-bottom: 0;
}

.featured-content a > h2 {
  color: var(--black);
  line-height: 26px;
  margin-bottom: 10px;
  min-height: 78px;
}

.featured-content-data > .p-secondary {
  min-height: 92px;
}

.featured-content > p.p-start {
  margin-bottom: -7px;
}

.featured-card .p-start {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
  margin-top: 10px;
}

.featured-card .p-date {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 5px;
}

.featured-content h5 {
  margin-bottom: 5px;
  min-height: 35px;
}

.featured-card .card-base {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}

.card-btn-space {
  height: 22px;
}

.featured-card .card-btn {
  border: 1px solid var(--black);
  border-radius: 5px;
  background-color: var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 20px;
  height: 50px;
  width: 100%;
  max-width: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: normal;
  transition: all 0.3s ease;
}

.featured-card .card-btn:hover {
  background: var(--white);
  color: var(--black);
}

.featured-card .card-btn:active {
  background: var(--grey);
  color: var(--black);
}

.featured-card .more-courses {
  font-size: 16px;
  color: var(--black);
  /*position: absolute;*/
  margin-top: 20px;
  padding-left: 50px;
  background-image: url(../img/icons/icono_flecha_black.svg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 30px 30px;
  transition: all 0.3s ease;
}

.featured-card .more-courses:hover {
  color: var(--color-secondary);
}

/**** comments-section ***/
.comments-section {
  background-color: var(--light-grey);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 40px 20px;
}

.comments-section h1 {
  max-width: 540px;
  text-align: center;
}

.commentsfadeIn {
  animation-delay: 1s;
  animation: commentsfadeIn 0.5s 0.4s backwards;
}

@keyframes commentsfadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* two-comments */
.users-comments {
  max-width: 1250px;
  width: 100%;
}

/* carousel */
.comments-jcarousel {
  overflow: hidden;
  position: relative;
}

.comments-jcarousel .comments-ul {
  width: 80000em;
  position: relative;
  list-style: none;
}

.comment-card {
  float: left;
  display: flex;
  align-items: start;
  min-height: 210px;
  max-width: 584px;
  width: 100%;
  margin-right: calc(1250px - 584px - 584px);
}

.card-user-data {
  display: flex;
  flex-direction: column;
  margin-right: 24px;
}

.card-user-photo {
  width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  border: 2px solid var(--black);
  margin-bottom: 15px;
}

.card-user-name {
  font-weight: 500;
}

.card-user-rating ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  width: 120px;
  margin-top: 10px;
}

.balloon-card {
  align-self: flex-end;
  background-image: url("../img/icons/balloon_short.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 210px;
  height: 100%;
  max-width: 410px;
  width: 100%;
  margin-top: 30px;
  padding: 18px 30px 26px 45px;
}

.users-comments {
  min-height: 210px;
  height: 100%;
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
}

/* carousel controls */
.comments-jcarousel-control-prev:hover span,
.comments-jcarousel-control-next:hover span {
  display: block;
}

.comments-jcarousel-control-prev.inactive,
.comments-jcarousel-control-next.inactive {
  cursor: default;
}

.comments-jcarousel-control {
  width: 140px;
  display: flex;
  justify-content: space-between;
}

.comments-jcarousel-control-prev,
.comments-jcarousel-control-next {
  width: 50px;
}

.comments-jcarousel-control img:hover {
  transform: scale(1.05);
}

/*** main-footer ***/
.main-footer {
  background-color: var(--grey-medium);
  color: var(--white);
  min-height: 390px;
  padding: 40px 100px;
}

.footer-title {
  margin-bottom: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 4fr 2fr 6fr;
  grid-gap: 25px;
}

.footer-content h6,
.footer-content ul > li {
  line-height: 150%;
}

footer ul > li {
  list-style: none;
}

/* .footer-content .col-3 > h6:last-of-type {
  margin-top: 50px;
} */

.footer-content ul > li {
  font-size: 14px;
}

footer .col-4 {
  display: flex;
  flex-direction: column;
}

.footer-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 18px;
}

footer h4 {
  margin-bottom: 22px;
}

.main-footer form {
  display: inline-flex;
  width: 100%;
}

.main-footer input {
  margin-right: 15px;
  margin-bottom: 32px;
  max-width: 350px;
  width: 100%;
}

.main-footer button {
  border: 1.5px solid var(--white);
}

footer .p-secondary {
  font-weight: 600;
}

footer .logo-app:first-of-type {
  margin-right: 10px;
}

footer .social-media {
  display: flex;
  align-items: center;
  justify-content: start;
  margin: 26px 0 16px;
}

footer .social-links {
  display: flex;
  list-style: none;
}

footer .social-links > li {
  margin-left: 15px;
}

footer .btn-follow {
  border: none;
  background-color: var(--black);
  color: var(--white);
  font-size: 10px;
  min-height: 24px;
  max-width: 167px;
  padding: 0 17px;
  align-self: center;
}

footer .btn-follow img {
  margin-right: 5px;
}

/*** footer-bottom ***/
.footer-bottom {
  background-color: var(--black);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px 100px;
}

.footer-copy {
  display: flex;
  align-items: center;
}

.footer-logo {
  margin-right: 30px;
  width: 60px;
}

.footer-copy > ul {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: end;
}

.footer-copy > ul > li {
  margin-right: 20px;
}

.footer-copy a,
.footer-help p {
  color: var(--grey);
  font-size: 14px;
}

.footer-help {
  display: flex;
  align-items: center;
}

.select-country {
  display: flex;
  margin-right: 20px;
  position: relative;
}

.select-country > p {
  margin: 0 10px;
}

#countries-arrow {
  width: 13px;
  cursor: pointer;
}

.coutries-dropdown {
  display: none;
  bottom: 30px;
  left: -10px;
  position: absolute;
}

.coutries-dropdown > li {
  background-color: var(--black);
  color: var(--grey);
  display: flex;
  font-size: 14px;
  align-items: center;
  min-width: 150px;
  height: 40px;
  padding: 5px 10px;
}

.coutries-dropdown > li:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.coutries-dropdown > li > img {
  margin-right: 10px;
}
