html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: darkgray;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  font-size: 18px;
}

* {
  box-sizing: border-box;
  word-break: break-word;
  line-height: 1.5rem;
  padding: 0;
  margin: 0;
}

/* Animação para o gradiente - mais suave e destacada */
@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.boddy {
  /* Removendo o background específico pois já está aplicado no html,body */
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 0;
  bottom: 0;
  width: 100%;
  min-height: 100vh;
}

:root {
  --c-green: #7fff00;
  --c-pink: #ff1493;
  --c-purple: #8a2be2;
  --c-lilac: #968aff;
  --c-white: #e8e8e8;
  --c-greenish: #c7ff66;
  --c-green-neon: #acff3f;
  --c-pinkish: #ff66c1;
  --c-light-pink: #feaaff;
  --c-blue: #66ccff;
  --c-gold: #ffd700;
  --c-hot-pink: #ff69b4;
}

section {
  font-family: "Michroma";
  display: flex;
  flex-direction: column;
  max-width: 600px;
  font-weight: 900;
  gap: 20px;
  font-size: 18px;
  padding: 0 15px;
  z-index: 1;
}

section.centered-content {
  margin: auto;
  z-index: 10;
}

.dashboard,
.tabcontent {
  width: 100%;
  height: fit-content;
  background-color: var(--c-white);
  border: 2px solid black;
}

.dashboard {
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.window-bar,
.item-bar {
  background-color: var(--c-blue);
  border: 2px solid black;
  margin: 4px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  height: 35px;
  padding: 2px 4px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.window-bar button,
.item-bar span {
  text-align: center;
  width: 30px;
  height: 25px;
  background-color: var(--c-hot-pink);
  border: 2px solid black;
  cursor: pointer;
  color: #fff;
}

/* Para que o conteúdo da aba não seja exibido no modal e não fique duplicado */
.tabcontent .topright {
  display: none;
}

.profile {
  margin: 8px;
}

.title {
  color: var(--c-pinkish);
  text-shadow: -4px 2px 4px rgba(0, 0, 0, 0.82);
  font-family: "Orbitron";
  line-height: 3rem;
  font-weight: 900;
  font-size: 40px;
  text-align: center;
}

.tabs {
  display: block;
  margin: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tabs > * {
  padding: 0.8rem;
}

.tab {
  font-family: "Michroma";
  display: inline-block;
  width: 100%;
  background: linear-gradient(45deg, var(--c-light-pink), var(--c-blue));
  padding: 10px 15px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  border: 2px solid black;
  transition: all 0.3s ease;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s ease;
}

.tab:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(45deg, var(--c-blue), var(--c-hot-pink));
}

.tab:hover::before {
  left: 100%;
}

.tab.active {
  background: linear-gradient(45deg, var(--c-gold), var(--c-hot-pink));
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 5px;
}

.tabs button.active {
  background-color: var(--c-pinkish);
}

.tabcontent {
  display: none; /* Mantemos oculto por padrão, agora os conteúdos serão exibidos em um modal */
  font-weight: 400;
  animation: fadeEffect 0.5s;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: absolute; /* Isso garante que as abas não ocupem espaço no layout */
  opacity: 0;
  visibility: hidden;
}

/* Animação de fade para quando a tab é aberta */
@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.inside {
  margin: 10px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 5px;
}

@media (max-width: 500px) {
  .window-bar,
  .item-bar {
    height: 50px;
  }
}

@media (min-width: 768px) {
  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .tab {
    margin-bottom: 0;
  }
}

/* CONTAINER */
#container {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  width: 100%;
  gap: 10px;
}
/* CONTAINER IMAGE */
#container #image {
  width: 270px;
  object-fit: cover;
  transition: 0.3s;
  border-radius: 5px;
}
#container #image:hover {
  transform: scale(1.05);
}
