@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", sans-serif;
  background-color: #f1f2f5;
  color: #0e0e2c;
}
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}
header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
  margin-top: 15px;
}
header img {
  height: 30px;
}
.hero {
  background: url(./img/background_last.png);
}
.hero_container {
  display: flex;
  justify-content: space-between;
  position: relative;
  min-height: 500px;
}
.hero_container .content {
  max-width: 600px;
}
.content h2 {
  font-size: 35px;
}
.highlight {
  font-size: 35px;
  font-weight: 900;
  width: fit-content;
  color: #ffffff;
  background: url(./img/BackGround-For.png) no-repeat;
  background-size: 100%;
  background-position: left;
  position: relative;
}
.main_info {
  display: flex;
}
.highlight span {
  display: block;
  width: 60%;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  padding: 15px 0 30px 0;
}
.hero_container h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 20px 0;
}
.form-box {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: fit-content;
}
.form-box input[type="text"],
.form-box input[type="email"],
.form-box input[type="number"],
.form-box select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.form-box button {
  background-color: #005854;
  color: white;
  padding: 12px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  width: 100%;
  font-weight: 600;
}
.form-box label {
  cursor: pointer;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.feature-box {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
}
.feature-box h3 {
  margin-bottom: 10px;
}
.section-dark {
  background-color: #0e0e2c;
  color: white;
  padding: 40px 20px;
  margin-top: 60px;
  border-radius: 10px;
}
.levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.level-box {
  background-color: white;
  color: #0e0e2c;
  padding: 25px;
  border-radius: 10px;
}
.level-box p {
  margin: 7px 0;
}
.level-box strong {
  color: #005854;
}
.level-box h3 {
  height: 10%;
}
.level-box ul {
  padding-left: 20px;
}
.teachers_conteiner {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.teachers-cards {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}
.teacher {
  background-color: white;
  width: 100%;
  padding: 20px;
  max-width: 33%;
  border-radius: 10px;
  text-align: center;
}
.teacher img {
  margin: 0 auto;
  width: 100%;
}
#link-btn {
  margin-top: 20px;
  background-color: #005854;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: bold;
  text-decoration: none;
  display: block;
  width: fit-content;
  border-radius: 5px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

li {
  list-style: url(./chekMark.svg);
}

@media (max-width: 1400px) {
  .form-box {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 40%;
  }
}

@media (max-width: 1270px) {
  .features,
  .levels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1199px) {
  .teachers-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .teacher {
    width: 50%;
    min-width: 250px;
  }
}
@media (max-width: 1090px) {
  .form-box {
    max-width: 50%;
  }
}
@media (max-width: 1030px) {
  .hero {
    background: none;
  }
  .main_info {
    background: url(./img/background_last.png);
    gap: 10%;
    border-bottom-right-radius: 15px;
  }
  .hero_container {
    flex-direction: column;
  }
  .form-box {
    position: static;
    margin: 20px auto;
    max-width: 100%;
  }
  #bg-img {
    height: 400px;
  }
  .highlight {
    min-width: 400px;
  }
  .hero_container .content {
    width: 50%;
  }
  .hero_container .content span {
    font-size: 30px;
  }
}

@media (max-width: 730px) {
  .main_info {
    position: relative;
    height: 400px;
  }
  #bg-img {
    position: absolute;
    right: 0;
  }
}

@media (max-width: 650px) {
  .hero_container .content {
    width: 100%;
  }
  .main_info {
    border-bottom-right-radius: 135px;
  }
  .features,
  .levels {
    grid-template-columns: 1fr;
  }
  .highlight {
    width: 100%;
    min-width: 0;
    background-size: contain;
    min-height: 100px;
  }
  .hero_container h1 {
    max-width: 50%;
    font-size: 30px;
  }
  #bg-img {
    height: 300px;
    top: 100px;
  }
  .hero_container .content span {
    font-size: 25px;
    display: inline-block;
    padding-bottom: 15px;
    left: 185px;
    text-align: left;
    min-width: 200px;
    width: 40%;
    padding-top: 10px;
    padding: 10px 0 15px 0;
  }
  .content h1 {
    font-size: 30px;
    line-height: 50px;
  }
}

@media (max-width: 500px) {
  .content h1 {
    font-size: 25px;
  }
}
@media (max-width: 430px) {
  .content h1 {
    font-size: 20px;
    min-width: 172px;
  }
  .hero_container .content span {
    font-size: 20px;
    padding-top: 17px;
  }
  .container {
    padding: 5px;
    width: 94%;
  }
}
@media (max-width: 329px) {
  .content h1 {
    font-size: 18px;
  }
  .conteiner {
    min-width: 315px;
  }
}
