* {
  box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
  font-size: 100%;
  font-family: sans-serif;
}

section {
  height: 100vh;
  background: url(css\fon1.jpg);
  background-size: cover;  /* покрытие стран  */
  background-repeat: no-repeat;
    background-position: center center;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 18%;
  box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.logo img {
   margin-left: 2.3em;
   max-width: 100%;
   height: auto !important;
}

 nav ul {
  display: flex;
    flex-flow: nowrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: .5s;
    list-style-type: none;
}

ul li a {
  padding: 10px 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: #262625; 

   color: #26ff25;
  font-weight: bold;
    transition: .5s;
}

ul li a:hover {
  background: #cccccc;
  color: #fa0202;
    transition: .5s
}

.menu-trigger {
    display:none;
    margin-right: 1.5em;
  background: #fa0202;

  background: #cccccc;
    color: #f0f;
    padding: 5px;
  cursor: pointer;
  font-weight: bold;
    text-decoration: none;
}

@media screen and (max-width:816px) {
     .menu-trigger {
    display:block;
  }
    header {
  display: flex;
  align-items: flex-start;
  height: 65%;
    }

    nav ul {
    display:block;
  }

  ul li {
    width: 50vh;
  }

   ul li a {
     display: block;
    /* text-align: center; */
    color: #fff;
    background: rgba(0,0,0,.5);
  }
}

@media (max-width: 359px) {
  .logo img {
   margin-left: 0.1em;
}
}
