@import url("../css/reset.css");
/* Переменные */
/* Миксины */
/* Main-settings */
html {
  font-size: 10px;
}
section {
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
}
body {
  font-family: "Merriweather", sans-serif;
}
h2 {
  font-size: 4.8rem;
  line-height: 48px;
  text-align: center;
  margin-bottom: 100px;
}
/* GO */
#header {
  background: rgba(255, 255, 255, 0.5) url(../img/header_bg.jpg) center
    no-repeat;
  background-size: cover;
  width: 100%;
  height: 90%;
  margin-top: 0;
  padding-bottom: 100px;
  color: #fff;
}
header h1 {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 40px;
  font-size: 48px;
  line-height: 48px;
  text-shadow: 0px 0px 7px #2170ff;
}
header .add {
  text-align: center;
  font-size: 1.8rem;
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.25;
  text-shadow: 0px 0px 7px #2170ff;
}
header .youtube_link {
  color: #fff;
  font-weight: 800;
  font-size: 28px;
  text-decoration: none;
  position: relative;
}
header .youtube_link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f00;
  display: block;
}
header .conts,
header .videos {
  position: relative;
  font-family: "Merriweather", sans-serif;
  font-weight: bold;
  font-size: 3rem;
  line-height: 36px;
  margin-top: 100px;
}
header .conts .title,
header .videos .title {
  position: relative;
  cursor: pointer;
  /* color: #170089; */
  color: #fff;
  text-shadow: 0px 0px 7px #2170ff;
}
header .conts .title p,
header .videos .title p {
  display: inline-block;
  user-select: none;
}
header .conts .title img,
header .videos .title img {
  position: absolute;
  margin-left: 10px;
  transition: all 0.5s;
  top: -5px;
}
header .conts dd,
header .videos dd {
  font-size: 2rem;
  line-height: 30px;
  background-color: #fafafa;
  padding: 10px;
}
header .conts dd li,
header .videos dd li {
  list-style: none;
}
header .videos dd li a {
  display: flex;
  /*justify-content: space-between;*/
  align-items: flex-start;
}
header .conts dd li .youtube-img,
header .videos dd li .youtube-img {
  /*float: left;*/
  width: 40px;
  margin-right: 10px;
}
header .conts dd li a,
header .videos dd li a {
  color: #0c3e98;
}
header .conts dd p {
  color: #000;
}
header .conts dd p,
header .videos dd p,
header .conts dd li,
header .videos dd li {
  margin-top: 1.5rem;
}
header .conts dd span,
header .videos dd span {
  color: #be0a28;
}
#about-auther {
  /* background: #93d3ed; */
  /* background: -moz-linear-gradient(
    top,
    #93d3ed 11%,
    #47dde0 50%,
    #93d3ed 91%,
    #93d3ed 91%
  );
  background: -webkit-linear-gradient(
    top,
    #93d3ed 11%,
    #47dde0 50%,
    #93d3ed 91%,
    #93d3ed 91%
  ); */
  background-color: #dfdfdf;
  /* background: linear-gradient(to bottom, #272a306e 11%, #cecece 100%); */
}
#about-auther h2 {
  margin-bottom: 40px;
}
#about-auther .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
#about-auther .avatar {
  position: relative;
  margin-bottom: 50px;
}
#about-auther .avatar iframe {
  max-width: 100%;
}
#about-auther img {
  display: block;
  height: 400px;
  top: 50%;
}
#about-auther video {
  display: block;
  max-width: 100%;
  width: 100%;
}
#about-auther .avatar_text {
  font-size: 20px;
  color: red;
  margin-bottom: 10px;
  font-weight: 700;
}
#about-auther p {
  font-size: 20px;
  line-height: 1.2;
}
#about-auther .youtube_link {
  color: #e50b0b;
}
.add-course a {
  font-size: 25px;
  line-height: 1.25;
  text-decoration: none;
  color: black;
  height: 100%;
  display: block;
  border: none;
  outline: none;
  width: 100%;
  font-size: 28px;
  background-color: #f0e513;
  padding: 10px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 8px 8px 50px #000;
}
.add-course a:hover {
  background-color: #cdc40d;
}
#myworks h2 {
  margin-bottom: 100px;
}
#myworks .fotorama {
  max-width: 1000px;
  margin: 0 auto;
}
#myworks .fotorama .fotorama__wrap {
  margin: 0 auto;
}
#mynewworks .mynewworks_slider {
  margin: 0 auto;
  max-width: 800px;
}
#how-much {
  background: url(../img/bg1.jpg) 0 0 no-repeat;
  background-size: cover;
}
#how-much p {
  font-size: 2.4rem;
  line-height: 30px;
  text-align: center;
}
#how-much .conclusion {
  margin-top: 4rem;
  padding: 1.5rem 3rem;
  background-color: #12ea82;
  font-size: 3rem;
  line-height: 36px;
  text-align: center;
  color: #be0a28;
}
#learning {
  background: url(../img/bg-img-2.jpg) center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
#learning .advantages ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  max-width: 1500px;
}
#learning .advantages li {
  text-align: center;
  flex-basis: 350px;
}
#learning .advantages li .advant_item {
  margin-bottom: 4rem;
}
#learning .advantages li img {
  width: 50px;
  margin-bottom: 1rem;
}
#learning .advantages li p {
  font-size: 2.4rem;
  line-height: 30px;
  text-align: center;
}
#learning .learn-add {
  font-size: 3rem;
  line-height: 36px;
  font-family: "Merriweather", sans-serif;
  font-weight: bold;
  text-align: center;
}
#whatudo {
  background: url(../img/bg2.jpg) 0 0 no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
#whatudo .examples {
  text-align: center;
}
#whatudo .examples .examples_item {
  font-size: 2.4rem;
  line-height: 30px;
  margin-bottom: 50px;
}
#learningvar {
  background: url(../img/bg-img-3.jpg) 0 0 no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  text-align: center;
}
#learningvar button {
  width: 100%;
  font-size: 3rem;
  line-height: 36px;
  font-size: 25px;
  background-color: #f0e513;
  border: none;
  height: 140px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 8px 8px 50px #000;
}
#learningvar button:hover {
  background-color: #cdc40d;
}
#learningvar button p {
  font-size: 2.4rem;
  line-height: 30px;
  font-size: 15px;
}
/*Модальные окна*/
.popup {
  display: none;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  width: 100%;
}
.popup .popup-add {
  position: relative;
  background-color: #fff;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  width: 80%;
  height: 80%;
}
.popup .popup-add .close {
  z-index: 1;
  position: absolute;
  top: -25px;
  right: -25px;
  font-size: 40px;
  cursor: pointer;
}
.popup .popup-title {
  padding-top: 30px;
}
.popup .popup-title h2 {
  margin-bottom: 40px;
}
.popup .popup-content {
  position: relative;
  height: 100%;
  overflow-y: scroll;
  font-size: 2.4rem;
  line-height: 30px;
  margin-left: 15px;
}
#otherservices {
  background: url(../img/bg4.jpg) 0 0 no-repeat;
  background-size: cover;
}
#otherservices button {
  width: 100%;
  font-size: 3rem;
  line-height: 36px;
  background-color: #f0e513;
  border: none;
  height: 140px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 8px 8px 50px #000;
}
#otherservices button:hover {
  background-color: #cdc40d;
}
#otherservices button p {
  font-size: 15px;
  line-height: 30px;
  transorm: translateY(100%);
}
#footer .link-title {
  font-size: 3rem;
  line-height: 36px;
  text-align: center;
  margin-bottom: 30px;
}
#footer ul {
  display: flex;
  justify-content: space-around;
}
/* Медиа запросы */
@media (max-width: 991px) {
  html {
    font-size: 8px;
  }
  header h1 {
    font-size: 40px;
  }
  #learningvar button {
    margin-bottom: 20px;
  }
  #otherservices button {
    margin-bottom: 20px;
  }
  .conts .title,
  .videos .title {
    text-align: center;
  }
  .conts dl {
    text-align: center;
  }
  .add-course a {
    margin-bottom: 50px;
  }
}
@media (max-width: 768px) {
  #header {
    background-position: 90% -90px;
    background-size: auto 115%;
  }
  .popup .popup-title h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
  }
  .popup_tech_add {
    width: 90% !important;
  }
  .popup_tech_title,
  .popup_tech_youtube_title,
  .popup_tech_contacts_title {
    font-size: 18px !important;
  }
  .popup_tech_title {
    padding-top: 10px !important;
  }
  .popup_tech_text,
  .popup_tech_youtube_text,
  .popup_tech_contacts_name,
  .popup_tech_contacts_num {
    font-size: 16px !important;
  }
  .popup_tech_content {
    padding-right: 7px !important;
    padding-left: 7px !important;
  }
  .popup_tech_contacts_item {
    margin-left: 0 !important;
  }
}
@media (max-width: 1122px) {
  .popup-video .popup-content,
  .popup-cex .popup-content,
  .popup .popup-content {
    overflow-y: scroll;
    height: 100%;
  }
}
@media (max-width: 394px) {
  header h1 {
    font-size: 25px;
  }
  header .add {
    font-size: 20px;
  }
  dl .title img {
    display: none;
  }
  h2 {
    font-size: 30px;
    font-weight: bold;
  }
  .add-course a {
    font-size: 20px;
  }
  .popup h2 {
    font-size: 25px;
    font-weight: bold;
  }
  .popup p {
    font-size: 15px;
  }
  .conts .title p,
  .videos .title p {
    /* color: #2C16FF; */
  }
  .conts .title p::after,
  .videos .title p::after {
    content: "(подробнее)";
    display: block;
    font-size: 18px;
    /* color: #0080f7; */
  }
  .popup_tech_contacts_item {
    flex-wrap: wrap;
  }
}
.aactive {
  transform: rotate(44deg);
}

.technologies {
  padding-top: 0;
  background: linear-gradient(0deg, #fff, #93d3ee);
}
.technologies_title {
  margin-top: 50px;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  text-shadow: 6px 6px 7px rgba(0, 0, 0, 0.25);
  margin-bottom: 55px;
}
.technologies_item {
  background-color: #fff200;
  box-shadow: 8px 8px 50px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
  transition: 0.3s;
}
.technologies_item:hover {
  background-color: #cdc40d;
}
.technologies_item a {
  display: block;
  padding-top: 25px;
  padding-left: 35px;
  padding-right: 35px;
  padding-bottom: 15px;
  background-color: inherit;
  border: none;
  outline: none;
  color: #000;
  text-decoration: none;
}
.technologies_item_text {
  font-size: 20px;
}
.technologies_item .add_info {
  text-align: center;
  color: #cb0000;
  font-size: 20px;
  margin-top: 15px;
}

.popup_tech {
  display: none;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  width: 100%;
}
.popup_tech .popup_tech_add {
  position: relative;
  background-color: #fff;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  width: 80%;
  height: 80%;
}
.popup_tech .popup_tech_add .close {
  z-index: 1;
  position: absolute;
  top: -25px;
  right: -25px;
  font-size: 40px;
  cursor: pointer;
}
.popup_tech .popup_tech_title {
  padding-top: 30px;
  font-size: 22px;
  font-weight: bold;
  color: #000;
}

.popup_tech .popup_tech_content {
  position: relative;
  height: 100%;
  overflow-y: auto;
  font-size: 2.4rem;
  line-height: 30px;
  padding-top: 20px;
  padding-right: 30px;
  padding-left: 30px;
}
.popup_tech_text {
  font-size: 20px;
}
.popup_tech_youtube {
  text-align: center;
  color: #000;
  margin-top: 20px;
  margin-bottom: 25px;
}
.popup_tech_youtube a {
  text-decoration: none;
  color: inherit;
}
.popup_tech_youtube_title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}
.popup_tech_youtube_text_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup_tech_youtube_text_wrapper img {
  width: 40px;
  height: auto;
  margin-right: 10px;
}
.popup_tech_youtube_text {
  color: #030b73;
  font-size: 20px;
}

.popup_tech_contacts_title {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

.popup_tech_contacts_items {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.popup_tech_contacts_item {
  display: flex;
  align-items: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.popup_tech_contacts_item a {
  color: inherit;
  text-decoration: none;
}
.popup_tech_contacts_item a:hover {
  text-decoration: underline;
}
.popup_tech_contacts_item + .popup_tech_contacts_item {
  margin-left: 20px;
}
.popup_tech_contacts_num {
  font-weight: bold;
}
.popup_tech_contacts_item img {
  width: 25px;
  height: auto;
  margin-right: 10px;
}
.popup_tech_foot {
  text-align: center;
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.otherservices__item {
  margin-bottom: 30px;
}

/* NEW */
.content {
  font-size: 18px;
  line-height: 1.3;
}
.content-whom {
  margin: 10px 0;
}
.content-intro {
  margin-bottom: 40px;
  font-size: 38px;
}
.content-intro span {
  color: rgb(199, 11, 11);
}
.content-explain {
}
.content-explain b {
  font-weight: bold;
}
.content-conclusion {
  margin: 10px 0;
}
.content-image {
  width: 400px;
  float: left;
  max-width: 80%;
  margin-right: 30px;
  margin-bottom: 30px;
}

.content-quote {
  /* padding: 10px; */
  margin: 10px 0;
  font-weight: bold;
  /* border-left: 3px solid rgb(255, 86, 86); */
}
.advantages {
  font-size: 18px;
  padding-top: 0;
  padding-bottom: 30px;
}
.advantages h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: bold;
}
.advantages li {
  margin-bottom: 10px;
}

.contacts {
  font-size: 20px;
  padding-top: 30px;
  border-top: 1px solid rgb(185, 185, 185);
  line-height: 1.3;
}
.contacts b {
  font-weight: bold;
  font-size: 24px;
}
.contacts a {
  color: rgb(7, 73, 196);
}
@media screen and (max-width: 992px) {
  .content-image {
    float: none;
    margin: 0 auto;
    display: block;
  }
  .content-intro {
    font-size: 24px;
    line-height: 1.3;
  }
  .contacts a {
    display: block;
  }
}