@import url("./fonts/index.css");

* {
  font-family: Gilroy, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  outline: none;
}

html, body {
  font-family: Gilroy, sans-serif;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #252628;
  background-color: #FFFFFF;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100vh;
  padding: 0;
  margin: 0;
  overflow: auto;
}

h2 {
  font-size: 24px;
  line-height: 28px;
}

h3 {
  font-size: 18px;
  line-height: 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

b, strong {
  font-weight: 600;
}

main {
  width: 100%;
  height: 100%;
  overflow: auto;
  min-height: fit-content;
}

.android-container, .ios-container {
  display: none;
  width: 100%;
  min-height: fit-content;
  height: 100%;
}

.deeplink {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  padding: 24px 16px;
}

.header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deeplink-image {
  position: relative;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  margin: -24px -16px 0;
  padding-top: 56px;
  overflow: hidden;
}

.android-container .deeplink-image {
  height: 331px;
}

.ios-container .header {
  margin-top: auto;
}

.deeplink-image img {
  z-index: 1;
  max-width: 100%;
}

.deeplink-image::before,
.deeplink-image::after {
  content: "";
  position: absolute;
  width: 66%;
  height: 178px;
  border-radius: 50%;
  filter: blur(100px);
}

.deeplink-image::before {
  top: 50%;
  left: -50%;
  rotate: 37deg;
  translate: 50% -50%;
  background-color: #D9F0AB;
}

.deeplink-image::after {
  top: 0;
  right: -15%;
  rotate: 29deg;
  background-color: #AAA0F8;
}

.deeplink-image-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 115px;
  background: linear-gradient(180deg,
  rgba(255, 255, 255, 0) 0%,
  rgba(255, 255, 255, 52%) 69%,
  rgba(255, 255, 255, 100%) 100%
  );
}

.header :is(h2, p) {
  margin-bottom: 0;
}

.ios-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.ios-links > * {
  width: 100%;
}

/* ------ Slider ------ */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  align-items: flex-start;
  height: 100%;
  transition: transform 0.5s;
}

.slider-item {
  height: 100%;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  transition: height 0.5s linear;
}

.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.slider-nav span {
  display: block;
  background-color: #DEDEDE;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.slider-nav span.active {
  display: block;
  background-color: #252628;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
/* -----! Slider !----- */

/* ------ Card ------  */
.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cards-wrapper:first-child {
  margin-top: 0;
}

.el-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #F4F4F4;
  width: 100%;
  padding: 20px 24px 24px;
  border-radius: 8px;
}

.el-card-header h3 {
  margin-bottom: 0;
}

.el-card-header p {
  font-size: 12px;
  line-height: 16px;
  color: #6D6D6D;
}

.el-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.el-card-body img {
  width: 56px;
  height: 56px;
}

@media screen and (min-width: 650px) {
  .cards-wrapper, .ios-links {
    flex-direction: row;
  }
}
/* -----! Card !-----  */

/* ------ Button ------ */
.el-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #FFFFFF;
  background-color: #82BF00;
  border: 0;
  padding: 16px;
  border-radius: 8px;
  outline: none;
}

.el-button.type-secondary {
  color: #252628;
  background-color: #FFFFFF;
}

.el-button.type-tertiary {
  color: #252628;
  background-color: #EFEFEF;
}
/* -----! Button !----- */