 @font-face {
      font-family: 'Nastup';
      src: url('Nastup-Basic.woff') format('woff'),
           url('Nastup.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }
html, body {
  overflow-x: hidden;
}
body {
      font-family: 'Nastup', sans-serif;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
      background: #1C398E;
      overflow-y: auto;
      overflow-x: hidden;

    }
    header, section, footer {
      padding: 60px 20px;
      text-align: center;
    }
  nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 10vh;
  background-image: url('img/menu_backg.png');

  display: flex;
  justify-content: right; /* по вертикали */
  align-items: center;     /* по горизонтали */
}

nav a {
  color: white;
  margin: 0 5vh;
  text-decoration: none;
  font-size: 25px;
  transition: all 0.3s ease;


}
    nav a:hover {
      text-decoration: underline;
      font-size: 28px;

    }


.plug{
  height: 10vh;
  width: 100%;
}
.main_1{
  background-image: url('img/photo_group.png');
  background-size: cover;       /* растягивает картинку, чтобы блок полностью был покрыт */
  background-position: center;  /* центрирует изображение */
  background-repeat: no-repeat; /* убирает повторение */
  width: 100%;
  height: 90vh;
  align-items: center;
  text-align: center;
}
.regis_1{
  background-size: cover;       /* растягивает картинку, чтобы блок полностью был покрыт */
  background-position: center;  /* центрирует изображение */
  background-repeat: no-repeat; /* убирает повторение */
  width: 100%;
  height: 90vh;
  align-items: center;
  text-align: center;
}
.partners_1{
  background-image: url('img/menu_backg.png');
  background-size: cover;       /* растягивает картинку, чтобы блок полностью был покрыт */
  background-position: center;  /* центрирует изображение */
  background-repeat: no-repeat; /* убирает повторение */
  width: 100%;
  height: 9vh;
  align-items: center;
  text-align: center;
}
.footer_1{
  background-image: url('img/kpft.png');
  background-size: cover;       /* растягивает картинку, чтобы блок полностью был покрыт */
  background-position: center;  /* центрирует изображение */
  background-repeat: no-repeat; /* убирает повторение */
  width: 100%;

  align-items: center;
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
  flex-direction: column;
  justify-content: flex-end; /* ↓↓↓ контент тянется вниз */
}
.main{
  width: 80%;
  height: 90vh;
  padding-left: 10%;
  text-align: left;
}
.regis{
  width: 80%;
  height: 90vh;
  margin-left: 10%;
  text-align: left;
}
.events{
  width: 80%;
  height: auto;
  margin-left: 10%;
  text-align: left;
  padding-bottom: 5vh;

}
.partners{
  width: 80%;
  height: 50vh;
  margin-left: 10%;
  text-align: left;
  align-items: left;     /* по горизонтали */

}
.partners_3{
  width: 80%;
  margin-left: 10%;
}
.contact{
  width: 80%;
  height: 50vh;
  margin-top: 10vh;
  margin-left: 10%;
  text-align: left;
  display: flex;
  flex-direction: column; /* теперь всё идёт сверху вниз */

}
.footer{
  width: 80%;
  padding-top: 20vh;
  padding-bottom: 20vh;
  margin-left: 10%;
  text-align: left;
  display: flex;
  margin-top: auto; /* прижимает футер к низу */
}


.main_h1{
  font-size: 6vw;
  padding: 0px;
  margin: 0px;
  padding-top:12vh;
  color: white;
  font-family: 'Nastup', sans-serif;
  font-weight: normal; /* или 400 — если доступно */
  text-decoration: none;
}
.main_h2{
  color: #F07400;
  font-size: 4vw;
  margin: 0px;
  font-family: 'Nastup', sans-serif;
  font-weight: normal; /* или 400 — если доступно */
}
.main_p{
  font-family: 'Exo 2', sans-serif;
  color: white;
  margin: 0px;
  font-size: 2.6vw; /* 5% от ширины окна */
}

.regis_ul{
  display: flex;
  flex-direction: column;
  list-style-type: disc;
  list-style-position: inside;
  font-family: 'Exo 2', sans-serif;
   list-style-type: none;
}
.regis_a{
  color: white;
  margin: 0 5vh;
  text-decoration: none;
  font-size: 2.5vw;
  transition: all 0.3s ease;
   display: list-item;
  text-decoration: underline;
}
.regis_a:hover {
      text-decoration: underline;
      font-size: 2.6vw;
      color: #F07400;

    }
.regis_h1{
  font-size: 4vw;
  padding: 0px;
  margin: 0px;
  font-weight: normal; /* или 400 — если доступно */
  padding-top:10vh;
  color: white;
}
.regis_p{
  color: white;
  font-size: 2.5vw;
  padding: 0px;
  margin: 0px;
  padding-left: 22vh;

}
.regis_p2{
  color: #9E9593;
  font-size: 2.5vw;
  padding: 0px;
  margin: 0px;
  padding-left: 2vh;
  transition: all 0.3s ease;
}
.regis_p2:hover {
      text-decoration: underline;
      font-size: 2.6vw;
      color: #00B6CF;

    }
.regis_img{
  width: 100%;
  margin: 0px;
  padding-top: 1vh;
}
.regis2_img{
  width: 100%;
  margin: 0px;
  padding-top: 1vh;
}
.events1_img{
  width: 100%;
  margin: 0px;
  padding-top: 1vh;
}


.events_ul{
  display: flex;
  flex-direction: column;
  list-style-type: none;
  list-style-position: inside;
  font-family: 'Exo 2', sans-serif;
}
.events_img{
  height: 37vw;
}
.cover_events{
  display: flex;
  flex-direction: column; /* чтобы элементы шли сверху вниз */
  justify-content: center; /* по вертикали */
  align-items: center;     /* по горизонтали */
  height: 37vw;
}
.square{
  width: 25px;
}
.events_li{
  width: 100%;
  color: white;
  margin: 0 5vh;
  text-decoration: none;
  font-size: 2.5vw;
  transition: all 0.3s ease;
  display: list-item;
}
.cover{
  padding-top: 5vh;
  display: flex;
}
.side_img{
  padding-left: 0vh;
}
.events_but{
  width: 35vh;
  height: 50px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  border: 5px solid white;
  border-radius: 30px;
  background: none;
  font-family: 'Exo 2', sans-serif;
  margin-left: 15vh;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center; /* Центрирует по горизонтали */
  align-items: center; /* Центрирует по вертикали */
  text-align: center; /* Это дополнительная настройка */
}
.events_but:hover{
  font-size: 31px;
  color: #F07400;
  border: 5px solid #F07400;
  width: 37vh;
  height: 52px;
  
}

.contact{
  padding-top: 5vh;
}
.logo{
  width: 100px;
  height: 81px; 
  padding-left: 0px;
}
.cont{
  width: 80%; 
  margin-left: 10%; 
}
.cont_img{
  align-items: left;
}
.cont_a{
  align-items: right;
}
.cont_nav{
  width: 100%;
  align-items: center;

}
.cont_nav2{
  width: 80%; 
  margin-left: 10%; 
  justify-content: right;
  display: flex;

}
.cont_nav11{
  display: flex;
  flex-direction: column; /* чтобы элементы шли сверху вниз */
  justify-content: center; /* по вертикали */
  align-items: center;     /* по горизонтали */
}
.cont_nav22{
  width: 100%;
  display: flex;
  justify-content: right; /* по вертикали */
  align-items: center;     /* по горизонтали */

}
.nav_ul{

}
.side_img{
  width: 300px;
  height: 300px;
  padding-left: 365px;
}
.part2_img{
  width: 150px;
  height: 130px;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.part_li{
  padding-right: 35vh;
  display: inline;
  justify-content: center;
}
.part_ul{
  display: flex;
  list-style-type: none; /* если не нужны маркеры */
  padding-left: 0px;

}
.part_but{
  width: 25vh;
  height: 50px;
  color: #00B6CF;
  font-weight: bold;
  font-size: 30px;
  border: 5px solid #00B6CF;
  border-radius: 30px;
  background: none;
  font-family: 'Exo 2', sans-serif;
  transition: all 0.3s ease;
  margin-top: 18%;
}
.part_but:hover{
  font-size: 35px;
  color: #F07400;
  border: 5px solid #F07400;
  width: 30vh;
  height: 55px;
  background:  #00B6CF;
}

.contact_ul{
  display: flex;
  flex-direction: column; /* чтобы элементы шли сверху вниз */
  justify-content: center; /* по вертикали */
  font-family: 'Exo 2', sans-serif;
  text-decoration: none;
  margin-top: 3vh;
  list-style-type: none;
  color: white;
  padding: 0px;
  padding-right: 9vh;

}
.contact_li{
  text-decoration: none;
}
.contact_li1{
  text-decoration: none;
  font-weight: bold;
}
.cont1{
  width: 100%;
}
.cont2{
  width: 100%;
  display: flex;
  font-size: 38px;
  align-items: left;     /* по горизонтали */

}
.foot1{
  width: 50%;
  display: flex;
  align-items: center;     /* по горизонтали */
  justify-content: left; /* по вертикали */
}
.foot2{
  width: 50%;
  display: flex;
  align-items: center;     /* по горизонтали */
  justify-content: right; /* по вертикали */
}
.foot_img{
  width: 100px;
  height: 120px;
  transition: all 0.3s ease;
  border-radius: 5px;
  margin-right: 5vh;
}
.foot_img:hover{
  width: 110px;
  height: 130px;
  background:   #00B6CF;
}
.foot_ul2{
  margin-right: 10vh;
}
.foot_p{
   font-family: 'Exo 2', sans-serif;
   color: white;
   font-size: 23px;
   margin: 0px;
}

 .nava{
    margin: 0px;
    margin-top: 2vh;
  }





@media (min-width: 20px) and (max-width: 500px) {
  nav {
    position: fixed;
    top: 0;
    width: 100%;

    background-image: url('img/menu_backg.png');
    display: flex;
    justify-content: right; /* по вертикали */
    align-items: center;     /* по горизонтали */
  }

  nav a {
    color: white;
    margin: 0 0vh;
    text-decoration: none;
    font-size: 3.5vw;
    transition: all 0.3s ease;
  }
  nav a:hover {
    text-decoration: underline;
    font-size: 4vw;

  }
  .nava{
    margin-top: 1vh;
  }
  .cont_nav22{
    width: 100%;
    display: block;
    margin-left: 3vh;
    padding-top: 10vh
    justify-content: center; /* по вертикали */
    align-items: center;     /* по горизонтали */
  }
  .nav_ul{
    margin-top: 1.5vh;
    text-align: center;
    width: 100%;
  }
  .nav_a{

    text-align: center;


  }


  .main_1{
    width: 100%;
    height: 75vh;
  }
  .regis_1{
    height: 60vh;
  }
  .events_1{
    height: 75vh;
  }
  .main_h1{
    padding-top: 8vh;
    font-size: 8vw;
  }
  .main_h2{
    font-size: 6vw;
  }
  .main_p{
    font-size: 4.5vw;
  }






  .regis_h1 {
    font-size: 6vw;
    padding-top: 4vh;
  }
  .regis_ul{
    padding: 0px;
  }
  .regis_a{
    font-size: 5vw;
    margin: 0 2vh;
    padding: 0.5vh;
  }
  .regis_p{
    padding-left: 4vh;
    font-size: 5vw;
  }
  .regis_p2{
    padding-left: 4vh;
    font-size: 5vw;
  }
  .regis_a:hover {
      font-size: 5.3vw;

  }
  .regis_p2:hover {
      font-size: 5.3vw;

  }

  .events_1{
    margin-top:20vh;
  }
  .cover_events{
    height: 55vw;
  }
  .events_img{
    height: 55vw;
  }
  .cover{
    padding-top: 4vw;
    display: flex;
  }
  .square{
    width: 10px;
  }
  .side_img {
    width: 100px;
    height: 100px;
    padding-left: 0;
  }
  .events_li{
    margin-left: 0vh;
    margin-right: 11vh;
    font-size: 2.5vw;
  }

  .events_but{
    font-size: 12px;
    width: 15vh;
    height: 35px;
    margin-left: 0;
    margin-top: 2vh;
    border: 3px solid white;
  }
  .events_but:hover{
    font-size: 14px;
    width: 17vh;
    height: 37px;
    border: 4px solid #F07400;
  }


  .partners_1{
    height: 4vh;
  }
  .partners{
     display: flex;
     height: 35vh;
  }

  .part2_img{
    width: 11vh;
    height: 10vh;
    transition: all 0.3s ease;
    border-radius: 5px;
  }

  .part_li{
 
    display: inline;
  }
  .part_ul{
    width: 50%;
    list-style-type: none; /* если не нужны маркеры */
    padding-top: 2vh;
  }

  .part_but {
    font-size: 18px;
    width: 17vh;
    height: 40px;
    margin-left: 0;
    border: 4px solid #00B6CF;
  }
  .part_but:hover {
    font-size: 19px;
    width: 18vh;
    height: 42px;
    border: 4px solid #F07400;
  }




  .contact{
    height: 40vh;
    margin-top: 5vh;
    margin-bottom: 10vh;
  }


  .part_ul {
    flex-direction: column;
    align-items: center;

  }
  .part_li{
    padding: 0px;
  }
  .contact_ul {
    font-size: 16px;
    padding-right: 0;
    align-items: flex-start;
  }

  .cont2 {
    flex-direction: column;
    align-items: flex-start;
    font-size: 20px;
  }


  .foot1{
    width: 70%;
  }
  .foot2{
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;     /* по горизонтали */
    justify-content: right; /* по вертикали */
  }
  .logo{
    width: 10vh;
    height: 9vh;
  }
  .foot_img {
    width: 70px;
    height: 80px;
    margin: 0;
  }

  .foot_img:hover {
    width: 80px;
    height: 90px;
  }
  .foot_p{
    font-size: 12px;
  }
  .foot_ul2{
    margin: 0;
    margin-left: 50%;
  }
  .footer{
    width: 80%;
    padding-top: 5vh;
    padding-bottom: 5vh;
    margin: 0;
  }
  .footer_1{
    height: 40vh;
    display: flex;
    justify-content: center ; /* ↓↓↓ контент тянется вниз */
  }



}
* {
  margin: 0;
  padding: 0;
}