/* VARIABLES */
:root {
  --bot-black: #0E0E0E;
  --bot-white: #FFFFFF;
  --bot-pink: #FF4B95;
  --bot-light-pink: #FBF3F3;
  --bot-blue: #19324B;
  --bot-text: #666666;
  --bot-gradient: linear-gradient(140deg, #19324B, #4B1932);
  --bot-light-gradient: linear-gradient(#FFFFFF, #FBF3F3);
}


/* GENERAL PROPERTIES */

body {
  position: relative;
  margin: 0;
  padding: 0;

  font-size: 14px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  line-height: 1.4em;
  letter-spacing: 0.02px;

  overflow-x: hidden;
}

a {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

a.link {
  color: var(--bot-pink);
}

a.link.big {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.4em;
  line-height: 1.6em;
  text-transform: uppercase;
  padding: 0;
  margin: 0 auto;
  color: var(--bot-black);
  text-align: center;
}

a.link:after {
  display: block;
  content: '';
  padding-top: 5px;
  border-bottom: solid 1px var(--bot-pink);
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}

a.link.big:after {
  border-bottom: solid 1px var(--bot-black);
}

a.link:hover:after { transform: scaleX(1); }

a.link:after{  transform-origin:  0% 50%; }

div.line {
  display: block;
  height: 0;
  border-bottom: solid 1px rgba(255,255,255,0.5);
  margin: 40px 0 30px 0;
}

.relative {
  position: relative;
}

/* TEXT */

.center {
  text-align: center;
  margin-left: 15px;
  margin-right: 0;
}

.float-right {
  text-align: right;
}


.pink {
  color: var(--bot-pink);
}

.section-header {
  margin: 50px 0 0 0;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 4em;
  letter-spacing: 0;
  line-height: 1em;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

h1.page-header {
  text-align: center;
  position: relative;
}

h1.page-header#baristas {
  margin-top: 0;
  font-size: 8.5em;
  text-shadow: var(--bot-black), 10px 0px 40px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

h1.page-header#contact-us {
  margin-top: 80px;
  font-size: 8em;
  text-shadow: var(--bot-black), 10px 0px 40px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

h1.page-header#for-our {
  margin-top: 80px;
  font-size: 8em;
  text-shadow: var(--bot-black), 10px 0px 40px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

h1.page-header#home-baristas {
  margin-top: 120px;
  font-size: 8em;
  text-shadow: var(--bot-black), 10px 0px 40px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

h1.page-header#home-on-tap {
  font-size: 10.5em;
  z-index: 3;
  margin-top: 20px;
  text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

h1.page-header#how-it {
  margin-top: 80px;
  font-size: 9.5em;
  text-shadow: var(--bot-black), 10px 0px 40px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

h1.page-header#works {
  font-size: 11em;
  z-index: 3;
  text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2em;
  letter-spacing: 0.5em;
  line-height: 1.6em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
}

h2.page-subheader {
  position: relative;
  max-width: 900px;
  margin: 30px auto 10px auto;
  z-index: 3;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3em;
  letter-spacing: 0;
  line-height: 1em;
  margin: 0px 0 30px 0;
  padding: 0;
  text-transform: uppercase;
}

h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  letter-spacing: 0.5em;
  line-height: 1.6em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
}

h1.center, h2.center, h3.center, h4.center {
  margin-left: auto;
  margin-right: auto;
}

h4.smaller {
  font-size: 1.2em;
}

p {
  font-size: 1.1em;
  line-height: 1.5em;
  color: var(--bot-text);
}

p.slightly-larger {
  font-size: 1.3em;
  line-height: 1.7em;
}

p.two-column {
  column-count: 2;
  column-gap: 30px;
}

.gradient p, .gradient h4, .footer p {
  color: var(--bot-white);
}

div.faq p.question {
  font-size: 1.3em;
  line-height: 1.7em;
  font-weight: 500;
  margin: 0;
  padding: 0;
  max-width: calc(100% - 60px);
  color: #333333;
}

div.faq p.answer {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition: max-height 0.5s, padding 0.2s;
}

div.faq p.answer.showing {
  max-height: 200px;
  padding: 15px 0;
}

div.faq p.answer.long.showing {
  max-height: 430px;
}

.two-thirds {
  max-width: 60%;
}

/* BUTTONS */
button {
  background: rgba(255, 75, 149, 0);
  border: solid 2px var(--bot-pink);
  color: var(--bot-pink);
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  margin: 0;
  cursor: pointer;
  border-radius: 10px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1.6em;
  text-transform: uppercase;

  transition: all 0.2s;
  }

  button:hover {
    transform: scale(1.02);
    background: rgba(255, 75, 149, 1);
    color: var(--bot-white);
  }

  .button.big {
    display: block;
    position: relative;
    margin: 15px auto;
    padding: 14px 24px;
    font-size: 1.2em;
    z-index: 3;
    background: rgba(255, 75, 149, 0);
  }

  .button.big:hover {
    background: rgba(255, 75, 149, 1);
    color: var(--bot-white);
  }

  .button.footer {
    margin-top: 20px;
  }

/* DIVS */

div.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 10;
  background: linear-gradient(rgba(25,50,75,0.95), rgba(25,50,75,0.8), rgba(25,50,75,0.6), rgba(25,50,75,0));
}

div.header.dark {
  background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.8), rgba(255,255,255,0.6), rgba(255,255,255,0));
}

div.centered {
  text-align: center;
}

div.faq {
  position: relative;
  width: 750px;
  max-width: calc(100% - 60px);
  margin: 15px auto;
  background: var(--bot-light-pink);
  padding: 15px 25px 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

div.float-right {
  width: 60%;
  margin-left: 40%;
}

div.footer {
  background: var(--bot-blue);
}

div.gradient {
  color: var(--bot-white);
  background: var(--bot-gradient);
  margin: 0;
  padding: 0;
  box-shadow: 0 0 60px rgba(0,0,0,0.4);
  z-index: 2;
}

div.home {
  height: 750px;
}

div.left-feature {
  position: relative;
  margin: 50px 450px 50px 0;
}

div.left-feature.wider {
  margin-right: 250px;
}

div.off-white {
  background: var(--bot-light-gradient);
}

div.os-option {
  position: absolute;
  top: calc(50% - 150px);
  width: 200px;
  height: 200px;
  border-radius: 30px;
  border: solid 1px var(--bot-pink);
  transition: all 0.2s;
  background: rgba(255, 75, 149, 0);
}

div.os-option:hover {
  transform: scale(1.02);
  background: rgba(255, 75, 149, 0.3);
}

div.os-option.left {
  left: calc(50vw - 250px);
}

div.os-option.right {
  right: calc(50vw - 250px);
}

div.os-selector {
  display: none;
  position: fixed;
  top: 0; right:0; left: 0; bottom: 0;
  background: rgba(12,25,37,0.8);
  z-index: 11;
}

div.relative, div.socials-wrapper {
  position: relative;
}

div.right-feature {
  position: relative;
  margin: 50px 0 50px 450px;
}

div.section {
  position: relative;
  width: 100%;
  padding: 0;
  margin:0;
}

div.section .container {
  position: relative;
  margin: 0 auto 0 auto;
  padding: 60px 30px 80px 30px;
  width: calc(100%-60px);
  max-width: 1150px;
}

div.section .container.wider {
  max-width: 1350px;
}

div.section .three-up, div.container.testimonials {
  display: grid;
  grid-template-columns: 33% 34% 33%;
}

div.section .container.three-up:nth-child(1) .three-up-child, div.container.testimonials div {
  padding: 60px;
  padding-left: 0;
}

div.section .container.three-up:nth-child(2) .three-up-child, div.container.testimonials div {
  padding: 40px;
}

div.section .container.three-up:nth-child(3) .three-up-child, div.container.testimonials div {
  padding: 60px;
  padding-right:0;
}

div.socials {
  position: absolute;
  bottom: 0;
  right: 0;
}

div.two-up {
  display: grid;
  grid-template-columns: 50% 50%;
}

/* IMAGES */

#barista-onboarding {
  width: 600px;
  position: absolute;
  z-index: 2;
  left: calc(50% - 620px);
  top: -2vh;
}

#barista-shifts {
  width: 600px;
  position: absolute;
  z-index: 2;
  right: calc(50% - 620px);
  top: -5vh;
}

#create-shift {
  width: 600px;
  position: absolute;
  z-index: 2;
  left: calc(50% - 620px);
  top: -15vh;
}

#desktop {
  width: 850px;
  position: absolute;
  z-index: 2;
  right: calc(50% - 870px);
  top: 0;
}

#floating-phone-right {
  width: 460px;
  position: absolute;
  z-index: 2;
  right: calc(50% - 500px);
  top: 10vh;
}

#floating-phone-left {
  width: 400px;
  position: absolute;
  z-index: 2;
  left: calc(50% - 620px);
  top: 30vh;
}

#onboarding {
  width: 600px;
  position: absolute;
  z-index: 2;
  left: calc(50% - 620px);
  top: -17vh;
}

#splash {
  width: 1320px;
  z-index: 2;
  position: absolute;
  bottom: -58px;
  left: calc(50% - 660px);
}

img.contact-icon {
  display: block;
  height: 30px;
  margin: 30px auto;
}

button img.footer-button-img {
  width: 16px;
  margin-bottom: -3px;
  margin-right: 7px;
}

img.footer-social {
  width: 40px;
  margin-left: 20px;
  bottom: 0;
}

img.os-icon {
  width: 100px;
  margin: 25px 50px;
}

img.testimonial-image {
  position: relative;
  margin: -90px 0 80px 0;
  padding: 0;
  height: 280px;
  right: 30px;
}

img.testimonial-image.barista {
  position: relative;
  margin: -150px 0 80px 0;
  padding: 0;
  height: 280px;
  right: 30px;
}

img.testimonial-toggle {
  z-index: 9;
  display: none;
  position: absolute;
  width: 30px;
  top: 110px;
}

img.testimonial-toggle.right {
  right: 30px;
}

img.testimonial-toggle.left {
  left: 30px;
  transform: rotate(180deg);
}

img.quotes {
  display: block;
  height: 65px;
  margin: 0 0 -65px -50px;
}

div.header img.bot-logo {
  position: relative;
  left: 0;
  top: 0;
  width: 50px;
  margin: 15px 30px 15px 30px;
}

div.header img.mobile-menu-icon {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
}

ul.menu img.menu-close {
  display: none;
  position: absolute;
  top: 30px;
  right: 15px;
  width: 20px;
}

div.faq img.faq-toggle {
  width: 20px;
  position: absolute;
  right: 20px;
  top: 24px;
  transition: transform 0.2s;
}

/* MENU */

div.header ul.menu {
  position: absolute;
  top: 0;
  right: 0;
}

div.footer ul.footer-menu {
  position: static;
  margin: 0;
  padding: 0;
}

div.header ul.menu li, div.footer ul.footer-menu li {
  display: inline-block;
}

div.header ul.menu li a, div.footer ul.footer-menu li a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.5em;
  line-height: 1.6em;
  text-transform: uppercase;
  margin: 15px 30px 15px 30px;
  padding-top: 10px;
  color: var(--bot-white);
  text-decoration: none;
  transition: color 0.3s;
}

div.footer ul.footer-menu li:nth-child(1) a {
  margin-left: 0;
}

div.header.dark ul.menu li a {
  color: var(--bot-black);
}

div.header ul.menu li a:after, div.footer ul.footer-menu li a:after {
  display: block;
  content: '';
  padding-top: 5px;
  border-bottom: solid 1px rgba(255,255,255,1);
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}

div.header.dark ul.menu li a:after {
  border-bottom: solid 1px rgba(0,0,0,1);
}

div.header ul.menu li a:hover:after, div.footer ul.footer-menu li a:hover:after { transform: scaleX(1); }

div.header ul.menu li a:after, div.footer ul.footer-menu li a:after{  transform-origin:  0% 50%; }

/* MEDIA QUERIES */

@media only screen and (max-width: 768px) {

  html, body {
    overflow-x: hidden;
  }

  body {
    font-size: 11px;
  }

  .float-right {
    text-align: center;
  }

  div.float-right {
    width: 100%;
    margin-left: 0;
  }

  button {
    display: block;
    width: 100%;
    text-align: center;
    }

  h1.page-header#baristas {
    font-size: 5.5em;
  }

  h1.page-header#contact-us {
    font-size: 5.5em;
  }


  h1.page-header#for-our {
    font-size: 5em;
  }

  h1.page-header#home-baristas {
    margin-top: 120px;
    font-size: 5em;
  }

  h1.page-header#home-on-tap {
    font-size: 6.5em;
    margin-top: 20px;
  }

  h1.page-header#how-it {
    margin-top: 60px;
    font-size: 6.5em;
  }

  h1.page-header#works {
    font-size: 7em;
  }

  h2 { font-size: 1.6em;}

  p {
    font-size: 1.4em;
  }

  p.two-column {
    column-count: 1;
    column-gap: 30px;
  }

  div.faq p.answer.showing {
    max-height: 380px;
  }

  div.faq p.answer.long.showing {
    max-height: 550px;
  }

  div.header ul.menu {
    display: block;
    position: fixed;
    top: -290px;
    right: 0;
    left: 0;
    height: 260px;
    background: var(--bot-pink);
    padding-top: 20px;
    margin: 0;
    padding: 20px 0 0 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    transition: top 0.2s;
  }

  div.header ul.menu li {
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: solid 1px rgba(255,255,255,0.5);
  }

  div.header ul.menu li:last-child {
    border: none;
  }

  div.header ul.menu li a {
    text-align: center;
  }

  div.header.dark ul.menu li a {
    color: var(--bot-white);
  }

  div.home { height: 570px; }

  div.section .three-up { grid-template-columns: 100%; }

  div.testimonials-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  div.container.testimonials {
    display: grid;
    grid-template-columns: 33% 34% 33%;
    width: 300%;
    margin: 0;
    padding: 0;
    left: 0%;
    overflow-x: hidden;
    transition: left 0.3s;
    max-width: none;
   }

  div.container.testimonials div {
    text-align: center;
    padding: 60px;
   }

  div.right-feature, div.left-feature, div.left-feature.wider {
    margin: 20px 0 20px 0;
  }

  div.socials-wrapper { height: 90px; }

  div.socials {
    position: absolute;
    bottom: 0;
    right: auto;
    left: calc(100% - 270px);
  }

   div.two-up { grid-template-columns: 100%; }

  .two-thirds { max-width: 100%;}

  img.testimonial-image {
    position: relative;
    margin: -100px 0 80px 0;
    padding: 0;
    height: 200px;
    left: auto;
    right: auto;
  }

  img.testimonial-image.barista {
    margin: -140px 0 120px 0;
    height: 200px;
    right: 30px;
    left: auto;
    right: auto;
  }

  img.testimonial-toggle {
    display: block;
  }

  #splash {
    width: 1000px;
    top: 0;
    left: calc(50% - 500px);
  }

  img.quotes {
    display: block;
    height: 65px;
    margin: 0 0 -65px -25px;
  }

  div.header img.bot-logo {
    width: 40px;
    margin: 15px 15px 15px 15px;
  }

  div.header img.mobile-menu-icon {
    display: block;
  }

  ul.menu img.menu-close {
    display: block;
  }

  div.footer ul.footer-menu li {
    display: block;
  }

  div.footer ul.footer-menu li a {
    margin-left: 0;
    margin-top: 0;
  }

  #floating-phone-right, #floating-phone-left, #barista-onboarding { display: none; }

  #barista-shifts {
    width: 450px;
    position: relative;
    left: calc(50% - 225px);
    top: 0;
    margin-bottom: -350px;
  }

  #onboarding {
    width: 450px;
    position: relative;
    left: calc(50% - 225px);
    top: -60px;
    margin-bottom: -350px;
  }

  #desktop {
    width: 450px;
    position: relative;
    left: calc(50% - 225px);
    top: 150px;
    margin-bottom: -150px;
  }

  #create-shift {
    width: 450px;
    position: relative;
    left: calc(50% - 225px);
    top: 0;
    margin-bottom: -300px;
  }

}
