: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 {
  font-size: 15px;
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-image: url('/Public/Images/bg-02.jpeg');*/
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  /* Ajuste a opacidade conforme necessário */
  z-index: -1;
}

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

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

.bg-lista-completed {
  background-color: #ee000038;
  color: #e20202
}

.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;
}

.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: #7d45ca;
  ;
}

.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, #6632c7 0%, #5705f0 50%, #8a5ddd 100%);
}

.mao {
  cursor: pointer;
}

#sidebar {
  box-sizing: border-box;
  height: 100%;
  width: 250px;
  padding: 5px 1em;
  background: linear-gradient(135deg, #6632c7 0%, #5705f0 50%, #8a5ddd 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.closed {
  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: .25em;
  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 450ms 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;
}

.btn-fld-roxo1 {
  --bs-btn-color: #fff;
  --bs-btn-bg: #b263cd;
  --bs-btn-border-color: #b263cd;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #8c3ca7;
  --bs-btn-hover-border-color: #8c3ca7;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #8c3ca7;
  --bs-btn-active-border-color: #8c3ca7;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #b263cd;
  --bs-btn-disabled-border-color: #b263cd;
}

.btn-fld-roxo2 {
  --bs-btn-color: #fff;
  --bs-btn-bg: #9889db;
  --bs-btn-border-color: #9889db;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6d5abd;
  --bs-btn-hover-border-color: #7867c3;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #7867c3;
  --bs-btn-active-border-color: #6d5abd;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #9889db;
  --bs-btn-disabled-border-color: #9889db;
}

.btn-fld-red {
  --bs-btn-color: #fff;
  --bs-btn-bg: #e73c3c;
  --bs-btn-border-color: #e73c3c;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #bd5a5a;
  --bs-btn-hover-border-color: #c36767;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #c36767;
  --bs-btn-active-border-color: #bd5a5a;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #e73c3c;
  --bs-btn-disabled-border-color: #e73c3c;
}

.btn-fld-green {
  --bs-btn-color: #2b2a2a;
  --bs-btn-bg: #1ce92d;
  --bs-btn-border-color: #1ce92d;
  --bs-btn-hover-color: #2b2a2a;
  --bs-btn-hover-bg: #5abd62;
  --bs-btn-hover-border-color: #6ac367;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #2b2a2a;
  --bs-btn-active-bg: #6ac367;
  --bs-btn-active-border-color: #5abd62;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #2b2a2a;
  --bs-btn-disabled-bg: #1ce92d;
  --bs-btn-disabled-border-color: #1ce92d;
}

.bg-fld-roxo {
  background-color: #bea3f06b;
}

.bg-fld-modal {
  background-color: #d8c3ff;
}

.bg-fld-modal-vermelho {
  background-color: #ffc2c2;
}

.bg-fld-modal-verde {
  background-color: #c6fad3;
}

.fld-bottom {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #5705f0 !important;
}

a {
  text-decoration: none !important;
}

@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;
    }

    #eye {
      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;
      }
    }
  }
}