@import url(style.css);
/* ---------------------------------- SECTION 01 - START ---------------------------------- */
.title-box {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%), url(../img/purple-forest.jpg);
  background-size: cover;
  background-position: right center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3em 2em;
  width: 100%;
  height: 100%;
  color: var(--lightest);
  outline: solid 1px var(--gray);
  outline-offset: 5px;
  background-color: var(--dark);
  border-radius: 1em;
  padding: 3em;
  /*text-wrap: balance;*/
  /*text-wrap: pretty;*/
}

header .title-box .left {
  display: flex;
  flex-direction: column;
  font-size: 21pt;
  gap: 1em 0.5em;
}
header .title-box .left img {
  max-width: 10em;
}
header .title-box .left h1 {
  width: fit-content;
}
header .title-box .left > p {
  color: var(--lightestgray);
}
header .title-box .left a {
  margin-top: 0.25em;
}

header .title-box .right {
  display: flex;
  justify-content: center;
}
header .title-box .right img {
  max-width: 25em;
}

@media screen and (max-width: 1000px) {
  header {
    margin-bottom: 1em;
  }

  header .title-box {
    padding: 2.5em;
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  header .title-box > img {
    width: 10em;
  }

  header .title-box .left {
    font-size: clamp(12pt, 2.5vw, 21pt);
  }

  header .title-box .right {
    flex-direction: row;
    justify-content: flex-start;
  }
  header .title-box .right img {
    width: 100%;
    max-width: 20em;
  }

  .title-box {
    flex-direction: column;
    background-position: right center;
  }

  .button {
    width: unset;
  }
}
@media screen and (max-width: 400px) {
  header .title-box {
    gap: 2em;
    padding: 1em;
  }
}
@media (prefers-color-scheme: light) {
  .title-box {
    color: var(--darkest);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.3) 100%), url(../img/orange-sea.jpg);
    /* background-position: center left; */
  }

  header .title-box .left h1 {
    background-image: linear-gradient(180deg, #ffffff 25%, #bcbcbc 100%);
  }
  header .title-box .left p {
    color: var(--darkest);
    text-shadow: 0 0 1.25em var(--light);
  }
}
/* ----------------------------------- SECTION 01 - END ----------------------------------- */
/* ---------------------------------- SECTION 02 - START ---------------------------------- */
.section2 {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.box-group {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
/*text-wrap: pretty;*/
}

a.box {
  text-decoration: none;
  color: inherit;
}

.box {
  max-width: calc(33.33% - .67em);
  border-radius: 1em;
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  background-color: var(--dark);
  opacity: 1;
  cursor: pointer;
  text-shadow: none;
  transition: 200ms ease-in-out;
  transition-property: border, transform, text-shadow;
}

.box:nth-child(4) {
  max-width: calc(66.67% - .33em);
  margin: 0 auto;
}

.box h2 {
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 18pt;
}
.box p {
  transition: 200ms opacity ease-in-out;
  opacity: 0.6;
  font-weight: 200;
}
.box:hover {
  transition: 200ms ease-in-out;
  transition-property: transform;
}

.box:nth-child(1) {
  transition-property: opacity, border, transform;
  order: 1;
}
.box:nth-child(1) h2 {
  color: var(--discord-green);
}
.box:nth-child(1):hover {
  /* border: solid 1px var(--discord-green); */
  transform: scale(1.03);
}
.box:nth-child(1):hover p {
  transition: 200ms opacity ease-in-out;
  opacity: 1;
}

.box:nth-child(2) {
  transition-property: opacity, border, transform;
  order: 2;
}
.box:nth-child(2) h2 {
  color: var(--discord-brown);
}
.box:nth-child(2):hover {
  transform: scale(1.03);
  /* border: solid 1px var(--discord-brown); */
}
.box:nth-child(2):hover p {
  transition: 200ms opacity ease-in-out;
  opacity: 1;
}

.box:nth-child(3) {
  transition-property: opacity, border, transform;
  order: 3;
}
.box:nth-child(3) h2 {
  color: var(--discord-pink);
}
.box:nth-child(3):hover {
  transform: scale(1.03);
  /* border: solid 1px var(--discord-pink); */
}
.box:nth-child(3):hover p {
  transition: 200ms opacity ease-in-out;
  opacity: 1;
}

.box:nth-child(4) {
  transition-property: opacity, border, transform;
  order: 4;
}
.box:nth-child(4) h2 {
  color: var(--discord-gold);
}
.box:nth-child(4):hover {
  transform: scale(1.03);
  /* border: solid 1px var(--discord-gold); */
}
.box:nth-child(4):hover p {
  transition: 200ms opacity ease-in-out;
  opacity: 1;
}

.box:nth-child(5) {
  transition-property: opacity, border, transform, text-shadow;
  order: 5;
}
.box:nth-child(5) h2 {
  color: var(--discord-red);
}
.box:nth-child(5):hover {
  transform: scale(1.03);
  /* border: solid 1px var(--discord-red); */
}
.box:nth-child(5):hover p {
  transition: 200ms opacity ease-in-out;
  opacity: 1;
}

/* ------------BOX ANIMATION------------ */
.box-group:has(.box:nth-child(1):hover) .box {
  opacity: 0.4;
  filter: blur(2px);
}
.box-group:has(.box:nth-child(1):hover) .box:nth-child(1) {
  opacity: 1;
  filter: blur(0px) !important;
}

.box-group:has(.box:nth-child(2):hover) .box {
  opacity: 0.4;
  filter: blur(2px);
}
.box-group:has(.box:nth-child(2):hover) .box:nth-child(2) {
  opacity: 1;
  filter: blur(0px) !important;
}

.box-group:has(.box:nth-child(3):hover) .box {
  opacity: 0.4;
  filter: blur(2px);
}
.box-group:has(.box:nth-child(3):hover) .box:nth-child(3) {
  opacity: 1;
  filter: blur(0px) !important;
}

.box-group:has(.box:nth-child(4):hover) .box {
  opacity: 0.4;
  filter: blur(2px);
}
.box-group:has(.box:nth-child(4):hover) .box:nth-child(4) {
  opacity: 1;
  filter: blur(0px) !important;
}

.box-group:has(.box:nth-child(5):hover) .box {
  opacity: 0.4;
  filter: blur(2px);
}
.box-group:has(.box:nth-child(5):hover) .box:nth-child(5) {
  opacity: 1;
  filter: blur(0px) !important;
}

/* ----------BOX ANIMATION END---------- */
@media screen and (max-width: 900px) {
  .box {
    max-width: calc(50% - .67em);
  }

  .box:nth-child(4) {
    order: 2;
    max-width: calc(100% - .33em);
    margin: 0;
  }

  .box:nth-child(3) {
    max-width: calc(50% - .67em);
  }

  .box:nth-child(5) {
    max-width: calc(50% - .67em);
  }
}
@media screen and (max-width: 600px) {
  .box {
    max-width: calc(100%) !important;
  }
}
/* ----------------------------------- SECTION 02 - END ----------------------------------- */
/* ---------------------------------- SECTION 05 - START ---------------------------------- */
.section5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.section5 div.title-section {
  flex-direction: column;
  align-items: center;
}

/* ----------------------------------- SECTION 05 - END ----------------------------------- */