* {
  box-sizing: border-box;
}

body {
  background:url('../img/') no-repeat center;/*-- body colour---*/
  font-family: 'Titillium Web', sans-serif;
  letter-spacing: 1px;
  background-size:100% 100% ;
}

.wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}


.logo {               /*-- Menu text---*/
  color: #EBEBD3;
  font-size: 1rem;
  margin: 0;
  padding-top: 24px;
  padding-left: 20px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  height: 65px;
  background-color: transparent; /*-- hamburger Menu bckground small---*/
}

.logo span {
  font-weight: 400;
}

.menu-toggle {
  position: absolute;
  padding: 0.8em;
  top: 1em;
  right: .5em;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  background: #EBEBD3; /*-- hamburger colour---*/
  height: 3px;
  width: 2em;
  border-radius: 3px;
  -webkit-transition: all ease-in-out 350ms;
  transition: all ease-in-out 350ms;
}

.hamburger::before {
  -webkit-transform: translateY(-7px);
          transform: translateY(-7px);
}

.hamburger::after {
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
}

.open .hamburger {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.open .hamburger::before {
  display: none;
}

.open .hamburger::after {
  -webkit-transform: translateY(-1px) rotate(-90deg);
          transform: translateY(-1px) rotate(-90deg);
}

/*.site-nav--open {
  -webkit-clip-path: circle(150% at top right);
          clip-path: circle(150% at top right);
}
*/

nav {
    margin: 0;
    padding: 0;
}

nav ul {
    display: flex ;
    flex-direction: column ;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: none;
    font-weight:700;
}

nav ul.opening {
    display: block !important;
    height: 30px;
}

nav li {
  border-bottom: 1px solid #f6f4e2;/*-- ? ---*/
}
nav li:last-child {
  border-bottom: none ;
}
nav a {                   
  color: #EBEBD3;/*-- Menu text links---*/
 /* background: grey;-- short hamburger menu background colour---*/
  background: rgba(128, 128, 128, .99); /* GREY background with opacity */
  opacity: .8;
  display: block !important;
  padding: 1.5em 4em 1.5em 3em;
  text-transform: uppercase;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  background: #A062E6;
}

.site-nav--icon {
  font-size: 1.4em;
  margin-right: 1em;
  width: 1.1em;
  text-align: right;
  color: #A062E6);
}

/* flex styles */


/*
nav {
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  background: #e7a119;
  -webkit-clip-path: circle(0px at top left);
          clip-path: circle(0px at top left);
  -webkit-transition: -webkit-clip-path ease-in-out 700ms;
  transition: -webkit-clip-path ease-in-out 700ms;
  transition: clip-path ease-in-out 700ms;
  transition: clip-path ease-in-out 700ms, -webkit-clip-path ease-in-out 700ms;
  text-align: left;
}
*/







@media (min-width: 780px) {

  .menu-toggle {
    display: none;
  }



  nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }
  nav li {
     flex: 1 1 auto;
     border: none;
 }

   nav li a {
       padding: 1.5em 1.3em 1.5em 1.3em;
       margin: 0;
       border: none;
       background-color: transparent;/*-- long menu background colour behind links only---*/
    }
    nav a:hover,
    nav a:focus {
      background-color: #A062E6;/*-- hover block purple---*/
    }



  .logo {
      flex: 0 0 200px;
      margin: 0;
      padding-left: 20px;
  }


    nav {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      font-weight:700;
      text-align: center;
      background-color: transparent; /*--- long Nav bar colour---*/
    }
  /* nav {
      flex: 1 1 0;
      -webkit-clip-path: none;
            clip-path: none;

      border: 3px solid purple;
  }
*/

  .site-nav a:hover,
  .site-nav a:focus {
    background: transparent;
    font-weight:700;
  }

  .site-nav--icon {
    display: none;
  }

}
