:root {
    --lilas: #8888EA;
    --laranja: #FCA82F;
    --roxo: #6066D0;
    --cinza-escuro: #535050;
}

body {
    margin: 2%;
    font-family: 'Poppins', sans-serif;
    background: #dde6f0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav li {
  display: inline-block;
  padding: 0px 0px 15px 20px;
  font-size: 15px;
  color: #000;
}

nav li:hover {
  color: var(--lilas);
  cursor: pointer;
}

/* ----- Menu Dropdown para as Configurações ----- */

.dropdown {
  position: absolute;
  background-color: #fff;
  display: none;
}

nav li:hover ul,
.menu li:hover ul {
  display: block;
  right: 0;
  width: 200px;
}

.li-dropdown {
  padding-top: 20px;
}

.li-dropdown:hover {
  background-color: var(--roxo);
  color: #fff;
  width: 90%;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

/* ----- Fim do Menu Dropdown ----- */

header {
  font-family: 'Press Start 2P', cursive;
  font-size: 25px;
  text-shadow: 2px 3px var(--lilas);
  color: #000;
}

.margem {
    margin: 0% 10%;
}

.boas-vindas {
  margin-top: 100px;
  font-size: 20px;
}

.boas-vindas .frases {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
}

.boas-vindas .frases h1 {
  color: var(--roxo);
}

.boas-vindas .frases h2 {
  color: var(--laranja);
}

.boas-vindas p {
  font-size: 20px;
  margin-top: 6rem;
  text-decoration: double;
}

.estudos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 25%;
  font-size: 20px;
  margin-top: 50px;
}

.estudar {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.estudar-titulo {
    background-color: var(--laranja);
    padding: 20px;
    width: 100px;
    text-align: center;
    border-radius: 20px;
    position: relative;
}

.card {
    background-color: rgb(196, 203, 245);
    width: 300px;
    height: 400px;
    position: absolute;
    margin-top: 40px;
    border-radius: 20px;
    line-height: 50px;
    padding: 60px 40px;
}


.barras {
  display: flex;
  flex-direction: row;
  gap: 100px;
  flex-wrap: wrap;
}

.barra1, .barra2, .barra3 {
  text-align: center;
}


/* BARRA DE PROGRESSO CIRCULAR */

.circular {
  height: 100px;
  width: 100px;
  position: relative;
  margin-top: 30px;
}

.circular .inner, .circular .outer, .circular .circle{
  position: absolute;
  z-index: 6;
  height: 100%;
  width: 100%;
  border-radius: 100%;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.2);
}

.circular .inner{
  top: 50%;
  left: 50%;
  height: 80px;
  width: 80px;
  margin: -40px 0 0 -40px;
  background-color: #dde6f0;
  border-radius: 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.circular .circle{
  z-index: 1;
  box-shadow: none;
}

.circular .numb{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 18px;
  font-weight: 500;
  color: #4158d0;
}

.circular .bar{
  position: absolute;
  height: 100%;
  width: 100%;
  background: #fff;
  -webkit-border-radius: 100%;
  clip: rect(0px, 100px, 100px, 50px);
}

.circle .bar .progress{
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-border-radius: 100%;
  clip: rect(0px, 50px, 100px, 0px);
}

.circle .bar .progress, .dot span{
  background: #4158d0;
}

.circle .left .progress{
  z-index: 1;
  animation: left 4s linear both;
}

@keyframes left {
  100%{
    transform: rotate(180deg);
  }
}

.circle .right{
  z-index: 3;
  transform: rotate(180deg);
}

.circle .right .progress{
  animation: right 4s linear both;
  animation-delay: 4s;
}

@keyframes right {
  100%{
    transform: rotate(180deg);
  }
}

.circle .dot{
  z-index: 2;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 10px;
  margin-top: -5px;
  animation: dot 8s linear both;
  transform-origin: 0% 50%;
}

.circle .dot span {
  position: absolute;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 100%;
}

@keyframes dot{
  0% {
    transform: rotate(-90deg);
  }
  50% {
    transform: rotate(90deg);
    z-index: 4;
  }
  100% {
    transform: rotate(270deg);
    z-index: 4;
  }
}

/* FIM DA BARRA DE PROGRESSO */



/* BARRA DE PROGRESSO CIRCULAR 2 e 3 */

.circular2, .circular3 {
  height: 100px;
  width: 100px;
  position: relative;
  margin-top: 30px;
}

.circular2 .interno2, .circular2 .externo2, .circular2 .circulo2, .circular3 .interno3, .circular3 .externo3, .circular3 .circulo3 {
  position: absolute;
  z-index: 6;
  height: 100%;
  width: 100%;
  border-radius: 100%;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.2);
}

.circular2 .interno2, .circular3 .interno3 {
  top: 50%;
  left: 50%;
  height: 80px;
  width: 80px;
  margin: -40px 0 0 -40px;
  background-color: #dde6f0;
  border-radius: 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.circular2 .circulo2, .circular3 .circulo3 {
  z-index: 1;
  box-shadow: none;
}

.circular2 .numero, .circular3 .numero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 18px;
  font-weight: 500;
  color: #4158d0;
}

.circular2 .barra2, .circular3 .barra3 {
  position: absolute;
  height: 100%;
  width: 100%;
  background: #fff;
  -webkit-border-radius: 100%;
  clip: rect(0px, 100px, 100px, 50px);
}

.circulo2 .barra2 .progresso2,
.circulo3 .barra3 .progresso3 {
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-border-radius: 100%;
  clip: rect(0px, 50px, 100px, 0px);
}

.circulo2 .barra2 .progresso2, .ponto2 span,
.circulo3 .barra3 .progresso3, .ponto3 span {
  background: #4158d0;
}

.circulo2 .esquerda2 .progresso2
/* .circulo3 .esquerda3 .progresso3 */{ 
  z-index: 1;
  animation: left 4s linear both;
}

@keyframes esquerda2 {
  100%{
    transform: rotate(180deg);
  }
}

.circulo2 .direita2,
.circulo3 .direita3 {
  z-index: 3;
  transform: rotate(180deg);
}

.circulo2 .direita2 .progresso2 {
  animation: right 4s linear both;
  animation-delay: 4s;
}

@keyframes direita2 {
  100%{
    transform: rotate(180deg);
  }
}

.circulo2 .ponto2 {
  z-index: 2;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 10px;
  margin-top: -5px;
  animation: dot 8s linear both;
  transform-origin: 0% 50%;
}

.circulo2 .ponto2 span {
  position: absolute;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 100%;
}

@keyframes ponto2 {
  0% {
    transform: rotate(-90deg);
  }
  50% {
    transform: rotate(90deg);
    z-index: 4;
  }
  100% {
    transform: rotate(270deg);
    z-index: 4;
  }
}

/* FIM DA BARRA DE PROGRESSO 2 e 3 */



footer {
    position: relative;
    font-size: 12px;
    font-style: italic;
    padding-top: 25rem;
}



/* Para telas menores: celulares até 767px */
@media screen and (min-width: 0) and (max-width: 767px) {
  .boas-vindas {
    font-size: 15px;
    margin-top: 40px;
  }

  .boas-vindas p {
    font-size: 15px;
    margin-top: 3rem;
  }

  .estudos {
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
  }

  .barras {
    gap: 25%;
    justify-content: space-around;
  }

  .estudar {
    margin-top: 30px;
  }

  .card {
      height: auto;
      position: relative;
      width: 90%;
  }

  .estudar-titulo {
      position: absolute;
  }

  footer {
    position: relative;
    padding-top: 5rem;
  }
}

/* Para telas maiores: computadores/tablets 768px para cima */
@media screen and (min-width: 768px) and (max-width: 1000px) {
  .estudos {
      align-items: center;
      flex-direction: column;
      margin-top: 50px;
  }

  .barras {
      gap: none;
      justify-content: space-around;
      padding-bottom: 50px;
  }

  .card {
      height: auto;
      position: relative;
      width: 90%;
      margin-bottom: 100px;
  }

  .estudar-titulo {
      position: absolute;
  }

  footer {
    position: relative;
    padding-top: 2rem;
  }

}