@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*,
*::after,
*::before {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}
::-webkit-scrollbar {
    width: 10px;
  }
::-webkit-scrollbar-track {
    background-color: transparent;
  }
::-webkit-scrollbar-thumb {
    background-color: #363636;
}
body {
    font-family: 'Montserrat';
    font-style: normal;
    font-size: 18px;
    line-height: 1.4;
    font-weight: normal;
    color:  #12253d;
    overflow-x: hidden;
    background-color: #eaecf5;
}
li {
    list-style-type: none;
}
a {
    text-decoration: none;
}
section {
    width: 100%;
    padding: 20px;
    display: flex;
}
#content {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 120px;
  box-shadow: 0 0 5px #12253d;
  background-color: #12253d;
}
.header__logo {
  width: 100px;
  height: 100px;
  border-radius: 30px;
  margin-right: 30px;
}
.header__nav {
  display: flex;
  gap: 50px;
}
.nav-link {
  color: white;
  font-weight: 500;
  transition: .4s all;
}
.nav-link:hover {
  color: #c0bdb6;
}
.header__extra {
  display: flex;
  gap: 80px;
  color: white;
}
.header__extra--btn1 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
}
.header__extra--btn2 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #041b3a ;
}
.hamburger-menu {
  display: none;
}
.mainpage {
  justify-content: center;
  gap: 100px;
  padding: 0 120px;
  padding-top: 70px;
  align-items: end;
  margin-bottom: 100px;
}
.mainpage__container {
  width: 50%;
}
.mainpage__blocks {
  width: 100%;
  display: flex;
  gap: 30px;
}
.mainpage__block {
  width: 300px;
  padding: 15px;
  border-radius: 10px;
  border: solid 1px #041b3a;
  display: flex;
  gap: 10px;
  font-size: 20px;
  align-items: center;
  justify-content: center;
}
.mainpage__block > img {
  width: 25px;
}
.mainpage__title {
  width: 85%;
  font-size: 60px;
  margin-top: 50px;
  color: #041b3a;
}
.mainpage__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.mainpage__list-li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.mainpage__list-li > img {
  width: 25px;
}
.mainpage__subcontainer {
  display: flex;
  justify-content: start;
  gap: 80px;
  width: 100%;
  background-color: #265186;
  border-radius: 30px;
  padding: 30px;
}
.mainpage__subcontainer > img {
  width: 250px;
  border-radius: 20px;
}
.mainpage__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: white;
}
.mainpage__form--title {
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 30px;
}
.mainpage__form > input {
  font-family: 'Montserrat';
  width: 100%;
  padding: 10px 20px;
  outline: none;
  border-radius: 10px;
  font-size: 18px;
  border: solid 1px white;
}
.mainpage__form--btn {
  border: solid 1px #041b3a ;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #041b3a ;
  font-family: "Montserrat";
  color: white;
  font-size: 20px;
  cursor: pointer; 
  margin-top: 65px;
  font-weight: 600;
  transition: .3s all;
}
.mainpage__form--btn:hover {
  background-color: transparent;
}
.course {
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.course__title {
  font-size: 50px;
  margin-bottom: 50px;
  position: relative;
  z-index: 3;
  color: #041b3a;
}
.course__container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 50px;
}
.course__subcontainer {
  width: 30%;
  border-radius: 20px;
}
.course__block {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  position: relative;
  z-index: 3;
  border: solid 2px #041b3a
}
.course__block--title {
  font-weight: 500;
  font-size: 40px;
  padding: 20px;
  color: #12253d;
}
.course__desc {
  font-weight: 400;
  font-size: 23px;
  padding: 20px;
  color: #12253d;
  padding-top: 0;
}
.banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0;
}
.banner__img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
}
.about {
  width: 100%;
  flex-direction: column;
  align-items: center;
  background-color: #eaecf5;
}
.about__title {
  font-size: 50px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 50px;
  color: #041b3a;
}
.about__img {
  max-width: 100%;
  width: 700px;
}
.about__desc {
  width: 1000px;
  max-width: 100%;
  font-size: 25px;
  font-weight: 500;
  color: white;
  background-color: #041b3a;
  margin-top: 50px;
  padding: 30px;
  border-radius: 20px;
}
.about__desc > b {
  font-size: 30px;
  font-weight: 700;
}
.company {
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding-bottom: 50px;
}
.company__title {
  font-size: 50px;
  color: #041b3a;
  margin-top: 10px;
  margin-bottom: 50px;
}
.company__container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 100px;
  margin-bottom: 100px;
}
.company__block {
  display: flex;
  width: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 150px;
  max-width: 100%;
}
.company__block1 {
  height: 150px;
}
.company__img {
  width: 100%;
  max-width: 100%;
}
.company__img1 {
  transform: translateY(20px);
}
.company__name {
  font-size: 30px;
  text-align: center;
  color: #041b3a;
  font-weight: 500;
}
.join {
  width: 1200px;
  max-width: 100%;
  padding: 30px;
  border-radius: 20px;
  background-color: #eaecf5;
  border: solid 2px #0f0f0f;
  margin: 50px auto;
}
.join__container:first-child {
  width: 40%;
}
.join__container {
  display: flex;
  gap: 30px;
}
.join__title {
  width: 500px;
  font-size: 50px;
  margin-top: 50px;
  font-weight: 500;
  color: #041b3a;
}
.join__container > img {
  width: 300px;
}
.join__block {
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.join__desc {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 60px;
  line-height: 1.6;
}
.join__benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.join__benefits > li {
  background-color: #dbdbdb;
  padding: 10px;
  color: #12253d;
  border-radius: 10px;
  text-align: start;
}
.reviews {
  flex-direction: column;
  align-items: center;
  padding: 0 120px;
}
.reviews__title {
  font-size: 50px;
  color: #041b3a;
}
.reviews__container {
  width: 80%;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.reviews__block1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 20px;
  background-color: #f3f1f1;
  border: solid 2px #041b3a;  
}
.reviews__block2 {
  width: 45%;
  margin-top: 50px;
  padding: 30px;
  border-radius: 20px;
  background-color: #eaecf5;
  border: solid 2px #041b3a;
}
.reviews__block-content {
  display: flex;
  gap: 15px;
  align-items: center;
}
.reviews__block--img {
  width: 250px;
  border-radius: 20px;
}
.reviews__block--name {
  font-size: 30px;
  font-weight: 600;
}
.reviews__desc {
  font-size: 20px;
  margin-top: 30px;
}
.contacts {
  width: 1200px;
  padding: 0;
  border-radius: 20px;
  background-color: white;
  box-shadow: 0 0 10px #041b3a;
  margin: 50px auto;
  color: #041b3a;
  padding: 20px;
}
.contacts__container {
  width: 60%;
  display: flex;
  gap: 30px;
}
.contacts__title {
  font-size: 30px;
  font-weight: 500;
  padding: 30px;
}
.contacts__container > img {
  width: 300px;
}
.contacts__block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}
.contacts__desc {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 60px;
  line-height: 1.6;
}
.contacts__benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contacts__benefits > li {
  background-color: #c0bdb6;
  padding: 10px;
  color: #12253d;
  border-radius: 10px;
  text-align: center;
}
.contacts__block > input {
  font-family: "Montserrat";
  width: 300px;
  padding: 10px 20px;
  outline: none;
  border-radius: 10px;
  font-size: 18px;
  border: solid 1px #041b3a;
}
.contacts__block > input::placeholder {
  color: #041b3a;
}
.contacts__block--btn {
  border: solid 1px #041b3a ;
  padding: 7px 15px;
  border-radius: 10px;
  background-color: #041b3a ;
  font-family: "Montserrat";
  color: white;
  font-size: 18px;
  cursor: pointer; 
  font-weight: 600;
  transition: .3s all;
}
.footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 50px 100px;
  background-color: #12253d;
}
.footer__container {
  width: 100%;
  display: flex;
  justify-content: space-around;
}
.footer__subcontainer {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer__title {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 40px;
  color: white;
}
.footer__subcontainer > a {
  color: white;
  font-weight: 500;
  transition: .3s all;
}
.footer__subcontainer > a:hover {
  text-decoration: underline;
}
.footer__copy {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
  align-items: end;
  border-top: solid 1px #363636;
  padding-top: 20px;
  color: white;
}
.footer__logo {
  width: 200px;
  border-radius: 20px;
}
.footer__nav {
  display: flex;
}
.footer__nav img {
  width: 100px;
  margin-left: 20px;
  border-radius: 50%;
}
@media (max-width: 1550px) {
  .header__nav {
    margin-left: 0;
  }
  .mainpage {
    gap: 30px;
    align-items: center;
  }
  .mainpage__title {
    width: 100%;
    font-size: 50px;
  }
  .mainpage__subcontainer {
    gap: 20px;
  }
  .mainpage__form--title {
    font-size: 25px;
  }
}
@media (max-width: 1250px) {
  .header {
    padding: 20px 50px;
  }
  .header__extra {
    display: none;
  }
  .mainpage {
    flex-direction: column;
  }
  .mainpage__container {
    width: 100%;
  }
  .mainpage__subcontainer {
    justify-content: space-between;
  }
  .course__container {
    flex-wrap: wrap;
  }
  .course__title, .about__title, .reviews__title, .company__title {
    font-size: 40px;
    text-align: center;
    width: 800px;
    max-width: 100%;
  }
  .about__desc {
    max-width: 100%;
  }
  .course__subcontainer {
    width: 450px;
  }
  .join {
    max-width: 95%;
    flex-direction: column;
    gap: 50px;
  }
  .join__container {
    width: 100%;
    align-items: center;
  }
  .reviews {
    padding: 0 50px;
  }
  .reviews__container {
    width: 100%;
  }
  .contacts {
    max-width: 95%;
    padding: 50px 20px;
    justify-content: space-around;
    align-items: center;
  }
  .contacts__container > img {
    display: none;
  }
  .contacts__title {
    padding: 0;
  }
}
@media (max-width: 820px) {
  .header__nav {
    display: none;
}
  .hamburger-menu {
    display: flex;
    height: 100%;
    align-items: center;
  }
  #menu__toggle {
    opacity: 0;
  }
  .menu__btn {
    display: flex; 
    align-items: center;  
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
  }
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: flex;
    position: absolute;
    width: 35px;
    height: 2px;
    gap: 10px;
    margin-bottom: 5px;
    background-color: white;
  }
  .menu__btn > span::before {
    content: '';
    top: -8px;
  }
  .menu__btn > span::after {
    content: '';
    top: 8px;
  }
  .menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    z-index: 100;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    padding-top: 50px;
    margin: 0;
    list-style: none;
    text-align: center;
    background-color: #12253d;
    padding-left: 30px;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  }
  .menu__item {
    display: block;
    padding: 12px 0;
    margin-bottom: 5px;
    text-align: start;
    padding-left: 15px;
    color: white;
    font-size: 20px;
    font-weight: 500;
    transition: .3s all;
  }
  .menu__item:hover {
    color: #a3a2a2;
  }
  .menu__item > img {
    width: 30px;
  }
  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
  }
  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    left: 0;
  }
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    transition-duration: .25s;
  }
  .menu__box {
    transition-duration: .25s;
  }
  .menu__item {
    transition-duration: .25s;
  }
  .mainpage {
    padding: 30px 50px;
  }
  .course__subcontainer {
    max-width: 100%;
    width: 500px;
  }
  .about__desc {
    font-size: 20px;
  }
  .join__title {
    margin-top: 0;
    font-size: 30px;
  }
  .reviews__block--img {
    width: 85px;
  }
  .reviews__block--name {
    font-size: 20px;
  }
  .reviews__desc {
    font-size: 18px;
  }
  .company__title {
    text-align: center;
  }
  .company__name {
    font-size: 25px;
  }
}
@media (max-width: 820px) {
  .mainpage {
    padding: 20px;
  }
  .mainpage__title {
    font-size: 30px;
  }
  .mainpage__list-li {
    font-size: 16px;
  }
  .mainpage__form--title {
    font-size: 18px;
  }
  .mainpage__form {
    justify-content: center;
  }
  .mainpage__form > input {
    padding: 7px 15px;
    font-size: 16px;
  }
  .mainpage__form--btn {
    padding: 7px 15px;
    font-size: 16px;
  }
  .course__block--title {
    font-size: 25px;
  }
  .course__desc {
    font-size: 20px;
  }
  .join__container {
    flex-direction: column;
  }
  .reviews__block2 {
    width: 100%;
  }
  .contacts {
    flex-direction: column;
  }
  .contacts {
    gap: 30px;
  }
  .contacts__block > input {
    width: 100%;
    max-width: 100%;
  }
  .contacts__container {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .footer__container {
    flex-direction: column;
    gap: 50px;
  }
  .footer__title {
    margin-bottom: 0;
  }
  .footer__copy {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .mainpage__subcontainer {
    flex-direction: column;
    align-items: center;
  }
  .mainpage__subcontainer > img {
    width: 200px;
  }
  .mainpage__form--title {
    font-size: 25px;
    text-align: center;
    margin-bottom: 0;
  }
  .course__title, .about__title, .reviews__title, .company__title {
    font-size: 30px;
  }
  .mainpage__blocks {
    flex-direction: column;
    align-items: center;
  }
  .mainpage__block {
    font-size: 18px;
  }
  .about__desc {
    padding: 10px;
    font-size: 18px;
  }
  .reviews {
    padding: 20px;
  }
  .footer {
    padding: 30px;
  }
  .course__desc {
    max-width: 100%;
  }
  .about__desc > b {
    font-size: 25px;
  }
  .contacts__title {
    font-size: 25px;
  }
}