/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  /* Change favorite color */
  --hue-color: 215; /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(216, 70%, 63%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: white;
  /* --body-color: hsl(var(--hue-color), 60%, 99%); */
  --container-color: white;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);


  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;

      /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
      --big-font-size: 2rem;
      --h1-font-size: 1.5rem;
      --h2-font-size: 1.25rem;
      --h3-font-size: 1.1125rem;
      --normal-font-size: .938rem;
      --small-font-size: .813rem;
      --smaller-font-size: .75rem;
  
      /*========== Font weight ==========*/
      --font-medium: 500;
      --font-semi-bold: 600;
  
      /*========== Margenes Bottom ==========*/
      /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
      --mb-0-25: .25rem;
      --mb-0-5: .5rem;
      --mb-0-75: .75rem;
      --mb-1: 1rem;
      --mb-1-5: 1.5rem;
      --mb-2: 2rem;
      --mb-2-5: 2.5rem;
      --mb-3: 3rem;
      --mb-3-25: 3.25rem;
}

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--body-font);
}

body{
  position: relative;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
}


.sidebar{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 84px;
  background: var(--first-color);
  padding: 0.5rem 1rem;
  transition: all .5s ease;
  z-index: 99;
}

.sidebar.active{
  width: 240px;
}

.sidebar .logo__content .logo{
  color: white;
  display: flex;
  height: 50px;
  width: 100%;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all .5s ease-in-out;
}

.sidebar.active .logo__content .logo{
  opacity: 1;
  pointer-events: none;
}

.logo__content .logo i{
  font-size: var(--h1-font-size);
  margin-right: var(--mb-0-25);
}


.logo__content .logo .logo__name{
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  white-space: nowrap;
}

.sidebar #btn{
  position: absolute;
  left: 50%;
  top: var(--mb-0-5);
  color: white;
  font-size: 1.75rem;
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  transform: translateX(-50%);
  cursor: pointer;
}

.sidebar.active #btn{
  left: 90%;
}

.sidebar ul{
  margin-top: var(--mb-1);
  padding: 0;
}

.sidebar ul li{
  position: relative;
  height: 50px;
  width: 100%;
  margin: 0 var(--mb-0-25);
  list-style: none;
  line-height: 50px;
}

.sidebar ul li .tooltip{
  position: absolute;
  left: 122px;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 6px;
  height: 35px;
  width: 122px;
  background: white;
  line-height: 35px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: 0s;
  opacity: 0;
  pointer-events: none;
  display: block;
}

.sidebar.active ul li .tooltip{
  display: none;
}

.sidebar ul li:hover .tooltip{
  transition: all .5s ease;
  opacity: 1;
  top: 50%;
}

.sidebar ul li input{
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  border-radius: var(--mb-0-75);
  outline: none;
  border: none;
  background: var(--first-color);
  padding-left: var(--mb-3-25);
  font-size: var(--h3-font-size);
  color: white;
  transition: all .3s ease-in-out
}

.sidebar ul li .bx-search:hover{
  background: white !important;
  color: var(--first-color-second);
}

.sidebar.active ul li input{
  background: var(--first-color-lighter);
}

.sidebar ul li .bx-search{
  position: absolute;
  padding: 0 var(--mb-1);
  z-index: 99;
  color: white;
  font-size: var(--h1-font-size);
  transition: all .5s ease;
  cursor: pointer;
}


.sidebar ul li .bx-search:hover{
  font-size: var(--h1-font-size);
  transition: all .5s ease;
}

.sidebar.active ul li .bx-search:hover{
  background: none !important;
}

.sidebar ul li a{
  margin-top: var(--mb-0-25);
  color: white;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all .4s ease;
  border-radius: var(--mb-0-75);
  white-space: nowrap;
}

.sidebar ul li a:hover{
  background: white;
  color: var(--first-color-second);
}

.sidebar ul li a.selected{
  background: white;
  color: var(--first-color-second);
}

.sidebar ul li i{
  height: 50px;
  min-width: 50px;
  border-radius: var(--mb-0-75);
  line-height: 50px;
  text-align: center;
  font-size: var(--h2-font-size)
}

.sidebar .links__name{
  opacity: 0;
  pointer-events: none;
}

.sidebar.active .links__name{
  opacity: 1;
  pointer-events: auto;
}

.sidebar .profile__content{
  position: absolute;
  color: white;
  bottom: 0;
  left: 0;
  width: 100%;
}

.sidebar .profile__content .profile{
  position: relative;
  padding: var(--mb-0-75), var(--mb-0-5);
  height: 60px;
  background: none;
  transition: all .5s ease-in-out
}

.sidebar.active .profile__content .profile{
  background: var(--first-color-second);
}

.profile__content .profile .profile__details{
  display: flex;
  align-items: center;
  padding: 5px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.sidebar.active .profile .profile__details{
  opacity: 1;
  pointer-events: auto;
}

.profile .profile__details img{
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: var(--mb-0-75);
}

.profile .profile__details .name__job{
  margin-left: var(--mb-0-75);
}

.profile .profile__details .name{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.profile .profile__details .job{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.profile #log__out{
  position: absolute;
  bottom: var(--mb-0-25);
  left: 50%;
  transform: translateX(-50%);
  min-width: 50px;
  line-height: 50px;
  font-size: var(--h1-font-size);
  border-radius: var(--mb-0-75);
  text-align: center;
  transition: all .4s ease;
  background: var(--first-color-lighter);
  cursor: pointer;
}

.profile #log__out:hover{
  background: white;
  color: var(--first-color);
}

.sidebar.active .profile #log__out:hover{
  color: white;
}

.sidebar.active .profile #log__out{
  left: 88%;
}

.sidebar.active .profile #log__out{
  background: none;
}

.home__content{
  position: absolute;
  height: 100%;
  width: calc(100% - 78px);
  left: 78px;
  transition: all .5s ease-in-out;
  background-color: rgba(220, 220, 220, 0.2);
}

.home__content #button__confirm{
  position: fixed;
  top: 5%;
  right: 2.5%;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  border: none;
  background: var(--first-color-alt);
  padding: 0.5rem 1rem;
  transition: all .5s ease;
  z-index: 9999;
	-webkit-animation: bounce-in-fwd 1.1s both;
  animation: bounce-in-fwd 1.1s both;
}

.home__content #button__confirm:hover{
  background-color: var(--first-color);
}

.home__content #button__confirm i{
  animation: colorButton 2s infinite both;
  animation-delay: 3s;
}

.home__content .text{
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
  color: #1d1b31;
  margin: var(--mb-0-75);
}

.sidebar.active ~ .home__content{
  width: calc(100% - 240px);
  left: 240px;
}

progress::-webkit-progress-bar {
  background: var(--first-color-lighter);
}

progress::-webkit-progress-value{
  background: var(--first-color);
}

.home__content #progress,
.home__content #progress2,
.home__content #progress3{
  width: 100%;
  height: 100%;
  color: white;
}

.home__content img{
  max-width: 150px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0, 0.15);
}

.home__content .container-img{
  display: flex;
  flex-direction: column;
}

/* Início - Container */

.subtitle{
  width: 100%;
  background-color: rgba(220, 220, 220, .3);
  font-size: var(--h3-font-size);
  padding: .5rem;
  padding-left: 1rem;
  border-radius: 15px;
}

.paddingbottom{
  padding-bottom: 1rem;
}

@keyframes colorButton{
  0%{
    color: white;
  }

  50%{
    color: hsl(90, 109%, 61%);
  }

  100%{
    color: white;
  }
}

/* Animações  */
@-webkit-keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

/* ------------------------------------ */

@-webkit-keyframes bounce-in-fwd {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: scale(0.84);
            transform: scale(0.84);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  89% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes bounce-in-fwd {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: scale(0.84);
            transform: scale(0.84);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  89% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

