@import "./shared.css";
@import "./nav.css";
@import "./slide-show.css";

.vh-100 {
  min-height: 100vh;
  /* display: grid;
  align-items: center; */
}

.vh-100-desktop {
  padding-top: 6rem;
  padding-bottom: 0rem;
}

@media only screen and (min-width: 480px) {
  .vh-100-desktop {
    padding-top: 0rem;
    min-height: 100vh;
    display: grid;
    align-items: center;
  }
}

.make-rounded {
  border: 4px var(--bg-grey-dark);
  box-sizing: border-box;
  border-radius: 15px;
}
.curser-image {
  width: 100px;
  height: 100px;
}

/* Key visual */

.wrap-key-visual {
  grid-template-rows: auto 1fr;
}

.section-key-visual {
  text-align: center;
}

.section-key-visual img {
  width: 60%;
  padding-bottom: 0;
}

.darr {
  font-size: 2rem;
  padding-top: 1rem;
}

/* Key text */

.section-key-text {
  text-align: center;
  /* font-size: 8rem; */
  font-weight: 600;
  line-height: calc(48em / 42);
  letter-spacing: -0.035em;
  padding-top: 12rem;
  padding-bottom: 8rem;
  color: rgb(62, 8, 8);
}

.mobile-padding-adjust {
  padding-top: 0rem !important;
}

@media only screen and (max-width: 480px) {
  .section-key-text br {
    display: none;
  }
  .section-key-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: calc(48em / 42);
    letter-spacing: -0.035em;
    padding-bottom: 4rem;
  }
  .hero-text {
    font-size: 5rem;
    line-height: 100%;
  }
}

/* Being together */
.section-being-together {
  padding-top: 8rem;
  padding-bottom: 0rem;
}

@media only screen and (max-width: 480px) {
  .section-being-together {
    padding-top: 4.8rem;
    padding-bottom: 0rem;
  }

  .curser-image {
    visibility: hidden;
  }
  .hide-on-small-screens {
    visibility: hidden;
  }
  .split {
    width: 100%;
    display: unset;
  }
  .half-on-m {
    width: 100%;
  }
}

.nopadding {
  padding-bottom: 0 !important;
}

/* Facedock */

.facedock {
  transform: scale(-0);
  border: 1.5px dashed var(--text-white-transparent);
  border-radius: 4px;
  width: 420px;
  height: 280px;
  background: rgba(21, 21, 21);
  position: relative;
  z-index: 1;
  justify-self: center;
  align-self: center;
  transition: transform 0.33s;
  transition-timing-function: cubic-bezier(0.32, 0.08, 0.24, 1);
  transition-delay: 0.15s;
}

.wrap-video-bg {
  display: grid;
  justify-items: center;
}

.section-video-bg {
  margin-left: -50%;
}

.section-video-bg.always {
  position: absolute;
  top: 0;
  bottom: 0;
  max-width: var(--width-main);
  display: grid;
  align-items: center;
  margin-left: 0;
}

@media only screen and (min-width: 480px) {
  .section-video-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    max-width: var(--width-main);
    display: grid;
    align-items: center;
    margin-left: 0;
  }

  .section-facedock {
    grid-template-columns: 1fr 1.5fr;
    margin: 10px 0;
  }
  .split {
    display: flex;
    width: 100%;
  }
  .half-on-m {
    width: 50%;
  }
}

.section-facedock-slider {
  text-align: center;
}

/* Browsing */
@media only screen and (min-width: 480px) {
  .min-h-4-lines {
    min-height: calc(10rem * 4 / 3);
  }
  .split {
    display: flex;
    width: 100%;
  }
}

.section-browser {
  text-align: center;
}

.wrap-browser-iframes {
  padding: 2rem 0;
  margin: 0;
  overflow-x: hidden;
  transform: translateZ(0);
}

@media only screen and (max-width: 480px) {
  .section-browser-iframes {
    transform: scale(0.75);
  }
}

.section-browser-iframes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: auto;
  grid-gap: 5rem;
  position: relative;
  animation: browser 60s linear infinite;
  margin-left: -72px;
}

@media (prefers-reduced-motion) {
  .section-browser-iframes {
    animation: none;
  }
}

@keyframes browser {
  0% {
    margin-left: -80px;
  }

  100% {
    margin-left: -1874px;
  }
}

.section-browser-iframes img {
  height: 40vh;
  width: auto;
}

.image-border {
  border: 1px solid #3e0808;
  box-sizing: border-box;
  border-radius: 15px;
}

.section-browser-details {
  padding-top: var(--pad-s);
  display: grid;
  grid-template-rows: 1fr 1fr;
  column-gap: 8rem;
}

/* Use cases */

.section-use-case:not(#section-use-case-end) {
  padding-bottom: var(--pad-s);
}

#section-use-case-end {
  padding-bottom: 12rem;
}

.use-case-item {
  margin: 0 auto;
}

.use-case-item .h3-sub {
  padding-bottom: 1rem;
}

.fixable-container {
  margin: 0 auto;
  max-width: 960px;
}

.fixable-header {
  display: grid;
  width: 100%;
  grid-auto-rows: 1fr;
  color: white;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}

@media only screen and (min-width: 580px) {
  .fixable-header {
    grid-template-columns: auto 1fr;
  }
}

.use-case-rotary {
  display: inline-block;
  height: 100%;
  vertical-align: top;
  position: relative;
}

.rotary {
  position: absolute;
  top: 100%;
  opacity: 0;
}

.rotary-in {
  top: 0%;
  opacity: 1;
}

.rotary-out {
  top: -100%;
  opacity: 0;
}

.fixed .fixable-header {
  position: fixed;
  top: 6rem;
}

@media only screen and (max-width: 480px) {
  .fixed .fixable-header {
    top: 3rem;
  }

  #section-use-case-start {
    padding-top: 4rem;
  }

  .section-selfie {
    display: grid;
    align-content: space-between;
    height: 24rem;
    width: 100%;
  }

  .section-selfie video {
    margin: 0rem 0;
  }
}

@media only screen and (max-width: 960px) {
  .fixed .fixable-header {
    left: 0;
    right: 0;
    padding: 0 var(--pad-s);
  }

  #section-use-case-copy {
    display: block !important;
  }
  #section-use-case-copy > * {
    width: auto !important;
  }
}

.fix-keep-height {
  display: none;
}

.fixed .fix-keep-height {
  display: inline;
}

@media (prefers-reduced-motion) {
  .reduced-motion-hide {
    display: none;
  }
  .reduced-motion-show {
    opacity: 1;
  }
}

/* For you */

.section-selfie {
  display: grid;
  align-content: space-between;
  height: 28rem;
  width: 100%;
}

.section-selfie-video {
  height: 100%;
}

.max-width-p {
  max-width: 54ch;
}

.section-future {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section-team {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Future */
.section-future .h3 {
  font-family: var(--font-serif);
}

.contact-us {
  text-align: left;
}

.contact-us a {
  color: black;
  /* background: white; */
  border-radius: 999rem;
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1em;
  display: inline-block;
}

.contact-us a:hover {
  color: var(--bg-yellow);
}

a {
  text-decoration: none;
}

a .create-button {
  color: var(--bg-black);
}

.create-button {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  align-items: center;
  text-align: center;
  background: var(--bg-red);
  color: var(--bg-black);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 24px 20px;
}

.get-button:hover {
  background: var(--bg-red);
  color: var(--text-gray);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  text-decoration: none;
}
a .create-button {
  color: var(--bg-black);
}

.get-button {
  align-items: center;
  text-align: center;
  background: var(--bg-red);
  color: var(--bg-black);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 24px 20px;
  width: 518px;
  height: 124px;
}

.get-button:hover {
  background: var(--bg-red);
  color: var(--text-gray);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  text-decoration: none;
}

.wrap-video-bg .stroke-button {
  border-color: var(--bg-black);
  color: var(--bg-black);
  display: block;
}

.wrap-video-bg .stroke-button:hover {
  background: var(--bg-grey-dark);
  color: var(--bg-off-white);
}

video {
  border-radius: 15px;
  overflow: hidden;
}

/* Team */
.section-team a {
  color: black;
  /* background: white; */
  border-radius: 999rem;
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1em;
  display: inline-block;
}

.section-team a:hover {
  color: var(--bg-red);
}

.section-team .h3 {
  font-family: var(--font-serif);
}

.facedock-helper {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 130%;
  opacity: 0.6;
}

.ready-to-make {
  background-image: url("/assets/sparkles.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-size: 800px 500px;
  background-position: center center;
}
