header {
  position: fixed;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  height: 120px;
  top: 0;
  left: 0;
  z-index: 99; /* хедер поверх другого контента */
  background-color: #ffffff;
  box-shadow: 0px 4px 5px rgba(255, 255, 255, 0.6);
}
.header-panel {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 115px;
}
#a-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: 20px;
}
#a-logo img {
  height: 105px;
  width: auto;
  padding-left: 10px;
}
#a-logo:hover {
  transform: scale(1.02);
  transition: 0.5s;
}
.logo-phrase {
  display: flex;
  flex-direction: column;
}
.logo-phrase h1 {
  font-family: "Petrona";
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 11px;
  color: #333333;
  text-shadow: 4px 4px 4px rgba(51, 51, 51, 0.5);
  text-align: center;
}
.logo-phrase p {
  font-family: "Public Sans", sans-serif;
  font-size: 19px;
  font-weight: 500;
  white-space: nowrap;
  color: #333333;
  text-align: center;
}
/*контейнер - зеленая панель хедера*/
.navigate {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: end;
  background-color: #009739;
  height: 115px;
}

.menu-container-netbook {
  display: none;
}
/*контейнер контакты + выбор языка*/
.contact-lang {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  grid-gap: 30px;
}
/*контейнер контакты*/
.contact {
  display: flex;
  flex-wrap: nowrap;
  /*padding-right: 20%;*/
  grid-gap: 18px;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
  align-items: center;
}
/*контейнер выбор языка*/
.language {
  display: flex;
  align-items: center;
  grid-gap: 15px; /* отступы между flex элементами*/
  padding-right: 4%;
}
/*кнопка переключатель языка*/
/*контейнер*/
.switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 26px;
}
/* Скрыть флажок HTML по умолчанию */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
/*контейнер для хода шарика*/
.sliderr {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
/*стили шарика*/
.sliderr:before {
  position: absolute;
  content: "";
  height: 24px; /*высота шарика*/
  width: 24px; /*ширина шарика*/
  left: 4px; /*отступ слева от границы поля*/
  bottom: 1px; /*отступ снизу от границы поля*/
  background-color: #009739;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
/*расстояние перемещения шарика*/
input:checked + .sliderr:before {
  -webkit-transform: translateX(45px);
  -ms-transform: translateX(45x);
  transform: translateX(45px);
}
/*закругление поля*/
.sliderr.round {
  border-radius: 9px;
}
/*закругление шарика*/
.sliderr.round:before {
  border-radius: 50%;
}
/*контейнер главного меню*/
.nav {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  margin-right: 20px;
  margin-left: 20px;
  font-size: 20px;
  font-weight: 500;
}
/*контейнер списка главного меню*/
.nav-list {
  padding-right: 4%;
}
/*элементы списка главного меню*/
.nav-list ul {
  display: flex;
  grid-gap: 50px; /* отступы между flex элементами*/
  list-style: none;
}
/*стилизация ссылок главного меню*/
.nav-list ul a,
.menu ul a  {
  text-decoration: none;
  color: #ffffff;
  font-family: "Petrona";
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 2px;
  white-space: nowrap;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.nav-list ul a:hover,
.menu ul a:hover {
  -webkit-text-shadow: 1px 1px 2px #ffffff;
  -moz-text-shadow: 1px 1px 2px #ffffff;
  text-shadow: 1px 1px 2px #ffffff;
}
.nav-list ul li,
.menu ul li {
  text-align: center;
}

/*контейнер зеленого прямоугольника*/
.rectangle {
  width: 100%;
  height: 5px;
  background-color: #009739;
}


/*БУРГЕР МЕНЮ*/

.burger-checkbox {
  position: absolute;
  visibility: hidden;
  z-index: 1000;
}
.burger {
  position: relative;
  z-index: 1001;
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 60px;
  height: 40px;
}
.burger::before,
.burger::after {
  content: "";
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px; /*толщина линии*/
  border-radius: 10px;
  background: #ffffff;
}

.burger::before {
  top: 0;
  box-shadow: 0 18px 0 #ffffff; /*расположение средней линии*/
  transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
}
.burger::after {
  bottom: 0;
  transition: bottom 0.3s 0.15s, transform 0.3s;
}
.burger-checkbox:checked + .burger::before {
  /*крестик*/
  top: 18px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
}
.burger-checkbox:checked + .burger::after {
  /*крестик*/
  bottom: 18px;
  transform: rotate(-45deg);
  transition: bottom 0.3s, transform 0.3s 0.15s;
}
.menu-list {
  top: 0;
  left: 0;
  position: fixed;
  display: grid;
  z-index: 2000;
  gap: 12px;
  padding: 42px 0;
  margin: 0;
  background: #009739;
  opacity: 0.7;
  list-style-type: none;
  transform: translateX(-100%);
  transition: 0.3s;
  width: 350px;
}
.menu-item {
  display: block;
  padding: 8px;
  color: white;
  font-size: 25px;
  text-align: center;
  text-decoration: none;
}
.menu-item:hover {
  background: rgba(255, 255, 255, 0.2);
}
.burger-checkbox:checked ~ .menu-list {
  transform: translateX(0);
} 














/*АДАПТИВ*/



@media screen and (max-width: 1300px) {
  .nav-list ul {
    grid-gap: 30px;
  }
  .contact {
    font-size: 20px;
  }
}




  @media screen and (max-width: 1200px) {
  header {
    height: 110px;
  }
  .header-panel {
    height: 105px;
    grid-gap: 0;
  }
  #a-logo {
    margin-left: 0;
  }
  #a-logo img {
    height: 102px;
  }
  .logo-phrase h1 {
    font-size: 52px;
    letter-spacing: 5px;
  }
  .logo-phrase p {
    font-size: 20px;
    white-space: pre-wrap;
  }
  .navigate {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: transparent;
    grid-gap: 40px;
  
    
    margin-right: 20px;
    margin-left: 5px;
  }
  .nav {
    display: none;
  }
  .contact {
    color: #333333;
  }
  .contact img {
    background-color: #009739;
    border: 2px solid #009739;
    border-radius: 4px;
  }
  .sliderr {
  border: 1px solid #333333;
  }
  .menu-container-netbook {
    display: flex;
  }
  .contact-lang {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 20px;
  }
  .contact {
    order: 2;
    padding-right: 0;
    grid-gap: 10px;
  }
  .language {
    order: 1;
    grid-gap: 10px;
    padding-right: 0;
  }
  .burger {
    width: 60px;
    height: 40px;
  }
  .burger::before,
  .burger::after {
    background: #009739;
  }
  .burger::before {
    box-shadow: 0 18px 0 #009739; /*расположение средней линии*/
  }
  .burger-checkbox:checked + .burger::before {
    /*крестик*/
    top: 18px;
  }
  .burger-checkbox:checked + .burger::after {
    /*крестик*/
    bottom: 18px;
  }
  .menu-list {
    width: 350px;
  }
  .menu-item {
    font-size: 25px;
  }
 
}






@media screen and (max-width: 1100px) {
   
    #a-logo img {
      padding-left: 30px;
    }
    .contact {
      font-size: 18px;
    }
  }





  @media screen and (max-width: 960px) {
  header {
    height: 105px;
  }
  .header-panel {
    height: 100px;
    justify-content: space-around;
  }
  #a-logo {
    margin-left: 0;
  }
  #a-logo img {
    height: 97px;
  }
  .logo-phrase h1 {
    font-size: 45px;
    letter-spacing: 5px;
  }
  .logo-phrase p {
    font-size: 18px;
    white-space: pre-wrap;
  }
  .trapezoid-wrapper {
    width: 60px;
  }
  .trapezoid {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 0;
    border-left: 0;
    width: 100%;
    height: 0;
  }
  .navigate {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: transparent;
    grid-gap: 0;
    margin-top: 0;
    width: auto;
    height: 100px;
  }

  .nav,
  .contact-lang {
    display: none;
  }
  .menu-container-netbook {
    display: flex;
  }
  .burger {
    width: 60px;
    height: 40px;
  }
  .burger::before,
  .burger::after {
    background: #009739;
  }
  .burger::before {
    box-shadow: 0 18px 0 #009739; /*расположение средней линии*/
  }
  .burger-checkbox:checked + .burger::before {
    /*крестик*/
    top: 18px;
  }
  .burger-checkbox:checked + .burger::after {
    /*крестик*/
    bottom: 18px;
  }
  .menu-list {
    width: 350px;
  }
  .menu-item {
    font-size: 25px;
  }
}






@media screen and (max-width: 760px) {
  header {
    height: 95px;
  }
  .header-panel {
    height: 90px;
    justify-content: space-around;
    grid-gap: 0;
  }
  #a-logo {
    margin-left: 0;
  }
  #a-logo img {
    height: 87px;
  }
  .logo-phrase h1 {
    font-size: 35px;
    letter-spacing: 5px;
  }
  .logo-phrase p {
    font-size: 17px;
    white-space: pre-wrap;
  }
  .trapezoid-wrapper {
    width: 45px;
  }
  .trapezoid {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 0;
    border-left: 0;
    width: 100%;
    height: 0;
  }
  .navigate {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: transparent;
    grid-gap: 0;
    margin-top: 0;
    width: auto;
    height: 90px;
  }
  .contact-lang,
  .nav {
    display: none;
  }
  .menu-container-netbook {
    display: flex;
  }
  .burger {
    width: 45px;
    height: 32px;
  }
  .burger::before,
  .burger::after {
    background: #009739;
  }
  .burger::before {
    box-shadow: 0 14px 0 #009739; /*расположение средней линии*/
  }
  .burger-checkbox:checked + .burger::before {
    /*крестик*/
    top: 14px;
  }
  .burger-checkbox:checked + .burger::after {
    /*крестик*/
    bottom: 14px;
  }
  .menu-list {
    width: 200px;
  }
  .menu-item {
    font-size: 25px;
  }
  /*контейнер - зеленая панель хедера*/
  .navigate {
    flex-direction: row;
    background-color: transparent;
    margin-top: 0;
  }
  .menu-container-netbook {
    display: flex;
  }
  /*контейнер контакты + выбор языка*/
  .contact-lang,
  .nav {
    display: none;
  }
}




@media screen and (max-width: 480px) {
  header {
    height: 85px;
  }
  .header-panel {
    height: 80px;
    justify-content: space-around;
    grid-gap: 0;
  }
  .logo-phrase {
    margin-left: 10px;
    margin-right: 10px;
  }
  #a-logo {
    margin-left: 0;
  }
  #a-logo img {
    height: 77px;
    padding-left: 0;
  }
  .logo-phrase h1 {
    font-size: 30px;
    letter-spacing: 5px;
  }
  .logo-phrase p {
    font-size: 15px;
    white-space: pre-wrap;
  }
  .trapezoid-wrapper {
    width: 40px;
  }
  .trapezoid {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 0;
    border-left: 0;
    width: 100%;
    height: 0;
  }
  .navigate {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: transparent;
    grid-gap: 0;
    margin-top: 0;
    width: auto;
    height: 80px;
  }
  .contact-lang,
  .nav {
    display: none;
  }
  .menu-container-netbook {
    display: flex;
  }

  .burger {
    width: 40px;
    height: 26px;
  }
  .burger::before,
  .burger::after {
    background: #009739;
  }
  .burger::before {
    box-shadow: 0 11px 0 #009739; /*расположение средней линии*/
  }
  .burger-checkbox:checked + .burger::before {
    /*крестик*/
    top: 11px;
  }
  .burger-checkbox:checked + .burger::after {
    /*крестик*/
    bottom: 11px;
  }
  .menu-list {
    width: 200px;
  }
  .menu-item {
    font-size: 18px;
  }
  /*контейнер - зеленая панель хедера*/
  .navigate {
    flex-direction: row;
    background-color: transparent;
    margin-top: 0;
  }
  .menu-container-netbook {
    display: flex;
  }
  /*контейнер контакты + выбор языка*/
  .contact-lang,
  .nav {
    display: none;
  }
  .menu ul a {
    font-size: 22px;
  }
}





@media screen and (max-width: 400px) {
  header {
    height: 85px;
  }
  .header-panel {
    height: 80px;
    justify-content: space-around;
    grid-gap: 0;
  }
  .logo-phrase {
    margin-left: 10px;
    margin-right: 10px;
  }
  #a-logo {
    margin-left: 0;
  }
  #a-logo img {
    height: 77px;
    padding-left: 0;
  }
  .logo-phrase h1 {
    font-size: 30px;
    letter-spacing: 5px;
  }
  .logo-phrase p {
    font-size: 15px;
    white-space: pre-wrap;
  }
  .trapezoid-wrapper {
    width: 40px;
  }
  .trapezoid {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 0;
    border-left: 0;
    width: 100%;
    height: 0;
  }
  .navigate {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: transparent;
    grid-gap: 0;
    margin-top: 0;
    width: auto;
    height: 80px;
  }
  .contact-lang,
  .nav {
    display: none;
  }
  .menu-container-netbook {
    display: flex;
  }
  .burger {
    width: 40px;
    height: 26px;
  }
  .burger::before,
  .burger::after {
    background: #009739;
  }
  .burger::before {
    box-shadow: 0 11px 0 #009739; /*расположение средней линии*/
  }
  .burger-checkbox:checked + .burger::before {
    /*крестик*/
    top: 11px;
  }
  .burger-checkbox:checked + .burger::after {
    /*крестик*/
    bottom: 11px;
  }
  .menu-list {
    width: 200px;
  }
  .menu-item {
    font-size: 18px;
  }
  /*контейнер - зеленая панель хедера*/
  .navigate {
    flex-direction: row;
    background-color: transparent;
    margin-top: 0;
  }
  .menu-container-netbook {
    display: flex;
  }
  /*контейнер контакты + выбор языка*/
  .contact-lang,
  .nav {
    display: none;
  }
}








@media screen and (max-width: 308px) {
  header {
    height: 70px;
  }
  .header-panel {
    height: 65px;
    justify-content: space-around;
    grid-gap: 0;
  }
  .logo-phrase {
    margin-left: 10px;
    margin-right: 10px;
  }
  #a-logo {
    margin-left: 0;
  }
  #a-logo img {
    height: 62px;
    padding-left: 0;
  }
  .logo-phrase h1 {
    font-size: 23px;
    letter-spacing: 5px;
  }
  .logo-phrase p {
    font-size: 13px;
    white-space: pre-wrap;
  }
  .trapezoid-wrapper {
    width: 40px;
  }
  .trapezoid {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 0;
    border-left: 0;
    width: 100%;
    height: 0;
  }
  .navigate {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: transparent;
    grid-gap: 0;
    margin-top: 0;
    width: auto;
    height: 65px;
  }
  .contact-lang,
  .nav {
    display: none;
  }
  .menu-container-netbook {
    display: flex;
  }
  .burger {
    width: 40px;
    height: 26px;
  }
  .burger::before,
  .burger::after {
    background: #009739;
  }
  .burger::before {
    box-shadow: 0 11px 0 #009739; /*расположение средней линии*/
  }
  .burger-checkbox:checked + .burger::before {
    /*крестик*/
    top: 11px;
  }
  .burger-checkbox:checked + .burger::after {
    /*крестик*/
    bottom: 11px;
  }
  .menu-list {
    width: 200px;
  }
  .menu-item {
    font-size: 18px;
  }
  /*контейнер - зеленая панель хедера*/
  .navigate {
    flex-direction: row;
    background-color: transparent;
    margin-top: 0;
  }
  .menu-container-netbook {
    display: flex;
  }
  /*контейнер контакты + выбор языка*/
  .contact-lang,
  .nav {
    display: none;
  }
}




@media screen and (max-width: 285px) {
  .logo-phrase p {
    display: none;
  }
  .navigate {
    margin-right: 5px;
  }
  .logo-phrase {
    margin-left: 5px;
    margin-right: 5px;
  }
  .logo-phrase h1 {
    letter-spacing: 1px;
  }
}



























  











