/*
 ______   ______   ______    
/\  ___\ /\  ___\ /\  ___\   
\ \  __\ \ \  __\ \ \ \____  
 \ \_\    \ \_\    \ \_____\ 
  \/_/     \/_/     \/_____/ 

Form Function & Class
Web Design Conference
October 22, 2016

Philippine Web Designers Organization
pwdo.org | info@pwdo.org

*/

/*------------ Webfonts ------------*/

@font-face {
  font-family: 'Inovato';
  src: url('../font/Inovato-Regular.eot');
  src: url('../font/Inovato-Regular.eot?#iefix') format('embedded-opentype'), url('../font/Inovato-Regular.woff2') format('woff2'), url('../font/Inovato-Regular.woff') format('woff'), url('../font/Inovato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal; }

@font-face {
  font-family: 'Inovato';
  src: url('../font/Inovato-Italic.eot');
  src: url('../font/Inovato-Italic.eot?#iefix') format('embedded-opentype'), url('../font/Inovato-Italic.woff2') format('woff2'), url('../font/Inovato-Italic.woff') format('woff'), url('../font/Inovato-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic; }

@font-face {
  font-family: 'Inovato';
  src: url('../font/Inovato-Bold.eot');
  src: url('../font/Inovato-Bold.eot?#iefix') format('embedded-opentype'), url('../font/Inovato-Bold.woff2') format('woff2'), url('../font/Inovato-Bold.woff') format('woff'), url('../font/Inovato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal; }

@font-face {
  font-family: 'Inovato';
  src: url('../font/Inovato-BoldItalic.eot');
  src: url('../font/Inovato-BoldItalic.eot?#iefix') format('embedded-opentype'), url('../font/Inovato-BoldItalic.woff2') format('woff2'), url('../font/Inovato-BoldItalic.woff') format('woff'), url('../font/Inovato-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic; }

@font-face {
  font-family: 'InovatoDisplay';
  src: url('../font/InovatoDisplay-Bold.eot');
  src: url('../font/InovatoDisplay-Bold.eot?#iefix') format('embedded-opentype'), url('../font/InovatoDisplay-Bold.woff2') format('woff2'), url('../font/InovatoDisplay-Bold.woff') format('woff'), url('../font/InovatoDisplay-Bold.ttf') format('truetype'); 
  font-weight: 400;
}

/*------------ Base ------------*/

html, body {
  font-family: 'Inovato', 'Helvetica Neue', 'Helvetica', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'InovatoDisplay', 'Helvetica Neue', 'Helvetica', sans-serif; 
  line-height: 1.1;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: .5rem;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
}

img {
  max-width: 100%;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #888;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  -webkit-transition: 0.3s ease-in-out color;
          transition: 0.3s ease-in-out color;
}
a:focus,
a:hover,
a:active {
  color: #555;
}
a.button {
  color: #333;
  text-align: center;
  display: block;
  margin: 0 0 1rem;
  padding: .5rem 1.5rem;
  background: #ffc000;
  border: 1px solid #ffc000;
  -webkit-transition: 0.3s ease-in-out background, 0.3s ease-in-out color;
          transition: 0.3s ease-in-out background, 0.3s ease-in-out color;
}
a.button + a.button {
  margin-right: 0;
}
a.button:hover,
a.button:focus,
a.button:active {
  color: #222;
  border-color: #ffc000;
  background: transparent;
  outline: none;
}

/*------------ Main ------------*/

.main {
  text-align: center;
  margin: 0 auto;
  padding: 12% 7% 10%;
  border: 1px solid #ccc;
}

.logo {
  display: block;
  margin: 0 auto 2rem;
}

#logo {
  width:  6rem;
  height: 6rem;
  display: block;
  margin: 0 auto 2rem;
  position: relative;
  left: 1rem;
}
#logo polygon, #logo path {
  fill: #555;
}

.lede {
  font-size: .9rem;
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.footer {
  font-size: .75rem;
  text-align: center;
  padding: 1rem 1rem 2rem;
}
.footer a {
  display: inline-block;
  margin: 0 .25rem;
}
.footer p {
  margin: .5rem 0 0;
}

.years a {
  border: none;
}

.social {
  margin: 1.5rem 0 0;
}
.social .share {
  font-size: .8rem;
  text-transform: uppercase;
}
.social a {
  font-size: .8rem;
  display: inline-block;
  vertical-align: middle;
  line-height: 34px;
  width: 30px;
  height: 30px;
  border: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.social a:hover {
  background: #ddd;
}

/*------------ Media Queries ------------*/
@media screen and (max-width: 497px) {
  .org .by {
    display: none;
  }
}
@media screen and (max-width: 599px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1rem;
  }
  .main {
    border-width: 0 0 1px;
  }
}
@media screen and (min-width: 600px) {
  body {
    padding: 3rem 1rem;
  }
  .main {
    max-width: 30rem;
    padding: 3rem;
  }
  a.button {
    display: inline-block;
    margin: .5rem .5rem .5rem 0;
  }
}