.education-container {
  padding: 80px;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr auto;
}

.education-container h2 {
  color: var(--color-black);
  font-family: var(--font-regular);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 40px;
}

.education-list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 30px;
  border-radius: 5px;
  border: 2px solid var(--border-gray);
}

.education-list li {
  display: flex;
  gap: 20px;
  align-items: center;
}

.education-list li img {
  height: 20px;
}

.education-list .education-title {
  font-family: Rubik;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.education-list .time-text {
  margin-left: auto;
  color: var(--font-color);
  font-family: Rubik;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: 130px;
}

.language-list {
  display: flex;
  gap: 40px;
  flex-direction: column;
  list-style-type: none;
  padding: 30px;
  border-radius: 5px;
  border: 2px solid var(--border-gray);
}

.language-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #333;
  font-family: Rubik;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@media only screen and (max-width: 1100px) {
  .education-container {
    padding: 80px 30px;
    display: grid;
    gap: 80px;
    grid-template-columns: 1fr;
  }

  .education-container h2 {
    color: var(--color-black);
    font-family: var(--font-regular);
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
  }

  .education-list {
    display: flex;
    gap: 20px;
    flex-direction: column;
    list-style-type: none;
    padding: 30px;
    border-radius: 5px;
    border: 2px solid var(--border-gray);
  }

  .education-list li {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .education-list .education-title {
    font-family: Rubik;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .education-list .time-text {
    margin-left: auto;
    color: var(--font-color);
    font-family: Rubik;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .language-list {
    display: flex;
    gap: 40px;
    flex-direction: row;
    list-style-type: none;
    padding: 30px;
    border-radius: 5px;
    border: 2px solid var(--border-gray);
    width: fit-content;
  }

  .language-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #333;
    font-family: Rubik;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
}

@media only screen and (max-width: 800px) {
  .education-container {
    padding: 80px 15px;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .education-container h2 {
    color: var(--color-black);
    font-family: var(--font-regular);
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
  }

  .education-list {
    display: flex;
    gap: 40px;
    flex-direction: column;
    list-style-type: none;
    padding: 20px;
    border-radius: 5px;
    border: 2px solid var(--border-gray);
  }

  .education-list li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .education-list .education-title {
    font-family: Rubik;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .education-list .time-text {
    margin-left: auto;
    color: var(--font-color);
    font-family: Rubik;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-align: right;
  }

  .language-list {
    display: flex;
    gap: 40px;
    flex-direction: column;
    list-style-type: none;
    padding: 30px;
    border-radius: 5px;
    border: 2px solid var(--border-gray);
    width: fit-content;
  }

  .language-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #333;
    font-family: Rubik;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
}
