/* Importing local font */
@font-face {
  font-family: "Alliance";
  src: url("fonts/AllianceNo1-Bold.woff2");
  font-weight: bold;
}

@font-face {
  font-family: "Alliance";
  src: url("fonts/AllianceNo1-Regular.woff2");
  font-weight: normal;
}

@font-face {
  font-family: "Alliance";
  src: url("fonts/AllianceNo1-Medium.woff2");
  font-weight: 500;
}

.hidden {
  opacity: 0;
  transform: translateY(30%);
  transition: opacity 0.75s ease-out, transform 1.15s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 5%;
}

.header h1 {
  font-weight: 500;
  font-size: 1.5rem;
}

ul {
  list-style: circle;
  font-size: 2rem;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

body {
  margin: 0;
  font-family: "Alliance";
  background-color: black;
  color: white;
}

.logo {
  color: #009e7b;
}

.nav {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav * {
  margin-left: 0.5rem;
  white-space: pre;
  width: fit-content;
  display: flex;
  position: relative;
  cursor: pointer;
  transition: color 0.25s ease-out;
}

@media (min-width: 768px) {
  .nav * {
    margin-left: 1rem;
    width: max-content;
    word-break: break-word;
  }

  .nav * br {
    display: none;
  }
}

.nav h1::after {
  display: flex;
  content: "+";
  align-items: flex-start;
  font-size: 1rem;
  margin-left: 2pt;
}

@keyframes navbar-animate-from-top-with-opacity {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  animation: navbar-animate-from-top-with-opacity 1s ease-out;
}

.nav h1:hover {
  color: #009e7b;
}

p {
  font-size: 2rem;
  max-width: 1000px;
  width: 70%;
  min-width: 300px;
}

section:first-of-type p {
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  section:first-of-type p {
    font-size: 3rem;
  }
}

.vortex {
  color: #009e7b;
  font-weight: bold;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: start;
  padding: 0 2rem;
  margin-left: 0.3rem;
  text-align: left;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .main {
    margin-left: 5rem;
    padding: 0 5rem;
  }
}

h1 {
  font-family: "Alliance";
  font-weight: bold;
}

p a {
  color: #009e7b;
  text-decoration: none;
  transition: color 0.25s ease-out;
}

p a:hover {
  color: #009e7b;
  text-decoration: underline;
}

h1 a {
  color: inherit;
  text-decoration: none;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer p {
  font-size: 0.75rem;
  color: #808080;
}

.social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  margin-top: -6px;
  padding: 0;
}

.social-icons * {
  margin-right: 0.5rem;
}

.discord-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("images/discord-mark-white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.telegram-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("images/telegram-icon-white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(1);
}

/* Variable with vortex gif url */
:root {
  --vortex-gif: url("images/vortex.gif");
  --radial-gradient-transparent-inside-black-outside: radial-gradient(
    circle,
    transparent 0%,
    black 75%,
    black 100%
  );
}

.vortex-gif-animation-side {
  display: none;
  position: absolute;
  top: 200px;
  right: 0;
  /* margin-right: 10px; */
  width: 400px;
  height: 400px;
  z-index: -1;
}

@media (min-width: 768px) {
  .vortex-gif-animation-side {
    display: block;
    transition: top 0.2s ease-out;
  }
}

@media (min-width: 1024px) {
  .vortex-gif-animation-side {
    width: 40%;
    min-width: 550px;
    height: 40%;
    min-height: 550px;
    top: 100px;
  }

  :root {
    --radial-gradient-transparent-inside-black-outside: radial-gradient(
      circle,
      transparent 0%,
      black 45%,
      black 100%
    );
  }
}

.vortex-gif-animation {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: var(--radial-gradient-transparent-inside-black-outside),
    var(--vortex-gif);
}
