#home-sec-1 {
  overflow-x: hidden;
  padding-top: 60px;
}

#home-sec-1 .barra-container {
  padding: 40px 40px 40px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 430px;
  max-width: 390px;
}

#home-sec-1 .barra-container::after {
  background: url(../images/home-book.svg) center no-repeat;
  background-size: contain;
  height: 80%;
  width: 300px;
  content: "";
  top: 10%;
  right: 60%;
  position: absolute;
}

#home-sec-1 .barra-container p {
  font-size: 1.1em;
  text-wrap: balance;
  margin: 10px 10px 15px 45%;
  text-transform: uppercase;
  font-weight: 800;
  font-family: "Urbanist";
  text-align: left;
  letter-spacing: 2px;
}

#home-sec-1 .barra {
  padding: 0 40px 0 45%;
  text-align: left;
  margin: 3px 0 10px 10px;
  height: 40px;
  line-height: 40px;
  font-size: 35px;
  font-family: "Urbanist";
  font-weight: 700;
  transition: all 0.3s;
  position: relative;
  color: var(--negro);
  text-decoration: none;
  display: block;
  transition: all 0.3s;
  width: 100%;
}

#home-sec-1 .barra.english {
  background: url(../images/home-book-english.svg) center right no-repeat;
  background-size: contain;
}

#home-sec-1 .barra.french {
  background: url(../images/home-book-french.svg) center right no-repeat;
  background-size: contain;
}

#home-sec-1 .barra.spanish {
  background: url(../images/home-book-spanish.svg) center right no-repeat;
  background-size: contain;
}

#home-sec-1 .barra.german {
  background: url(../images/home-book-german.svg) center right no-repeat;
  background-size: contain;
}

#home-sec-1 .barra.italian {
  background: url(../images/home-book-italian.svg) center right no-repeat;
  background-size: contain;
}

#home-sec-1 .home-book {
  position: absolute;
  height: 80%;
  top: 10%;
  left: -20%;
}

#home-sec-1 .carousel-features {
  background: #dfdfdf;
  border-radius: calc(var(--esquina) * 3);
  padding: 20px;
  width: 90%;
  margin: -50px auto 30px;
}

#home-sec-1 .carousel-features div {
  position: relative;
}

#home-sec-1 .carousel-features img {
  height: 190px;
  margin: 0 auto;
}

#home-sec-1 .carousel-item {
  padding: 0 30px;
}

#home-sec-2 .row:first-child img {
  max-height: 200px;
  position: relative;
}

#home-sec-4 {
  background-image: url(../images/patron-2.png);
  background-position: top center;
  background-size: 200%;
  background-repeat: no-repeat;
  margin-top: 5%;
  overflow-x: hidden;
  overflow-y: clip;
}

.franja-1 {
  margin-top: 5%;
  margin-left: -5%;
  margin-right: -5%;
}

#home-sec-4 div.row {
  background: linear-gradient(
    0deg,
    var(--blanco) 25%,
    var(--transparente) 100%
  );
}

#home-sec-5 .barra {
  padding: 0 10px 0 10%;
  position: relative;
  display: block;
  text-align: right;
  margin: 3px 0;
  height: 35px;
  font-family: "Urbanist";
  font-size: 30px;
  line-height: 35px;
  text-align: center;
}

#home-sec-6 {
  background: url(../images/patron-1.svg);
  overflow-x: hidden;
  overflow-y: clip;
  background-size: 200px;
  background-position: 0 50px;
  background-repeat: repeat;
}

#home-sec-6 > .row {
  background: linear-gradient(
    180deg,
    var(--blanco) 0%,
    var(--transparente) 30%
  );
}

#home-sec-6 h5,
#home-sec-6 h3 {
  font-weight: 600;
  text-align: left;
  font-size: 1.2em;
  margin-bottom: 0px;
}

#home-sec-6 table p {
  font-weight: 300;
  font-family: "Inter Tight";
  text-align: left;
  font-size: 0.6em;
  text-wrap: balance;
}

#home-sec-6 .card-main {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0;
}

#home-sec-6 .card-main::after {
  width: 140%;
}

td,
th {
  text-align: center;
  padding: 10px;
  min-width: 150px;
}

table tr:nth-child(even) td {
  background: #fff;
}

table tr:nth-child(odd) td {
  background: #e9e9e9;
}

table tr:nth-child(odd) td:nth-child(3) {
  background: #d6d6d6;
}

table tr:nth-child(even) td:nth-child(3) {
  background: #ebebeb;
}

table thead td {
  border-bottom: 2px solid var(--negro);
  background: #fff !important;
}

table td p {
  margin: 0 auto 0;
}

table td:first-child,
th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
}

table tr td:first-child {
  font-size: 1.1em;
  text-align: left;
  line-height: 1.2;
  font-weight: 700;
  padding: 8px 30px;
}

@media screen and (min-width: 992px) {
  h1,
  h2 {
    font-size: 3.2rem;
    text-wrap: unset;
  }

  p {
    font-size: 1.2em;
  }

  #home-sec-1 .barra-container {
    padding: 40px 0;
    overflow: visible;
    max-width: none;
  }

  #home-sec-1 .barra-container::after {
    right: 35%;
  }

  #home-sec-1 .barra-container p {
    margin: 10px 10px 15px 60%;
  }

  #home-sec-1 .barra {
    padding: 0 40px 0 60%;
    margin: 3px 0 10px 10px;
  }

  #home-sec-1 .barra.english {
    background: url(../images/home-book-english.svg) center right no-repeat;
    background-size: contain;
  }

  #home-sec-1 .barra.french {
    background: url(../images/home-book-french.svg) center right no-repeat;
    background-size: contain;
  }

  #home-sec-1 .barra.spanish {
    background: url(../images/home-book-spanish.svg) center right no-repeat;
    background-size: contain;
  }

  #home-sec-1 .barra.german {
    background: url(../images/home-book-german.svg) center right no-repeat;
    background-size: contain;
  }

  #home-sec-1 .barra.italian {
    background: url(../images/home-book-italian.svg) center right no-repeat;
    background-size: contain;
  }

  #home-sec-1 .home-book {
    height: 90%;
    left: 0;
  }

  #home-sec-1 .carousel-features {
    padding: 20px 20px 20px 0;
  }

  #home-sec-1 .carousel-features img {
    margin: 0 20px;
  }

  #home-sec-2 h2 {
    margin: 0;
    padding: 0;
  }

  #home-sec-2 h2 .emoji-big {
    font-size: 3.5rem;
  }

  #home-sec-2 .row:first-child img {
    max-height: 250px;
    margin-bottom: -50px;
    z-index: 3;
    position: relative;
  }

  #home-sec-2 {
    background: url(../images/img-home6.svg) center top no-repeat;
    background-size: contain;
  }

  #home-sec-2 h3 {
    font-size: 1.55rem;
  }

  #home-sec-2 .card-main {
    height: 460px;
  }

  #home-sec-2 .card-main img {
    margin-bottom: -30px;
  }

  #home-sec-2 p {
    font-size: 1.05em;
    text-wrap: balance;
  }

  #home-sec-3 {
    margin-top: 120px;
  }

  #home-sec-3 .btn-new {
    max-width: 420px;
    font-size: 1.2em;
  }

  #home-sec-3 a:has(.btn-new) + p a {
    margin: 20px 35px;
  }

  #home-sec-3 p {
    margin-right: 140px;
    font-size: 1.2em;
  }

  #home-sec-4 {
    background:
      url(../images/patron-2.png),
      linear-gradient(0deg, var(--gris), var(--transparente));
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 100px;
  }

  #home-sec-4 h2 {
    font-size: 4rem;
  }

  #home-sec-4 div.row {
    background: linear-gradient(
      0deg,
      var(--blanco) 35%,
      var(--transparente) 100%
    );
  }

  #home-sec-5 .barra {
    padding: 0 40px 0 10px;
    text-align: right;
    margin: 5px 0;
    height: 55px;
    line-height: 55px;
    font-size: 50px;
    width: 100%;
  }

  #home-sec-5 .row > div:last-child {
    background: url(../images/img-home7.svg) left center no-repeat;
    margin-left: -60px;
  }

  #home-sec-5 .row > div:first-child {
    margin-right: 60px !important;
  }

  #home-sec-5 .row > div:last-child p,
  #home-sec-5 .row > div:last-child h2 {
    max-width: 510px;
  }

  #home-sec-6 h2 {
    font-size: 3.2em;
  }

  #home-sec-6 .card-main {
    max-width: 90%;
    margin: auto;
  }

  #home-sec-6 .card-main::after {
    width: 100%;
  }
}

@media only screen and (min-width: 767px) and (max-width: 991px) {
  #home-sec-5 .barra {
    padding: 0 10px 0 50%;
  }

  #home-sec-5 .row > div:last-child {
    background: var(--amarillo);
    border: var(--borde-negro);
    padding: 20px;
    border-radius: var(--esquina) 0 0 var(--esquina);
  }

  #home-sec-6 .card-main::after {
    width: 100%;
  }
}

@media only screen and (min-width: 1550px) {
  #home-sec-5 .barra {
    width: auto;
  }
}
