/* css Zen Garden */
/* 'Modern UX' by Jorge Yau - https://codenameyau.github.io */
/* css released under Creative Commons License - http://creativecommons.org/licenses/by-nc-sa/1.0/ */

/* IMPORTANT */
/* This design is not a template. You may not reproduce it elsewhere without the
   designer's written permission. However, feel free to study the CSS and use
   techniques you learn from it elsewhere. */

/* Import Google Fonts */
@import url(https://fonts.googleapis.com/css?family=Raleway:200+300);
@import url(https://fonts.googleapis.com/css?family=Ek+Mukta:200+300);

/* Basic Elements */
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  cursor: default;
  background: url('groovepaper.png') repeat;
}

/* Components */
div > .intro,
div > .main {
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  display: table;
  height: 100%;
}

div > .intro {
  margin-top: 100px;
}

/* Global Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  color: #2d2d2d;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

h1, h2 {font-weight: 200;}

p, a {
  font-family: 'Ek Mukta', sans-serif;
  font-size: 22px;
  font-weight: 300;
  text-decoration: none;
}

p {
  color: #4c4c4c;
  text-align: justify;
}

p:hover {
  color: #333333;
}

a {
  color: #2199CC;
}

a:hover {
  color: #14638C;
}

/* Individual Typography */
h1 {
  font-size: 3em;
  letter-spacing: 5px;
  margin: 0 0 60px 0;
}

h3 {
  margin-top: 60px;
}

.summary > p {
  text-align: center;
}

/* Individual Components */
.preamble {
  margin-top: 80px;
}


/* Sidebar Left */
.design-selection {
  position: fixed;
  top: 20px;
  left: 20px;
}

.design-selection h3 {
  margin: 0px 0 10px 0;
}

.design-selection > .select {
  text-align: left;
  cursor: pointer;
  opacity: 0.2;
}

nav > ul {
  display: inline;
}

nav > ul > li {
  display: block;
  margin-bottom: 15px;
}

.design-selection > nav {
  opacity: 0;
  display: table-row;
}

.design-selection:hover > .select,
.design-selection:hover nav {
  opacity: 0.8;
  -webkit-transition: opacity 0.5s ease-in-out;
     -moz-transition: opacity 0.5s ease-in-out;
      -ms-transition: opacity 0.5s ease-in-out;
       -o-transition: opacity 0.5s ease-in-out;
          transition: opacity 0.5s ease-in-out;
}

.design-name {
  font-family: 'Raleway', sans-serif;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  text-align: center;
  display: table;
}

.designer-name {
  font-size: 18px;
}

/* Sidebar Archives */
.design-archives {
  position: fixed;
  bottom: 0px;
  right: 10px;
}

.design-archives > .archives {
  opacity: 0.2;
  margin: 0 20px 0 0;
}

.design-archives > nav {
  opacity: 0;
  display: table-row;
}

.design-archives > nav > ul > li{
  margin-bottom: 0;
}

.design-archives > nav a {
  font-size: 18px;
}

.design-archives:hover > .archives,
.design-archives:hover nav {
  opacity: 0.9;
  -webkit-transition: opacity 0.5s ease-in-out;
     -moz-transition: opacity 0.5s ease-in-out;
      -ms-transition: opacity 0.5s ease-in-out;
       -o-transition: opacity 0.5s ease-in-out;
          transition: opacity 0.5s ease-in-out;
}

/* Sidebar Resources */
.zen-resources {
  position: fixed;
  top: 20px;
  right: 10px;
}

.zen-resources > h3 {
  margin: 0 0 10px 0;
}

.zen-resources > .resources {
  opacity: 0.2;
  text-align: left;
}

.zen-resources > ul {
  opacity: 0;
  display: table-row;
}

.zen-resources > ul > li {
  margin-bottom: 10px;
}

.zen-resources > ul > li a {
  font-size: 18px;
}

.zen-resources:hover > .resources,
.zen-resources:hover ul {
  opacity: 0.9;
  -webkit-transition: opacity 0.5s ease-in-out;
     -moz-transition: opacity 0.5s ease-in-out;
      -ms-transition: opacity 0.5s ease-in-out;
       -o-transition: opacity 0.5s ease-in-out;
          transition: opacity 0.5s ease-in-out;
}

/* Requirements */
div .requirements p:last-child {
  margin-top: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: 25px;
  text-align: center;
  font-weight: 300;
}

div .requirements p:last-child a{
  font-family: 'Raleway', sans-serif;
  font-size: 25px;
}

/* Footer */
footer {
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 30px 0 30px 0;
  margin: 60px 0 80px 0;
  letter-spacing: 2px;
  text-align: center;
  word-spacing: 15px;
}

footer a {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
}


/* Responsive: Tablet */
@media(max-width: 980px) {
  /* Components */
  div > .intro,
  div > .main {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    display: table;
    height: 100%;
  }

  /* Design selection, archive */
  .design-selection,
  .design-archives,
  .zen-resources {
    position: inherit;
    width: 100%;
  }

  .design-selection {
    background: rgba(0,0,0,0.8);
  }

  .design-selection > .select {
    background: rgba(110,110,110,0.5);
    opacity: 0.9;
    text-align: center;
    color: #fafafa;
    padding: 35px 0 30px 0;
    margin: 0;
  }

  .design-selection > nav,
  .design-archives > nav {
    opacity: 0.85;
    position: inherit;
    display: list-item;
    padding: 20px 0 20px 0;
  }

  .design-selection > nav a,
  .design-selection > nav p,
  .design-archives > nav a {
    color: #fafafa;
  }

  nav > ul {
    padding-left: 30px;
    text-align: center;
  }

  nav > ul > li {
    display: block;
    color: #9c9c9c;
  }

  .design-name {
    display: inline;
  }

  .design-name {
    margin-right: 5px;
  }
  .designer-name {
    margin-left: 5px;
  }

  /* Archives */
  .design-archives > .archives {
    display: none;
  }
  .design-archives > nav {
    background: rgba(0,0,0,0.8);
  }
  .design-archives > nav a {
    font-family: 'Ek Mukta', sans-serif;
  }
  .design-archives > nav > ul > li {
    display: inline;
  }
  .view-all {
    float: left;
  }
  .next {
    float: right;
    margin-right: 25px;
  }

  /* Resources */
  .zen-resources {
    display: none;
  }
}


/* Responsive: Phone */
@media(max-width: 580px) {

  h2 {
    margin: 20px 0 60px 0;
  }

  h3 {
    margin-top: 30px;
  }

  p, a {
    text-align: justify;
    line-height: 30px;
    font-size: 18px;
    font-weight: 200;
  }

  /* Requirements */
  div .requirements p:last-child {
    margin-top: 40px;
    font-size: 18px;
    text-align: center;
    font-weight: 200;
  }

  div .requirements p:last-child a{
    font-weight: 200;
    font-size: 18px;
  }

  /* Footer */
  footer {
    padding: 20px 0 20px 0;
    margin: 60px 0 80px 0;
    word-spacing: 10px;
  }
  footer a {
    font-size: 15px;
  }

  /* Design selection */
  nav > ul > li,
  .designer-name {
    font-size: 14px;
  }
  .design-name {
    font-size: 14px;
  }

}
