* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Courier New", Courier, monospace;
}

/*    HOME PAGE  */
.checkerHome {
  background: linear-gradient(rgba(0, 0, 0, 0), rgb(0, 0, 0)),
    url(imges/Table.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/*    ALL INPUTS    */
.forgeContents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 20px;
  transform: translateY(-80px);
}

/*     THE FORGE LOGO   */
.forgeImgBox {
  position: static;
  perspective: 800px;
}

.logo {
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

.logo img {
  border: 3px solid #fff;
  border-radius: 100%;
}

/*    THE CHECKER    */
.checkAllContents {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.checker {
  position: relative;
  width: auto;
  max-width: none;
  flex: 1 1 auto;
}

.checkFind {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: min(92vw, 960px);
  margin: 0 auto;
  justify-content: center;
  gap: 0;
}

.checker input {
  width: 100%;
  padding: 10px 12px 10px 14px;
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
  outline: none;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 1px;
  border: 1px solid #ddd;
}

.checker input::placeholder {
  color: #8e8e8e;
  opacity: 1;
}

.find {
  width: clamp(110px, 14vw, 200px);
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
  background-color: rgba(245, 89, 32, 0.897);
  padding: 8px 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.findButton {
  width: 100%;
  height: 100%;
  background: transparent;
  color: #fff;
  font-size: 1.1em;
  font-weight: 800;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.find, .findButton {
  cursor: pointer;
}

.findText {
  color: #fff;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 800;
  margin: 0;
}

.forgeText {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(92vw, 960px);
}

.forgeText p {
  color: #fff;
  font-size: clamp(14px, 1.8vw, 24px);
  margin: 0;
  text-align: center;
}

/*  THE OUTPUT   */
.output {
  background: linear-gradient(
    to top right,
    rgba(255, 68, 0, 0.705),
    rgba(255, 166, 0, 0.404)
  );
  color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 24px);
  padding: clamp(16px, 2vw, 28px) clamp(12px, 2vw, 20px);
  border: 1px solid #fff;
  width: min(92vw, 760px);
  z-index: 2;
}

.hiddenOutput {
  display: none;
}

.closeOutput {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  font-size: clamp(22px, 2.6vw, 32px);
  color: #fff;
  cursor: pointer;
  border: none;
  background: none;
}
/*  SOCIAL MEDIA LINKS   */
.socials {
  display: flex;
  flex-direction: row;
  top: 90%;
  position: absolute;
}
.socialDiscord {
  padding-right: 20px;
}

.socialTwitter {
  padding-left: 20px;
}
.twitterLogo {
  color: #fff;
  font-size: 23px;
  position: absolute;
}

.twitterLogo:hover {
  color: orangered;
}

.discordLogo {
  color: #fff;
  font-size: 23px;
  position: absolute;
}

.discordLogo:hover {
  color: orangered;
}

/* footer */

.footer {
  position: absolute;
  top: 96%;
  width: 100%;
  text-align: center;
}

.footer p {
  color: #fff;
  font-size: 14px;
  padding: 2px 0 2px 0;
}

@media (max-width: 768px) {
  .checkerHome {
    background-size: cover;
  }

  .checkFind {
    flex-direction: row;
    gap: 0;
    width: 90vw;
    justify-content: center;
    margin: 0 auto;
  }

  .checker {
    width: auto;
    flex: 1;
    max-width: 65vw;
  }

  .find {
    width: clamp(90px, 18vw, 150px);
    border-radius: 0 9999px 9999px 0;
  }

  .checker input {
    border-radius: 9999px 0 0 9999px;
    text-align: left;
    font-size: 0.95em;
    padding: 9px 11px;
  }

  .logo {
    width: clamp(120px, 16vw, 160px);
    height: clamp(120px, 16vw, 160px);
  }

  .forgeContents {
    transform: translateY(-40px);
    gap: 18px;
  }

  .forgeText {
    width: 90vw;
  }

  .forgeText p {
    font-size: clamp(13px, 1.6vw, 20px);
    text-align: center;
  }

  .output {
    width: 90vw;
    padding: 18px 12px;
    top: calc(100% + 20px);
  }

  .closeOutput {
    font-size: 1.5rem;
    top: 0.3rem;
    right: 0.4rem;
  }

  .socials {
    top: 92%;
  }

  .footer {
    top: 97%;
  }

  .footer p {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .checkFind {
    width: 88vw;
    gap: 0;
    justify-content: center;
    margin: 0 auto;
  }

  .checker {
    flex: 1;
    max-width: 70vw;
  }

  .checker input {
    font-size: 0.9em;
    padding: 8px 10px;
  }

  .find {
    width: clamp(85px, 16vw, 120px);
  }

  .findText {
    font-size: 0.95em;
  }

  .logo {
    width: clamp(100px, 14vw, 140px);
    height: clamp(100px, 14vw, 140px);
  }

  .forgeContents {
    transform: translateY(-30px);
    gap: 16px;
  }

  .forgeText {
    width: 88vw;
  }

  .forgeText p {
    font-size: clamp(12px, 1.3vw, 16px);
  }

  .output {
    width: 88vw;
    padding: 16px 10px;
  }

  .closeOutput {
    font-size: 1.3rem;
  }

  .socials {
    top: 91%;
  }

  .footer {
    top: 96%;
  }

  .footer p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .checkFind {
    width: 85vw;
    gap: 0;
    justify-content: center;
    margin: 0 auto;
  }

  .checker {
    max-width: 70vw;
  }

  .checker input {
    font-size: 0.85em;
    padding: 8px 10px;
    border-radius: 9999px 0 0 9999px;
  }

  .find {
    width: clamp(80px, 16vw, 110px);
    border-radius: 0 9999px 9999px 0;
  }

  .findText {
    font-size: 0.9em;
  }

  .logo {
    width: clamp(90px, 12vw, 120px);
    height: clamp(90px, 12vw, 120px);
  }

  .forgeContents {
    transform: translateY(-25px);
    gap: 14px;
  }

  .forgeText {
    width: 85vw;
  }

  .forgeText p {
    font-size: clamp(11px, 1.2vw, 14px);
    padding: 0 8px;
  }

  .output {
    width: 85vw;
    padding: 14px 8px;
    top: calc(100% + 16px);
  }

  .closeOutput {
    font-size: 1.2rem;
    top: 0.3rem;
    right: 0.3rem;
  }

  .socials {
    top: 90%;
  }

  .footer {
    top: 95%;
  }

  .footer p {
    font-size: 10px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .logo {
    width: 180px;
    height: 180px;
  }
  .forgeContents {
    transform: translateY(-60px);
  }
  .checker {
    width: 85vw;
    max-width: 700px;
  }
  .forgeText p {
    font-size: clamp(16px, 1.8vw, 22px);
  }
  .output {
    width: 85vw;
    max-width: 600px;
  }
}

@media (min-width: 1025px) {
  .checker {
    max-width: 900px;
  }
  .output {
    max-width: 800px;
  }
}

@media (max-height: 600px) {
  .forgeContents {
    transform: translateY(-40px);
    gap: 16px;
  }
  .logo {
    width: 140px;
    height: 140px;
  }
  .forgeText p {
    font-size: 20px;
  }
}
