:root {
  --primary: #03456a;
  --secondary: #fe9716;
  --primary-light: #f2f6f8;
  --gray-light: #f5f5f5;
  --black: #000000;
  --white: #ffffff;
  --white-050: rgba(255, 255, 255, 0.05);
  --white-100: rgba(255, 255, 255, 0.1);
}

* {
  font-family: "Exo 2", Arial, Helvetica, sans-serif;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) var(--primary);
}

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: var(--primary);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--primary-light);
  border-radius: 20px;
  border: 2px solid var(--primary);
}

h1,
.fs-1 {
  font-size: 2.986rem;
}

h2,
.fs-2 {
  font-size: 2.488rem;
}

h3,
.fs-3 {
  font-size: 2.074rem;
}

h4,
.fs-4 {
  font-size: 1.728rem;
}

h5,
.fs-5 {
  font-size: 1.44rem;
}

h6,
.fs-6 {
  font-size: 1.2rem;
}

p {
  font-size: 1rem;
}

small {
  font-size: 0.833rem;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.redes-sociais .nav-link {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.menu .nav-link,
.redes-sociais .nav-link {
  color: var(--white) !important;
}

.menu .nav-link:focus,
.redes-sociais .nav-link:focus,
.menu .nav-link:hover,
.redes-sociais .nav-link:hover {
  background-color: var(--white-100);
}

.menu .btn {
  margin-left: 1rem;
}

.hero {
  background-image: url("/images/runa-hero.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 80vh;
  margin-top: 56px;
}

.hero .texto h1,
.hero .texto p {
  text-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.hero .texto h1 {
  max-width: 25ch;
}

.hero .texto p {
  max-width: 40ch;
}

.img-round {
  border-radius: 2rem;
}

.bg-primary-light {
  background-color: var(--primary-light);
}

.cards-diferenciais {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cards-diferenciais .item {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0.25rem 0.25rem 1rem rgba(0, 0, 0, 0.05);
}

.cards-diferenciais .item .icone {
  font-size: 2rem;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  background-color: var(--primary);
  width: fit-content;
}

.cards-servicos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cards-servicos .item {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  background-color: var(--gray-light);
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0.25rem 0.25rem 1rem rgba(0, 0, 0, 0.05);
}

.cards-servicos .item .icone {
  font-size: 2rem;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  background-color: var(--secondary);
  width: fit-content;
}

select option[value="null"] {
  display: none;
}

footer .redes-sociais .navbar-nav {
  display: flex;
  flex-direction: row;
  justify-content: end;
  gap: 1rem;
}

footer .redes-sociais .navbar-nav .nav-item {
  font-size: 2rem;
}

footer .redes-sociais .navbar-nav .nav-link {
  padding: 1rem;
}

footer a.thf img {
  transition: transform 1s ease-in-out !important;
}

footer a.thf img:hover,
footer a.thf img:focus {
  transform: rotate(720deg) !important;
}

#sobre,
#diferenciais,
#servicos {
  height: 50px;
  margin-top: -50px;
  z-index: -1;
}

@media screen and (max-width: 1200px) {
  .menu {
    margin-top: 1rem;
  }

  .menu .nav-link {
    margin-bottom: 0.25rem;
  }

  .menu .btn {
    width: 100%;
    border-radius: 0 !important;
    margin-left: 0;
  }

  .redes-sociais .nav-link {
    margin-top: 0.25rem;
  }

  .menu .nav-link,
  .redes-sociais .nav-link {
    width: 100%;
    text-align: center !important;
    background-color: var(--white-050);
    border-radius: 0 !important;
  }

  .menu .nav-link:focus,
  .redes-sociais .nav-link:focus,
  .menu .nav-link:hover,
  .redes-sociais .nav-link:hover {
    background-color: var(--white-100);
  }

  .hero {
    background-position: 50% center;
  }

  .hero .texto h1 {
    max-width: 12ch;
  }
  .hero .texto p {
    max-width: 30ch;
  }

  footer .redes-sociais .navbar-nav .nav-link {
    border-radius: 2rem !important;
  }
}

@media screen and (max-width: 640px) {
  .hero {
    height: 60vh;
    background-position: 45% center;
  }

  .hero .texto h1 {
    max-width: 12ch;
    font-size: 2.074rem;
  }

  .hero .texto p {
    max-width: 20ch;
  }

  .hero .botoes a {
    min-width: 100%;
  }

  .hero .botoes a:last-child {
    margin-top: 1.5rem;
  }

  .img-round {
    margin-bottom: 2rem;
  }

  .cards-diferenciais,
  .cards-servicos {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .cards-servicos::-webkit-scrollbar,
  .cards-diferenciais::-webkit-scrollbar {
    display: none;
  }

  .cards-servicos,
  .cards-diferenciais {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .cards-servicos .item,
  .cards-diferenciais .item {
    flex: 0 0 auto;
    width: 80%;
    max-width: 300px;
    scroll-snap-align: start;
  }

  footer .logo {
    text-align: center;
    margin-bottom: 3rem;
  }

  footer .redes-sociais .navbar-nav {
    justify-content: center;
    padding: 2rem 0;
    border-top: 1px solid var(--white-100);
    border-bottom: 1px solid var(--white-100);
  }

  footer .redes-sociais .navbar-nav .nav-item {
    font-size: 1rem;
  }

  footer .redes-sociais .navbar-nav .nav-link {
    padding: 0.75rem;
  }
}
