@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
  --background-body-color: #232323;
  --background-body-color-light: #f6f6f6;
  --color: #fff;
  --color-dark: #000;
  --font-color: #969ba0;
  --font-family: "Inter", sans-serif;
  --font-optical-sizing: auto;
  --font-weight: 500;
  --font-style: normal;
  --font-variation-settings: "slnt" 0;
  --font-size-default: 16px;
  --header1: 48px;
  --header2: 40px;
  --header3: 32px;
  --header4: 28px;
  --header5: 22px;
  --header6: 18px;
  --primary: #2258bf;
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --font-weight-bolder: 900;
  --font-weight-bold: 800;
  --font-weight-semibold: 600;
  --font-weight-normal: 500;
  --section-background-color: rgb(17, 24, 39);
}

html,
body {
  /* overflow-x: hidden; */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--font-color);
  height: 100vh;
  width: 100vw;
  background-color: var(--background-body-color-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-dark);
}

main.show {
  opacity: 1;
}

main {
  opacity: 0;
  transition: all 0.25s ease-out;
  overflow: hidden;
}

.navbar {
  /* background-color: rgb(17, 24, 39); */
  background-color: #fff;
  padding: 1em 5em;
}

.text-white {
  color: var(--color);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand-text {
  color: var(--color);
}

.navbar-brand-text p {
  font-size: 14px;
}

.navbar-brand img {
  width: 150px;
}

section {
  padding: 5em;
  margin: 0.4em 0;
}

section.hero {
  padding: 5em 10em;
}

section.services {
  padding: 3em 7em;
}

section.services h2.services__title {
  font-size: var(--header2);
  font-weight: var(--font-weight-bold);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.8rem;
}

section.services h3.services__title {
  font-size: var(--header3);
  font-weight: var(--font-weight-bold);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1rem;
}

section.services p.services__subtitle {
  text-align: center;
  color: var(--secondary-color);
}

section.services .services__content {
  margin-top: 6em;
}

section.footer {
  height: 100px;
  padding: 2em;
}

.card__hero {
  padding: 1em 2em;
}

.card__hero .hero__title {
  font-size: var(--header1);
  font-weight: var(--font-weight-bold);
}

.card__hero p.hero__subtitle {
  font-size: var(--header5);
  color: var(--secondary-color) !important;
}

.hero__image {
  text-align: center;
}

.services__content .card__apps {
  display: flex;
  flex-wrap: wrap;
  /* background-color: #1f2937; */
  background-color: #fff;
  border-radius: 10px;
  padding: 2em;
  min-height: 220px;
}

.services__content a:hover i {
  color: var(--primary);
}

.services__content a:hover h5 {
  color: #ff8736;
}

.hero__image img {
  width: 400px;
}

.services__content i {
  transition: all 300ms;
}

@media (min-width: 1024px) {
  section.services {
    min-height: calc(100vh - (100px + 100px));
  }

  .services__content i.bx::before {
    font-size: 76px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 2em;
  }

  .navbar-brand-text {
    display: none;
  }

  section {
    padding: 1em;
  }

  section.hero {
    padding: 2em;
  }

  .card__hero .hero__title {
    font-size: var(--header4);
  }

  .card__hero p.hero__subtitle {
    font-size: 16px;
  }

  section.services {
    padding: 3em;
  }

  section.services h2.services__title {
    font-size: var(--header4);
    font-weight: var(--font-weight-semibold);
  }

  section.services p.services__subtitle {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  section.hero {
    padding: 2em;
  }
}

@media (max-width: 1024px) {
  .services__content i.bx::before {
    font-size: 64px;
  }
}

.secondary-color {
  color: var(--secondary-color);
}

.mb-0 {
  margin-bottom: 0;
}

.img-fluid {
  width: 180px;
  transition: all 300ms;
}

.card__apps:hover i,
.card__apps:hover img {
  scale: 1.2;
}


#preloader {
  background-color: #fff;
  padding: 0;
  margin: 0;
  height: 100%;
  position: fixed;
  z-index: 99999;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  -webkit-perspective: 700px;
  perspective: 700px;
}

.loader>span {
  font-size: 60px;
  color: var(--primary);
  font-family: "franklin gothic medium", sans-serif;
  display: inline-block;
  animation: flip 2.6s infinite linear;
  transform-origin: 0 70%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

@keyframes flip {
  35% {
    transform: rotateX(360deg);
  }

  100% {
    transform: rotatex(360deg);
  }
}

.loader>span:nth-child(even) {
  color: white;
}

.loader>span:nth-child(2) {
  animation-delay: 0.3s;
  color: #ff8736;
}

.loader>span:nth-child(3) {
  animation-delay: 0.6s;
}

.loader>span:nth-child(4) {
  animation-delay: 0.9s;
  color: #ff8736;
}

.loader>span:nth-child(5) {
  animation-delay: 1.2s;
}