@import "normalize.css";
@import "video.css";

* {
  box-sizing: border-box;
}

body {
  color: var(--primary);
	font-family: "Helvetica Neue", Helvetica, Tahoma, sans-serif;
	font-size: 1.4em;
}

figure {
    font-size: 0.8em;
    line-height: 1.5em;  
}

figcaption {
  font-weight: 500;
}

blockquote {
  margin: 0 0 1em 0;
}

blockquote.review:after {
  content: "  \2605\2605\2605\2605\2605";
  color: var(--orange);
}

p {
 	line-height: 1.4em;
  margin: 0 0 20px 0;
}

h1 {
  font-size: 2.6em;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin: 0 0 20px 0;
}

h2 {
  font-size: 2.4em;
  font-weight: 700;
  margin: 0 0 20px 0;
}

@media only screen and (max-width: 734px) {
  h2 { 
    font-size: 1.5em;
  }
}

h3 {
	font-size: 1.0em;
	font-weight: 500;
	margin: 0 0 0.5em 0;
}

h4 {
	font-size: 1.0em;
	font-weight: 400;    
	margin: 0 0 20px 0;
}

section {
  padding: 150px 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

address {
  font-style: normal;
  line-height: 1.4em;
}

ol {
  line-height: 1.5em;
}


/* ! */
/* !––– Custom */

.app-icon {
  width: 220px;
}

.content {
  max-width: 1140px; 
  margin: 0 auto;
}

.content.medium {
  max-width: 700px; 
}


/* ! */
/* !––– Navigation */

nav {
  color: var(--secondary);  
  font-size: 0.7em;
  max-width: 1140px;
  margin: 30px auto;
}

nav > ul {
  text-align: right;
  list-style-type: none;
}

nav > ul > li {
  display: inline-block;
	margin-right: 1em;
}

nav > ul > li > a {
  color: var(--secondary);  
}

nav > ul > li > a:hover {
  color: var(--primary);
  text-decoration: underline;
}


/* ! */
/* !––– Grid */

.row {
  display: flex;
  flex-wrap: wrap;
  max-width: 1140px; 
  margin: 0 auto;
}

[class*="col-"] {
  margin: 0;
  padding: 1em;
}

[class*="col-"] > img {
  max-width: 100%;
}

.col-2 {
  flex: 50%;
}

.col-3 {
  flex: 33.33%;
}

@media only screen and (max-width: 734px) {
  .col-2, .col-3 { 
    flex: 100%;
  }
}

.column-centered {
  max-width: 700px; 
  margin: 0 auto 80px auto;
}


/* ! */
/* !––– Stacks */ 

.stack::after {
  content: " ";
  display: table;
  clear: both;
}

.stack-item--top {
    float: left;
    width: 75%;
    margin-right: -100%;
    padding-top: 15%; // arbitrary
    position: relative;
    z-index: 1;
}

.stack-item--bottom {
    float: right;
    width: 75%;
}

.gallery {
  white-space: nowrap; 
  overflow-x: hidden;
}

.gallery-item {
  display: inline-box; 
  margin: 15px;
}


/* ! */
/* !––– Sematics */ 

.rounded {
  border-radius: 6px;
}

.shadowed {
  box-shadow: 0px 0px 25px -6px rgba(0,0,0,0.1);
}

.centered {
  text-align: center;
}

.animated {
  transition-delay: 0s;
  transition-duration: 0.3s;
  transition-property: all;
  transition-timing-function: ease;
}

.mw-100 {
  max-width: 100%;
}

.mb-4 {
  margin-bottom: 60px;
}

.mt-4 {
  margin-top: 60px;
}

.pt-4 {
  padding-top: 60px;
}

.pb-4 {
  padding-bottom: 60px;
}

.hero {
  max-width: 100%;
}

.xx-small {
  font-size: 65%; 
}

.x-small {
  font-size: 75%; 
}

.small {
  font-size: 85%; 
}

.medium {
  font-size: 100%; 
}

.large {
  font-size: 120%; 
}

.x-large {
  font-size: 160%; 
}

.list-style-none {
  list-style: none;
  padding: 0;
}

.bold {
  font-weight: 500;
}

/* ! */
/* !––– Animation */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn ease 2s;
}


/* ! */
/* !––– Button */

a.button {
  border-style: solid;
  border-width: 2px;
  border-radius: 50px;
  border-color: var(--teal);
  color: var(--teal);
  display: inline-block;
  font-size: 0.7em;
  font-weight: 500;
  padding: 16px 31px;
}

a:hover.button {
  background-color: var(--teal);
  color: white;
}

.appstore-badge {
  display: block;
  width: 180px;
  margin: 0 auto 60px auto;
}


/* ! */
/* !––– Colors */

:root {
  --accent: #2C59B7;
  --primary: #333;
  --secondary: #444;
  --secondary-background: #f5f5f7;
  --purple: #bf3ff5;
  --purple2: #8876FE;
  --teal: #0191de;
  --orange: #F09940;
  --mint: #00d0bb;
  --red: #F63E54;
}

.accent {
  color: var(--accent);
}

.primary {
  color: var(--primary);
}

.secondary {
  color: var(--secondary);
}

.secondary-background {
  background-color: var(--secondary-background);
}

.purple {
  color: var(--purple);
}

.purple2 {
  color: var(--purple2);
}

.teal {
  color: var(--teal);
}

.teal-border {
  border-color: var(--teal);
}

.orange {
  color: var(--orange);
}

.mint {
  color: var(--mint);
}

.red {
  color: var(--red);
}
