@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

html {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: black;
}

ul, ol {
  list-style-type: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

header {
  position: relative;
  /* display: flex; */
  -webkit-align-items: center;
  /* height: 100px; */
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo__container {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  /* z-index: 20; */
}

.logo img {
  height: 100%;
  background: white;
}

.list {
  display: flex;
  align-items: center;
}

.list:hover .list-ico {
  border-width: 1px;
}

.list-ico {
  width: 6px;
  height: 6px;
  border-left: 0.5px solid black;
  border-bottom: 0.5px solid black;
  transform: rotate(-45deg);
  margin-left: 5px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  font-weight: 300;
}

nav li {
  position: relative;
  margin: 0 15px;
}

nav li:first-child {
  margin-left: 0;
}

nav li:hover {
  text-decoration: underline;
}

nav li span {
  display: block;
  font-size: 16px;
  color: black;
  font-weight: 400;
  cursor: auto;
}

.social {
  /* height: 100%; */
  display: flex;
  align-items: center;
}

#telegram {
  width: 34px;
  height: 34px;
}

.line {
  position: relative;
  height: 4px;
  width: 100%;
  background-color: #005EAE;
}

.slider {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.slider__container {
  position: relative;
  display: flex;
  align-items: flex-center;
  height: 100%;
  height: 370px;
  min-height: 100px;
  max-height: 370px;
}

.slider__item {
  position: absolute;
  visibility: hidden;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s;
}

.active-slide {
  visibility: visible;
  opacity: 1;
}

.slider img {
  width: 100%;
}

.slide-text {
  position: absolute;
  background: #005EAE;
  padding: 15px 20px;
  color: white;
  font-size: 22px;
  font-weight: 600;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  text-transform: uppercase;
}

.switches {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  display: flex;
}

.switch {
  height: 10px;
  width: 10px;
  background: white;
  border-radius: 50%;
  margin: 3px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.active-switch {
  background: #005EAE;
  border: 1px solid white;
}

.btns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.btn {
  height: 60px;
  width: 370px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #005EAE;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn:hover,
.social>*:hover {
  opacity: .8;
}

.dstu-news {
  width: 220px;
}

.title-skif {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 60px 0;
  border: 2px solid #005EAE;
  padding: 15px 0px;
  font-size: 20px;
  font-weight: 500;
  color: #005EAE;
  text-align: center;
}

.new {
  position: relative;
  max-width: 490px;
  display: flex;
  flex-direction: column;
  background: #fcfcfc;
  padding-left: 5px;
}

.new::after {
  content: '';
  position: absolute;
  left: 0;
  height: 100%;
  width: 5px;
  background: #005EAE;
}

.title {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 500;
  color: #005EAE;
  padding: 0 16px;
}

.descr {
  text-align: left;
  padding: 0 16px;
}

.descr {
  color: #2F2F2F;
  font-size: 15px;
  margin: 12px 0;
}

.skif-achievements {
  max-width: 1000px;
  width: 100%;
  margin-top: 60px;
}

.skif-achievements .title {
  text-align: center;
}

.achievements {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.skif-achievements .block {
  max-width: 49%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.align-left {
  text-align: left;
}

footer {
  width: 100%;
  height: 70px;
  background: #005EAE;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: white;
  padding: 0 20px;
  margin-top: 80px;
}

.about-us {
  height: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: -115px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 5;
  width: 280px;
  background: white;
  font-size: 15px;
  padding: 10px 0;
  box-shadow: 0px 2px 2px 0px rgb(136, 136, 136);
}

.my-dstu {
  left: -45px;
  width: 170px;
}

.about-us li {
  margin: 0;
  margin: 3px 0;
}

.about-us hr {
  width: 100%;
  margin: 5px 0;
  color: #cbddec;
}

.about-us-btn:hover .about-us{
  visibility: visible;
  height: auto;
}

.burger {
  display: none;
}

.burger-btn {
  position: relative;
  width: 45px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border: none;
  background: white;
  outline: none;
  z-index: 200;
  padding-right: 0;
}

.burger-btn div {
  position: relative;
  width: 100%;
  height: 6px;
  background: #005EAE;
  border-radius: 2px;
  transition: .3s;
}

.burger-menu {
  width: 80vw;
  position: absolute;
  right: 0;
  background: white;
  height: 100vh;
  z-index: 100;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 65px 0;
  visibility: hidden;
  right: -80vw;
  transition: .3s;
}

.visible {
  visibility: visible;
  right: 0;
}

.burger-close {
  transition: .3s;
}

.burger-close div {
  position: absolute;
}

.burger-close div:nth-child(1) {
  left: 0;
  bottom: 50%;
  transform: rotate(45deg);
}

.burger-close div:nth-child(3) {
  right: 0;
  bottom: 50%;
  transform: rotate(-45deg);;
}

.burger-close div:nth-child(2) {
  display: none
}

.burger-menu a {
  position: relative;
  font-size: 18px;
  border-top: 1px solid #dfdfdf;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: white;
  padding: 15px 10px;
  text-align: center;
}

.burger-menu a:hover {
  background: #c1e2ff;
}

.burger-menu > *:not(ul) {
  z-index: 5;
}

.burger-menu .bg-top {
  position: absolute;
  width: 100%;
  height: 65px;
  background: white;
  z-index: 5;
  top: 0;
  left: 0;
}

.burger-about-us {
  position: absolute;
  top: -100%;
  flex-direction: column;
  text-align: center;
  font-size: 18px;
  visibility: hidden;
  transition: top .3s;
  z-index: 1;
}

.z-i {
  z-index: 2;
}

.about-us-visible {
  position: relative;
  visibility: visible;
  top: 0;
}

.burger-about-us li {
  margin: 0;
  padding: 0 10px;
}

.block-title {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin: 10px 0 20px 0;
}

.block-title span {
  font-size: 60px;
  font-weight: 900;
  color: #005EAE;
  opacity: .2;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5px;
}

.block-title h2 {
  color: #2F2F2F;
  font-weight: bold;
  text-transform: uppercase;
  font-style: italic;
  position: absolute;
  left: 21px;
  bottom: 14px;
  z-index: 2;
}

.info-block {
  max-width: none;
  width: 100%;
}

.info {
  display: flex;
  padding-bottom: 10px;
  justify-content: space-between;
}

.for-student, .for-teacher {
  max-width: 490px;
}

.info ul {
  margin-left: 20px;
  font-size: 15px;
  padding-right: 5px;
}

.info li {
  margin-bottom: 10px;
}

.info a {
  font-weight: bold;
  color: #005EAE;
}

.info a:hover {
  text-decoration: underline;
}


@media screen and (max-width: 1000px) {
  .container {
    padding: 0 10px;
  }
  .slider__container {
    height: 100%;
  }
  .slider {
    height: 37vw;
  }
  .btn:not(.dstu-news){
    width: 49%;
  }
  .dstu-news {
    width: 100%;
    margin-top: 8px;
  }
  .main-blocks {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .skif-achievements {
    /* max-width: 490px; */
    flex-wrap: nowrap;
    margin: 0 auto;
    margin-top: 20px;
  }
  .skif-achievements .title {
    text-align: left;
  }
  nav {
    margin-top: 10px;
    flex-direction: column;
  }
  nav > ul li:nth-child(4) {
    order: 3;
  }
  nav > ul li:nth-child(3) {
    order: 4;
  }
  .social {
    margin-top: 10px;
  }
  header {
    padding: 0;
  }
  .slide-text {
    font-size: 18px;
  }
  footer {
    height: auto;
    flex-direction: column-reverse;
    font-size: 14px;
    padding: 10px 10px;
    text-align: center;
  }
  footer > *:nth-child(2) {
    margin-bottom: 5px;
  }
  .new .title{
    text-align: center;
    font-size: 18px;
  }
}

@media screen and (max-width: 750px) {
  .btns {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100% !important;
    margin-top: 8px;
  }
  nav, .social {
    margin-top: 0;
  }
  nav {
    position: fixed;
    background: white;
    top: 0;
    left: 0;
    padding: 10px;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    z-index: 19;
    box-shadow: 0 0px 4px rgb(207, 218, 228);
  }
  nav > ul {
    display: none;
  }

  .burger {
    display: block;
  }

  header .container {
    display: flex;
    flex-direction: column-reverse;
  }
  .slider {
    display: none;
  }
  header {
    padding-top: 65px;
    margin-bottom: 20px;
  }
  .info {
    flex-direction: column;
  }
  .title-skif {
    font-size: 15px;
    padding: 10px 0px;
  }
  .achievements {
    flex-direction: column;
    align-items: center;
  }
  .achievements .block {
    max-width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .title-skif {
    display: none;
  }
  .achievements img {
    width: 100%;
  }
  .skif-achievements .block{
    min-height: auto;
    height: auto;
    justify-content: flex-start;
  }
  .info-block {
    margin-top: 40px;
  }
}


