* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5em;
}

/* work-sans-regular - latin */
@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Work Sans'), local('WorkSans-Regular'),
         url('m/fonts/work-sans-v3-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('m/fonts/work-sans-v3-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

body {
    font-family: 'Work Sans', sans-serif;  
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: black;
  }

p {
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

blockquote {
  background: #dbdbdb;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
  color: #b366b2;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
  font-size: 2em;
  font-weight: bold;
  margin-right: 12px;
  color: #8d0982;
}

header {
    position: fixed;
    width: 100vw;
    height: 48px;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.77);
    box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0.2);
    transition: background 1s;
}

header.start {
    background: none;    
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.1);
}

header > nav {
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: table; 
}
header > nav > ul {
    list-style: none;
    display: table-row;
}
header > nav > ul > li {
    display: table-cell;
    padding: 18px;
    padding-top: 12px;    
    min-width: 84px;
    max-width: 144px;
    font-weight: bold;
}      
header > nav > ul > li:first-child {
    padding-left: 8px;    
    text-align: right;
}
header > nav > ul > li:last-child {
    padding-right: 24px;    
    text-align: left;
}

header > nav > ul > li > a {
    transition: color 1s;    
}

header.start > nav > ul > li > a {
    color: #ff0;
    text-decoration: none;
    transition: color 1s;
}

main {
    text-align: center;
    height: 100%;
    position: relative;
}      

section {
    min-height: 100vh;
    position: relative;
    padding: 24px;
    padding-top: 60px;
}

section > * {
    text-align: left;
}
section > div.container {
    min-width: 320px;
    max-width: 600px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: left;    
}
section > div.nav_button {
    position: absolute; 
    bottom: 24px;
    left: 50%;
}

section > div.nav_button > a {
    background-image: url(../img/btn-arrow-down.svg.png);
    background-repeat: no-repeat;
    background-position: center center;
    text-indent: 9999px;
    display: inline-block;
    text-align: center;
    overflow: hidden;
    width: 48px;
    height: 48px;
    position: relative;
    left: -24px; 
}

section:first-child > div.nav_button {
    bottom: 72px;
}
section:first-child > div.nav_button > a {
    background-image: url(../img/btn-arrow-down-yellow.svg.png);
}

#frontpage {
    background: linear-gradient(to bottom right,#66f, #f66);   
    text-align: center;
}

#frontpage h1 {
    background-image: url(../img/chair-landscape.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    text-indent: 9999px;
    overflow: hidden;
    min-height: 50vh;
    min-width: 50vw;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
}

#instruments {
    min-height: 1326px;
}

#instruments .container img {
    width: 100%;
    margin-top: 24px;
}

#partner ul {
    margin-top: 74px;
    margin-bottom: 60px;
    list-style: none;
    display: flex;
    flex-flow: row wrap;    
    justify-content: center;
}

#partner li {
    padding: 12px;
    margin: 12px;
}

#partner img {
    padding: 12px;
    width: 180px;
    height: 180px;
}

#newsletter h1 {
    font-size: 1.9em;
    font-weight: 500;
    margin-bottom: 12px;
}
#newsletter h2 {
    font-size: 1.4em;
    font-weight: 500;
    margin-bottom: 12px;
}
/* #newsletter p {    
} */

#newsletter form {
    text-align: center;
    margin-top: 24px;
}
#newsletter form input {
    border: #aaa solid thin;
    border-radius: 4px;
    padding: 6px;
    display: block;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
    min-width: 240px;
    max-width: 360px;
    width: auto;
}
#newsletter form button {
    background: linear-gradient(to bottom right,#33f, #f33); 
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    color: #ff0;
}

#signup {
    display: block;
    text-align: center;
}

#signup button {
    margin-top: 24px;
    background: linear-gradient(to bottom right,#33f, #f33); 
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    color: #ff0;
}

footer {
    height: 360px;
    margin-top: 120px;
    color: #ff0;
    background: linear-gradient(to bottom right,#66f, #f66); 
    padding-top: 48px;
    padding-left: 24px;
    padding-right: 24px;
}   

#connect {
    text-align: right;
}