@import "normalize.css";

:root {
  --treep-gradient: linear-gradient(90deg, rgba(117, 44, 0, 1) 0%, rgba(185, 76, 0, 1) 51%, rgba(0, 113, 12, 1) 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ecf0f1;
  font-family: Arial, Helvetica, sans-serif;
}

/* Header style */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background-color: #ffffff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);

  .game {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    text-decoration: none;
    color: #333333;

    a {
      margin: 1rem;
      text-decoration: none;
      color: #333333;
      font-size: 1.5rem;

      &:hover {
        color: #666666;
      }
    }

    p {
      margin-left: 1rem;
      font-size: 1.25rem;
    }

    img {
      height: 7vh;
    }
  }
}


/* Banner style */
.banner {
  position: relative;
  overflow: hidden;

  text-align: center;
  height: 95vh;
  color: #ffffff;

  .main-title {
    margin-top: 12.5vh;
  }

  .blured-image {
    height: 100%;
    /* backdrop-filter: blur(0.5rem); */
    filter: blur(0.3rem);
  }

  .content {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

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

    h1 {
      font-size: 5rem;
    }

    p {
      font-size: 2rem;
      margin-bottom: 3rem;
    }
  }
}

.dl-button {
  display: inline-block;
  padding: 1.5rem 5rem;
  background: var(--treep-gradient);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 2rem;
  border-radius: 2rem;
  box-shadow: 0 0.5vh 1.5vh rgba(0, 0, 0, 0.2);

  &:hover {
    transform: scale(1.05);
    box-shadow: 0 0.6vh 2vh rgba(0, 0, 0, 0.3);
  }
}


/* About section style */
.about {
  padding: 5rem 10rem;
  color: #333333;

  .general {
    font-size: 1.9rem;
    text-align: center;
    margin-bottom: 10rem;
  }

  h1 {
    font-size: 5rem;
    text-align: center;
  }

  h3 {
    font-size: 3rem;
    margin-bottom: 5rem;
    text-align: center;
  }

  .title {
    font-weight: bold;
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .feat-img {
    width: 25vw;
    border-radius: 2rem;
  }

  .feat-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8rem;
    font-size: 1.9rem;
    gap: 2rem;
  }

  .feat-text {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .end-msg {
    text-align: center;
    margin-top: 5rem;
    font-size: 1.9rem;
  }
}


/* Download section style */
.download {
  text-align: center;

  margin: 0 auto;
  padding-bottom: 5rem;


  h1 {
    font-size: 5rem;
    color: #333333;
  }

  a {
    width: 11rem;
    height: 4rem;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    background: var(--treep-gradient);
    border-radius: 4rem;
    box-shadow: 0 0.5vh 1.5vh rgba(0, 0, 0, 0.2);

    text-decoration: none;

    font-weight: bold;
    font-size: 2rem;

    &:hover {
      transform: scale(1.05);
      box-shadow: 0 0.6vh 2vh rgba(0, 0, 0, 0.3);
    }
  }

  .download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .download {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download a {
    width: 80%;
    height: auto;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* Footer style */
footer {
  padding-top: 1rem;
  padding-bottom: 2rem;

  text-align: center;
  font-size: 0.9rem;

  color: #888888;
  background-color: #ffffff;

  a {
    color: #888888;
  }
}