/** @format */

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=DM+Mono:wght@400;500&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --color1: #8E44AD;
  --color2: #9B59B6;
}

::-webkit-scrollbar {
  width: 16px;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93) !important;
}

::-webkit-scrollbar-track {
  background-color: #0f0f0f;
}

::-webkit-scrollbar-track:hover {
  background-color: #0f0f0f;
}

/* scrollbar itself */
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--color1) 0%, var(--color2) 100%);
  border-radius: 16px;
  border: 6px solid #0f0f0f;
}

::-webkit-scrollbar-thumb:hover {
  border: 5px solid #0f0f0f;
}

::-webkit-scrollbar-button {
  display: none;
}

html {
  scroll-behavior: smooth;
  font-family: "Poppins";
  background-color: #0f0f0f;
}

p {
  font-family: "DM Mono";
  color: #868686;
}

h1,
h2,
h3,
h4,
button,
a {
  font-family: "Poppins";
  color: #eaeaea;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93) !important;
  border-radius: 12px;
}

header {
  height: 60px;
  margin: 10px 20px;
  background: rgb(80 80 80 / 58%);
  box-shadow: 0px 0px 50px #0f0f0f;
  border-radius: 20px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 0px 12px;
  position: fixed;
  backdrop-filter: blur(6px);
  width: -moz-available;
  width: -webkit-fill-available;
  z-index: 50;
}

.ham,
.ham-expand {
  display: none;
}

header img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.1);
}

header div {
  gap: 18px;
  display: flex;
  align-items: center;
}

.icon {
  gap: 5px;
}

header a {
  padding: 3px 10px;
  background: transparent;
}

header a:hover {
  opacity: 0.8;
  background-color: #eaeaea;
  color: #0f0f0f;
}

.lander {
  display: grid;
  grid-auto-flow: column;
  height: 70vh;
  padding: 8rem 5rem;
  padding-bottom: 0px;
  justify-content: space-between;
}
.lander img {
  height: 360px;
  width: 360px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(148, 148, 148, 0.259);
  transition: transform 0.3s ease;
}
.lander img:hover {
  transform: scale(1.05);
}
.lander div h1 {
  font-size: 50px;
  margin: 0px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.title {
  width: fit-content;
  font-family: "Poppins";
  font-weight: 700;
  background: -webkit-linear-gradient(
    to right,
    var(--color1) 0%,
    var(--color2) 100%
  );
  background: -moz-linear-gradient(
    to right,
    var(--color1) 0%,
    var(--color2) 100%
  );
  background: linear-gradient(to right, var(--color1) 0%, var(--color2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0px;
  font-size: 18px;
}

a {
  border: 0px none;
  background: #eaeaea2a;
  padding: 8px 34px;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93);
}

.projectButton {
  color: #0f0f0f;
  padding: 10px 38px;
  background: linear-gradient(to right, var(--color1) 0%, var(--color2) 100%);
  font-size: 18px;
  border-radius: 18px;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93) !important;
  border: 0px solid transparent;
}

.projectButton:hover {
  transform: scale(1.08);
  animation: colorShift 2s infinite forwards;
}

.projectButton:active {
  transform: scale(0.9);
  opacity: 0.8;
}

.join {
  color: #0f0f0f;
  padding: 10px 38px;
  background: linear-gradient(to right, var(--color1) 0%, var(--color2) 100%);
  font-size: 18px;
  border-radius: 18px;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93) !important;
  border: 0px solid transparent;
}

.join:hover {
  transform: scale(1.08);
  animation: colorShift 2s infinite forwards;
}

.join:active {
  transform: scale(0.9);
  opacity: 0.8;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 52px;
}

#line {
  width: 69vw;
  margin-left: auto;
  margin-right: auto;
  padding: 2px;
  background: linear-gradient(to right, var(--color1) 0%, var(--color2) 100%);
  border-radius: 10px;
}

#creations,
#services {
  padding: 2rem 5rem;
}

.subdiv {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.subdiv h1 {
  font-size: 52px;
  margin: 0px;
  z-index: 2;
}

.backdrop {
  position: absolute;
  width: 98vw;
  height: 200vh;
  left: 0;
  z-index: 1;
  pointer-events: none;
  margin-top: -80px;
  background-image: radial-gradient(var(--color1) 4px, transparent 0);
  opacity: 0.05;
  background-size: 90px 90px;
  background-position: -19px -19px;
  mask-image: linear-gradient(180deg, #000 1%, transparent);
}
.backdrop:after {
  content: "";
  width: 98vw;
  height: 200vh;
  background: linear-gradient(0deg, #0f0f0f 0%, transparent 50%, #0f0f0f 100%);
  display: block;
}

.projects {
  z-index: 2;
  padding: 10px 32px;
  border-left-width: 3px;
  border-style: solid;
  border-image: linear-gradient(var(--color1) 0%, var(--color2) 100%) 1 100%;
  border-right-width: 0px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 84px;
  margin-bottom: 12rem;
}

.project {
  z-index: 3;
  padding-left: 20px;
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: center;
}

.project div::before {
  content: " ";
  background: #eaeaea;
  border-radius: 20px;
  padding: 3px;
  display: block;
  height: 4px;
  width: 4px;
  position: relative;
  top: 50px;
  left: -42px;
}

.project img {
  width: 180px;
  height: 180px;
  border-radius: 32px;
  margin-left: 24px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(72, 0, 255, 0.268);
  transition: transform 0.3s ease;
}

.project img:hover {
  transform: scale(1.05);
}

.project div {
  max-width: 600px;
  padding-left: 48px;
}

.project div p {
  margin-bottom: 30px;
}

.project2 {
  z-index: 3;
  padding-left: 20px;
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: center;
}

.project2 div::before {
  content: " ";
  background: #eaeaea;
  border-radius: 20px;
  padding: 3px;
  display: block;
  height: 4px;
  width: 4px;
  position: relative;
  top: 50px;
  left: -42px;
}

.project2 img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-left: 24px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.355);
  transition: transform 0.3s ease;
}

.project2 img:hover {
  transform: scale(1.05);
}

.project2 div {
  max-width: 600px;
  padding-left: 48px;
}

.project2 div p {
  margin-bottom: 30px;
}


.invite {
  color: #0f0f0f; /* Cor do texto */
  padding: 10px 38px;
  background: linear-gradient(to right, var(--color1) 0%, var(--color2) 100%); /* Gradiente igual ao do botão 'Junte-se a nós' */
  font-size: 18px;
  border-radius: 18px;
  transition: 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93) !important;
  border: 0px solid transparent;
}

.invite:hover {
  transform: scale(1.08);
  animation: colorShift 2s infinite forwards;
}

.invite:active {
  transform: scale(0.9);
  opacity: 0.8;
}

.future {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 52px;
  text-align: center;
}

.future h1 {
  font-size: 52px;
  margin: 0px;
}

#contact {
  margin: 58px 0px;
  margin-bottom: 64px;
}

.coloredBorder {
  padding: 4px;
  background: linear-gradient(var(--color1) 0%, var(--color2) 100%);
  border-radius: 32px;
  display: flex;
  align-items: stretch;
}

.coloredBorder div {
  background: #141414;
  border-radius: 30px;
  padding: 52px;
  width: 100%;
}

.coloredBorder div h1 {
  font-size: 42px;
  margin: 0px;
}

.coloredBorder div p {
  margin-bottom: 38px;
}

.discord {
  background-color: #5865f2;
  color: #0f0f0f;
  margin-right: 12px;
  display: inline-block;
}
.github {
  background-color: #0a0a0a;
  color: #eaeaea;
  margin-left: 12px;
  display: inline-block;
}

.discord:hover,
.github:hover {
  transform: scale(1.1);
}

.credit {
  text-align: center;
}

.credit h2 {
  margin-left: auto;
  margin-right: auto;
  background: -webkit-linear-gradient(
    to right,
    var(--color1) 0%,
    var(--color2) 100%
  );
  background: -moz-linear-gradient(
    to right,
    var(--color1) 0%,
    var(--color2) 100%
  );
  background: linear-gradient(to right, var(--color1) 0%, var(--color2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  font-weight: 700;
}

.credit h3 {
  font-family: "JetBrains Mono";
  font-weight: 500;
}

.credit h3 a {
  font-weight: 500;
  font-family: "JetBrains Mono";
  background: initial;
  padding: initial;
}

.credit h3:hover a {
  padding: 6px 12px;
  border: 3px solid #e1591f;
  animation: 4s shiftCredit infinite forwards;
}

#colorful-text {
  display: inline-block;
}

.letter {
  display: inline;
  font-size: inherit; /* Ajuste conforme necessário */
  transition: color 0.5s ease;
}

/** Bloqueio de DevTools*/
#access-denied-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay-content {
  text-align: center;
  background: #222;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  margin: auto;
}

.overlay-content h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.overlay-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

#reload-button {
  background: #e1591f;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

#reload-button:hover {
  background: #d21e1e;
}

/* Meow Giveaways desativado */
/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: none; /* Inicialmente oculto */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Modal Content */
.modal-content {
  position: relative;
  text-align: center;
  background: #222;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  margin: auto;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Modal - Show */
.modal.show {
  display: flex; /* Mostra o modal */
  opacity: 1;
  visibility: visible;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff0000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.close:hover {
  background: #e1591f;
}

/* Modal Header */
.modal-content h2 {
  margin: 0;
  font-size: 1.5em;
  color: #ff0000;
}

/* Modal Paragraph */
.modal-content p {
  margin: 15px 0;
  font-size: 1em;
  color: #ddd;
}

/* CSS para ajustar os botões de Discord e Github */
.discord, .github {
  padding: 10px; /* Define um padding fixo */
  border: none; /* Remove bordas padrão */
  border-radius: 5px; /* Bordas arredondadas */
  text-decoration: none; /* Remove sublinhado */
  font-weight: bold; /* Texto em negrito */
  color: #fff; /* Cor do texto */
  cursor: pointer; /* Cursor de ponteiro */
  transition: background-color 0.3s ease; /* Transição suave para hover */
  display: inline-flex; /* Garante que ambos sejam inline-flex */
  align-items: center; /* Centraliza conteúdo verticalmente */
  justify-content: center; /* Centraliza conteúdo horizontalmente */
  width: 160px; /* Define uma largura fixa */
  height: 40px; /* Define uma altura fixa */
  text-align: center; /* Centraliza o texto */
  box-sizing: border-box; /* Inclui padding e border no tamanho total */
}

.discord {
  padding: 10px 20px; /* Ajuste o valor conforme necessário */
  margin-right: 25px;
  background-color: #5865f2; /* Cor de fundo para Discord */
}

.github {

  padding: 12px 20px; /* Ajuste o valor conforme necessário */
  margin-right: 25px;
  background-color: #0a0a0a; /* Cor de fundo para Github */
}

.discord:hover, .github:hover {
  opacity: 0.8; /* Efeito de hover para ambos */
}

.discord i {
  margin-right: 10px; /* Espaço entre o ícone e o texto */
  font-size: 20px; /* Define um tamanho fixo para os ícones */
  line-height: 1; /* Garante que a altura da linha não afete o tamanho do ícone */
}

 .github i {
  margin-right: 10px; /* Espaço entre o ícone e o texto */
  font-size: 20px; /* Define um tamanho fixo para os ícones */
  line-height: 1; /* Garante que a altura da linha não afete o tamanho do ícone */
}

/* Estilo para o botão "back to top" */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background: linear-gradient(to right, var(--color1) 0%, var(--color2) 100%);
  color: #0f0f0f;
  border: none;
  padding: 10px 38px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 18px;
  z-index: 1000;
  transition: transform 0.2s cubic-bezier(0.32, 1.05, 0.52, 0.93), display 0.2s ease-in-out;
}

#back-to-top.show {
  display: block;
}

#back-to-top:hover {
  transform: scale(1.08);
  animation: colorShift 2s infinite forwards;
}

#back-to-top:active {
  transform: scale(0.9);
  opacity: 0.8;
}

/* Estilos para esconder o cabeçalho gradualmente */
header {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

header.hide {
  opacity: 0;
  visibility: hidden;
}


/** --------- KEYFRAMES ------- */

@keyframes inviteHover {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes shiftCredit {
  0%,
  100% {
    border: 3px solid #e1591f;
  }
  33% {
    border: 3px solid #d21e1e;
  }
  66% {
    border: 3px solid #2063a2;
  }
}

@keyframes colorShift {
  0%,
  100% {
    box-shadow: 0px 0px 30px var(--color1);
  }
  50% {
    box-shadow: 0px 0px 30px var(--color2);
  }
}

@keyframes colorChange {
  0% { color: #FF0000; } /* Vermelho Neon */
  25% { color: #00FF00; } /* Verde Neon */
  50% { color: #0000FF; } /* Azul Neon */
  75% { color: #FFFF00; } /* Amarelo Neon */
  100% { color: #FF00FF; } /* Rosa Neon */
}

.rainbow-text {
  animation: colorChange 2s linear infinite;
  display: inline;
}

/* Adicione o estilo para os botões aqui */
.join, .projectButton, .invite {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.join {
  background-color: #4CAF50;
}

.projectButton {
  background-color: #008CBA;
}

.invite {
  background-color: #f44336;
}

.join:hover, .projectButton:hover, .invite:hover {
  opacity: 0.8;
}