/* @import url("/public/fonts/CeraRoundProBold.otf");
@import url("/public/fonts/CeraRoundProRegular.otf"); */

/* @font-face {
  font-family: "Cera Round Pro";
  src: url("/fonts/CeraRoundProBold.otf");
  font-weight: 700;
}

@font-face {
  font-family: "Cera Round Pro";
  src: url("/fonts/CeraRoundProMedium.otf");
  font-weight: 500;
} */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: fit-content;
  margin: 0;
  padding: 0;
}

p,
span,
h1,
h2,
h3,
h4 {
  color: black;
  margin: 0;
  padding: 0;
}

body {
  /* background: #5867F2; */
  /* background: #1847FF; */
  background: #2752FC;
  /* background: linear-gradient(
    180deg,
    rgba(110, 90, 231, 1) 0%,
    rgba(79, 62, 181, 1) 100%
  ); */
  font-family: Lexend, "Arial";
  font-weight: 400;
  margin: 0 0;
  color: white;
  min-width: 100vw;
}

#main {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  /* height: 100vh; */
}

#head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
  padding-inline: 1em;
  padding-top: 4em;
}

.brand {
  text-align: center;
}

#logo {
  font-size: 6em;
  font-weight: 700;
  text-align: center;
  color: white;
  letter-spacing: -5px;
}

#tagline {
  color: white;
  text-align: center;
  margin-top: 0em;
  font-size: 1.2em;
  width: 90%;
  margin: auto;
  font-weight: 500;
}

#download {
  color: #2752FC;
  display: inline-block;
  background-color: white;
  cursor: pointer;
  margin-top: 4em;
  padding: 1em 2em;
  border-radius: 4px;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
  animation: 0.5s ease-in-out 0s 1 downloadAnim;
}

.carousel {
  margin-top: 4em;
  height: 480px;
  width: 90%;
  position: relative;
}

.carousel-item {
  cursor: pointer;
  transition: all 240ms ease-out;
  transform: scale(0);
  opacity: 0;
  position: absolute;
  z-index: 1;
  /* height: inherit; */
  left: 50%;
  height: 480px;
}

.carousel-item[data-left] {
  opacity: 0.3;
  transform: translate(-90%, 10%) scale(0.7);
}

.carousel-item[data-right] {
  opacity: 0.3;
  transform: translate(-10%, 10%) scale(0.7);
}

.carousel-item[data-center] {
  opacity: 1;
  transform: translate(-50%, 0%) scale(1);
  z-index: 2;
}

.carousel-item > img {
  height: inherit;
  object-fit: contain;
}

.line {
  height: 0.2px;
  background: #9489cf;
  width: 100%;
}

#footer {
  width: 100%;
  padding-bottom: 1em;
  padding-top: 1em;
  padding-inline: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer__content{
  flex-grow: 1;
}

.driver_download {
  color: white;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 2em;
  margin-top: 8em;
  width: 100%;
  text-align: center;
  display: block;
}

#dd_desktop {
  display: none;
}

.container {
  background-color: white;
  padding-inline: 1.4em;
  padding-block: 1em;
  border-radius: 28px;
  box-shadow: 0px 0px 8px 10px #6f5ee4;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px dashed black;
  margin: 1em 0;
  padding: 0;
}

#help_container {
  gap: 8px;
  /* min-width: 360px; */
  max-width: 90%;
  margin-top: 4em;
}

#email {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 0.4em;
}

#help {
  margin-top: 2em;
}

#help_heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

#topics {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.help_topic {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help_topic_heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

#legal {
  font-size: 12px;
  display: flex;
  justify-content: start;
  margin: auto;
  flex-wrap: wrap;
  flex-flow: wrap;
}

.legal_link {
  color: white;
  text-decoration: underline;
  cursor: pointer;
  padding-inline-end: 1em;
  padding-block: 0.4em;
}

#company_social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

#rights {
  font-size: 12px;
}

#company__address {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.669);
}

#company__phone {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.669);
}

.social_icon {
  width: 20px;
  height: 20px;
}

@keyframes downloadAnim {
  0% {
    padding: 0.4em 0em;
  }

  50% {
    scale: 1.1;
    padding: 1.4em 2em;
  }

  100% {
    padding: 1em 2em;
  }
}

#download:hover {
  transform: scale(1.1);
}

@media only screen and (min-width: 600px) {
  .carousel {
    height: 520px;
  }

  #help_container {
    max-width: 500px;
  }
}

@media only screen and (min-width: 1000px) {
  #logo {
    font-size: 8em;
  }

  #head {
    flex-direction: row;
    padding-inline: 8em;
    padding-top: 1.24em;
    align-items: center;
  }

  #main {
    padding-top: 1em;
  }

  .carousel {
    margin-top: 0;
    height: 640px;
    width: 1200px;
  }

  .carousel-item {
    height: 640px;
  }

  #dd_phone {
    display: none;
  }

  #dd_desktop {
    display: block;
  }

  #help_container {
    max-width: 500px;
  }
}
