@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@200&family=Montserrat:wght@300&display=swap");

html {
  overflow-x: hidden;
  user-select: none;
}

* {
  font-family: "Barlow", sans-serif;
  font-family: "Montserrat", sans-serif;
}

.header {
  width: 100%;
  height: 100vh;
  position: relative;
}

.slider {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide_viewer {
  position: relative;
}

.slide_group {
  width: 100%;
  height: 100%;
  position: absolute;
}

.imgs {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.imgs:first-child {
  display: block;
  opacity: 1;
}

.imgs img {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
}

.header_menu {
  position: absolute;
  width: 100%;
  height: 40%;
  background-color: rgba(150, 150, 150, 0.3);
  display: flex;
  align-items: center;
  top: 30%;
}

.header_links {
  font-size: 2rem;
  color: white;
  font-weight: 600;
  margin: 0.5rem;
  letter-spacing: 2px;
  transition: 0.5s;
  text-decoration: none;
}

.header_links_main {
  font-size: 1.5rem;
  color: white;
  letter-spacing: 3px;
  font-weight: 600;
  text-decoration: none;
}

.header_links:hover {
  color: rgba(50, 50, 50, 0.8);
  cursor: pointer;
}

#menu_btn {
  display: none;
}

.header_small {
  display: none;
}

@media screen and (min-width: 900px) {
  .header_links:hover {
    margin: 0 1rem 0 1rem;
  }
}

.content-header {
  display: none;
}

@media screen and (max-width: 950px) {
  .slider {
    display: none;
  }

  .header {
    width: 100%;
    height: 10vh;
    background-color: white;
  }

  .header_menu {
    width: 100%;
    height: 100%;
    top: 0;
  }

  .header_links_main {
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: rgb(50, 50, 50);
  }

  #menu_btn {
    font-size: 2rem;
    display: flex;
    align-items: center;
    color: rgba(50, 50, 50, 0.2);
    display: block;
  }

  #menu_btn:hover {
    color: rgba(50, 50, 50, 0.4);
    cursor: pointer;
    transition: 0.3s;
  }

  .f {
    display: none;
  }

  .header_links {
    font-size: 1.5rem;
    color: rgb(50, 50, 50);
    font-weight: 600;
  }

  .header_menu_small {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    text-align: center;
  }

  .header_small {
    z-index: 999;
    display: flex;
    align-items: center;
    top: 10vh;
    right: 220;
    left: 0;
    background-color: rgba(240, 240, 240, 0.9);
    border-bottom: 3px solid rgba(50, 50, 50, 0.2);
    opacity: 0;
    position: absolute;
    transition: all 1s;
    z-index: -1;
  }

  .header {
    border-bottom: 3px solid rgba(0, 0, 0, 0.19);
  }

  .content-header {
    display: block;
    position: relative;
    overflow: hidden;
    height: 90vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .content-header:before {
    content: "";
    width: 100%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    transform: translateZ(0);
    background: url(../img/clouds.jpg) 20% 0 no-repeat;
    background-size: cover;
    background-attachment: fixed;
    animation: grow 250s linear 10ms infinite;
    transition: all 0.4s ease-in-out;
    z-index: -2;
  }

  @keyframes grow {
    0% {
      transform: scale(1) translateY(0px);
    }

    50% {
      transform: scale(1.2) translateY(-210px);
    }
  }

  .header-instruction {
    width: 100%;
    height: auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header-instruction p {
    color: rgba(158, 146, 146, 0.7);
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(158, 146, 146, 0.6);
    border-radius: 5%;
  }
}

.footer {
  width: 100%;
  height: 10vh;
  background: rgba(127, 127, 127, 0.2);
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer p {
  font-weight: 600;
  color: rgba(59, 57, 57, 0.6);
  padding: 0;
  margin: 0;
}

.img-CJ {
  cursor: default;
}

#donate-button {
  opacity: 0.9;
  width: 90%;
  height: auto;
}

@media screen and (min-width: 950px) {
  .content {
    transition: all 0.3s ease-in-out;
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 2s all ease;
  }

  .content.active {
    transform: translateY(0);
    opacity: 1;
  }

  .road {
    transform: translateY(150px);
    opacity: 0;
    transition: 2s all ease;
  }

  .road.active {
    transform: translateY(0px);
    opacity: 1;
  }

  .discord-join {
    transform: translateY(150px);
    opacity: 0;
    transition: 2s all ease;
  }

  .discord-join.active {
    transform: translateY(0px);
    opacity: 1;
  }

  .header {
    transition: all 0.3s ease-in-out;
    transform: translateY(-50px);
    opacity: 0;
    transition: 2s all ease;
  }

  .header.active {
    transform: translateY(0);
    opacity: 1;
  }
}