@import url('https://fonts.googleapis.com/css2?family=Kanit&family=Poppins:wght@300&display=swap');
* {
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  width: 100%;
  background-color: #2d2d2d;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  background-color: #2d2d2d;
}

nav .logoBox {
  margin-left: 20px;
}
nav .logoBox b {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  color: white;
  font-size: 40px;
}

nav .links {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 25px;
  margin-right: 20px;
}

nav .links a {
  color: #ccc;
  text-decoration: underline;
  text-align: center;
  font-size: 20px;
  transition: ease-in-out 300ms;
  font-family: 'Poppins', sans-serif;
}

nav .links a:hover {
  color: #fff;
  cursor: pointer;
}

nav .links a.joinBtn {
  border: 0.16em solid rgb(255, 255, 255);
  text-shadow: 0 0.04em 0.04em rgba(255, 255, 255, 0.253);
  border-radius: 2em;
  color: white;
  padding: 10px 12px;
  text-decoration: none;
}

nav .links a.joinBtn:hover {
   color: black;
  background-color: rgb(255, 255, 255);
  cursor: pointer;
}


header {
  background-image: url("./bg.jpg");
  background-size: cover;
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

header h1 {
  color: white;
  font-family: 'Kanit', sans-serif;
  text-align: center;
  font-size: 70px;
}

header p {
  color: #ccc;
  font-size: 30px;
  font-family: 'Poppins', sans-serif;
}

header a {
  border: 0.16em solid rgb(255, 255, 255);
  text-shadow: 0 0.04em 0.04em rgba(255, 255, 255, 0.253);
  border-radius: 2em;
  color: white;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 25px;
  font-family: 'Poppins', sans-serif;
  transition: ease-in-out 300ms;
}

header a:hover {
  color: black;
  background-color: rgb(255, 255, 255);
  cursor: pointer;
}

section.clan {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 0;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #efefef;
}

section.clan h1 {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 45px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

section.clan p {
  color: #efefef;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  max-width: 60%;
}

section.clan .btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

section.clan .btns a {
  border: 0.16em solid rgb(255, 255, 255);
  text-shadow: 0 0.04em 0.04em rgba(255, 255, 255, 0.253);
  border-radius: 2em;
  color: white;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 22px;
  font-family: 'Poppins', sans-serif;
  transition: ease-in-out 300ms;
}

section.clan .btns a:hover {
  color: black;
  background-color: rgb(255, 255, 255);
  cursor: pointer;
}

section.giveaways {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px 0;
  justify-content: center;
  align-items: center;
}

.giveaways h1 {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 45px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.giveaways p {
  color: #efefef;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  max-width: 60%;
}

footer {
  width: 100%;
  background-color: #ccc;
  font-family: 'Poppins', sans-serif;
  padding: 15px 0;
/*   display: flex;
  justify-content: center; */
  text-align: center;
  font-weight: 600;
}

footer p {
  color: #2d2d2d;
  font-size: 18px;
  text-align: center;
}

footer a {
  text-decoration: underline;
  color: #2d2d2d;
  font-size: 18px;
  text-align: center;
}

footer a:hover {
  color: #000;
}

@media screen and (max-width: 1000px){
  nav {
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    gap: 5px;
  }

  nav .logoBox {
    margins: 0;
  }

  nav .logoBox b {
    font-size: 26px;
    font-weight: 400;
  }

  nav .links {
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    margin: 0;
  }

  nav .links a {
    font-size: 12px;
  }

  nav .links .joinBtn {
    padding: 4px 5px;
  }

  header {
    margin-top: 10px;
    gap: 15px;
  }

  header h1 {
    font-size: 40px;
  }

  header p {
    font-size: 18px;
  }

  header a {
    padding: 6px 8px;
    font-size: 20px;
  }

  section.clan {
    gap: 15px;
  }

  section.clan p{
    max-width: 80%;
  }

  .giveaways {
    gap: 15px;
  }

  .giveaways p{
    max-width: 80%;
  }
}