/* Box Model Hack */
* {
  box-sizing: border-box;
}

/* Clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

.clear {
	clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/
/* colors:
  blue background: rgb(102,118,138)
  grey background: rgb(219,223,226)
  footer background: rgb(22,31,42)
  font color: rgb(22,31,42)
  */
body>* {
  /* border: 1px solid lightgreen; */
  text-align:center;
  margin-left: auto;
  margin-right: auto;
}

body {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.25;
}

a {
  text-decoration: none;
}

header, main {
  background: rgb(102,118,138);
  color: white;
}

main, body>section:nth-of-type(2) {
  padding: 10%;
}

body>section:nth-of-type(2)  {
  background: rgb(219,223,226);
}

body>section:nth-of-type(odd)  {
  padding: 10% 25%;
}

figure {
  height: 200px;
  width: 350px;
  background: rgb(102,118,138);
}

footer {
  background:rgb(22,31,42);
}

img {
  height: 20px;
}

footer {
  color: white;
}

/*style tags*/

.caps {
  text-transform: uppercase;
  font-family: 'Fjalla One', Arial, sans-serif;
}

h1 {
  font-size: 4.5rem;
}

h2, h3 {
  font-size: 2rem;
  padding-bottom: 5px;
}

.button {
  display: block;
  margin: 10% 30%;
  padding: 3%;
  border: 1px solid rgb(179, 179, 179);
}

.button a {
  color: black;
}

.fixed {
  position: fixed;
  left: 10px;
  bottom: 5px;
  padding: 0 !important;
  background: rgba(128, 128, 128, .75);
  border-radius: 5px;
}

.fixed>* {
  box-shadow: -5px 5px 3px gray;
}

.fixed:hover {
  transform:scale(2);
  position: fixed;
  left: 90px;
  bottom: 110px;
  background: rgba(250, 199, 146, .85);
}

.fixed span, #arrow {
  display: block;
}

.fixed span {
  font-size: 1rem;
  /* background: rgba(128, 128, 128, .75); */
  border-radius: 5px;
}

#arrow {
  float: right;
}

#mockup {
  height: 20vh;
  filter: grayscale(1);
}

#mockup:hover {
  height: 20vh;
  filter: grayscale(0);
}


/******************************************
/* LAYOUT
/*******************************************/

/* HEADER */

header, footer {
  width: 100%;
  padding: 15px 40px;
}

header>* {
  float: left;
}

header ul, header img {
  width: 33.33%
}

header li {
  float: left;
  margin-right: 15px;
}

header a {
  float: right;
  background: white;
  color: rgb(102,118,138);
  padding: 3px 10px;
  border-radius: 3px;
}

/* MAIN */
main>* {
  padding: 1% 0;
}

main p {
  font-size: 1.5rem;
}

main section {
  margin: 25px 0 50px 0;
}

main section a {
  color: rgb(209, 209, 209);
  font-size: 1.25rem;
  font-weight: 100;
  letter-spacing: .05rem;
}

#help {
  display:block;
  font-style: oblique;
  color: rgb(44, 44, 44);
  font-size: 14px;
  margin-bottom: -50px; /*what the heck*/
}

/* SECTION 2 */
h2+p, h3+p {
  font-size: 1.25rem;
}


/* SECTION 3 */
figure {
  width: 70%;
  height: 150px;
  margin: 0 15%;
}

.column {
  float: left;
  width: 50%;
  padding: 0 1%;
}

h4 {
  font-size: 1.2rem;
  margin: 7%;
}

h4+p {
  font-size: .9rem;
}
/* SECTION 4 */



/* FOOTER */
footer {
  text-align: left;
  /* padding: 10px; */
  margin-top: 0;
  font-size: .8rem;
}

footer section {
  margin: 10px 0;
}

#footer-left {
  float:left;
  width: 75%;
}

#footer-left img {
  margin-right: 10px;
}

footer li {
  float: left;
}

footer li:first-of-type {
  margin-right: 15px;
}

.footer-title {
  color: rgb(79, 93, 107);
  font-weight: bold;
}

#footer-right {
  float: right;
  width: 25%;
}

#footer-right span {
  display: block;
  width: 100%;
}

#footer-right span:first-of-type {
  margin-bottom: 10px;
}

.address {
  color: rgb(177, 177, 177);
}

#footer-bottom {
  border-top: 2px solid gray;
  padding-top: 10px;
  float: left;
  width: 100%;
  font-weight: bold;
}

#footer-bottom img {
  float:right;
}


.largescreen {
  width: 100px;
}

/******************************************
/* ADDITIONAL STYLES
/*******************************************/
@media (max-width:700px) {
  .column {
    width: 100%;
  }
  html {
    font-size: 12px;
  }
  .desktop {
    display: none;
  }
  .mobile {
    display: static;
  }
  .largescreen {
    display: none;
  }
}

@media (min-width:700px) {
  .desktop {
    display: static;
  }
  .mobile {
    display: none;
  }
  .largescreen {
    display: none;
  }
}