@font-face {
  font-family: Montserrat;
  src: url(./assets/fonts/Montserrat-Regular.ttf);
}

* {
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fbfbfb;
}

.wrapper {
  margin: 0 auto;
  max-width: 1440px;
}

.header-container {
  height: 800px;
  background-repeat: no-repeat;
  background-position: center;
}

.header {
  padding-top: 24px;
  height: auto;
  margin-bottom: 56px;
}

.header__upper {
  height: 32px;
  background-color: #0a2463;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #ffffff;
  line-height: 19.5px;
}

.upper__link {
  margin-left: 32px;
  cursor: pointer;
}

.upper__language {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 24px;
  margin-left: 42px;
}

.upper__language svg {
  margin-right: 9px;
}

.header__lower {
  height: 88px;
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #fbfbfb;
  box-shadow: inset 0px -1px 0px #c2c2c2;
}

.lower__logo {
  margin-left: 24px;
  margin-right: auto;
  color: #1d2027;
}

.navbar__dropdown-content {
  display: none;
}

.navbar__item {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  margin-right: 32px;
  margin-left: 32px;
}

.navbar__item img {
  margin-left: 10px;
}

.header__img {
  display: none;
}

.lower__navbar {
  list-style: none;
  margin-left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header_competition {
  font-weight: bold;
  font-size: 24px;
  line-height: 29px;
  color: #ffffff;
  margin-top: 360px;
  margin-bottom: 38px;
}

.header_title {
  font-weight: bold;
  font-size: 48px;
  line-height: 56px;
  color: #ffffff;
}

.main {
  margin-top: 88px;
  margin-bottom: 148px;
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 1440px;
}

.main_forum {
  margin-top: 88px;
  margin-bottom: 148px;
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 1440px;
}

.main__social-network {
  position: fixed;
  left: 5%;
  top: 5%;
  display: none;
}

.social-network__block {
  display: flex;
  margin-top: 11px;
}

.social-network__item {
  height: 46px;
  width: 46px;
  outline: 1px solid #404040;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-network__text {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 21px;
  color: #212121;
}

.main__navigation {
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  position: absolute;
  display: none;
  right: 0;
  width: 200px;
}

.main__navigation nav {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 92px;
}

.main__navigation nav a {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #404040;
}

.main__navigation nav a:hover {
  font-weight: bold;
  font-size: 16px;
}

.main_video {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}

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

.text-container_text {
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #212121;
  margin-bottom: 48px;
}

.text-container_list {
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #212121;
}

.text-container_subtext {
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #212121;
  margin-top: 12px;
}

.text-container_title {
  font-weight: 600;
  font-size: 26px;
  line-height: 39px;
  color: #1d2027;
  margin-bottom: 20px;
}

.text-container_subtitle {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 16px;
}

.text-container_subtitle span {
  font-size: 16px;
  line-height: 24px;
  font-weight: normal;
}

.docs-link {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  text-decoration-line: underline;
  color: #2f80ed;
  margin-bottom: 12px;
}

.docs-link a {
  text-decoration: none;
}

.footer {
  background-color: #0a2463;
  height: 320px;
  display: grid;
  grid-template-rows: 30px 248px;
  padding-top: 42px;
  padding-left: auto;
  margin: 0 auto;
  max-width: 1440px;
}

.footer__logo {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: center;
  align-items: self-start;
  cursor: pointer;
}

.footer__logo img {
  margin-top: 20px;
}

.footer__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  color: #ffffff;
  margin-left: 40px;
  grid-row: 1;
  grid-column: 2;
}

.footer__title-nav {
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  color: #ffffff;
  grid-row: 1;
  grid-column: 3;
}

.footer__contacts {
  grid-row: 2;
  grid-column: 2;
}

.contacts__container {
  display: grid;
  grid-template-columns: 40px auto;
  margin-top: 24px;
}

.container__text {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: #ffffff;
  max-width: 354px;
}

.container_img img {
  margin-top: 5px;
}

.nav__list {
  margin-top: 18px;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  flex-direction: column;
  grid-row: 2;
  grid-column: 3;
}

.list__item {
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.list__item img {
  margin-left: 10px;
}

.header-navigation {
  display: none;
}

.hamburger-menu {
  display: none;
}

.list_organizers {
  display: flex;
  justify-content: start;
  gap: 64px;
}

@media screen and (max-width: 770px) {
  .hamburger-menu {
    display: block;
  }

  .list_organizers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .main-nav-btn {
    position: fixed;
    left: 0;
    top: 25%;
  }

  .main_video {
    display: flex;
    justify-content: center;
    margin-bottom: 44px;
    width: 312px;
  }

  body {
    background-color: #fff;
  }
  .header {
    padding-top: 18px;
  }
  .header-container {
    height: auto;
    margin-bottom: 40px;
    background: #ffffff;
  }
  .header__upper {
    display: none;
  }
  .upper__link {
    font-size: 10px;
    margin-left: 10px;
  }
  .upper__language {
    font-size: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .header__lower {
    height: auto;
    display: block;
    box-shadow: none;
    background: #ffffff;
  }
  .lower__logo {
    display: none;
  }
  .lower__logo-mobile {
    margin-left: auto;
  }
  .lower__navbar {
    display: none;
  }
  .lower__navbar-mobile {
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
  }
  .navbar__item {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 10px;
    text-align: left;
    padding: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-left: 16px;
    margin-bottom: 26px;
  }
  .header__img {
    display: block;
    margin-top: 16px;
    width: 100vw;
  }
  .main {
    margin-top: 106px;
    background-color: #fff;
    max-width: 312px;
  }
  .main_forum {
    margin-top: 120px;
    background-color: #fff;
    max-width: 312px;
  }
  .footer {
    height: auto;
    display: block;
    width: 100vw;
    padding-bottom: 36px;
  }
  .footer__logo {
    margin-bottom: 16px;
  }
  .footer__logo img {
    max-width: 100vw;
  }
  .footer__contacts {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin: 0 16px;
  }
  .contacts__container {
    min-width: 250px;
  }
  .container__text {
    font-size: 20px;
  }
  .list__item {
    font-size: 20px;
    margin-left: 40px;
  }
  .footer__title {
    font-size: 24px;
    display: flex;
    justify-content: flex-start;
    margin: 0 16px;
    margin-left: 56px;
    margin-top: 36px;
  }
  .footer__title-nav {
    font-size: 24px;
    display: flex;
    justify-content: flex-start;
    margin: 0 16px;
    margin-top: 24px;
    margin-left: 56px;
  }
  .nav__list {
    align-items: left;
    margin: 16px;
    margin-bottom: 0;
  }

  .text-container_text {
    font-size: 12px;
    line-height: 18px;
  }

  .text-container_list {
    font-size: 12px;
    line-height: 18px;
  }

  .text-container_title {
    font-size: 24px;
    line-height: 39px;
  }

  .text-container_subtitle {
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
  }

  .text-container_subtitle span {
    font-size: 12px;
    font-weight: normal;
    line-height: 18px;
  }
  .text-container_subtext {
    font-size: 12px;
    line-height: 18px;
  }

  .header_competition {
    margin-top: 22px;
    font-size: 16px;
    color: #404040;
    margin-right: 16px;
    margin-left: 32px;
    margin-bottom: 10px;
    line-height: 24px;
  }

  .header_title {
    font-size: 24px;
    color: #404040;
    margin-right: 16px;
    margin-left: 32px;
    font-size: 24px;
    line-height: 32px;
  }

  .header {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .menu__btn {
    background-color: #fff;
    display: flex;
    align-items: center;
    position: absolute;
    top: 38px;
    left: 90%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
  }

  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #616161;
  }
  .menu__btn > span::before {
    content: '';
    top: -8px;
  }
  .menu__btn > span::after {
    content: '';
    top: 8px;
  }

  .menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    text-align: center;
    background-color: #eceff1;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
  }
  .menu__item {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
  }
  .menu__item:hover {
    background-color: #cfd8dc;
  }
  #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__btn1 {
    background-color: #eceff1;
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 0;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
  }

  .menu__btn1 > span,
  .menu__btn1 > span::before,
  .menu__btn1 > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #616161;
  }
  .menu__btn1 > span::before {
    content: '';
    top: -8px;
  }
  .menu__btn1 > span::after {
    content: '';
    top: 8px;
  }

  .menu__box1 {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    text-align: center;
    background-color: #eceff1;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
  }
  .menu__item1 {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
  }
  .menu__item1:hover {
    background-color: #cfd8dc;
  }
  #menu__toggle1:checked ~ .menu__btn1 > span {
    transform: rotate(45deg);
  }
  #menu__toggle1:checked ~ .menu__btn1 > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu__toggle1:checked ~ .menu__btn1 > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu__toggle1:checked ~ .menu__box1 {
    visibility: visible;
    left: 0;
  }

  .social-network__block {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header-navigation {
    padding-top: 27px;
    padding-left: 16px;
    box-shadow: 0px -1px 0px #c2c2c2;
    display: flex;
    flex-direction: column;
  }

  .header-navigation a {
    padding: 0 !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #404040;
    margin-bottom: 16px;
    text-align: left;
    text-decoration: none;
  }
}

#menu__toggle {
  opacity: 0;
}

#menu__toggle1 {
  opacity: 0;
}

.icon {
  display: none;
}

.section-header-mobile__burger-page-nav {
  margin-top: 20px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.section-header-mobile__burger-page-nav-items {
  display: flex;
  flex-direction: column;
  margin-left: 16px;
  padding-bottom: 10px;
}
.section-header-mobile__burger-page-nav-item {
  padding-top: 10px;
  color: #ffffff;
}

.section-header-mobile-lower {
  color: #404040 !important;
}

.section-header-mobile-lower__img img {
  width: 100vw;
}

.section-header-mobile-lower {
  height: auto !important;
}

.section-header-mobile-lower__suttitle {
  padding-top: 16px !important;
  display: flex;
  justify-content: center;
}

.section-header-mobile-lower__title {
  display: flex;
  justify-content: center;
}

.main-nav-btn {
  display: none;
}
.section-header-mobile-lower__suttitle,
.section-header-mobile-lower__title {
  color: #404040;
}
