/****** **/
/* fonts */
/*********/

@font-face {
  font-family: "Nunito Sans";
  src: url("/fonts/NunitoSans-Regular.ttf");
}

@font-face {
  font-family: "Didact Gothic Regular";
  src: url("/fonts/DidactGothic-Regular.ttf");
}

/************/
/* elements */
/************/

html {
  font-family: "Didact Gothic Regular", "Bitstream Vera Serif", sans-serif;
  color: white;
}

a, a:hover, a:focus, a:active, a:visited {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0;
  font-style: normal;
  text-align: center;
  color: white;
}

h1, h2 {
  font-size: 56px;
  line-height: 56px;
  margin: 100px 0 40px;
  max-width: 875px;
  font-weight: normal;
  letter-spacing: 0.02em;
}

h4, p {
  font-size: 20px;
  line-height: 28px;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: white;
}

footer {
  justify-content: space-between;
  display: flex;
}

footer a.link {
  text-transform: uppercase;
  color: #1f7d97;
  border-bottom: 1px solid white;
  padding: 5px 0;
}

footer a:hover, footer a:focus, footer a:active {
  color: #b14cb8;
  border-bottom: 1px solid #adadad;
  border-top: none;
}

/***********/
/* classes */
/***********/

div.body {
  background: linear-gradient(-180deg,#491e4c 0,#7e3483 100%) #b14cb8;
  color: white;
}

.container-small {
  max-width: 100%;
}

.center-grid {
  display: grid;
  margin: 0;
  place-items: center center;
}

.white-banner {
  background-color: white;
  color: #4a4a4a;
}

.white-banner h3 {
  color: #4a4a4a;

}

.white-banner h4, .white-banner p {
  color: #636363;
}

.pad-bottom-large {
  padding-bottom: 100px;
}

.pad-bottom-small {
  padding-bottom: 40px;
}

.pad-top {
  padding-top: 40px;
}

.space-top {
  margin-top: 140px;
}

.columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 40px;
  padding: 40px 0;
}

.column-aside {
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.column-aside > h3 {
  text-align: left;
}

.column-aside > p {
  margin: 23px 0;
  text-align: left;
}

.column-content {
  box-shadow: 0 0 10px 1px rgba(177, 76, 184, 0.5);
  border-radius: 10px;
  padding: 20px;
  font-size: 15px;
  line-height: 1.5em;
}

.mobile-reverse > .column-divider {
  order: 2;
}

span.heart {
  color: #b14cb8;
}

span.label {
  letter-spacing: 0.1em;
  font-size: 13px;
  padding: .2em .6em .2em;
  font-weight: normal;
}

.label-primary {
  background-color: #27a1c1;
}

/*the arrows sit low*/
.column-content span.label.shift-up {
  padding: .15em .6em .35em;
}

span.shift-up {
  padding: 0 2px 4px;
  display: inline-block;
  vertical-align: middle;
}

.shift-down {
  padding: 2px 4px 0;
  display: inline-block;
  vertical-align: middle;
}

.column-content > li {
  margin-top: 20px;
}

.column-content > li:first-child {
  margin-top: 0;
}

.column-content.inverse {
  box-shadow: inset 0 0 10px 1px rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.09);
}

.column-content.inverse span.label {
  background-color: white;
  color: #4a4a4a;
}

.column-content.inverse span.label-primary {
  background-color: #6cc9e1;
}

.footer-mobile {
  margin-top: 0;
}

/*******/
/* ids */
/*******/

#logo {
  cursor: default;
}

#no-download-button, #download-button {
  min-width: 200px;
  margin: 35px 0 10px;
}

#download-button {
  background-color: #27a1c1;
  border-color: #27a1c1;
}

#no-download-button  {
  background-color: #ec971f;
  border-color: #ec971f;
  color: white;
}

#no-download-button:hover  {
  background-color: white;
  border-color: white;
  color: #491e4c;
}

#download-button:hover {
  background-color: white;
  border-color: white;
  color: #763782;
}

#no-download-section {
  display: none;
  padding: 0;
  margin: 0 auto;
}

#download-section p {
  text-align: center;
  text-transform: uppercase;
  color: #ccc;
  letter-spacing: 0.1em;
}

#steps {
  display: grid;
  margin-top: 50px;
  width: 100%;
}

#steps > section {
  display: grid;
}

#steps > section > aside {
  width: 54px;
  height: 54px;
  border-radius: 27px;
  border: 2px solid #AEA1B0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}

#steps > section > div > header {
  margin-top: 12px;
  font-size: 22px;
}

#steps > section > div > p {
  font-size: 16px;
  line-height: 1.4em;
}

#compatibility {
  color: white;
  position: relative;
}

#compatibility > .icon {
  position: absolute;
  top: -60px;
  left: calc(50% - 60px);
  border-radius: 50%;
  box-shadow: 0 15px 26px 0 rgba(177, 76, 184,.5);
  width: 120px;
  height: 120px;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

#compatibility > h1 {
  margin-top: 100px;
}

#logo-marketing {
  display: inline-block;
}

#header-bar {
  margin: 25px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#logo > img {
  margin-top: -5px; /* for visual centering */
}

#logo > span {
  font-family: "Nunito Sans", "Bitstream Vera Serif", Helvetica, sans-serif;
  color: #3A183D;
  letter-spacing: 0.03em;
  font-size: 20px;
  font-weight: bold;
}

#app-icons {
  display: flex;
  width: 100%;
  justify-content: space-between;
  text-align: center;
  margin-bottom: 30px;
}

#app-icons div.image-container {
  height: 64px;
  width: 64px;
  transition: font-weight 400s, font-size 400s, background-color 350ms, box-shadow 400ms;
}

#app-icons a:hover, #app-icons a:focus {
  font-weight: 500;
  font-size: 15px;
}

#app-icons figure div.image-container {
  border-radius: 50%;
}

#app-icons a:hover div.image-container, #app-icons a:focus div.image-container {
  background-color: rgba(177, 76, 184,.3);
  box-shadow: 0 0 18px 9px rgba(177, 76, 184,.3);
}

#app-icons img {
  height: 64px;
  width: 64px;
}

#app-icons figure {
  width: 64px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

/*the slack image is smaller */
#app-icons div.slack > img {
  height: 114px;
  width: 114px;
  margin: -30px;
}

/*the msteams image is larger */
#app-icons div.msteams > img {
  height: 60px;
  width: 60px;
}

#originate-attribution {
  display: inline-block;
  position: relative;
}

#originate-attribution > a, #originate-attribution > a:visited, #originate-attribution > a:hover {
  color: #4a4a4a;
  border-bottom: none;
}

#originate-attribution > a img {
  position: absolute;
  width: 94px;
  top: 20px;
  left: 0;
  height: unset;
}

#originate-attribution > a > img.hover {
  opacity: 0;
}

#originate-attribution > a:hover, #originate-attribution >  a:focus, #originate-attribution > a:active {
  color: black;
  text-decoration: none;
}

#originate-attribution > a:hover > img.hover {
  opacity: 1;
}

#originate-attribution > a:hover span, #originate-attribution > a:hover span {
  color: crimson;
}

/**************/
/* directions */
/**************/

footer.directions {
  padding-top: 0;
  display: block;
}

.hide {
  display: none;
}

.directions-controller {
  cursor: pointer;
}

.directions {
  display: block;
  background: #fff;
  overflow: hidden;
  transition: all .5s ease-in-out;
  line-height: 0;
  padding: 0 1em;
  color: transparent;
  margin: 0;
}

.directions a.link {
  color: transparent;
}

.directions-expanded {
  line-height: 2;
  padding-top: 1em;
  padding-bottom: 1em;
  height: unset;
}

.directions-expanded a.link {
  color: #1f7d97;
}

.directions-expanded a.link:hover, .directions-expanded a:focus, .directions-expanded a:active {
  color: #b14cb8;
}

/**************************/
/* responsive breakpoints */
/**************************/

@media (min-width: 1200px) {
  .container-small {
    width: 960px;
  }
}

/*this is for the compatibility section on an iPhone SE*/
@media (max-width: 374.98px) {
  #app-icons div.image-container {
    height: 40px;
    width: 40px;
    flex-wrap: wrap;
  }

  #app-icons img {
    height: 40px;
    width: 40px;
  }

  #app-icons figure {
    width: 50px;
  }

  /*the slack image is smaller */
  #app-icons > figure > div.slack > img {
    height: 70px;
    width: 70px;
    margin: -15px;
  }

  /*the msteams image is larger */
  #app-icons > figure > div.msteams > img {
    height: 35px;
    width: 35px;
  }
}

/**********/
/* mobile */
/**********/
@media (max-width: 767.98px) {
  .footer-mobile {
    display: block;
  }

  .footer-desktop {
    display: none;
  }

  .directions ul {
    padding-left: 0;
  }

  footer {
    flex-direction: column;
    margin: 10px 0;
    align-items: normal;
    font-size: 16px;
  }

  footer > div:last-child {
    margin: 10px 0 0;
  }

  footer a.link {
    border-top: 1px solid white;
    padding: 10px 0;
  }

  footer a:hover, footer a:focus, footer a:active {
    border-top: 1px solid #adadad;
  }

  h1, h2 {
    font-size: 43px;
    line-height: 50px;
  }

  h1 {
    margin: 30px 0;
  }

  h4 {
    font-size: 22px;
    line-height: 30px;
  }

  .columns-2 {
    grid-template-columns: 1fr;
  }

  .mobile-reverse.columns-2 > .column-content {
    order: 3;
  }

  .mobile-reverse.columns-2 > .column-aside {
    order: 1;
  }

  #steps {
    grid-template-columns: 1fr;
  }

  #steps > section {
    grid-template-columns: 1fr 8fr;
    grid-column-gap: 20px;
    margin-top: 20px;
  }

  #steps > section:first-child {
    margin-top: unset;
  }

  #steps > section > div > header {
    margin-bottom: 5px;
  }

  #originate-attribution {
    text-align: left;
    margin-bottom: 10px;
    font-size: 16px;
    height: 24px;
  }

  #originate-attribution > a img {
    width: unset;
    left: 113px;
    top: 4px;
    height: 17px;
  }

  #app-icons > a:nth-child(even) {
    display: none;
  }
}

/***********/
/* desktop */
/***********/
@media (min-width: 768px) {
  footer {
    flex-direction: row;
    align-items: center;
  }

  .directions ul {
    padding-left: 135px;
  }

  .footer-mobile {
    display: none;
  }

  .footer-desktop {
    display: inline-block;
  }

  .columns-2 {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-reverse.columns-2 > .column-content {
    order: 1;
  }

  .mobile-reverse.columns-2 > .column-aside {
    order: 2;
  }

  #steps {
    grid-template-columns: 1fr 1fr 1fr;
  }

  #steps > section {
    grid-template-columns: 1fr 5fr;
    grid-column-gap: 20px;
    margin-top: unset;
  }

  #steps > section > div > header {
    margin-bottom: 10px;
  }

  #originate-attribution {
    font-size: 14px;
    text-align: center;
    height: 41px;
  }
}

/* outliers to accommodate the support button */
@media (min-width: 768px) and (max-width: 1189.98px) {
  footer.main {
    margin: 10px 0 50px;
  }

  footer.main-expanded {
    margin: 10px 0 0;
  }
}

@media (min-width: 1190px) {
  footer {
    margin: 10px 0;
  }
}
