/*
  Orange: f39200
  Red: e6407a
  Green: 3aaa35
  Blue: 009fe3
*/

@keyframes bounce {
  0% {
    transform: translate(-50%, 0%);
  }
  100% {
    transform: translate(-50%, -60%);
  }
}
@keyframes swing {
  0% {
    transform: perspective(300px) rotateX(0deg) rotateY(-0deg) rotateZ(0deg)
      translateY(0%);
  }
  100% {
    transform: perspective(300px) rotateX(0deg) rotateY(-0deg) rotateZ(0deg)
      translateY(-3%);
  }
}

body {
  font-size: 1.3rem;
  font-family: "Open Sans", sans-serif;
}
h2 {
  font-size: 3rem;
}
a {
  color: inherit;
}
a:hover {
  color: #e6407a;
}
header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
  padding: 15px 0;
  transition: all 300ms;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0);
}
header.sps--blw {
  background-color: rgba(40, 40, 40, 0.97);
  color: #fff;
  padding: 10px 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}
header .logo {
  display: inline-block;
  position: relative;
  transition: all 300ms;
}
header .logo img {
  display: block;
  height: 60px;
  transition: all 300ms;
}
/* header .logo img:last-child {
  opacity: 0;
} */
header.sps--blw .logo img {
  height: 50px;
}
/* header.sps--blw .logo img:first-child {
  opacity: 0;
}
header.sps--blw .logo img:last-child {
  opacity: 1;
} */
header nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
header nav a {
  display: block;
  margin-left: 30px;
  text-decoration: none;
  border-bottom: 2px transparent solid;
  padding-bottom: 2px;
  transition: all 300ms;
}
header nav a.active {
  border-color: #e6407a;
}

section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 90px 0;
}
section:not(:first-of-type) {
  border-top: 8px #e6407a solid;
}

section .arrow {
  position: absolute;
  bottom: 15px;
  left: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 100%;
  color: #333;
  animation-name: bounce;
  animation-direction: alternate;
  animation-duration: 1500ms;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  transform: translate(-50%, 0%);
  will-change: transform;
  text-decoration: none;
}

section .header {
  text-align: center;
  margin: 0 0 30px;
}

section .footer {
  text-align: center;
  margin: 60px 0 0;
  font-size: 80%;
}
section .footer p {
  opacity: 0.8;
}

.container {
  max-width: 1000px;
}
.phone {
  width: 287px;
  height: 723px;
  position: relative;
  display: inline-block;
  background-image: url("../img/phone.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-top: 86px;
  padding-bottom: 136px;
}

.phone img {
  width: 240px;
  height: auto;
  margin: 0 10px;
}

section#intro {
  background-color: #212121;
  background-image: url("../img/background.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}
section#intro p.big {
  font-size: 3rem;
  line-height: 1.2;
}
section#intro .phone {
  animation-name: swing;
  animation-direction: alternate;
  animation-duration: 3s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  will-change: transform;
  margin-left: 20px;
  margin-top: 20px;
}

section#preview {
  background-color: #eee;
  background-image: url("../img/tile.png");
  background-position: center;
}
section#preview button {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  box-shadow: 0 0 5px rgb(0 0 0 / 30%);
  border-radius: 100%;
  color: #f5f5f5;
  border: none;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
  padding-bottom: 5px;
  transition: all 300ms;
  margin: 0 auto 81px;
}
section#preview button:hover {
  background: #e6407a;
}
section#preview #phone {
  width: 287px;
  height: 723px;
  margin: 0 auto;
  perspective: 4000px;
  position: relative;
}
section#preview #phone .screens {
  width: 287px;
  height: 723px;
  top: 0;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 800ms;
}
section#preview #phone .screens img {
  position: absolute;
  top: 84px;
  left: 23px;
  transition: opacity 1s, transform 1s;
  backface-visibility: hidden;
}

section#content {
  background-color: #212121;
  background-image: url("../img/background.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}
section#content .box {
  background-color: rgba(50, 50, 50, 0.7);
  padding: 30px;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  font-size: 90%;
}
section#content .box h3 {
  margin-top: 3px;
  font-size: 32px;
}
section#content .box .icon {
  float: left;
  width: 45px;
  height: 45px;
  margin-right: 15px;
  margin-bottom: 15px;
}
section#content .box .icon img {
  width: 100%;
}
section#content .box p {
  clear: both;
  margin-bottom: 0;
}
.stores a {
  display: inline-block;
}

.stores img {
  height: 60px;
  display: inline-block;
  margin: 0 10px 30px;
}

@media (max-width: 800px) {
  section#preview #phone {
    overflow: hidden;
  }
}
