/** General **/

html {
  scrollbar-gutter: stable;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #000;
  margin: 0;
}

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main {
  flex: 1;
}

a {
  outline: 0 !important;
  text-decoration: none;
}

  a:hover {
    color: #65b197;
    text-decoration: none;
  }

.btn {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
}

.modal {
  z-index: 5000;
}

.tooltip {
  z-index: 4000;
}

/** Header **/

header {
  font-size: medium;
  margin: 0 auto;
  opacity: 0.9;
  position: sticky;
  top: 0px;
  width: 100%;
  z-index: 2000;
}

  header .navbar-nav {
    gap: 0.25rem;
  }

  header .nav-item > a {
    background-color: transparent;
    border-radius: var(--bs-border-radius);
    color: #000 !important;
    padding: 0.5rem;
    width: 100%;
  }

    header .nav-item > a:hover, .nav-item > a.show, .nav-item.active > a {
      background-color: var(--bs-primary) !important;
    }

  header .dropdown-divider {
    border-top: 1px solid var(--bs-primary);
  }

  header .dropdown-menu {
    border: none;
    padding: 0 var(--bs-dropdown-padding-x);
    opacity: .9;
  }

    header .dropdown-menu > li {
      background-color: transparent;
      border-radius: var(--bs-border-radius);
      color: #000 !important;
      margin: 0.25rem;
    }

      header .dropdown-menu > li:hover {
        background-color: var(--bs-primary) !important;
      }

  header .dropdown-toggle {
    align-items: center;
    display: flex;
    gap: 0.25rem;
    justify-content: space-between;
  }

    header .dropdown-toggle::after {
      border: none;
      content: "chevron_forward";
      display: block;
      font-family: 'Material Symbols Rounded';
      font-weight: normal;
      font-style: normal;
      font-size: 24px;
      line-height: 1;
      margin: 0px;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      transform: rotate(90deg);
      transition: transform 0.25s linear;
    }

    header .dropdown-toggle.show::after {
      transform: rotate(270deg);
    }

  header .dropdown-item {
    color: #000 !important;
    background-color: transparent;
    border-radius: var(--bs-border-radius);
    padding: .5rem;
  }

    header .dropdown-item:hover {
      background-color: var(--bs-primary) !important;
    }

@media screen and (max-width: 576px) {
  header .nav-item {
    width: 100%;
  }

    header .nav-item > a:hover, .nav-item > a.show, .nav-item.active > a {
      background-color: var(--bs-primary) !important;
    }

  header .dropdown {
    width: 100%;
  }

  header .dropdown-menu {
    box-shadow: none;
  }
}

/** Carousel **/

.carousel-custom {
  font-size: larger;
  margin: 0 auto;
  position: relative;
  top: 0px;
  width: 100%;
}

  .carousel-custom .carousel-caption {
    z-index: 1;
  }

    .carousel-custom .carousel-caption > * {
      text-shadow: 0px 0px 10px var(--bs-black);
    }

  .carousel-custom .carousel-indicators {
    margin-bottom: 0rem;
  }

    .carousel-custom .carousel-indicators [data-bs-target] {
      background-color: var(--bs-black);
    }

  .carousel-custom.carousel-custom-dark .carousel-control-prev-icon,
  .carousel-custom.carousel-custom-dark .carousel-control-next-icon {
    filter: invert(0) brightness(0);
  }

/** Footer **/

.footer {
  margin-top: 3rem;
  position: relative;
  width: 100%;
  z-index: 1000;
}

  .footer > div > div {
    background-color: var(--bs-primary-bg-subtle);
    padding-bottom: 20px;
    padding-top: 100px;
  }

  .footer .btn-up {
    background-color: rgba(255, 255, 255, .9);
    border-radius: 10px;
    bottom: 50px;
    color: #000;
    display: none;
    height: 60px;
    left: calc(100% - 100px);
    padding: 5px;
    position: fixed;
    right: 50px;
    width: 60px;
    z-index: 1001;
  }

    /*.footer .btn-up:hover {
      color: #000;
    }*/

    .footer .btn-up i {
      font-size: 50px;
    }

  .footer .footer-header {
    background-color: transparent;
    color: #000;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: left;
  }

    .footer .footer-header > h3 {
      align-items: start;
      color: #000;
      display: flex;
      flex-direction: column;
      font-size: 1.25rem;
      font-weight: bold;
      padding-bottom: 0px;
    }

      .footer .footer-header > h3::after {
        border-radius: 2px;
        background-color: var(--bs-primary);
        content: '';
        display: block;
        height: 4px;
        margin-top: 10px;
        width: 40px;
      }

/* Lists */

.list-group-item {
  align-items: center;
  background-color: transparent !important;
  color: inherit;
  display: flex;
  gap: 0.5rem;
  padding-left: 0px;
  padding-right: 0px;
  word-break: break-all;
}

  .list-group-item > a {
    color: inherit;
  }
