/* =========================
   GLOBAL
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background-color: #0f0f0f;
  color: #fcfcfc;

  font-family: "JetBrains Mono", monospace;
}

/* =========================
   TEXT
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "JetBrains Mono", monospace;

  text-align: center;

  color: #fcfcfc;

  transition:
    transform 0.3s ease,
    text-shadow 0.3s ease;
}

/* TEXT HOVER EFFECT */

h1:hover,
h2:hover,
h3:hover,
h4:hover,
h5:hover,
h6:hover {
  transform: scale(1.03);

  text-shadow:
    0 0 10px #7704fc88,
    0 0 25px #7704fc44;
}

h1 {
  font-size: 3rem;

  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
}

p {
  font-family: "JetBrains Mono", monospace;

  text-align: center;

  color: #8f8e8e;

  font-size: 1.2rem;

  line-height: 1.7;

  transition:
    transform 0.3s ease,
    text-shadow 0.3s ease;
}

/* PARAGRAPH HOVER */

p:hover {
  transform: scale(1.02);

  text-shadow: 0 0 10px #7704fc44;
}

/* =========================
   PURPLE
========================= */

.purple {
  color: #7704fc;
}

.purple-faded {
  color: #7804fc75;
}

/* =========================
   NAVBAR
========================= */

.nav {
  position: fixed;

  top: 20px;
  left: 20px;

  z-index: 1000;

  display: flex;

  align-items: center;

  gap: 10px;

  list-style: none;

  padding: 10px;
  margin: 0;

  background: #111;

  border: 1px solid #252525;

  border-radius: 50px;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.nav a {
  display: block;

  color: white;

  text-decoration: none;

  padding: 10px 18px;

  border-radius: 50px;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav a:hover {
  background-color: #333;

  transform: translateY(-2px);
}

/* =========================
   LOGO
========================= */
.logo {
  width: 45px;
  height: 45px;

  padding: 0 !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  background: #7704fc;

  border-radius: 50%;

  overflow: hidden;

  transition: transform 0.25s ease;
}

.logo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.logo:hover {
  transform: scale(1.1) !important;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 100px 20px;
}

.hero-content {
  width: 100%;

  max-width: 800px;

  transition: transform 0.15s ease-out;
}

.hero p {
  max-width: 700px;

  margin: 0 auto 30px auto;
}

/* =========================
   BUTTON
========================= */

button {
  display: block;

  margin: 30px auto;

  outline: 3px dashed #320646;

  background-color: #8c06ca;

  color: #fcfcfc;

  border: none;

  padding: 15px 40px;

  border-radius: 999px;

  font-family: "JetBrains Mono", monospace;

  font-size: 18px;

  cursor: pointer;

  transition:
    background-color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
}

button:hover {
  background-color: #1d0631;

  transform: scale(1.05);

  box-shadow: 0 0 20px #7704fc66;
}

/* =========================
   SOCIALS
========================= */

.socials {
  display: flex;

  flex-direction: row;

  justify-content: center;

  align-items: center;

  gap: 15px;

  margin-top: 25px;
}

.socials a {
  display: flex;

  align-items: center;

  justify-content: center;

  min-width: 100px;

  padding: 10px 20px;

  background-color: #171717;

  color: #fcfcfc;

  border: 1px solid #2a2a2a;

  border-radius: 999px;

  text-decoration: none;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.socials a:hover {
  background-color: #7704fc;

  border-color: #7704fc;

  transform: translateY(-3px);

  box-shadow: 0 5px 20px #7704fc55;
}

/* =========================
   DIVIDER
========================= */

.divider {
  width: 80%;

  height: 2px;

  margin: 0 auto;

  background-color: #333;
}

/* =========================
   CONTENT
========================= */

.content {
  min-height: 80vh;

  max-width: 900px;

  margin: 0 auto;

  padding: 120px 30px;
}

.content p {
  margin: 30px auto;
}

/* =========================
   FOOTER
========================= */

footer {
  padding: 40px 20px;
}

footer p {
  font-size: 0.8rem;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  p {
    font-size: 1rem;
  }

  .nav {
    top: 10px;
    left: 10px;
  }

  .nav a {
    padding: 8px 12px;

    font-size: 0.8rem;
  }

  .logo {
    width: 35px;
    height: 35px;
  }

  .hero {
    padding: 80px 20px;
  }

  .socials {
    gap: 10px;
  }

  .socials a {
    min-width: 90px;
    padding: 9px 15px;
  }
}
