/*

    1. BASE
    variables
    reset
    base

    2. Element
    Header
    Buttons

    3. Layout
    Home
    Objets

    4. Responsive
    Large
    Medium
    Small
*/
/* ------------------------------------------------------------
     VARIABLES
------------------------------------------------------------ */
@font-face {
  font-family: "Avenir Medium";
  src: url("../fonts/AvenirLTStd-Medium.woff2") format("woff2"), url("../fonts/AvenirLTStd-Medium.woff") format("woff"), url("../fonts/AvenirLTStd-Medium.ttf") format("ttf");
}
@font-face {
  font-family: "Avenir Black";
  src: url("../fonts/AvenirLTStd-Black.woff2") format("woff2"), url("../fonts/AvenirLTStd-Black.woff") format("woff"), url("../fonts/AvenirLTStd-Black.ttf") format("ttf");
}
@font-face {
  font-family: "Avenir Oblique";
  src: url("../fonts/AvenirLTStd-BlackOblique.woff2") format("woff2"), url("../fonts/AvenirLTStd-BlackOblique.woff") format("woff"), url("../fonts/AvenirLTStd-BlackOblique.ttf") format("ttf");
}
/* ------------------------------------------------------------
     RESET
------------------------------------------------------------ */
html,
body {
  -webkit-text-size-adjust: none;
  /* For iphone Landscape */
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  /* For font looks antialiased */
  -moz-osx-font-smoothing: grayscale;
  /* Moz antialiased */
  text-rendering: optimizeLegibility;
  /* optimezy fonts */
  font-family: "Avenir Medium", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* headings */
h1,
h2 {
  font-size: 43px;
  line-height: 50px;
}

h3 {
  font-size: 32px;
  line-height: 40px;
}

h4 {
  font-size: 24px;
  line-height: 35px;
}

h5 {
  font-size: 18px;
  line-height: 25px;
}

h6 {
  font-size: 16px;
  line-height: 20px;
}

/* col */
.col-reset {
  padding: 0;
}

/* outline */
*:hover {
  outline: none;
}

/* Placeholder */
/* firefox 19+ */
/* ie */
/* Selection */
::selection {
  background: rgba(199, 0, 136, 0.99);
  color: #fff;
  opacity: 1 !important;
}

::-moz-selection {
  background: rgba(199, 0, 136, 0.99);
  color: #fff;
  opacity: 1 !important;
}

/* Margin */
.mt-0 {
  margin-top: 0;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* img */
.img,
img {
  image-rendering: -moz-crisp-edges;
  /* Firefox */
  image-rendering: -o-crisp-edges;
  /* Opera */
  image-rendering: -webkit-optimize-contrast;
  /* Webkit (non-standard naming) */
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  /* IE (non-standard property) */
}

/* ------------------------------------------------------------
     BASE
------------------------------------------------------------ */
/* ------------------------------------------------------------
     HEADER
------------------------------------------------------------ */
/* ------------------------------------------------------------
     BUTTONS
------------------------------------------------------------ */
.btn {
  display: inline-block;
}

.btn--type1 {
  width: 300px;
  font-size: 35px;
  line-height: 60px;
  height: 60px;
  border-radius: 10px;
  color: #1b194c;
  font-family: "Avenir Black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  text-align: center;
  background: #fa00f2;
}

/* ------------------------------------------------------------
    HOME
------------------------------------------------------------ */
/* Header */
#header__col {
  display: flex;
  justify-content: flex-end;
}
#header__col > * {
  margin-left: 20px;
}

/* filter list */
.list-block {
  background-image: url("https://landing.gargamel-estudio.com/wp-content/uploads/2021/03/PLOP-PATTERNS-v2-01.png");
  background-repeat: repeat;
  background-size: 20%;
  background-attachment: fixed;
  background-color: transparent;
  padding: 0 !important;
}

.filter-block {
  box-shadow: 0 10px 0 rgba(27, 25, 76, 0.15);
}

.filter-list {
  display: flex;
  width: 100%;
  justify-content: center;
  list-style: none !important;
  padding: 0 !important;
  margin: 0;
}

.filter__item {
  color: #1b194c;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin: 0 15px;
}
.filter__item:hover:before {
  transform: scale(1.2);
  transform-origin: center;
}
.filter__item.active:before {
  transform: scale(1.2);
  transform-origin: center;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}
.filter__item:before {
  content: "";
  float: left;
  width: 44px;
  height: 44px;
  margin-right: 10px;
  background: #6d6e71;
  transition: 0.4s all ease-in-out;
}
.filter__item.filter--all:before {
  background: url(https://landing.gargamel-estudio.com/wp-content/uploads/2021/05/favorite.png) center center no-repeat;
  background-size: contain;
}
.filter__item.filter--math:before {
  background: url(https://landing.gargamel-estudio.com/wp-content/uploads/2021/03/math.png) center center no-repeat;
  background-size: contain;
}
.filter__item.filter--science:before {
  background: url(https://landing.gargamel-estudio.com/wp-content/uploads/2021/03/science.png) center center no-repeat;
  background-size: contain;
}
.filter__item.filter--art:before {
  background: url(https://landing.gargamel-estudio.com/wp-content/uploads/2021/03/art.png) center center no-repeat;
  background-size: contain;
}
.filter__item.filter--languaje:before {
  background: url(https://landing.gargamel-estudio.com/wp-content/uploads/2021/03/languaje.png) center center no-repeat;
  background-size: contain;
}
.filter__item.filter--etichs:before {
  background: url(https://landing.gargamel-estudio.com/wp-content/uploads/2021/03/etichs.png) center center no-repeat;
  background-size: contain;
}

/* Game block */
.game-block {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  list-style: none !important;
  padding: 0 !important;
}

.game__block-item {
  width: 33.33%;
  padding: 15px;
}
.game__block-item br {
  display: none;
}

.game__block-span {
  width: 100%;
  background: #fff;
  transition: 0.4s all ease-in-out;
  border-radius: 10px;
  box-shadow: 5px 5px 0 rgba(27, 25, 76, 0.15);
  position: relative;
  overflow: hidden;
}
.game__block-span:hover {
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}
.game__block-span.block--math .game__item {
  background: #c90088;
}
.game__block-span.block--science .game__item {
  background: #fd7900;
}
.game__block-span.block--art .game__item {
  background: #5cb032;
}
.game__block-span.block--languaje .game__item {
  background: #03f7f0;
}
.game__block-span.block--etichs .game__item {
  background: #fcd700;
}

.game__item {
  position: absolute;
  top: 60px;
  left: -30px;
  background: #6d6e71;
  transform: rotate(-55deg);
  height: 60px;
  width: 140px;
  transform-origin: 0;
  box-shadow: 0 5px 0 rgba(27, 25, 76, 0.15);
}
.game__item img {
  width: 45px;
  transform: rotate(50deg);
  position: absolute;
  top: -5px;
  left: 65px;
  transform-origin: 0;
}

.game__image {
  width: 100%;
  height: 240px;
  margin: 0 auto;
}
.game__image a {
  display: block;
  height: 100%;
  width: 100%;
}
.game__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.game__title {
  width: 100%;
  margin: 0;
  font-size: 24px;
  line-height: 35px;
  padding: 0;
}

.game__info {
  width: 100%;
  display: flex;
  padding: 15px;
  height: 140px;
}
.game__info a {
  width: 100%;
  position: relative;
  padding-right: 65px;
}
.game__info a p {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  padding-right: 10px;
  color: #6d6e71;
}

.game__action {
  transition: 0.4s all ease-in-out;
}
.game__action:hover {
  transform: scale(1.2);
  transform-origin: center;
}
.game__action img {
  width: 60px;
}

/* mix */
.mix {
  display: none;
}

/* Bottom info */
#bottom-info {
  background-image: url("https://landing.gargamel-estudio.com/wp-content/uploads/2021/03/PLOP-PATTERNS-v2-02.png");
  background-repeat: repeat;
  background-size: 25%;
  background-attachment: fixed;
  background-color: transparent;
}

.bottom-view {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.bottom-view img {
  width: 250px;
}

.bottom__title {
  font-size: 32px;
  line-height: 40px;
  width: 30%;
}

.bottom__img {
  width: 250px;
}

/* hero slider */
#hero-image {
  position: relative;
}
#hero-image,
#hero-image .hero__inner {
  height: 100vh;
  min-height: 600px;
}
#hero-image .et_pb_image_wrap {
  height: 100%;
  width: 100%;
}
#hero-image .et_pb_image_wrap img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
#hero-image .et_pb_module,
#hero-image .et_pb_column {
  height: 100%;
  margin: 0;
}

/* slider */
.hero__slider .slick-list,
.hero__slider .slick-track {
  height: 100%;
}
.hero__slider .slick-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.4s all ease-in-out;
}
.hero__slider .slick-arrow img {
  width: 50px;
}
.hero__slider .slick-arrow:hover {
  opacity: 0.5;
}
.hero__slider .slick-arrow.slick-prev {
  left: 15px;
}
.hero__slider .slick-arrow.slick-next {
  right: 15px;
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
}

.hero__col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#extra-bottom-info {
  background-image: url("https://landing.gargamel-estudio.com/wp-content/uploads/2021/03/PLOP-PATTERNS-v2-03.png");
  background-repeat: repeat;
  background-size: 25%;
  background-attachment: fixed;
  background-color: transparent;
}

/* content-block */
.content-block {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.content-block p {
  font-size: 20px;
  line-height: 30px;
  color: #000;
}
.content-block h4 {
  font-size: 30px;
  font-family: "Avenir Black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.content-100 {
  width: 100%;
  padding: 0 15px;
}

.content-30 {
  width: 30%;
  padding: 0 15px;
}

.content-70 {
  width: 70%;
  padding: 0 15px;
}
.content-70.content--right {
  padding-left: 0;
  padding-right: 10%;
  margin-bottom: 30px;
}
.content-70.content--left {
  padding-left: 10%;
  margin-bottom: 30px;
}

.content--center {
  text-align: center;
}

.content__title {
  font-family: "Avenir Oblique", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: #2500a1;
  text-align: center;
  font-style: italic;
  margin-bottom: 30px;
}

.content__avatar-1,
.content__avatar-2 {
  width: 80%;
}

.content--message {
  margin: 40px 0;
}

.content-align-center {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.content-offset-30 {
  padding-left: 30%;
  width: 100%;
}

/* Footer */
.social-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 0 30px 0;
  text-align: center;
}
.social-list li {
  display: inline-block;
  margin: 0 10px;
}
.social-list li a {
  color: #2500a1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  line-height: 40px;
  font-size: 18px;
  justify-content: center;
  transition: 0.4s all ease-in-out;
}
.social-list li a:hover {
  opacity: 0.4;
}

.nav-list {
  list-style: none;
  padding: 0 !important;
  margin: 50px auto;
  text-align: center;
  width: 60%;
}
.nav-list li {
  display: inline-block;
  margin: 0 10px;
}
.nav-list li a {
  color: #fff;
  font-size: 16px;
}

/* Play now */
.game__play {
  position: absolute;
  bottom: -10px;
  right: 0;
}
.game__play img {
  width: 60px;
}

/* ------------------------------------------------------------
    LARGE
------------------------------------------------------------ */
/* ------------------------------------------------------------
    MEDIUM
------------------------------------------------------------ */
@media (max-width: 992px) {
  #hero-image,
#hero-image .hero__inner {
    height: 460px;
    min-height: initial;
  }

  .hero__slider .slick-arrow img {
    width: 30px;
  }

  .hero__content {
    width: 240px;
    left: 24%;
  }

  .game__title {
    font-size: 18px;
    line-height: 25px;
  }
}
@media (max-width: 768px) {
  .filter-list {
    flex-wrap: wrap;
  }
  .filter-list li {
    width: 32%;
    margin-bottom: 15px;
  }

  .game__block-item {
    width: 50%;
  }

  .hero__content {
    width: 200px;
    left: 180px;
  }

  .content-100,
.content-30 {
    width: 100%;
    padding: 0 30px;
  }

  .content-70.content--right {
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 30px;
    width: 100%;
  }

  .content-70.content--left {
    padding-left: 30px;
    margin-bottom: 30px;
    width: 100%;
  }

  .content__avatar-1 {
    width: 230px;
  }

  .content__avatar-2 {
    width: 140px;
  }

  h1, h2 {
    font-size: 33px;
    line-height: 50px;
  }

  .content-offset-30 {
    padding-left: 0;
    width: 100%;
    text-align: center;
  }

  .btn--type1 {
    width: 300px;
    font-size: 25px;
    line-height: 50px;
    height: 50px;
    border-radius: 10px;
  }

  .content-block h4 {
    font-size: 18px;
  }

  .nav-list {
    width: 100%;
  }
}
/* ------------------------------------------------------------
    SMALL
------------------------------------------------------------ */
@media (max-width: 600px) {
  #header__col > * {
    width: 50%;
    margin: 0;
    padding: 0 10px;
  }
  #header__col > * a {
    width: 100%;
    font-size: 16px;
    text-align: center;
  }

  .game__block-item {
    width: 100%;
  }

  .filter-list li {
    width: 30%;
  }

  .bottom-view {
    flex-wrap: wrap;
  }
  .bottom-view img {
    width: 140px;
    margin-bottom: 20px;
  }

  .bottom__title {
    font-size: 18px;
    width: 100%;
  }

  .filter-list {
    padding: 20px 0 10px 0 !important;
  }

  .btn--type1 {
    width: 80%;
    font-size: 21px;
    line-height: 40px;
    height: 40px;
    margin: 0 10%;
  }

  .content-block p {
    font-size: 18px;
  }

  h1, h2 {
    font-size: 28px;
    line-height: 40px;
  }

  .game__info {
    height: auto;
  }

  #hero-image,
#hero-image .hero__inner {
    height: 300px;
    min-height: initial;
  }
}
@media (max-width: 580px) {
  .filter-list li {
    width: 40%;
  }
}