@font-face {
  font-family: "Montserrat";
  src: url("./fonts/montserrat/Montserrat-Light.ttf");
  font-weight: 300;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/montserrat/Montserrat-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/montserrat/Montserrat-SemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/montserrat/Montserrat-ExtraBold.ttf");
  font-weight: 800;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/montserrat/Montserrat-Black.ttf");
  font-weight: 900;
}

html,
body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  font-family: "Montserrat";
}

html {
  background: #e5e5e5;
}
.clearfix {
  clear: both;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 1360px) {
  .container:not(nav .container) {
    /* padding: 0 20px; */
  }

  div.container.section-header {
    padding-top: 16px;
  }
}

.form-group {
  position: relative;
  padding-top: 1.5rem;
}

.forms .form-group {
  padding-top: 25px;
}

.main-form-container form button {
  border-radius: 4px;
  background: #ffd100;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  padding: 15px 0;
  color: black;
}

.form-group label {
  position: absolute;
  top: 5px;
  font-size: 10px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.2s ease-out;
}
.form-group input {
  display: block;
  width: 100%;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: none;
  border-bottom: 1px solid hsl(0, 0%, 75%);
  color: #fff;
  background-color: transparent !important;
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.75rem;
  box-sizing: border-box;
}
.form-group input:placeholder-shown + label {
  opacity: 0;
  transform: translateY(1rem);
}
.form-group input::placeholder {
  color: #e0e0e0;
}
.form-group input:valid {
  border-color: #2eec96;
  background-image: url("data:image/svg+xml,%3Csvg width='45px' height='34px' viewBox='0 0 45 34' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg transform='translate%28-56.000000, -59.000000%29' fill='%232EEC96'%3E%3Cpolygon points='70.1468531 85.8671329 97.013986 59 100.58042 62.5664336 70.1468531 93 56 78.8531469 59.5664336 75.2867133'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A") !important;
}
.form-group input:invalid:focus {
  border-color: #ed1c24;
  background-image: url("data:image/svg+xml,%3Csvg width='30px' height='30px' viewBox='0 0 30 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg transform='translate%28-128.000000, -59.000000%29' fill='%23F44336'%3E%3Cpolygon points='157.848404 61.9920213 145.980053 73.8603723 157.848404 85.7287234 154.856383 88.7207447 142.988032 76.8523936 131.119681 88.7207447 128.12766 85.7287234 139.996011 73.8603723 128.12766 61.9920213 131.119681 59 142.988032 70.8683511 154.856383 59'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A") !important;
}
.form-group input:focus {
  outline: none;
}

.form-group input {
  color: #000;
}
.form-group input::placeholder {
  color: rgba(30, 30, 30, 0.7);
}

.main-form-container input,
.main-form-container input::placeholder {
  color: white;
}

.form-group input[type="email"]:invalid + .help-text::before {
  content: "You must enter a valid email.";
}

@media (min-width: 1024px) {
  #topcontrol {
    color: #fff;
    z-index: 99;
    width: 40px;
    height: 40px;
    font-size: 20px;
    background: url("images/angle-up-solid.svg") center no-repeat #2c3949;
    right: 14px !important;
    bottom: 11px !important;
    border-radius: 3px !important;
  }
}
@media (max-width: 1023px) {
  #topcontrol {
    color: #fff;
    z-index: 99;
    width: 40px;
    height: 40px;
    font-size: 20px;
    background: url("images/angle-up-solid.svg") center no-repeat #2c3949;
    right: calc(50% - 20px) !important;
    bottom: 0px !important;
    border-radius: 3px !important;
  }
}

#topcontrol:hover {
  background-color: #222;
  transition: all 0.3s ease-in-out;
}
#sticky-wrapper {
  display: block;
}
#btnMobMenu {
  display: none;
}

header section.top {
  background: #34465a;
  padding: 10px;
}
header section.top .container,
footer .row {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.parallax-window .section-header {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
}

.main-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1020px) {
  .main-form-container {
    grid-template-columns: 1fr;
    padding: 40px 16px;
  }
}

@media (max-width: 470px) {
  .parallax-window .section-header {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 12px;
  }

  .main-form-container {
    padding: 0;
  }
}

.parallax-window .section-header a {
  color: white;
  text-decoration: none;
}
header section.top .logo img {
  height: 25px;
}

header .top {
  position: relative;
}

header section.top .container {
  position: relative;
  z-index: 2;
}
.social-wrap {
  display: flex;
  gap: 12px;
}

@media (max-width: 470px) {
  .social-wrap {
    grid-column: 2/3;
    grid-row: 1/2;
    justify-content: flex-end;
  }
}

.social-wrap a img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.top-filter {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(169, 210, 248, 0.3);
}
header section.top a {
  font-size: 16px;
  text-decoration: none;
  font-weight: 900px;
  text-transform: uppercase;
  color: #4e82c7;
}

.header section.top a.logo {
  height: 25px;
}

.header__phone-wrap {
  display: flex;
  gap: 40px;
}

@media (max-width: 470px) {
  .header__phone-wrap {
    grid-row: 2/2;
    grid-column: 1/2;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
  }
}

header section button.orderMobilBtn {
  display: none;
}
header section.top a[href^="tel:"] {
  color: #fff;
}
header button,
footer button,
a.btn,
#order form button {
  background: #f7941d;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-weight: 800;
  font-style: italic;
  font-size: 18px;
  border: none;
  width: 20%;
  padding: 10px 0;
  cursor: pointer;
}
header button:hover,
footer button:hover,
a.btn:hover,
#order form button:hover {
  background: #ce7c19;
}
a.btn {
  margin: auto;
  text-align: center;
  text-decoration: none;
}
header section#home {
  display: grid;
  grid-template-rows: max-content 1fr;
  align-items: center;
  /*background: url(images/header_bg.jpg);*/
  background: transparent;
  min-height: 70vh;
  color: #fff;
}
#home h1,
#home h4 {
  text-shadow: 1px 1px 2px black, 0 0 1em #000;
}

.form-text {
  color: #fff;
  font-size: 22px;
  font-style: normal;
  font-weight: 800;
  line-height: 138.6%; /* 33.264px */
  letter-spacing: -0.48px;
  /* width: 380px; */
}

.form-text span {
  display: block;
}

@media (max-width: 470px) {
  .form-text {
    font-size: 18px;
    max-width: 100%;
  }
}

.main-text {
  display: grid;
  align-items: center;
  align-content: center;
  gap: 50px;
}

.main-text li {
  margin-left: 20px;
}

@media (max-width: 1020px) {
  .main-text {
    /* order: 1; */
  }
}

@media (max-width: 700px) {
  .main-text {
    margin-bottom: 80px;
    padding-top: 40px;
    gap: 8px;
  }
}

.main-text h1 {
  font-size: 80px;
}

@media (max-width: 470px) {
  .main-text h1 {
    font-size: 44px;
  }
}

.main-text h1 span {
  color: #ffd100;
}

.main-text h4 {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 138.6%; /* 33.264px */
  letter-spacing: -0.48px;
}

@media (max-width: 420px) {
  .main-text h4 {
    font-size: 18px;
  }
}

header form {
  display: block;
  background: rgba(52, 70, 90, 0.77);
  padding: 45px 45px 65px;
  box-sizing: border-box;
  height: max-content;
  max-width: 380px;
  border-radius: 12px;
  background: rgba(217, 217, 217, 0.01);
  /* backdrop-filter: blur(8px); */
  justify-self: flex-end;
}
header form button,
footer form button {
  width: 100%;
  margin-top: 30px;
}
header h1,
header h4 {
  /* width: 50%; */
  font-size: 44px;
  /*text-shadow: 1px 1px 2px black, 0 0 1em #000;*/
  line-height: 1.3;
  margin: 0;
  /* padding-top: 180px; */
}
header h4 {
  font-size: 34px;
  padding-top: 0;
}
header hr {
  border: 3px solid #f7941d;
  width: 500px;
  margin: 25px 0;
}
header nav {
  background: #2c3949;
  height: 75px;
}
header nav .container {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: flex-start;
}
header nav a {
  display: block;
  padding: 27px 0;
  color: #fff;
  text-decoration: none;
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  -ms-transition: all 500ms;
  -o-transition: all 500ms;
  transition: all 500ms;
  flex-grow: 1;
  text-align: center;
}
header nav a:last-child {
  padding: 27px 47px;
}
header nav .container.admin a {
  padding: 27px 33px;
}
header nav .container.admin a:last-child {
  padding: 27px 37px;
}
header nav a.current,
header nav a:hover {
  padding-bottom: 40px !important;
}
header nav a:nth-child(1) {
  background-color: #f4bf00;
}
header nav a:nth-child(2) {
  background-color: #f7941d;
}
header nav a:nth-child(3) {
  background-color: #f26522;
}
header nav a:nth-child(4) {
  background-color: #ed1c24;
}
header nav a:nth-child(5) {
  background-color: #e10337;
}
header nav a:nth-child(6) {
  background-color: #b90162;
}
header nav a:nth-child(7) {
  background-color: #873e95;
}
header nav a:nth-child(8) {
  background-color: #3c70b4;
}
header nav a:nth-child(9) {
  background-color: #05ac80;
}
/*others-double*/
header nav a:nth-child(10) {
  background-color: #f4bf00;
}
header nav a:nth-child(11) {
  background-color: #f7941d;
}
header nav a:nth-child(12) {
  background-color: #f26522;
}
header nav a:nth-child(13) {
  background-color: #ed1c24;
}
header nav a:nth-child(14) {
  background-color: #e10337;
}
header nav a:nth-child(15) {
  background-color: #b90162;
}
header nav a:nth-child(16) {
  background-color: #873e95;
}
header nav a:nth-child(17) {
  background-color: #3c70b4;
}
header nav a:nth-child(18) {
  background-color: #05ac80;
}

section.promo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 50px 0 70px;
}
@media (max-width: 1000px) {
  section.promo {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px 40px;
  }
}

section.promo div {
  border-radius: 8px;
  border: 1px solid rgba(30, 30, 30, 0.9);
  padding: 20px;
  text-align: center;
}
section.promo strong {
  color: rgba(30, 30, 30, 0.9);
  text-align: center;
  font-size: 48px;
  line-height: 54px;
  font-weight: bold;
}

section.promo p {
  color: rgba(30, 30, 30, 0.9);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
}

section > .left,
section > .right {
  position: absolute;
  width: 100%;
  color: #fff;
  font-weight: 900;
  font-size: 28px;
  line-height: 44px;
  padding: 20px 50px;
  margin: 0;
  z-index: 1;
}
section > .left {
  text-align: right;
  left: -85%;
}

@media (max-width: 1050px) {
  section > .left {
    text-align: right;
    left: -75%;
    top: 0;
  }
}
section > .right {
  right: -78%;
}

section#gallery h1,
section#gallery h3 {
  background: #e10337;
  /* top: -20px; */
}
section#about {
  position: relative;
  color: #fff;
  min-height: 511px;
  background: url("./images/about-bcg.png") no-repeat;
  background-size: cover;
}
#about {
  padding: 50px 0;
}

@media (max-width: 700px) {
  #about {
    padding: 0 0 50px;
  }
}

#about .container {
  display: flex;
  gap: 40px;
}

@media (max-width: 940px) {
  #about .container {
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
  }
}
.about-text-wrap {
  color: black;
}
.about-text-wrap h3 {
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: 138.6%; /* 44.352px */
  letter-spacing: -0.64px;
}

.about-text-wrap span {
  display: block;
  margin-bottom: 40px;
  line-height: 24px; /* 150% */
}

#about .container > img {
  object-fit: contain;
  max-width: 440px;
}
@media(max-width: 490px){
  #about .container > img {
/*    width: 96%;*/
    margin-left: 5.5%;
  }
}
section#about article {
  position: absolute;
  right: 0;
  background: #405771;
  width: 445px;
  height: 400px;
  padding: 40px;
  top: 15px;
}

section#courses,
section#exprience,
section#portfolio,
section#blog main,
section#contact {
  position: relative;
  padding: 36px 0 80px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  /* display: flex; */
  justify-content: space-between;
  flex-wrap: wrap;
}

section#portfolio {
  padding: 0 0 80px 0;
}

section#courses > h1,
section#courses h3 {
  top: -20px;
  background: #f26522;
}
section#courses {
  display: block;
}
.courses-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  row-gap: 60px;
}

@media (max-width: 1360px) {
  .courses-wrap {
    grid-template-columns: repeat(3, 1fr);
    /* padding: 0 20px; */
  }
}

@media (max-width: 980px) {
  .courses-wrap {
    grid-template-columns: repeat(2, 1fr);
    /* padding: 0 20px; */
  }

  section > .right {
    right: 78%;
  }
}

@media (max-width: 620px) {
  .courses-wrap {
    grid-template-columns: 1fr;
  }
}

section#courses article {
  display: grid;
  grid-template-rows: max-content 1fr;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

.section .course h2 {
  margin: 0;
}

section#courses article a:not(.courses-btn) {
  display: block;
  text-decoration: none;
  color: rgba(30, 30, 30, 0.9);
  font-size: 24px;
  font-weight: 800;
  line-height: 138.6%; /* 33.264px */
  letter-spacing: -0.48px;
}
section#courses article img {
  width: 100%;
  height: 170px;
  background: #000;
  opacity: 0.9;
  border-radius: 4px;
  object-fit: cover;
}

a.course__img {
  height: 170px;
}

section#courses article:hover img {
  transform: scale(1.05);
  transition: all 1s;
  opacity: 1;
}
@media(max-width: 767px){
  section#courses article img, section#courses article:hover img {
    transform: scale(1.0) !important;
  }
}
section#courses article:hover header {
  /* transform: scale(1.1); */
  transition: all 1s;
  opacity: 1;
}
section#courses article:hover time {
  right: 20px;
  transition: all 1s;
}
section#courses article header {
  display: grid;
  grid-template-rows: 1fr repeat(4, max-content);
  position: relative;
  min-height: 160px;
  border-radius: 0 0 8px;
  padding: 18px;
  color: black;
}
section#courses article header h1 {
  width: 100%;
  font-weight: 900;
  font-size: 28px;
  padding: 0;
}

/* .section#courses article header p {
  color: black;
} */

section#courses article time {
  float: right;
  color: #000;
  background: #e5e5e5;
  padding: 5px 10px;
  position: absolute;
  right: 10px;
  top: -45px;
}
/* 
section#courses article p {
  font-family: "Roboto", sans-serif;
}
section#courses article:nth-of-type(9n + 2) header {
  background: #405771;
}
section#courses article:nth-of-type(9n + 3) header {
  background: #873e95;
}
section#courses article:nth-of-type(9n + 4) header {
  background: #873e95;
}
section#courses article:nth-of-type(9n + 5) header {
  background: #b90162;
}
section#courses article:nth-of-type(9n + 6) header {
  background: #3c70b4;
}
section#courses article:nth-of-type(9n + 7) header {
  background: #b90162;
}
section#courses article:nth-of-type(9n + 8) header {
  background: #405771;
}
section#courses article:nth-of-type(9n + 9) header {
  background: #873e95;
} */

section#exprience {
  background: none;
  margin: 50px 0;
  font-size: 18px;
  padding-top: 80px;
}
section#exprience h3 {
  background: #ed1c24;
  top: -80px;
}

@media (max-width: 1050px) {
  section#exprience h3 {
    top: -40px;
  }
}
section#exprience .col3 {
  width: 30%;
  background: #fff;
  padding: 40px;
  box-sizing: border-box;
  border-radius: 20px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
section#exprience article > strong {
  display: block;
  font-weight: 400;
  font-size: 44px;
  text-align: right;
}
section#exprience h4 {
  font-weight: 800;
  font-size: 21px;
}
section#exprience article {
  border-bottom: 10px solid #f7941d;
  margin-bottom: 10px;
}
section#exprience .col3 article:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
section#exprience article:nth-of-type(2) {
  border-bottom: 10px solid #873e95;
}
section#exprience .col3:nth-of-type(2) article:nth-of-type(1) {
  border-bottom: 10px solid #3c70b4;
}
section#exprience .col3:nth-of-type(2) article:nth-of-type(2) {
  border-bottom: 10px solid #fc0;
}
section#exprience .col3:nth-of-type(3) article:nth-of-type(1) {
  border-bottom: 10px solid #b90162;
}

header section.top a:hover,
section.promo div:hover,
section#exprience article:hover,
section#portfolio img:hover,
section#blog article img:hover,
.library-detal a.big img:hover {
  /* transform: scale(1.05); */
  transition: all 1s;
  /* height: 340px; */
}

section#portfolio {
  background: none;
  /* height: 300px; */
}

@media (max-width: 1360px) {
  section#portfolio {
    padding: 0 16px 40px;
  }
}

section#portfolio h1,
section#portfolio h3 {
  background: #b90162;
  top: -20px;
}
section#portfolio article {
  display: flex;
  gap: 26px;
  /* width: 49%; */
  background-color: white;
  padding: 24px 46px 46px 24px;
  box-sizing: border-box;
  height: max-content;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
}

section#portfolio.portfolio__detal article {
  width: 100%;
}

@media (max-width: 470px) {
  section#portfolio article {
    flex-direction: column;
  }
}
section#portfolio.all_page article {
  width: 100%;
}
section#portfolio article header {
  width: 32%;
  box-sizing: border-box;
  text-align: center;
}
section#portfolio.all_page article header {
  width: 18%;
  height: 100%;
}
section#portfolio article img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
section#portfolio article h4 {
  width: 100%;
  margin: 20px 0;
  color: rgba(30, 30, 30, 0.9);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  line-height: 24px; /* 150% */
  text-align: center;
}
section#portfolio.all_page article h4 {
  margin: 0 0 20px;
}
section#portfolio article a {
  color: #000;
  text-decoration: none;
}
section#portfolio article p {
  margin-top: 0;
}

.more-portfolio {
  color: rgba(30, 30, 30, 0.5);
  line-height: 24px; /* 150% */
  text-decoration: none;
}

section#blog {
  background: white;
  padding: 40px;
  /* color: #fff; */
}
section#blog h3 {
  font-size: 28px;
  line-height: 44px;
}
section#blog main {
  background: none;
  padding: 0;
}
section#blog article {
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
  /* width: 30%; */
  margin-bottom: 40px;
  padding-bottom: 20px;
}
section#blog article a {
  position: relative;
  /* color: #fff; */
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
  color: rgba(30, 30, 30, 0.9);
  font-size: 24px;
  font-weight: 800;
  line-height: 138.6%; /* 33.264px */
  letter-spacing: -0.48px;
}
section#blog img {
  width: 100%;
  /* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
}
section#blog article > a time {
  position: absolute;
  display: block;
  background: #2c3949;
  width: 83px;
  height: 83px;
  border-radius: 50%;
  text-align: center;
  left: 40px;
  bottom: -40px;
  padding: 18px;
  box-sizing: border-box;
}
@media screen and (min-width: 500px) and (max-width: 900px) {
  section#blog article a {
    margin-bottom: 10px;
  }
  section#blog article > a time {
    padding: 10px;
    width: 60px;
    height: 60px;
    font-size: 14px;
    bottom: -25px;
  }
}

section#blog article h2 {
  line-height: 36px;
  padding: 0 20px;
}

section#contact {
  background: none;
  font-size: 18px;
  line-height: 26px;
  padding: 0;
  margin: 0;
}
section#contact h3 {
  background: #3c70b4;
  top: -25px;
}
section#contact .col {
  width: 33%;
}
section#contact .col .row img {
  width: 20%;
  padding: 0 15px 15px 0;
  float: left;
  box-sizing: border-box;
}
section#contact .col .row::after {
  content: "";
  clear: both;
  display: block;
}
section#contact h4 {
  font-size: 21px;
  line-height: 31px;
  font-weight: 900;
}
section#contact a,
footer a {
  font: inherit;
  text-decoration: none;
  color: #000;
}
section#contact a:hover,
footer a:hover {
  font-weight: 900;
}
section#contact .col .row:hover img {
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  transform: rotate(360deg);

  -webkit-transition: all 800ms;
  -moz-transition: all 800ms;
  -ms-transition: all 800ms;
  -o-transition: all 800ms;
  transition: all 800ms;
}
section#contact img + a {
  margin-top: 15px;
  display: inline-block;
}
section#contact img ~ p {
  margin: 0 0 5px;
  display: inline-block;
}
section#contact form {
  width: 60%;
}
section#contact form .form-group {
  width: 60%;
  float: left;
}
section#contact form .form-group input,
section#contact form .form-group input::placeholder {
  color: #000;
}
section#contact form button {
  width: 35%;
  background: transparent;
  border: 5px solid #3c70b4;
  color: #3c70b4;
  font: inherit;
  font-weight: 900;
  float: right;
  padding: 10px 0;
  box-sizing: border-box;
  margin-top: 20px;
  cursor: pointer;
}
section#contact form button:hover {
  border: 5px solid #f39f18;
  color: #f39f18;
}

footer {
  background: #2c3949;
  padding-top: 50px;
  color: #fff;
  font-size: 18px;
  line-height: 26px;
}
footer .row {
  align-items: flex-start;
}
footer .col3 {
  width: 30%;
  box-sizing: border-box;
}
footer .col3 h4 {
  margin: 25px 0;
}
footer .col3 > img {
  margin: 25px 0;
  width: 50%;
}
footer a {
  color: #fff;
  display: block;
}
footer p a {
  display: inline;
}
footer .row:last-child p {
  font-size: 12px;
}
footer form p {
  margin: 0;
}
footer .form-group {
  margin-top: 0;
}
footer form {
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}
footer .socials a {
  display: inline-block;
  border: 2px solid #fff;
  margin: 0 10px;
  padding: 7px;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  text-align: center;
}
footer .socials a img {
  height: 100%;
}
footer .socials a:hover {
  border-color: #f7941d;
}

section > h1.left {
  top: 20px !important;
}
.library-detal,
.m40 {
  margin: 40px 0;
}
.library-detal main {
  width: 70%;
  box-sizing: border-box;
  padding-right: 20px;
  float: left;
}
.library-detal aside {
  width: 30%;
  box-sizing: border-box;
  padding-left: 20px;
  float: right;
}
@media screen and (min-width: 500px) {
  .library-detal aside article {
    width: 100% !important;
  }
}
.library-detal a.big {
  display: block;
  width: 100%;
  max-height: 350px;
  margin-bottom: 20px;
}
.library-detal a.big img {
  margin-bottom: 5px;
}
.library-detal h2 {
  margin: 25px auto 10px;
}

.gallery {
  height: 70vh;
  background: url("./images/gallery-bcg.png") no-repeat;
  background-size: cover;
  background-position-x: 35%;
}

@media (max-width: 1250px) {
  .gallery {
    background-position-x: 35%;
    padding-bottom: 20px;
  }
}

.gallery .courses-btn {
  padding: 12px 70px;
  width: max-content;
  align-self: flex-start;
}

.courses-btn__mobile {
  display: none;
  grid-template-columns: max-content max-content;
  align-items: center;
  align-self: flex-end;
  gap: 26px;
  color: #ffd100;
  font-size: 21px;
  font-weight: 800;
  line-height: 54px; /* 257.143% */
  letter-spacing: 0.63px;
  text-decoration: none;
}

.courses-btn__mobile div {
  display: grid;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: rgba(255, 209, 0, 1);
  border-radius: 100%;
}

@media (max-width: 700px) {

}

.gallery .container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 40px 0 70px;
  box-sizing: border-box;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .gallery .container {
    padding: 40px 16px 30px;
  }
}

.gallery__title {
  width: 75%;
  color: white;
  font-size: 48px;
  font-weight: 800;
  line-height: 54px;
}

.gallery__title span {
  color: #f4bf00;
}

@media (max-width: 700px) {
  .gallery__title {
    width: 100%;
    font-size: 32px;
    line-height: 40px;
  }
}

#dark {
  position: fixed;
  background: rgba(255, 255, 255, 0.8);
  z-index: 99;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: none;
}

#order {
  position: fixed;
  width: 100%;
  max-width: 500px;
  background: #2c3949;
  z-index: 100;
  top: 20%;
  left: calc(50% - 250px);
  box-sizing: border-box;
  padding: 40px;
  color: #fff;
  display: none;
}
#order > button {
  background: none;
  color: red;
  float: right;
  cursor: pointer;
  border: none;
}
#order h4 {
  font-size: 40px;
  margin: 0;
}
#order form button {
  width: 100%;
  margin-top: 40px;
}
.m-top120 {
}

@media screen and (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
  header nav {
    height: 60px;
  }
  header nav a {
    padding: 20px 24px;
  }
  header nav a.current,
  header nav a:hover {
    padding-bottom: 30px !important;
  }
}
@media screen and (max-width: 800px) {
  .container {
    max-width: 720px;
  }

  header section.top button {
    display: none;
  }
  header section#home {
    /* height: 320px; */
    min-height: auto;
  }
  header h1 {
    font-size: 30px;
  }
  header h4 {
    font-size: 23px;
  }
  header hr {
    width: 350px;
    margin: 15px 0;
  }
  header form {
    width: 320px;
    margin-top: 25px;
  }
  header form p {
    font-size: 14px;
    margin: 5px 0;
  }
  .form-group {
    padding-top: 0.75rem;
    margin-top: 0;
  }
  .form-group input {
    height: 2rem;
  }
  header nav {
    height: 60px;
  }
  header nav a {
    padding: 20px 13px !important;
    font-size: 15px;
  }
  header nav a.current,
  header nav a:hover {
    padding-bottom: 30px;
  }
  header form button,
  footer form button {
    margin-top: 15px;
  }
  section > h3.right {
    right: -20px;
    z-index: 2;
  }

  section.promo strong {
    font-size: 40px;
    line-height: 60px;
  }
  section.promo p {
    font-size: 14px;
    line-height: 20px;
    /* width: 85%; */
  }
  section#courses,
  section#exprience,
  section#portfolio,
  section#contact {
    padding: 100px 20px 70px;
  }
  section#about {
    margin-bottom: 0;
  }
  section#about img {
    left: 0;
    top: 0;
    /* width: 70%; */
  }
  section#about article {
    width: 85%;
    height: auto;
    padding: 20px;
    top: 30px;
    box-sizing: border-box;
    font-size: 14px;
    z-index: 1;
    background: rgba(64, 87, 113, 0.9);
  }

  section#courses article img {
    /* height: auto; */
    opacity: 1;
  }
  section#courses article header h1 {
    font-size: 22px;
  }
  section#courses article header p {
    font-size: 14px;
  }
  section#courses article time {
    position: absolute;
    top: -40px;
    right: 5px;
  }
  section#exprience {
    font-size: 15px;
    padding-top: 40px;
    padding: 20px;
  }
  section#exprience .col3 {
    width: 32%;
    padding: 25px;
  }
  section#exprience h4 {
    font-size: 20px;
    margin: 15px 0;
  }
  section#contact {
    font-size: 15px;
  }
  section#contact .col {
    width: 45%;
  }
  section#contact form {
    width: 53%;
  }
}
@media screen and (max-width: 650px) {
  header section.top {
    position: fixed;
    width: 100%;
    padding: 10px;
    top: 0;
    z-index: 15;
    box-sizing: border-box;
  }
  header section.top .container,
  footer .row,
  header section.top a[href^="tel:"] {
    display: block;
    position: relative;
  }

  @media (max-width: 470px) {
    header section.top .container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
  }

  header section button.orderMobilBtn {
    display: block;
    right: 0;
    top: 55px;
    width: 100px;
    z-index: 50;
    justify-self: flex-end;
  }

  .section-header .orderMobilBtn {
    position: static;
    margin-top: 0;
    justify-self: flex-end;
  }

  #btnMobMenu {
    display: block;
    right: 5px;
    top: 0;
    width: 48px;
    cursor: pointer;
    height: 48px;
    object-fit: cover;
  }
  .section-header #btnMobMenu {
    position: relative;
  }

  . #order {
    left: 0;
    top: 0;
    height: 100%;
  }

  .form-group {
    /* padding-top: 0; */
  }
  .form-group label {
    top: -10px;
  }
  #home .form-group label,
  #order .form-group label {
    top: -2px;
  }

  header section.top a {
    /* display: none; */
  }
  header section.top a.logo {
    display: block;
  }
  header nav a,
  header nav a.current {
    padding: 10px 13px !important;
  }
  header section#home {
    height: auto;
    padding: 10px 15px 40px;
    box-sizing: border-box;
    min-height: 100vh;
  }
  header form {
    margin: 0;
  }
  header h4 {
    font-size: 21px;
  }

  header nav {
    height: auto;
  }
  div#sticky-wrapper {
    display: none;
    position: fixed;
    top: 118px;
    left: 0;
    z-index: 1000;
  }

  section > h3.left,
  section > h3.right {
    margin-bottom: 15px;
  }
  section > .left,
  section > .right,
  header form {
    position: static;
    box-sizing: border-box;
    text-align: left;
    width: 100%;
    padding: 20px 50px;
    justify-self: flex-start;
    max-width: 100%;
  }

  header nav .container,
  section.promo {
    flex-wrap: wrap;
    margin: 40px 0 0;
  }

  header nav a,
  header h1,
  header h4,
  header hr,
  section#courses article,
  section#exprience .col3,
  section#portfolio article,
  section#portfolio article header,
  section#blog article,
  section#contact .col,
  section#contact form,
  a.btn,
  footer .col3 {
    width: 100%;
  }
  section#about {
    height: auto;
  }
  section#courses,
  section#exprience,
  section#portfolio,
  section#blog,
  section#contact,
  footer {
    padding: 40px 20px;
    margin: 0;
  }

  section#portfolio,
  section#blog {
    padding: 20px 0 40px 20px;
  }
  section#portfolio.portfolio-container {
    padding: 0;
  }
  section#exprience .col3 {
    border-radius: 0;
    padding: 0 25px;
  }
  section#portfolio article img {
    border-radius: 50%;
    float: left;
    display: block;
  }
  section#portfolio article h4 {
    width: 50%;
    margin: 30px 0;
    display: block;
    float: right;
  }
  section#blog h3 {
    line-height: 30px;
    margin-top: 10px;
  }
  section#blog article {
    margin-bottom: 20px;
  }
  section#contact form .form-group,
  section#contact form button {
    width: 100%;
    float: none;
  }
  section#portfolio.all_page article header {
    float: left;
    width: 50%;
    height: auto;
  }
  section#portfolio.all_page article header img {
    /* width: 100%; */
  }
  section#portfolio.all_page article h4 {
    margin: 20px 0 32px;
  }
  section#portfolio.all_page article h4::after {
    content: "";
    clear: both;
    display: block;
  }

  .m-top120 {
    margin-top: 120px;
    padding: 20px;
    box-sizing: border-box;
  }
  .library-detal main,
  .library-detal aside {
    width: 100%;
  }
  .m-top120 h1 {
    margin-bottom: 30px;
  }
  .m-top120 a.btn {
    width: 100%;
    display: block;
    margin: 20px 0 !important;
    padding: 10px !important;
    box-sizing: border-box;
  }
}

.bg-grey {
  background: #e5e5e5;
  padding-top: 1px;
}
#video-detal {
  padding-bottom: 120px;
}
#world_companies h4 {
  color: #873e95;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 900;
  text-align: center;
}
#world_companies,
#world_companies div {
  margin-bottom: 100px;
}
#world_companies div,
#world_companies ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@media(min-width: 1200px) and (max-width: 1500px){
  #world_companies ul.wcth {
    width: 94vw;
  }
  #world_companies ul li {
    max-width: 45vw;
  }
}
@media(max-width: 767px) {
  #exprience li {
    width: calc(100% - 20px);
    margin-left: 20px;
    list-style-type: square;
  }
}
#exprience li {
    margin-bottom: 10px;
  }
#world_companies div img,
#world_companies div > span {
  width: 16%;
  margin: 2%;
  display: block;
}
#world_companies ul li {
  display: block;
  width: 50%;
  padding: 10px;
  padding-left: 35px;
  background-image: url("./images/correct.svg");
  background-position: center left;
  background-repeat: no-repeat;
  box-sizing: border-box;
  background-size: 20px;
}
@media screen and (max-width: 470px) {
  #world_companies div img,
  #world_companies div > span {
    width: 46%;
  }
  #world_companies ul {
    margin: 0;
    padding: 0;
  }
  #world_companies ul li {
    width: 100%;
  }
}

.courses-sale {
  color: #ff5f7b;
  font-size: 16px;
  font-weight: 900;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
  margin: 12px 0;
  align-self: flex-end;
  min-height: 24px;
}

.courses-description {
  margin-bottom: 56px;
}

.courses-btn {
  width: 100%;
  padding: 12px 0;
  color: rgba(30, 30, 30, 0.9);
  font-weight: 600;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
  border-radius: 4px;
  background: #ffd100;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  height: max-content;
  align-self: flex-end;
  box-sizing: border-box;
}

.courses-btn:hover {
  background: #ddb503;
}

@media (max-width: 650px) {
  #order {
    left: 0;
    top: 0;
    height: 100%;
  }

  .courses-btn {
    font-size: 16px;
  }
}

.courses-btn-wrap {
  display: grid;
  justify-content: center;
  padding-top: 40px;
}

.courses-btn-more {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  box-shadow: none;
  line-height: 24px; /* 150% */
  cursor: pointer;
  padding: 12px 40px;
  border-radius: 4px;
  border: 1px solid black;
}

.courses-btn-more:hover {
  background: transparent;
}

.courses-btn-more svg {
  transition: 0.3s;
}

.courses-btn-more:hover svg {
  transform: translateX(10px);
}

.portfolio-title {
  color: rgba(30, 30, 30, 0.9);
  font-size: 48px;
  font-style: normal;
  font-weight: 800;
  line-height: 54px; /* 112.5% */
  margin: 80px 0 36px;
}

@media (max-width: 1024px) {
  .portfolio-title {
    font-size: 32px;
    margin: 40px 0 16px;
    padding: 0 20px;
  }
}

.footer-container {
  display: grid;
  grid-template-columns: 450px 1fr;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr;
    /* padding: 0 20px; */
    box-sizing: border-box;
  }
}

.footer-container > img {
  justify-self: flex-end;
}

@media (max-width: 1024px) {
  .footer-container > img {
    /* display: none; */
    width: 100%;
    margin: 0 auto;
    /* object-position: 35px; */
    height: 376px;
    object-fit: contain;
    transform: scale(1.3) translateX(12px);
  }
}

.footer {
  min-height: 50vh;
  background: url("./images/footer-bcg.png") no-repeat;
  background-size: cover;
  padding-bottom: 90px;
}

.footer form h4 {
  color: rgba(30, 30, 30, 0.9);
  font-size: 48px;
  font-weight: 800;
  line-height: 54px; /* 112.5% */
  margin-bottom: 12px;
}
.footer form p {
  color: #333;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 138.6%; /* 33.264px */
  letter-spacing: -0.48px;
}

.footer form p span {
  display: block;
}

.footer .buttons:hover {
  background: #ddb503;
}

.footer .buttons {
  padding: 16px 85px;
  border-radius: 40px;
  background: #ffd100;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  max-width: 346px;
  color: rgba(51, 51, 51, 0.9);
  font-weight: 900;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
}

.under-footer {
  background: #34465a;
  padding: 30px 0 16px;
}

.under-footer__title {
  color: #fff;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 138.6%; /* 33.264px */
  letter-spacing: -0.48px;
  margin-bottom: 12px;
  text-align: center;
}

.under-footer__contacts-wrap {
  display: grid;
  grid-auto-rows: max-content;
}

.under-footer__contacts-wrap a {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 138.6%; /* 33.264px */
  letter-spacing: -0.48px;
  text-decoration: none;
}

.under-footer__address {
  display: block;
  max-width: 565px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  line-height: 24px; /* 150% */
  text-decoration: none;
  font-size: 14px;
}

.footer-address {
  display: grid;
  gap: 12px;
}

.under-footer__wrap {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  justify-content: space-between;
}

.under-footer .social-wrap {
  justify-self: flex-end;
}

@media (max-width: 1024px) {
  .under-footer {
    box-sizing: border-box;
  }

  .under-footer .container {
    padding: 0 15px;
    box-sizing: border-box;
  }
}

@media (max-width: 800px) {
  .under-footer__wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

  .under-footer__contacts-wrap {
    justify-items: center;
  }

  .under-footer .social-wrap {
    justify-self: center;
    grid-column: 1/1;
  }
}

.footer__info {
  color: white;
  text-align: center;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 300;
}

@media (max-width: 600px) {
  .about-text-wrap__title {
    /* display: none; */
  }
}

.promo-title-mobile {
  padding: 0 16px;
  text-align: left;
  color: #333;
  font-size: 32px;
  font-weight: 800;
  line-height: 40px; /* 125% */
  letter-spacing: -0.64px;
  max-width: 80%;
}

@media (min-width: 600px) {
  .promo-title-mobile {
    display: none;
  }
}

.course-start {
  color: rgba(30, 30, 30, 0.9);
  font-weight: 900;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
}

.course-list-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 600;
  /* min-height: 43px; */
  margin: 0;
}

.more-courses {
  border: 1px solid black;
}

.courses__section-title {
  color: rgba(0, 0, 0, 0.8);
  font-size: 48px;
  font-style: normal;
  font-weight: 800;
  line-height: 54px; /* 112.5% */
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .courses__section-title {
    font-size: 32px;
    line-height: 40px;
    padding: 0 20px 40px;
    max-width: 70%;
  }
}

.swiper {
  width: 100%;
  height: 100%;
  padding-bottom: 20px;
}

.swiper-slide {
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#portfolio .swiper-slide p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  font-weight: 600;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.slider-navigation {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0 auto;
  gap: 20px;
  padding-top: 40px;
}

.slider-navigation > div {
  display: flex;
  gap: 20px;
}

@media (max-width: 600px) {
  .slider-navigation > div {
    display: none;
  }
}

.slider-navigation > div > div {
  display: grid;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 2px solid #34465a;
  border-radius: 100%;
  cursor: pointer;
  user-select: none;
}

.slider-navigation > div > div.swiper-button-disabled {
  border-color: #bcc1c7;
}

.slider-navigation > div > div.swiper-button-disabled svg path {
  fill: #bcc1c7;
}

#portfolio.portfolio-container {
  padding-top: 150px;
}

@media (max-width: 700px) {
  #portfolio.portfolio-container {
    padding-top: 0;
  }
}
.blog-list-text {
  color: rgba(51, 51, 51, 0.9);
  font-size: 15px;
  font-weight: 300;
  line-height: 24px; /* 160% */
  padding: 0 20px 20px;
}

.blog-btn-more {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(30, 30, 30, 0.5);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* 150% */
  text-decoration: none;
  width: max-content;
  margin: 0 auto;
}

#blog .blogs-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  #blog .blogs-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-img-mobile {
  display: none;
}

@media (max-width: 700px) {
  #blog .blogs-wrap {
    grid-template-columns: 1fr;
  }

  .footer-img-mobile {
    display: block;
  }

  .footer-img-desc {
    display: none;
  }
}

.footer-address {
}

.gallery__detal-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  padding-top: 140px;
}

.gallery__detal-btn {
  display: block;
  width: max-content;
  padding: 20px 70px;
  margin: 0 su;
}

#gallery.gallery__detal {
  position: relative;
}

.portfolio__detal .portfolio__wrap,
.portfolio-detal-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 140px 0 40px;
}

#courses.courses__detal {
  padding-top: 140px;
}

.portfolio-detal-wrap {
  padding-top: 20px;
}

.gallery__detal {
  position: relative;
}

.gallery__detal .gallery__detal-wrap {
  max-width: 80%;
  margin: 0 auto;
}

#courses.courses__detal div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 780px) {
  .gallery__detal-wrap {
    grid-template-columns: repeat(2, 1fr);
    padding: 140px 20px 0;
  }

  #courses.courses__detal div {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio__detal .portfolio__wrap,
  .portfolio-detal-wrap {
    grid-template-columns: 1fr;
    padding: 0 0 40px;
  }

  .gallery__detal .gallery__detal-wrap {
    max-width: 100%;
  }

  .gallery__detal .gallery__detal-wrap img {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .gallery__detal-wrap {
    grid-template-columns: 1fr;
    padding: 20px 0 0;
  }

  #courses.courses__detal div {
    grid-template-columns: 1fr;
  }

  #courses.courses__detal {
    padding: 0;
  }

  #portfolio.portfolio__detal {
    padding: 0;
  }
}

@media (max-width: 650px) {
  #home {
    background-position: -630px center !important;
    background-repeat: no-repeat !important;
    background: url('./mobile-main-section.png') !important;
    background-size: contain;
    background-size: cover !important;
  }
}

.alltext p span {
  font-size: 16px !important;
  font-family: "Montserrat" !important;
}
/*.textblock p *, .alltext h2 *,*/
 .alltext *  {
  color: #000 !important;
}