@font-face {
  font-family: "FrankRuhlLibre";
  src: url("FrankRuhlLibre-Medium.ttf") format("woff2");
}

.hero {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  max-width: 1400px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
    width: 80%;
}

.hero__highlight {
  color: #e4335a;
}

.hero__title {
  /*font-family: "FrankRuhlLibre";*/
  font-size: 50px;
  margin-top: 70px;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 60px;
}

.hero__subtitle {
  font-size: 2rem;

}

.hero__description {
  font-size: 18px;
  line-height: 30px;
  margin-top: 5px;
    font-weight: 300px;
}

.hero__image-container {
  height: 350px;
margin-right: 50px;
}

.img1 {
  height: 100%;
  object-fit: cover;
  border-radius: 65% 55% 60% 55% / 55% 50% 52% 55%;
  border-radius: 25px;

}

.hero__container {
  display: flex;
  flex-direction: column;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.main {
  padding-top: 1rem;
  margin: 0 4rem;
  text-align: center;
  text-decoration: none;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  margin-right: 4rem;
  margin-bottom: 0.5rem;
}

.language-list__item {
  display: flex;
  flex-direction: column;
  margin-left: 0.6rem;
  line-height: 3.125rem;
  margin-right: 0.4rem;
  text-align: center;
  margin-top: 0.2rem;
}

.language-list__image {
  height: 5.5rem;
  width: 5.5rem;
  border-radius: 70% 50% 58% 41% / 56% 48% 53% 56%;
  object-fit: cover;
}

.language-list__image:hover {
  height: 6.5rem;
  width: 6.5rem;
}


.language-list__image__coming {
    height: 5.5rem;
  width: 5.5rem;
  border-radius: 70% 50% 58% 41% / 56% 48% 53% 56%;
  object-fit: cover;
  opacity: 0.2;
}
.language-list__link__coming {
  opacity: 0.2;
}
.language-list__text__coming {
  opacity: 0.2;
  font-size: 12px;
}


#language-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

#hiddenLanguages {
  display: none;
}

#showButton {
  border-radius: 50px;
  width: 150px;
  height: 50px;
  background-color: #e4335a;
  border: none;
  color: #fff;
  font-size: 18px;
  justify-content: center;
  margin-left: 20px;
  margin-bottom: 20px;
}

#showButton:hover {
  width: 150px;
  height: 55px;
}

#searchInput {
  width: 50%;
  height: 3.5rem;
  padding: 20px;
  border: none;
  border-radius: 50px;
  margin: 0 auto;
  display: none;
  color: #081f40;
  font-weight: 400;
  background-color: #f3f3f6;
  margin-top: 30px;
  margin-bottom: 30px;
      background-color: #f7f7ff;

}

.search-container img {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

h3 {
  font-size: 2.1875rem;
  margin-top: 10px;
}

.features {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features__container {
  display: flex;
  flex-direction: column;
  margin-left: 250px;
  margin-right: 250px;
}

.features__block {
  display: flex;
}

.features__image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  margin-right: 30px;
  margin-left: 100px;
}

.features__image__two {
  width: 320px;
  height: 320px;
  object-fit: cover;
  margin-right: 30px;
}

.features__highlight {
  color: #e4335a;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
  margin-top: 50px;
}

.features__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.features__heading {
  font-size: 30px;
  margin-bottom: 10px;
  margin-top: 5px;
  text-align: left;
}

.button--secondary {
  border-radius: 50px;
  width: 10.5rem;
  height: 3.4375rem;
  background-color: #e4335a;
  border: none;
  color: #fff;
  font-size: 1.125rem;
  justify-content: center;
  margin-bottom: 3rem;
  margin-top: 20px;
}
.button--secondary a {
  color: #fff;
}

.button--secondary:active {
  background-color: #a3203c;
}

#container2 {
  display: none;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  margin-right: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 1060px) and (min-width: 700px) {
  .hero__content {
    align-items: center;
    text-align: center;
  }

  .hero__image-container {
    width: 100%;
    height: auto;
    max-width: 500px;
  }

  .img1 {
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 780px) {
  .main {
    padding-top: 0rem;
    margin: 0 1rem;
    text-align: center;
    text-decoration: none;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0rem;
  }

  .hero__title {
    font-size: 8vw;
  }

  .hero__subtitle {
    font-size: 4vw;
  }

  .hero__description {
    font-size: 3vw;
  }

  .hero__container {
    display: flex;
    flex-direction: column;
    margin: 0px;
  }

  .img1 {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .language-list {
    margin-right: 0px;
  }

  .features__container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 100%;
  }

  .features__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .features__image {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 1rem 0;
  }

  .features__heading {
    font-size: 1.3rem;
  }

  .features__text {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 1rem;
  }

  .features__highlight {
    font-size: 1.3rem;
  }

  #features__content__two {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 480px) {
  h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .language-list__image {
    height: 4rem;
    width: 4rem;
  }

  .language-list__image:hover {
    height: 4rem;
    width: 4rem;
  }

  .features__container {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 100%;
    margin-top: 30px;
  }

  .features__block {
    display: flex;
    flex-direction: column;
  }

  .features__image {
    object-fit: cover;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    width: 150px;
    height: 200px;
    margin: 0px;
  }

  .features__image__two {
    object-fit: cover;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    width: 100px;
    height: 200px;
    margin: 0px;
  }

  .features__heading {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: left;
  }

  .features__highlight {
    font-size: 14px;
    margin-top: 0px;
  }

  .features__text {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 16px;
    padding: 0px;
  }

  #features__content__two {
    display: flex;
    flex-direction: column-reverse;
  }

  h2 {
    margin-bottom: 10px;
  }

  .language-list {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    margin-right: 0rem;
    margin-bottom: 0.5rem;
  }

  .main {
    padding-top: 1rem;
    margin: 0 0.5rem;
    text-align: center;
    text-decoration: none;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0rem;
  }

  .hero__title {
    font-size: 9vw;
  }

  .hero__subtitle {
    font-size: 4vw;
  }

  .hero__description {
    font-size: 3.5vw;
  }

  .hero__image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
  }

  .hero__container {
    display: flex;
    flex-direction: column;
    margin: 0px;
  }

  .img1 {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
  }
}