:root {
  --base-clr: #f5f5f5;
  --line-clr: #42434a;
  --hover-clr: #f0f0f06b;
  --text-clr: #11121a;
  --text-menu-clr: #f1f2f7;
  --accent-clr: #4ecce2;
  --secondary-text-clr: #b0b3c1;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-family: Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5rem;
}

body {
  background-image: url('/Public/Images/fundo-pontilhado.jpg');
}

.texto-sombra {
  text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.4);
}

.bg-base-site {
  background-color: #0f386e;
}

.text-justified {
  text-align: justify;
}

.GreatVibes {
  font-family: "Great Vibes", cursive;
  font-style: normal;
}

.Suranna {
  font-family: "Suranna", cursive;
  font-style: normal;
}

.CormorantInfant {
  font-family: "Cormorant Infant", cursive;
  font-style: normal;
}

.zinde-1 {
  z-index: -1;
}

.zinde-2 {
  z-index: 2;
}

.preco {
  font-size: 0.8rem;
}
.fld-mini {
  font-size: 0.7rem;
}

.h1 {
  font-size: 3rem;
}

.h2 {
  font-size: 2.4rem;
}

.h3 {
  font-size: 1.4rem;
}

.h4 {
  font-size: 0.8rem;
}

.fld-preto {
  color: #101022;
}

.fld-branco {
  color: #f1f1f1;
}

.fld-red {
  color: #e74c3c;
}

.fld-roxo {
  color: #8e44ad;
}

.fld-azul {
  color: #3498db;
}

.fld-verde {
  color: #2ecc71;
}

.fld-amarelo {
  color: #f1c40f;
}

pre {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.25rem;
}

.sombra {
  text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.4);
}

.fld-shadow {
  box-shadow: 0 0.9px 0.9px rgba(0, 0, 0, 0.4) !important;
}

.gradient-bg {
  background: linear-gradient(135deg, rgb(43, 103, 201) 0%, rgb(44, 46, 172) 50%, rgb(18, 11, 139) 100%);
}

.gradient-bg-2 {
  background: linear-gradient(135deg, rgb(48, 180, 233) 0%, rgb(69, 213, 218) 50%, rgb(96, 189, 218) 100%);
}

.mao {
  cursor: zoom-in;
}


#sidebar {
  box-sizing: border-box;
  height: 100%;
  width: 250px;
  padding: 5px 1em;
  background: linear-gradient(85deg, rgb(43, 103, 201) 0%, rgb(44, 46, 172) 50%, rgb(18, 11, 139) 100%);
  border-right: 1px solid var(--line-clr);

  position: sticky;
  top: 0;
  align-self: start;
  transition: 300ms ease-in-out;
  overflow: hidden;
  text-wrap: nowrap;
  z-index: 9999;
}

#sidebar.close {
  padding: 5px;
  width: 70px;

  .hide-on-collapse {
    opacity: 0;
    visibility: hidden;
    width: 0 !important;
    height: auto;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.3s ease, width 0.3s ease;
    display: none;
  }
}

#sidebar ul {
  list-style: none;
}

#sidebar>ul>li:first-child {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;

  .logo {
    font-weight: 600;
  }
}

#sidebar ul li.active a {
  color: var(--accent-clr);

  i {
    color: var(--accent-clr);
  }
}

#sidebar a,
#sidebar .dropdown-btn,
#sidebar .logo {
  border-radius: .5em;
  padding: .85em;
  text-decoration: none;
  color: var(--text-menu-clr);
  display: flex;
  align-items: center;
  gap: 1em;
}

.dropdown-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

#sidebar svg {
  flex-shrink: 0;
  fill: var(--text-menu-clr);
}

#sidebar a span,
#sidebar .dropdown-btn span {
  flex-grow: 1;
}

#sidebar a:hover,
#sidebar .dropdown-btn:hover {
  background-color: var(--hover-clr);
}

#sidebar .sub-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: 300ms ease-in-out;

  >div {
    overflow: hidden;
  }
}

#sidebar .sub-menu.show {
  grid-template-rows: 1fr;
}

.dropdown-btn svg {
  transition: 200ms ease;
}

.rotate svg:last-child {
  rotate: 180deg;
}

#sidebar .sub-menu a {
  padding-left: 2em;
}

#toggle-btn {
  margin-left: auto;
  padding: 1em;
  border: none;
  border-radius: .5em;
  background: none;
  cursor: pointer;

  svg {
    transition: rotate 150ms ease;
  }

}

#toggle-btn:hover {
  background-color: var(--hover-clr);
}

main {
  padding-top: min(20px, 7%);
  padding-bottom: min(20px, 10%);
}

.seting-section {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border-top: 1px solid rgba(207, 234, 236, 0.2);
}

.top-20 {
  top: 40% !important;
}

.btn-fld {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    background-color: transparent;
}

@media(max-width: 720px) {
  .seting-section {
    margin-top: 0;
    border: none;
  }

  #sidebar {
    height: 60px;
    width: 100%;
    border-right: none;
    border-top: 1px solid var(--line-clr);
    padding: 0;
    position: fixed;
    top: unset;
    bottom: 0;

    >ul {
      max-width: 100vw;
      padding: 0;
      display: grid;
      justify-content: space-evenly;
      grid-auto-columns: 60px;
      grid-auto-flow: column;
      align-items: center;
      overflow-x: scroll;
    }

    ul li {
      height: 100%;
    }

    ul a,
    ul .dropdown-btn {
      width: 60px;
      height: 60px;
      padding: 0;
      border-radius: 0;
      justify-content: center;
    }

    ul li span,
    ul li:first-child,
    .dropdown-btn i:last-child {
      display: none;
    }

    ul li .sub-menu.show {
      position: fixed;
      bottom: 60px;
      left: 0;
      box-sizing: border-box;
      height: 60px;
      width: 100%;
      background: linear-gradient(85deg, rgb(43, 103, 201) 0%, rgb(44, 46, 172) 50%, rgb(18, 11, 139) 100%);
      border-top: 1px solid var(--line-clr);
      display: flex;
      justify-content: center;

      >div {
        overflow-x: auto;
      }

      li {
        display: inline-flex;
      }

      a {
        box-sizing: border-box;
        padding: 1em;
        width: auto;
        justify-content: center;
      }
    }
  }
}