/* General For All
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body{background-color: #2f2f49;
margin: auto;
}
img{max-width: 100%;}
.container {
    width: 90%;
    margin: auto;
    text-align: center;
}
h1 {
    font-size: 2.75em;
    letter-spacing: 7px;
    text-align: left;
    font-family: neuton, serif;
    text-align: center;
}
h2 {
    font-size: 1.15em;
    letter-spacing: 3px;
    text-align: center;
    font-family: neuzeit-grotesk, sans-serif;
}
p {
    font-size: 1em;
    line-height: 22px;
    text-align: center;
    padding: 0 7% 0 7%;
    font-family: neuzeit-grotesk, sans-serif;
}
img {
    max-width: 700px;
}
nav {
    width: 100%;
    height: 65px;
    background-color: #973037;
    margin: auto;
    position: fixed;
    z-index: 1000;
    border-bottom: 2px solid #8d2d34;
    
}
nav a {
    color: #fff;
    margin: auto;
    padding: 0 2% 0 2%;
    margin-top: 150px;
    text-decoration: none;
    font-size: 1.03em; 
    letter-spacing: 2px;
}
.links a:hover {
    color: #f8c33b;
    transition: ease all .3s;
}
.logo {
    width: 33%;
    height: 250px;
    float: left;
    background-image: url(images/logo.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: -166px;
    max-width: 250px;
    min-height: 250px;
    
}
.logo a {
    font-size: 135px;
    padding-top: 25px;
    padding-bottom: 45px;
    color:transparent;
}
.logo:hover {
    background-image: url(images/logoh.svg);
    transition: ease all .3s;
}
.links {
    width: 66%;
    float: left;
    padding-top: 20px;
    padding-left: 25px;
    box-sizing: border-box;
}


#menuToggle
{
  display: block;
  position: absolute;
  top: 50px;
  right: 50px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #fff;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #f8c33b;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  margin: -59px 0 0 0;
  padding: 50px;
  padding-top: 125px;
  right: -90px;
  
  background: rgba(141, 45, 52, 0.75);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}
#menuToggle input:checked ~ ul
{
  transform: scale(1.0, 1.0);
  opacity: 1;
}
section {
    width: 100%;
    height:auto;
    margin: auto;
    padding-top: 125px;
    background-color: #2f2f49;
}
section h1 {
    color: #f8c33b;
}
section p {
    color: #fff;
}
aside {
    width: 100%;
    margin: auto;
    padding-top: 65px;
    background-color: #973037;
}
aside h1 {
    color: #f8c33b;
}
aside h2 {
    color: #fff;
}
aside p {
    color: #fff;
}

article {
    background-color: #f8c33b;
    width: 100%;
    padding-top: 65px;
    height: auto;
}
article h1 {
    color: #973037;
}
article h2 {
    color: #2f2f49;
}
article p {
    color: #2f2f49;
}
.nivoSlider {
    max-width: 700px;
    margin: auto;
}
header {
    width: 100%;
    height: auto;
    padding-top: 65px;
    background-color: #2f2f49;
}
header h1 {
    color:#f8c33b;
}
header h2 {
    color: #fff;
}
header p {
    color: #fff;
}
.uxpin {
    width: 700px;
    height: 500px;
}
.final {
    width: 100%;
    height: auto;
    padding-top: 65px;
    background-color: #f8c33b;
}
.final h1 {
    color: #973037;
}
.final p {
    color: #2f2f49;
}
#menuToggle {
        display: none;
    }

/* Tablet
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (min-width: 550px) and (max-width: 800px) {
 body {background-color: blue;}
    .links a {
        display: none;
        width: 33%;
    }
    .logo {
        width:66%;
    }
    #menuToggle {
        display:inline;
        margin-top: -25px;
    }
    .container {
        width: 98%;
    }
    nav .container {
        width: 90%;
    }
    img {
        width:100%;
        max-width: 300px;
    }
    header img {
        max-width: 200px;
    }
    .flow {
        width: 100%;
    }
    .light {
        max-width: 200px;
    }
    .uxpin {
        width: 90%;
    }
    
    }

/* Mobile
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 500px){
 body {background-color: red;}

    #menuToggle {
        display:inline;
        margin-top: -25px;
    }
    .links a {
        display: none;
        width: 33%;
    }
    .logo {
        width:66%;
    }
    iframe {
        max-width: 350px;
    }
    .flow {
        max-width: 375px;
    }
}


