@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --sidebar-color: #000611;
  --dark-color: #001224;
  --light-blue-color: #0d72ff;
  --light-blue-color-2: #4070f4;
  --light-blue-color-3: #0066d3;
  --light-blue-color-1: #264FAB;
  --dark-blue-color-2: #13326E;
  --dark-blue-color: #0D274F;
  --dark-blue-4: #0051a8;
  --dark-blue-3: #00438b;
  --dark-blue-5: #00356d;
  --white: #ffffff;
  --box-shadow-blue: rgba(0, 102, 211, 0.7);
  --card-height: 300px;
  --card-width: calc(var(--card-height) / 1.5);
  --dark-purple: #4E4395;
  --light-purple: #9A77B3;
  --light-purple-2: #655272;
  --light-black: #2b2929;
  --black: #000000;
  --dark-gray: #33313F;
  --white-transparent: #ffffff1a;
  --grey: #CECECE;
  --border-right: 6px;
  --text-stroke-color: rgba(255, 255, 255, 0.6);
  --animation-color: #37FF8B;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #001224;
}

::-webkit-scrollbar-thumb {
  background: #4070f4;
  border-radius: 10px;
}

:root {
  --card-height: 300px;
  --card-width: calc(var(--card-height) / 1.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins';
  scroll-behavior: smooth;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 85px;
  background: #000611;
  color: white;
  padding: 18px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
  overflow: hidden;
  z-index: 999;
}

.sidebar:hover {
  width: 250px;
}

.sidebar:hover .logo_closed {
  display: none;
}

.sidebar:hover .logo_open {
  display: flex;
  opacity: 1;
  transition: 0.4s ease-in-out;
}

.logo_items {
  gap: 8px;
  transition: 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav_image {
  display: flex;
  width: 50px;
  justify-content: center;
  transition: 0.4s ease-in-out;
}

.logo_closed {
  width: 50px;
  transition: 0.4s ease-in-out;
}

.logo_open {
  opacity: 0;
  display: none;
  width: 150px;
  transition: 0.4s ease-in-out;
}

.menu_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 30px;
  overflow-y: auto;
  transition: 1s ease-in-out;
}

.menu_container::-webkit-scrollbar {
  display: none;
}

.flex {
  display: flex;
  align-items: center;
}

.item {
  list-style: none;
}

.link {
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 7.5px;
  color: white;
}

.link:hover {
  color: #fff;
  background: linear-gradient(180deg, #13326E, #264FAB, #4077FF);
  animation: animacao_link 0.1s ease-in-out;
}

@keyframes animacao_link {
  0% {
    background: linear-gradient(180deg, #13316e7a, #264eab73, #4076ff6e);
  }

  100% {
    background: linear-gradient(180deg, #13326E, #264FAB, #4077FF);
  }

}

.link span {
  white-space: nowrap;

}

.link i {
  height: 60px;
  min-width: 50px;
  display: flex;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

body {
  margin-left: 85px;
}


#inicio {
  background: linear-gradient(135deg, var(--dark-blue-5) 0%, var(--dark-blue-5) 25%, var(--dark-blue-3) 50%, var(--dark-blue-4) 75%, var(--light-blue-color-3) 100%);
  background-size: 200% 200%;
  animation: animarFundo 10s ease infinite;
  position: relative;
  overflow: hidden;
}

#BANNER_INICIO {
  display: flex;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(360deg, #001f3f, #00356d);
  box-shadow: 3px 3px 25px black;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 1;
  position: relative;
}

@keyframes animarFundo {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#frase {
  position: relative;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  /* Fundo escuro translúcido */
  color: #ffffff;
  overflow: hidden;
  /* Garante que o fundo não ultrapasse os limites */
}

.frase-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/LOGO_FUNDO_INICIO.svg') no-repeat center center/contain;
  /* Substitua pelo caminho correto */
  opacity: 0.2;
  /* Ajuste a opacidade para dar um efeito sutil */
  z-index: 1;
  /* background-size: 44%; */
}

#frase h1,
#frase a {
  position: relative;
  z-index: 2;
  /* Garante que o texto e o botão fiquem acima do fundo */
}

#frase h1 {
  font-size: 2.5rem;
  font-family: 'Fira Code', monospace;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 50px;
  animation: fadeInUp 1.5s ease-in-out, pulse 2s infinite;
  /* Adiciona o efeito de pulse */
}

#button_saiba_mais {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  background: #0d72ff;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 2s ease-in-out;
}

#button_saiba_mais:hover {
  background: #0056b3;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

@keyframes aparecerBotao {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#button_saiba_mais:hover {
  background-color: #0d72ff;
  color: white;
}

@keyframes flutuar {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Animação para os itens da contagem */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animação para o card de resumo */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
    color: #ffffff;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
    color: #b5b5b5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
    color: #ffffff;
  }
}

/* Aplicar a animação apenas quando a classe 'visible' for adicionada */
.timer-box.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease forwards;
}

#container-participe.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 1s ease forwards;
}

/* CONTAGEM REGRESSIVA */
#section_contagem {
  background: linear-gradient(135deg, #001f3f, #004080);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 40vh;
}

#contagem {
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#contagem h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

#timer {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.timer-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px 35px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timer-box:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.25);
}

.timer-box span:first-child {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
}

.timer-box span:last-child {
  font-size: 16px;
  color: #dcdcdc;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* Participe da competição */

#section_resumo {
  background: linear-gradient(180deg, #00356d, #00356d, #00438b, #0051a8, #0066d3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 80vh;
}

#container-participe {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 2px solid #0066d3;
  border-radius: 20px;
  box-shadow: 0px 0px 15px rgba(0, 102, 211, 0.7);
  color: white;
  text-align: center;
  padding: 50px 20px;
  border-radius: 15px;
  max-width: 900px;
  margin: auto;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#participe p {
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#participe .btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  font-size: 18px;
  color: white;
  background: #00356d;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease-in-out;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
}

#participe .btn:hover {
  background: #0055b1;
  transform: scale(1.05);
  box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.4);
}

#participe h2 {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 25px;
  text-shadow: 2px 2px rgba(0, 0, 0, 10);
}

/* Saiba mais */

#section_saiba_mais {
  background: linear-gradient(360deg, #00356d, #00356d, #00438b, #0051a8, #0066d3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 60vh;
}

.saiba-mais h2 {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 25px;
  text-shadow: 2px 2px rgba(0, 0, 0, 10);
  text-align: center;
}

.container-saiba-mais {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
}

.card .img-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 20px;
}

.card h3 {
  color: #00356d;
}

.card a {
  display: block;
  margin-top: 10px;
  color: #007BFF;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* SEÇÃO HABILIDADES */

#section_habilidades {
  background: linear-gradient(180deg, #00356d, #0057A6);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 150vh;
}

#habilidades h2 {
  font-size: 40px;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 2px 2px rgba(0, 0, 0, 10);
  color: #fff;
}

#habilidades_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 5px;
  justify-items: center;
  max-width: 1000px;
  margin: 20px auto;
}

.card-habilidades {
  background: white;
  margin: 20px;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease-in-out;
  width: 250px;
  color: #00356d;
}

.card-habilidades:hover {
  transform: translateY(-10px);
}

.card-habilidades img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 20px;
}

.card-habilidades h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.card-habilidades p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: white;
  color: #002c56;
  border: none;
  border-radius: 50%;
  font-size: 35px;
  cursor: pointer;
  opacity: 0.8;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-90deg);
  padding-bottom: 3px;
  border: 1px solid #002c56;
}

#backToTop:hover {
  opacity: 1;
  transform: scale(1.1) rotate(-90deg);
}


footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-color: #0057A6;
  padding: 20px;
}

footer ul {
  list-style-type: none;
  display: flex;
  gap: 50px;
}

footer ul a {
  text-decoration: none;
  color: white;
}

footer ul a:hover {
  color: #4070f4;
  transition: 0.3s ease-in-out;
}

.footer-linha {
  border: none;
  height: 2px;
  background-color: rgb(0, 166, 255);
  margin: 10px auto;
  width: 70%;
}

/* INÍCIO TAGS */

.dev,
.link-href {
  text-decoration: none !important;
  color: var(--white) !important;
}

.dev:hover,
.link-href:hover {
  background-position: 0;
}

.dev:hover::before,
.link-href:hover::before {
  width: 100%;
}


/* FIM TAGS */
/* INICIO CLASSES E IDS */
.link-href {
  background-image: linear-gradient(to right,
      var(--light-purple),
      var(--light-purple) 50%,
      var(--white) 50%) !important;
  background-size: 200% 100% !important;
  background-position: -100% !important;
  display: inline-block !important;
  padding: 5px 0 !important;
  position: relative !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  transition: all 0.3s ease-in-out !important;
}

.link-href:before {
  content: '';
  background-color: #044285;
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}

#btn-mobile {
  display: none;
}

.navbar {
  width: 100% !important;
  height: 80px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 4rem !important;
  display: none !important;
  z-index: 300 !important;
}

.navbar .logo a {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar .links {
  display: flex !important;
  gap: 2rem !important;
  font-size: 1rem !important;
}

.logo-mobile {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 22px !important;
}

/* FIM CLASSES E IDS */
/* INÍCIO MEDIA QUERIES */

@media screen and (max-width: 750px) {

  body {
    margin: 0;
  }

  .sidebar {
    display: none;
  }

  header {
    display: flex;
    background-color: #000611;
  }

  .link-href-hidden {
    display: block !important;
  }

  .button {
    display: none;
  }

  .links li .link-href {
    font-size: 20px;
    padding: 12px !important;
    margin-top: 5px !important;
    width: 100% !important;
  }

  .links {
    padding: 0 !important;
  }

  .link {
    gap: 40px !important;
    margin-top: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .link i {
    display: inline-flex;
    margin-right: 1px !important;
    padding: 0 !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  #menu {
    display: block !important;
    position: absolute !important;
    width: 100%;
    top: 70px;
    right: 0px;
    background-color: #000611;
    transition: 0.6s;
    z-index: 1000;
    height: 0px;
    visibility: hidden;
    overflow-y: hidden;
  }

  #nav.active #menu {
    height: calc(100vh - 70px);
    visibility: visible;
    overflow-y: auto;
  }

  #menu a {
    padding: 1rem 0;
    margin: 0 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  }

  #btn-mobile {
    display: flex;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    gap: 0.5rem;
    color: var(--white);
  }

  #hamburger {
    border-top: 2px solid;
    margin-top: 3.5px;
    width: 20px;
  }

  #hamburger::after,
  #hamburger::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
  }

  #nav.active #hamburger {
    border-top-color: transparent;
  }

  #nav.active #hamburger::before {
    transform: rotate(135deg);
  }

  #nav.active #hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }

  .navbar .links {
    display: none;
    /* Oculta os links no modo responsivo, caso necessário */
  }

  .navbar {
    padding: 0 !important;
    display: flex !important;
  }

  .dev {
    font-size: 16px !important;
  }

  .button {
    visibility: hidden;
  }

  .link-href-login {
    visibility: visible;
  }



  @keyframes fade-in {
    5% {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    95% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes progress {
    to {
      transform: scaleX(1);
    }
  }

  #inicio {
    height: 75vh;
  }

  #frase {
    height: 70vh;
  }

  #frase img {
    margin: 0;
    width: 630px;
  }

  #frase h1 {
    max-width: 100%;
    font-size: 30px;
    padding: 20px;
    margin-bottom: 15px;
  }

  .frase-bg {
    background-size: 140%;
    margin-top: 18px;
  }

  #button_saiba_mais {
    width: 50%;
  }

  #section_contagem {
    height: 65vh;
  }

  #contagem h1 {
    padding: 20px;
  }

  .timer-box {
    display: flex;
    flex-direction: column;
    width: 150px;
  }

  #section_resumo {
    height: 90vh;
  }

  #container-participe {
    max-width: 100%;
    margin: 30px;
  }

  #section_saiba_mais {
    height: 180vh;
  }

  #section_habilidades {
    align-items: normal;
    height: 300vh;
  }

  #habilidades_container {
    margin: 0;
  }

  #habilidades h2 {
    text-align: center;
    padding: 25px;
  }

  footer ul,
  .footer-linha {
    flex-direction: column;
    gap: 10px;
  }
}