@import url("/src/css/variable/light.css");
@import url("/src/css/variable/dark.css");
@import url("/src/css/variable/streaming.css");

@import url("/src/css/components/card.css");

html,
body {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
}

.navBar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;

  button {
    background: var(--text);
    font-size: 20px;
    padding-left: 1.5rem !important;
    padding-bottom: 1.2rem !important;
    padding: 0.5rem 0.8rem;
    border: none;
    border-bottom-left-radius: 100%;
  }
}

.navBar {
  button:hover {
    opacity: 0.6;
    cursor: pointer;
  }
}

.container {
  width: 100%;
  min-height: 100dvh;
}

.head-container {
  width: 100%;
  height: 100dvh;
  background: var(--overlay);
  backdrop-filter: blur(1rem);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .text-container {
    margin: 1rem 0;
    color: var(--text);
    text-align: center;

    h1,
    p {
      margin: 0.1rem 0;
    }
  }
}

.sub-container {
  width: 100%;
  height: 30dvh;

  background: url(/src/images/slide-bg.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  div {
    width: 100%;
    height: 100%;

    background: var(--overlay);
    backdrop-filter: blur(0.5rem);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.heading-1 {
  background: url(/src/images/bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 100%;
  clip-path: circle(100px at center);

  div {
    width: 100%;
    height: 100%;
    background: url(/src/images/profile.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

#profile-pic:hover div {
  transform: scale(1.05);
}

#about {
  width: 80%;
  margin: 0 auto;

  h1 {
    text-decoration: underline;
  }
}

#platform {
  .content-container {
    width: 70%;
    margin: 1rem auto;

    display: flex;
    flex-direction: row;
    justify-content: center;

    a {
      width: 100%;
      text-align: center;
      padding: 1rem;
      text-decoration: none;
      border-left: 1px solid var(--bg);
      border-right: 1px solid var(--bg);
    }
  }
}

#platform .content-container a:hover {
  opacity: 0.6;
  transform: scale(0.95);
}

#platform .content-container a:nth-child(1) {
  border-right: 1px solid var(--bg);
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

#platform .content-container a:nth-last-child(1) {
  border-left: 1px solid var(--bg);
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

#released {
  .content-container {
    width: 70%;
    margin: 0 auto;
    padding: 1rem 0;

    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(0,18rem));
    grid-auto-flow: row;
    gap: 1rem;

    justify-content: center;
  }
}

.footer {
  text-align: center;
  padding: 1rem 0;

  .menu {
    width: 100%;

    display: flex;
    flex-direction: row;

    div {
      width: 100%;
      display: flex;
      flex-direction: column;

      a {
        margin: 0.5rem 0;
      }
    }
  }
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

.footer a:hover {
  opacity: 0.6;
  text-decoration: underline;
}

@media only screen and (max-width: 600px) {
  #about {
    width: 100% !important;
  }

  #platform {
    .content-container {
      width: 100% !important;
    }
  }

  #released {
    .content-container {
      width: 100% !important;
    }
  }

  .footer {
    text-align: center;
    padding: 1rem 0;

    .menu {
      width: 100%;

      display: flex;
      flex-direction: row;
    }
  }

  .footer .menu div {
    display: none;
  }

  .footer .menu div:nth-last-child(1) {
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    a {
      width: 50%;
      margin: 0.5rem 0;
    }
  }
}
