html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #121212;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.837);
}
.navBar {
  margin-right: 40px;
  color: white;
  padding: 0.3rem;
  font-size: 18px;
}
.logoNav {
  height: 2.5rem;
}
.clanName {
  margin-left: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.clanName img {
  padding: 0;
  margin: 0;
}
.clanName a {
  font-size: 18px;
}
.navBar ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.navBar li {
  list-style-type: none;
}
header a {
  text-decoration: none;
  color: white;
  cursor: pointer;
}
.navBar a:hover {
  color: rgba(82, 82, 218, 0.721);
}
.logoNombre img {
  
}

.wrapper {
  margin-top: 6rem;
}
.wrapper h1 {
  margin-bottom: 4rem;
}
.sliderWrapper h1 {
  text-align: center;
  color: #d4af37;
  font-family: "Almendra", serif;
}
.classWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6rem;
}
.classDiv {
  background-color: rgba(0, 0, 0, 0.734);
  width: 50%;
  border: 1px solid rgba(194, 227, 26, 0.778);
  text-align: center;
}
.classDiv p {
  width: 90%;
  margin: 0 auto;
  line-height: 1.6;
  color: #d4af37;
  font-size: 25px;
  padding: 10px 0;
}
.classDiv img {
  margin: 20px;
}
.classDiv h2 {
  color: #d4af37;
}
.textClass {
  background-color: #d6ba5b20;
  border: 2px #d4af37 solid;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 30px;
}
.didiButton,
.damageCalc,
.rankingLink {
  display: block;
  padding: 15px;
  margin: 0 auto 20px auto;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  border-radius: 5px;
  border: 1px solid transparent;
}
.didiButton {
  background-color: #5865f2;
  color: white;
  width: 30%;
}
.damageCalc {
  background-color: rgb(226, 226, 92);
  color: rgb(13, 4, 56);
  width: 45%;
}
.rankingLink {
  background-color: #c9a227;
  color: black;
  width: 35%;
}
.didiButton:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #5865f2;
  transform: scale(1.03);
  border: 1px #5865f2 solid;
  box-shadow: 0 0 10px #5865f2;
}
.damageCalc:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: rgb(226, 226, 92);
  transform: scale(1.03);
  border: 1px rgb(226, 226, 92) solid;
  box-shadow: 0 0 10px rgb(226, 226, 92);
}
.rankingLink:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #c9a227;
  transform: scale(1.03);
  border: 1px #c9a227 solid;
  box-shadow: 0 0 10px #c9a227;
}
.joinWrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 70%;
  margin: 0 auto;
  margin-top: 6rem;
}
.joinFoto {
  text-align: center;
}
.joinFoto img {
  width: 60%;
  object-fit: cover;
}
.joinText {
  color: #d4af37;
  font-size: 20px;
  line-height: 1.6;
  flex: 2;
  margin-bottom: 10px;
}

.slideshow-container {
  position: relative;
  margin: auto;
  max-width: 1200px;
}

/* HIDE THE IMAGES */
.mySlides {
  display: none;
}
.mySlides img {
  width: 100%;
  height: 90vh;
  overflow: hidden;
  border-radius: 2px;
}

/* NEXT/PREV BUTTONS */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* NEXT/PREV */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.footer {
  background-color: #111;
  color: #ccc;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid #333;
}

.footer-content {
  width: 70%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #d4af37;
}

.footer-social a {
  color: #ccc;
  font-size: 20px;
}

.footer-social a:hover {
  color: #5865f2;
}

/* FADING */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* QUERY */
/* TABLET */
@media (max-width: 1024px) {
  /* HEADER */
  header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .navBar ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* WRAPPER */
  .wrapper {
    margin-top: 40px;
    padding: 0 15px;
  }

  /* SLIDER */
  .mySlides img {
    height: 70vh;
    object-fit: cover;
  }

  /* JOIN SECTION */
  .joinWrapper {
    width: 85%;
  }

  .joinFoto img {
    width: 80%;
  }

  .joinText {
    font-size: 18px;
  }

  /* CLASS BOX */
  .classDiv {
    width: 90%;
  }

  .classDiv p {
    font-size: 18px;
  }

  /* BUTTONS */
  .didiButton,
  .damageCalc,
  .rankingLink {
    width: 70%;
  }

  /* LOGO */
  .logoNombre img {
    position: static;
    display: block;
    margin: 20px auto;
    height: 120px;
  }
}

/* PHONE */
@media (max-width: 600px) {
  /* HEADER */
  header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    justify-content: center;
  }
  .navBar {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .navBar ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .clanName {
    justify-content: center;
  }

  /* WRAPPER */
  .wrapper {
    margin-top: 30px;
    padding: 0 10px;
  }

  /* SLIDER (IMPORTANT FIX) */
  .mySlides img {
    height: 50vh;
    object-fit: cover;
  }

  .slideshow-container {
    width: 100%;
  }

  /* JOIN SECTION */
  .joinWrapper {
    width: 90%;
  }

  .joinFoto img {
    width: 100%;
  }

  .joinText {
    font-size: 16px;
    text-align: center;
  }

  /* BUTTONS */
  .didiButton,
  .damageCalc,
  .rankingLink {
    width: 80%;
    display: block;
    margin: 10px auto;
  }

  /* CLASS BOX */
  .classDiv {
    width: 95%;
  }

  .classDiv p {
    font-size: 14px;
  }

  /* LOGO */
  .logoNombre img {
    height: 90px;
    position: static;
    display: block;
    margin: 20px auto;
  }

  /* FOOTER */
  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-social {
    display: flex;
    justify-content: end;
  }
}
