/* Language Section */
.language-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--container-gap);
}

.language-section .content h1 {
  font-size: var(--h1-font-size-mobile);
  font-weight: 400;
  line-height: var(--h1-line-height-mobile);
  text-align: left;
}

.language-section .language-panel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.language-section .language-card {
  width: calc(33.333% - 6px);
  max-width: 132px;
  min-height: 100px;
  height: calc(33.333% - 6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 7px 11.5px;
  background-color: #ffffff;
  border: 1px solid #eeedf2;
  border-radius: 12px;
  cursor: pointer;
}

.language-section .selected {
  box-shadow: 2px 2px 0px 0px #a7a7ac;
}

.language-section .language-card:hover,
.language-section .language-card:focus {
  box-shadow: 2px 2px 0px 0px #a7a7ac;
}

.language-section .language-card img {
  max-width: 100%;
  height: auto;
}

.language-section .language-card h3 {
  font-size: var(--lang-font-size);
  font-weight: var(--lang-font-weight);
  line-height: var(--lang-line-height);
  text-align: center;
}

.language-section .language-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 1280px) {
  .language-section .container {
    gap: 0;
  }

  .language-section .language-card {
    /*width: 132px;*/
    width: calc(10% - 6px);
    height: 136px;
    padding: 12px;
    gap: 8px;
  }

  .language-section .language-card h3 {
    font-family: Ubuntu;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    text-align: center;
  }

  .language-section .language-card img {
    height: 62px;
    width: 62px;
  }
}

@media (min-width: 1280px) {
  .language-section .language-panel {
    width: 1200px;
    margin: 0 auto;
    gap: 21.5px;
  }
}
