body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body:before {
  content: "";
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)),
    url(http://www.pmob.co.uk/temp2/template1/images/home-bg1.jpg) no-repeat 50%
      0;
  background-size: cover;
  position: fixed;
  z-index: -1;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
.wrap {
  max-width: 1280px;
  margin: auto;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.logo {
  padding-right: 30px;
  padding-top: 10px;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
}
.logo {
  margin: 0;
}
.navbarcontainer {
  display: flex;
  flex: 1 0 0%;
  align-items: baseline;
}
.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  flex: 1 0 0%;
}
.social {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.navbarcontainer a {
  padding: 10px;
  display: block;
  color: #666;
  text-decoration: none;
  font-size: 1rem;
}
.navbarcontainer a:hover {
  background: #000;
  color: #fff;
}
.icon {
  padding: 5px;
  margin: 0 1rem 0 auto;
  background: transparent;
  border: none;
  display: none;
  font-size: 2rem;
  cursor: pointer;
}
.icon .fa-times-circle,
.icon span {
  position: fixed;
  left: -100vw;
}
.icon:hover {
  background: #fff;
}
.icon:focus {
  outline: 1px dotted #ccc;
}
#facebook i,
#twitter i {
  font-size: 24px;
  padding-right: 3px;
}
.footer {
  margin: auto -1rem -1rem;
  padding: 1rem;
  background: #000;
  color: #fff;
}
@media only screen and (max-width: 1020px) {
  .navbarcontainer {
    flex-wrap: wrap;
  }
  .navbar {
    justify-content: flex-start;
  }
  .social {
    flex: 1 0 100%;
  }
}
@media only screen and (max-width: 825px) {
  body.menu-open {
    overflow: hidden;
  }
  .icon {
    display: block;
  }
  /* lets hide the navbar off screen but turn it into a sliding side menu for small screens*/
  .navbar {
    display: block;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    padding-top: 4rem;
    width: 100%;
    height: 100vh;
    overflow: auto;
    max-width: 480px;
    background: #f9f9f9;
    border-right: 1px solid #000;
    transform: translateX(-100%) skew(-40deg);
    opacity: 0;
    transition: all.5s ease-in-out;
  }
  .menu-open .navbar {
    transform: translateX(0) skew(0deg);
    opacity: 1;
    box-shadow: 0 0 100vw rgba(0, 0, 0, 0.5);
  }
  .navbar li,
  .navbar a {
    background: #fff;
  }
  .navbar li:first-child a {
    border-top: 1px solid #000;
  }
  .navbar a {
    border-bottom: 1px solid #000;
  }
  .menu-open .icon .fa-times-circle {
    position: fixed;
    z-index: 1000;
    left: 0.8rem;
    top: 0.8rem;
  }
  /*.menu-open .icon .fa-bars{position:fixed;left:-100vw}*/

  @media only screen and (max-width: 525px) {
    .social span {
      position: fixed;
      left: -100vw;
    }
    .logo img {
      max-width: 100%;
      height: auto;
    }
  }
}