@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: BasteleurFont;
  src: url("./fonts/Basteleur-Bold.otf");
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(50, 35, 147, 0.9);
  background-color: #12105B;
}

body::-webkit-scrollbar {
  width: 12px;
  background-color: #12105B;
}

body::-webkit-scrollbar-thumb {
  background-color: #312393;
  background-image: -webkit-linear-gradient(90deg,
      transparent,
      rgba(0, 0, 0, 0.4) 50%,
      transparent,
      transparent)
}

:root {
  --primary-color: #12105B;
  --secondary-color: #8e44ad;
  --text-color: #ffffff;
}

body {
  font-family: "Roboto", sans-serif !important;
  margin: 0;
  padding: 0;
  background-color: var(--primary-color);
  color: var(--text-color);
}

.btn {
  padding: 5px 0px 5px 10px;
  border-radius: 10px;
}

header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
}

header {
  position: absolute;
  z-index: 100;
  width: 100%;
}

.hero {
  position: relative;
  text-align: center;
  background-image: url(../img/hero-small.webp);
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-image {
  width: 100%;
}

.disponible {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #12105B;
  padding: 10px;
  border-radius: 10px;
}

.app-description {
  text-align: center;
  padding: 0 40px;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.features {
  display: flex;
  background-color: #312393;
  padding: 100px 0;
  border-radius: 20px;
}

.feature {
  width: 350px;
  margin: 40px;
}

footer {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
}

.btn_apple {
  width: 130px;
  background-color: #515172;
}

.btn_android {
  width: 130px;
  background-color: #504EF7;
  padding: 5px 0px 5px 0px;
}

.logo_android_navbar {
  width: 20px;
  height: 22px;
}

.logo_apple_navbar {
  width: 18px;
  height: 22px;
  max-width: none;
}

.title_app_cartomancie {
  font-family: BasteleurFont;
}

.title_feature {
  font-family: BasteleurFont;
}

.classic_margin {
  margin-top: 50px;
  margin-bottom: 50px;
}

.text {
  font-family: "Times New Roman", serif;
  font-size: 36px;
  font-weight: bold;
  color: white;
  text-align: center;
  line-height: 1.2;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11%;
  height: 10px;
  background-color: #7372fc;
  z-index: -1;
}



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

  .btn {
    height: 55px;
  }

  .app-description {
    padding: 0 20px;
  }

  .features {
    border-radius: 10px;
    padding: 20px 20px;
  }

  .img_features {
    margin-right: 0 !important;
  }

  .feature {
    width: 100%;
    margin: 40px 0;
  }

  .bloc_list_feature {
    margin-left: 0 !important;
  }

  .title_app_cartomancie {
    font-size: 1.5rem !important;
  }

  .classic_margin {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  header {
    position: initial;
    padding: 3%;
  }

  .hero {
    margin-top: 5% !important;
    height: 600px;
  }

  header .btn_android {
    width: 110px;
  }

  header .logo {
    width: 80px;
  }

}

@media screen and (min-width: 768px) {
  .mobile {
    display: none !important;
  }
}