html,
body {
  height: 100%;
  margin: 0;
  background-image: url(https://art-oboi.com.ua/img/gallery/61/thumbs/thumb_m_17046.jpg);
}
body {
  color: rgb(226, 181, 216);
}

#wrap {
  width: 960px;
  margin: 0 auto;
  /* background-color: #fff; */
  background-color: rgb(255, 255, 255);
}

#header {
  height: 120px;
  background-image: url(https://thumbs.dreamstime.com/b/%D1%82%D0%B5%D0%BC%D0%BD%D0%BE-%D0%BA%D1%80%D0%B0%D1%81%D0%BD%D1%8B%D0%B9-%D0%BA%D0%B8%D1%80%D0%BF%D0%B8%D1%87%D0%BD%D1%8B%D0%B9-%D1%84%D0%BE%D0%BD-%D1%81%D1%82%D0%B5%D0%BD%D1%8B-161153883.jpg);
}

#header h1 {
  text-align: center;
  color: rgb(255, 255, 255);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  /* line-height: 120px; */
  padding-top: 30px;
  margin: 0;
  text-transform: uppercase;
  font-size: 46px;
}

h2,
h3,
h4 {
  text-align: center;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color: rgb(255, 145, 0);
}

h2 {
  color: rgb(255, 0, 0);
  font-family: cursive;
  font-size: 30px;
}

p {
  text-align: justify;
  font-size: 20px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: black;
}

a {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

ul.menu {
  list-style-type: none;
}

ul.menu li a {
  background: rgb(255, 0, 0);
  padding: 5px;
  display: block;
  margin: 10px;
}

ul.menu li a:hover {
  background-color: rgb(255, 255, 255);
}

a:hover {
  color: rgb(255, 0, 0);
}

.main_img {
  width: 300px;
  float: left;
  padding: 0 20px 5px 0;
}

.clear {
  clear: both;
}

#nav {
  width: 250px;
  float: left;
}

#main {
  margin-left: 250px;
  padding: 30px;
}

#footer {
  height: 90px;
 background-image: url(https://thumbs.dreamstime.com/b/%D1%82%D0%B5%D0%BC%D0%BD%D0%BE-%D0%BA%D1%80%D0%B0%D1%81%D0%BD%D1%8B%D0%B9-%D0%BA%D0%B8%D1%80%D0%BF%D0%B8%D1%87%D0%BD%D1%8B%D0%B9-%D1%84%D0%BE%D0%BD-%D1%81%D1%82%D0%B5%D0%BD%D1%8B-161153883.jpg);
}

#footer h3 {
  text-align: center;
  color: rgb(255, 255, 255);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  /* line-height: 120px; */
  padding-top: 40px;
  margin: 0;
  text-transform: uppercase;
}

@media screen and (max-width: 1024px) {
  #wrap {
    width: 100%;
  }

  #nav {
    width: 100%;
    float: none;
    background: rgb(165, 7, 157);
    height: 60px;
    margin-top: -20px;
  }

  ul.menu li {
    margin-top: 0;
  }

  ul.menu li a {
    float: left;
    font-size: 22px;
  }

  #main {
    margin-left: 0;
  }

  h2 {
    clear: both;
  }

  p {
    font-size: 22px;
  }
}

#menu_toggle {
  display: none;
}

@media screen and (max-width: 768px) {

  img.main_img {
    float: none;
    width: 100%;
  }

  #nav {
    height: 0;
    margin-top: 0;
  }

  .menu {
    visibility: hidden;
    left: -9999px;
    position: absolute;  
    top: 0;
    width: 300px;
    margin: 0;
    padding: 80px 0;
    background-color: #fff;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
  }

  ul.menu li a {
    float: none;
    background: #fff;
    color: rgb(165, 7, 157);
  }

  ul.menu li a:hover {
    background: rgb(253, 178, 237);
  }

  .menu_btn {
    text-align: center;
    position: absolute;
    top: 20px;
    left: 20px;
    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_toggle:checked ~ .menu {
    display: block;
    visibility: visible;
    left: 0;
  }

  #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_btn > span,
  .menu_btn > span::before,
  .menu_btn > span::after {
    transition-duration: 0.25s;
  }
  .menu {
    transition-duration: 0.25s;
  }
  .menu_item {
    transition-duration: 0.25s;
  }
}
