
/*
Theme Name: EminenceRP WP Theme
Text Domain: EminenceRP
Version: 1.0
Description: Thème personnalisé pour le site web d'EminenceRP
Author: TardiGab
*/
@font-face {
  font-family: "SoftMicro Normal o";
  src: url("./assets/fonts/SoftMicroNormalo-Regular.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "League Spartan";
  src: url("./assets/fonts/LeagueSpartan.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}
h1 {
  font-size: clamp(4rem, 2.125rem + 6vw, 5.5rem);
}

h2 {
  font-size: clamp(2.8125rem, 1.4844rem + 4.25vw, 3.875rem);
}

h3 {
  font-size: clamp(2rem, 1.0625rem + 3vw, 2.75rem);
}

h4 {
  font-size: clamp(1.375rem, 0.7344rem + 2.0833vw, 1.9063rem);
}

p {
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
  line-height: 140%;
}

footer {
  width: 100%;
}

.footer {
  padding-left: 2vw;
  padding-right: 2vw;
  padding-top: 3rem;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  opacity: 1;
  background: linear-gradient(90deg, rgb(255, 194, 26) 0%, rgb(254, 1, 90) 100%);
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: #F2F8FC;
}
.footer__logo {
  height: 100px;
  width: 100px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.footer__logo img {
  width: 100px;
  height: auto;
}
.footer__notice {
  margin: 0;
}
.footer__notice small {
  display: inline-block;
  max-width: 40ch;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #ced4d8;
}
.footer__left {
  margin-bottom: 1rem;
}
@media screen and (max-width: 1080px) {
  .footer__left {
    margin-bottom: 0;
  }
}
.footer__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
}
@media screen and (max-width: 768px) {
  .footer__right {
    align-items: flex-start;
  }
}
.footer__middle {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 768px) {
  .footer__middle {
    align-items: flex-start;
  }
}
.footer__link {
  text-decoration: none;
}
.footer__link:hover {
  text-decoration: underline;
}
.footer__link--start {
  color: #FFC21A;
  font-weight: 800;
}
.footer__link--start:hover {
  text-decoration: underline;
}
.footer__link:first-child a {
  color: #FFC21A;
  font-weight: 800;
}
.footer__list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__item {
  text-decoration: none;
  color: #F2F8FC;
}
.footer__item:hover {
  text-decoration: underline;
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 6rem;
  color: #F2F8FC;
}
.footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.footer__small {
  font-size: 0.85rem;
  color: #F2F8FC;
  line-height: 1.4;
}

.nav {
  font-family: "League Spartan", sans-serif;
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
  font-weight: 600;
  position: fixed;
  top: 0;
  height: 6rem;
  width: 100%;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(25px);
  transition: all 0.5s ease;
}
@media screen and (max-width: 1080px) {
  .nav {
    height: 4rem;
  }
}
.nav--scroll {
  height: 4rem;
  font-size: 1rem;
}
.nav--scroll img {
  height: 50px;
}
.nav__left {
  display: flex;
  align-items: center;
  padding-left: 48px;
}
@media screen and (max-width: 1080px) {
  .nav__left {
    padding-left: 24px;
  }
}
.nav__logo {
  margin-right: 30px;
  height: 100px;
  width: auto;
  transition: all 0.5s ease;
}
@media screen and (max-width: 1080px) {
  .nav__logo {
    height: 50px;
  }
}
.nav__right {
  padding-right: 48px;
}
@media screen and (max-width: 1080px) {
  .nav__right {
    padding-right: 24px;
  }
}
.nav__list {
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.nav__list > li {
  margin-right: 20px;
}
.nav__list > li:last-child {
  margin-right: 0;
}
.nav__item {
  margin-right: 20px;
}
.nav__item:last-child {
  margin-right: 0;
}
.nav__link {
  text-decoration: none;
  color: #F2F8FC;
  padding-bottom: 2px;
}
.nav__burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.nav__burger span {
  height: 3px;
  width: 32px;
  background: #F2F8FC;
  margin: 4px 0;
  transition: 0.4s;
}
@media screen and (max-width: 1080px) {
  .nav__burger {
    display: flex;
    padding-right: 24px;
  }
}
.nav::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 1;
  background: linear-gradient(90deg, rgb(255, 194, 26) 0%, rgb(254, 1, 90) 100%);
}
.nav__start, .nav__store {
  background-color: #FFC21A;
  color: #1f1f1f;
  border-radius: 16px;
  padding: 8px 16px;
  transition: filter 0.5s ease;
}
.nav__start:hover, .nav__store:hover {
  filter: brightness(0.7);
}
.nav__store {
  background-color: #00F8FF;
}
@media (max-width: 1080px) {
  .nav__left > .nav__list {
    display: none;
  }
  .nav__right {
    display: none;
  }
}

.nav-mobile {
  position: fixed;
  top: calc(4rem + 2px);
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh - 4rem);
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 997;
  transform: translateX(100%);
  transition: all 0.5s ease;
}
.nav-mobile--active {
  transform: translateX(0);
}
@media screen and (min-width: 1081px) {
  .nav-mobile--active {
    display: none;
  }
}
.nav-mobile__list {
  font-family: "League Spartan", sans-serif;
  font-size: clamp(1.4375rem, 0.8125rem + 2vw, 1.9375rem);
  font-weight: 600;
  padding-left: 5vw;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  list-style-type: none;
  height: calc(100vh - 4rem);
}
.nav-mobile__list--bottom {
  gap: 16px;
  padding-left: 0px;
}
.nav-mobile__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.nav-mobile__item--top {
  border-bottom: 1px solid #F2F8FC;
}
.nav-mobile__start, .nav-mobile__store {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFC21A;
  color: #1f1f1f;
  border-radius: 16px;
  width: 90vw;
  height: 4rem;
  transition: all 0.5s ease;
}
.nav-mobile__start:hover, .nav-mobile__store:hover {
  filter: brightness(0.7);
}
.nav-mobile__store {
  background-color: #00F8FF;
}
@media (min-width: 1080px) {
  .nav-mobile__burger {
    display: flex;
  }
}

@media screen and (max-width: 1080px) {
  .menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    flex: 1;
    text-decoration: none;
    color: #F2F8FC;
  }
}
.link-anim {
  position: relative;
  display: block;
}
.link-anim::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 2px;
  background-color: #F2F8FC;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.link-anim:hover::after {
  width: 100%;
  height: 2px;
  border-radius: 5px;
}

.wp-post {
  margin-top: 7rem;
  color: #F2F8FC;
  margin-left: 15rem;
  margin-right: 15rem;
  min-height: 100vh;
}
@media screen and (max-width: 1080px) {
  .wp-post {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}
.wp-post__h1 {
  font-size: clamp(4rem, 2.125rem + 6vw, 5.5rem);
  color: #FE015A;
}
.wp-post__h2 {
  font-size: clamp(2.8125rem, 1.4844rem + 4.25vw, 3.875rem);
}
.wp-post__h3 {
  font-size: clamp(2rem, 1.0625rem + 3vw, 2.75rem);
  margin: 0;
}
.wp-post__p {
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
  line-height: 140%;
}
.wp-post__article {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  color: #F2F8FC;
  transition: all 0.5s ease;
  margin-bottom: 1rem;
}
.wp-post__article:hover {
  filter: brightness(0.7);
}
.wp-post__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wp-post__thumbnail {
  width: 250px;
  height: 150px;
}
.wp-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 1080px) {
  .wp-post__thumbnail {
    width: 150px;
    height: 100px;
  }
}
.wp-post__meta {
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
  margin: 0;
}
.wp-post__link {
  text-decoration: none;
  color: #FE015A;
  transition: all 0.5s ease;
}
.wp-post__link:hover {
  text-decoration: underline;
}

.rules {
  margin-left: 15vw;
  margin-right: 15vw;
  margin-top: 7rem;
}
@media screen and (max-width: 768px) {
  .rules {
    margin-top: 5rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

.rules-section__h2 {
  display: flex;
  font-size: clamp(2.8125rem, 1.4844rem + 4.25vw, 3.875rem);
  color: #FE015A;
  cursor: pointer;
  transition: all 0.5s ease;
}
.rules-section__h2::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-6 0 24 24'%3E%3Cpath fill='%23FE015A' fill-rule='evenodd' d='M10.157 12.711L4.5 18.368l-1.414-1.414l4.95-4.95l-4.95-4.95L4.5 5.64l5.657 5.657a1 1 0 0 1 0 1.414'/%3E%3C/svg%3E");
  display: block;
  margin-right: 1rem;
  height: clamp(2.8125rem, 1.4844rem + 4.25vw, 3.875rem);
  width: clamp(2.8125rem, 1.4844rem + 4.25vw, 3.875rem);
  transition: all 0.5s ease;
}
.rules-section__h2--active::before {
  transform: rotate(90deg);
  transition: all 0.5s ease;
}
.rules-section__h3 {
  font-size: clamp(2rem, 1.0625rem + 3vw, 2.75rem);
}
.rules-section__h4 {
  font-size: clamp(1.375rem, 0.7344rem + 2.0833vw, 1.9063rem);
}
.rules-section__p {
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
  line-height: 140%;
  max-width: 80ch;
}
.rules-section__p--red {
  color: #FE015A;
}
.rules-section__item {
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
  line-height: 140%;
  margin-bottom: 1rem;
  max-width: 80ch;
}
.rules-section__item > ul > li {
  margin-bottom: 1rem;
}
.rules-section__item > ul > li > ul > li {
  margin-bottom: 1rem;
}
.rules-section__link {
  text-decoration: none;
  color: #FFC21A;
  transition: all 0.5s ease;
}
.rules-section__link:hover {
  text-decoration: underline;
}
.rules-section__content {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
  overflow: hidden;
}
.rules-section__content--active {
  max-height: 20000px;
  opacity: 1;
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.not-found__h1 {
  font-size: clamp(8rem, -14.306rem + 71.3793vw, 33.875rem);
  margin: 0;
}
.not-found__a {
  background-color: #FFC21A;
  color: #1f1f1f;
  border-radius: 16px;
  padding: 8px 16px;
  transition: all 0.5s ease;
  font-weight: 700;
}
.not-found__a:hover {
  filter: brightness(0.7);
}
.not-found__p {
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
}

.hero {
  overflow: hidden;
  height: 100vh;
}
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.hero__h1 {
  font-family: "SoftMicro Normal o";
  font-size: clamp(4rem, 0.1207rem + 12.4138vw, 8.5rem);
  margin: 0;
  position: absolute;
  top: 30%;
  left: 10%;
  max-width: 13ch;
  z-index: 1;
}
@media screen and (max-width: 1080px) {
  .hero__h1 {
    top: 30%;
    left: 5%;
  }
}

.category-legal__h2, .category-legal__h3, .category-legal__p, .category-illegal__h2, .category-illegal__h3, .category-illegal__p, .category-lore__h2, .category-lore__h3, .category-lore__p {
  text-align: center;
}
.category-legal__wrapper, .category-illegal__wrapper, .category-lore__wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  margin-left: 2rem;
  margin-right: 2rem;
}
.category-legal__container, .category-illegal__container, .category-lore__container {
  max-width: 380px;
}
.category-legal__container img, .category-illegal__container img, .category-lore__container img {
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 2px solid #FE015A;
}

.category-legal {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  padding-top: 3%;
}
.category-legal::before {
  content: "";
  position: absolute;
  width: 110%;
  height: 110%;
  top: 0;
  background-image: url("assets/images/legalbg.webp");
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  filter: brightness(0.2) blur(5px);
}
.category-legal__h2 {
  margin-top: 3%;
}

.category-illegal {
  position: relative;
  overflow: hidden;
}
.category-illegal::before {
  content: "";
  position: absolute;
  width: 110%;
  height: 110%;
  background-image: url("assets/images/illegalbg.webp");
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  filter: brightness(0.3) blur(5px);
}
.category-illegal__content {
  max-width: 75%;
  margin: auto;
  padding-top: 3%;
  padding-bottom: 3%;
  height: 100%;
}
@media screen and (max-width: 1080px) {
  .category-illegal__content {
    max-width: 90%;
  }
}
.category-illegal__wrapper {
  justify-content: flex-start;
}
@media screen and (max-width: 1080px) {
  .category-illegal__wrapper {
    justify-content: center;
  }
}
.category-illegal__container img {
  border: 2px solid #FFC21A;
}

.category-lore {
  min-height: 100vh;
  background-image: url("assets/images/lorebg.webp");
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-lore__content {
  margin-top: 3%;
}
.category-lore__p {
  text-align: left;
  max-width: 50ch;
}

.last-patch-note {
  max-width: 75%;
  margin: auto;
}
@media screen and (max-width: 1080px) {
  .last-patch-note {
    max-width: 90%;
  }
}
.last-patch-note__h3 {
  font-size: clamp(2rem, 1.0625rem + 3vw, 2.75rem);
  margin: 0;
}
.last-patch-note__article {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  color: #F2F8FC;
  transition: all 0.5s ease;
  margin-bottom: 1rem;
}
.last-patch-note__article:hover {
  filter: brightness(0.7);
}
.last-patch-note__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.last-patch-note__thumbnail {
  width: 250px;
  height: 150px;
}
.last-patch-note__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 1080px) {
  .last-patch-note__thumbnail {
    width: 150px;
    height: 100px;
  }
}
.last-patch-note__meta, .last-patch-note__exerpt {
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
  margin: 0;
}

.trailers {
  margin-left: 10vw;
  margin-right: 10vw;
}
.trailers__h2 {
  font-family: "SoftMicro Normal o";
  font-size: clamp(2.8125rem, 1.4844rem + 4.25vw, 3.875rem);
}
.trailers__content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.patch-note {
  margin-left: 15vw;
  margin-right: 15vw;
}
@media screen and (max-width: 768px) {
  .patch-note {
    margin-top: 5rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
}
.patch-note__h1 {
  font-size: clamp(2.8125rem, -0.5469rem + 10.75vw, 5.5rem);
  text-align: center;
  line-height: 90%;
}
.patch-note__h2 {
  font-size: clamp(2.8125rem, 1.4844rem + 4.25vw, 3.875rem);
  color: #FE015A;
}
.patch-note__h3 {
  font-size: clamp(2rem, 1.0625rem + 3vw, 2.75rem);
}
.patch-note__h4 {
  font-size: clamp(1.375rem, 0.7344rem + 2.0833vw, 1.9063rem);
}
.patch-note__p {
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
  line-height: 140%;
}
.patch-note__p--red {
  color: #FE015A;
}
.patch-note__item {
  font-size: clamp(1rem, 0.5313rem + 1.5vw, 1.375rem);
  line-height: 140%;
  margin-bottom: 1rem;
}
.patch-note__item > ul > li {
  margin-bottom: 1rem;
}
.patch-note__item > ul > li > ul > li {
  margin-bottom: 1rem;
}
.patch-note__link {
  text-decoration: none;
  color: #FFC21A;
  transition: all 0.5s ease;
  text-decoration: underline;
}
.patch-note__link:hover {
  opacity: 0.7;
}

.archive {
  margin-top: 7rem;
  color: #F2F8FC;
  margin-left: 7rem;
  margin-right: 7rem;
  min-height: 100vh;
}
@media screen and (max-width: 1080px) {
  .archive {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}
.archive__h1 {
  font-size: clamp(4rem, 2.125rem + 6vw, 5.5rem);
  color: #FE015A;
}
.archive__h4 {
  font-size: clamp(1.375rem, 0.7344rem + 2.0833vw, 1.9063rem);
  margin-top: 0;
  margin-bottom: 1rem;
}
.archive__article {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  color: #F2F8FC;
  transition: all 0.5s ease;
  margin-bottom: 1rem;
}
.archive__article:hover {
  filter: brightness(0.7);
}
.archive__content {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.archive__thumbnail {
  width: 250px;
  height: 150px;
}
.archive__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 1080px) {
  .archive__thumbnail {
    width: 150px;
    height: 100px;
  }
}
.archive__date {
  font-size: clamp(0.6875rem, 0.2969rem + 1.25vw, 1rem);
  margin: 0;
}
.archive__link {
  text-decoration: none;
  color: #FE015A;
  transition: all 0.5s ease;
}
.archive__link:hover {
  text-decoration: underline;
}
.archive__excerpt {
  font-size: clamp(0.6875rem, 0.2969rem + 1.25vw, 1rem);
  line-height: 140%;
  margin: 0;
  flex: 1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, rgb(13, 13, 13) 0%, rgb(18, 18, 18) 50%, rgb(13, 13, 13) 100%);
  font-family: "League Spartan", sans-serif;
  font-weight: 400;
  color: #F2F8FC;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "SoftMicro Normal o";
  line-height: 100%;
}

a {
  text-decoration: none;
  color: #F2F8FC;
}

.section {
  color: #F2F8FC;
  height: 100vh;
}

.scroll {
  height: 100vh;
}

.has-crimson-color {
  color: #FE015A;
}

.has-gold-color {
  color: #FFC21A;
}

.has-aqua-color {
  color: #00F8FF;
}

.has-raisin-black-color {
  color: #32292F;
}

.has-marble-color {
  color: #F2F8FC;
}

.has-crimson-background-color {
  background-color: #FE015A;
}

.has-gold-background-color {
  background-color: #FFC21A;
}

.has-aqua-background-color {
  background-color: #00F8FF;
}

.has-raisin-black-background-color {
  background-color: #32292F;
}

.has-marble-background-color {
  background-color: #F2F8FC;
}

.has-crimson-color {
  color: #FE015A;
}

.has-gold-color {
  color: #FFC21A;
}

.has-aqua-color {
  color: #00F8FF;
}

.has-raisin-black-color {
  color: #32292F;
}

.has-marble-color {
  color: #F2F8FC;
}

.has-crimson-background-color {
  background-color: #FE015A;
}

.has-gold-background-color {
  background-color: #FFC21A;
}

.has-aqua-background-color {
  background-color: #00F8FF;
}

.has-raisin-black-background-color {
  background-color: #32292F;
}

.has-marble-background-color {
  background-color: #F2F8FC;
}