/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Universal
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* Apply styling to all elements (including their `::before` and `::after`
pseudo-elements). One common use of this selector is to apply a custom
`box-sizing`, e.g. as explained here: https://css-tricks.com/?page_id=175473 */
*,
*::before,
*::after {
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Root
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

:root {
  --black: #121212;
  --bg-black: #343434;
  --bg-white: #fcfcfc;
  --truffl-ocean: #33becc;
  --truffl-ocean-disabled: #b1e1e7;
  --like-blue: #62c3e6;
  --follow-green: #7dd5c8;
  --add-red: #ff8e8c;
  --bell-yellow: #ffc680;
  --dark-gray-cyan: #4c5b5c;
}

html {
  background-color: var(--truffl-ocean);
  display: flex;
  justify-content: center;
  height: 100vh;
  font-size: 16px !important;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
::-webkit-scrollbar {
  display: none;
}

body {
  background-color: var(--truffl-ocean);
  color: var(--black);
  overflow-x: hidden;
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
  width: 100%;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Content sectioning
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
header {
  align-items: center;
  background-color: var(--truffl-ocean);
  border-bottom: 0px solid #fff;
  display: flex;
  height: 80px;
  justify-content: space-between;
  position: fixed;
  padding: 0 20px;
  transition: 0.2s;
  width: 100%;
  z-index: 100;
}

header > image {
  height: 40;
}

header > .button {
  color: var(--bg-white);
  font-size: medium;
  font-weight: 600;
  margin-top: 4px;
}

footer {
  align-items: center;
  background-color: black;
  color: var(--bg-white);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1.75rem 0.5rem 1.25rem;
}

footer .footer-link {
  color: var(--bg-white);
  padding: 0.25rem 0.5rem;
}

footer a {
  font-weight: lighter;
}

footer a:hover {
  opacity: 0.8;
}

@media only screen and (max-width: 600px) {
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer .socials {
    order: -1;
  }
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Inline text semantics
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1 {
  font-weight: 600;
  font-size: 2.8rem;
}

h2 {
  font-size: 2.5rem;
}

a {
}
a:visited {
}
a:hover {
}
a:active {
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Styles
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.white {
  color: white;
}
.black {
  color: var(--black);
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.pos-relative {
  position: relative;
}

@media screen and (max-width: 768px) {
  .mobile-hide {
    display: none;
  }
}

.button:hover {
  opacity: 0.8;
  cursor: pointer;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Hero
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.hero-container {
  height: 60vh;
  min-height: 200px;
  margin-top: 20vh;
  width: 100%;
}

.hero__header {
  display: flex;
}

.hero-container > .button {
  background-color: black;
  border-radius: 100px;
  height: 40px;
  margin-top: 32px;
  margin-bottom: -16px;
  width: 100px;
}

.hero-container span {
  color: var(--bg-white);
  font-size: medium;
  font-weight: 600;
}

@media only screen and (max-width: 600px) {
  .hero-container {
    margin-top: 10vh;
  }
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Demo
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.demo-container {
  align-items: center;
  height: 90vh;
  min-height: 880px;
  overflow: hidden;
  position: relative;
}

.demo__photo {
  height: 160px;
  object-fit: cover;
  position: absolute;
  width: 160px;
  transform: translateX(0);
}

.demo__photo.p0 {
  top: 1.75rem;
}
.demo__photo.p1 {
  top: 12.75rem;
}
.demo__photo.p2 {
  top: 23.75rem;
  z-index: -4;
}

.slide-in {
  transition: all 0.5s;
  transform: translateX(12rem);
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Download
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.download-container {
  align-items: center;
  margin-top: 100px;
  height: 400px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.download-container > .header {
  margin-bottom: 32px;
}

.download-container > .download__photo {
  border-radius: 10px;
  border: 12px solid #fff;
  height: 400px;
  margin-top: 100px;
  object-fit: cover;
  position: absolute;
  width: 300px;
}

.download__photo.front {
  transform: rotate(-10deg) translateX(-88px);
  z-index: -1;
}

.download__photo.right {
  transform: rotate(-20deg) translateX(400px) translateY(80px);
  z-index: -2;
}

.download__photo.far-right {
  transform: rotate(24deg) translateX(600px) translateY(-200px);
  z-index: -1;
}

.download__photo.far-far-right {
  transform: rotate(4deg) translateX(900px) translateY(-100px);
  z-index: -2;
}

.download__photo.left {
  object-fit: cover;
  overflow: hidden;
  transform: rotate(-16deg) translateX(-320px) translateY(-100px);
  z-index: -3;
}

.download__photo.left img {
  transform: scale(1.2);
  width: 100%;
}

.badge-container {
  margin-right: -160px;
  margin-top: 150px;
}

.app-store-badge {
  width: 180px;
  object-fit: cover;
}

.play-store-badge {
  width: 207px;
  object-fit: cover;
}
