@import "/font/tobacco-road.css";
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

:root {
    --red: #c52f00;
    --orange: #EC6F1B;
    --yellow: #FCC16D;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.7;
    background-color: #000;
    background-image: url('/img/content-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    color: #d0d0d0;
    height: 100vh;
    min-height: 100vh;
}

.strong{
    color: #e8e8e8;
    font-weight: 600;
}

.content-container {
    width: 100%;
}

.content-header {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 300px;
    height: 30vh;
    background-size: cover;
    display: grid;
    place-items: center;
    font-size: min(2.5rem, 5.5vw);
    text-align: center;
    text-shadow:
        rgba(255, 255, 255, 0.3) 0 0 8px,
        rgba(0, 0, 0, 0.9) 2px 2px 6px;
    padding: 20px 0 0;
}

.content{
    margin: 36px auto 96px;
    padding: 32px;
    max-width: 800px;
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Tobacco Road", serif;
    font-weight: 500;
    font-style: normal;
    text-shadow:
            rgba(252, 193, 109, 0.4) 0 0 8px,
            rgba(0, 0, 0, 0.8) 2px 2px 4px;
}

h3{
    color: var(--red);
}

h2{
    color: var(--orange);
}

h1{
    color: var(--yellow);
}

a {
    text-decoration: none;
    cursor: pointer;
}

button {
    height: 45px;
    color: #fff;
    font-family: "EB Garamond", serif;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(150deg, var(--orange) 15%, var(--yellow) 50%);
    padding: 12px 18px;
    text-align: center;
    border-radius: 15px;
    min-width: 80px;
    font-variant: small-caps;
    border: 0;
    cursor: pointer;
    text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 3px;
}

button:hover {
    background: linear-gradient(150deg, var(--red) 15%, var(--orange) 50%);
}

.white {
    color: #000
}

.red {
    color: var(--red) !important;
}

.orange {
    color: var(--orange) !important;
}

.yellow {
    color: var(--yellow) !important;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: center;
}

.connect {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    /*justify-content: flex-end;*/
}

a {
    color: var(--yellow);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--orange);
}

.margin-top-big {
    margin-top: 112px;
}

/* Landing page styles */
body {
  overflow-x: hidden;
}

.lander {
  background-color: #000;
  background-image: url("/img/main-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  height: 100vh;
  display: grid;
  place-items: center;
}

.lander-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.center {
  display: block;
  text-align: center;
}

.landing-img {
  width: 256px;
  display: block;
  margin: 0 auto;
}

.landing-logo {
  width: 100%;
  padding: 0 0 24px;
  margin: 0 auto;
  font-size: 32px;
}

.subheader {
  margin: 0 auto;
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  text-shadow:
    rgba(255, 255, 255, 0.3) 0 0 8px,
    rgba(0, 0, 0, 0.8) 2px 2px 4px;
}

.mobile-break {
  display: none;
}

@media only screen and (max-width: 550px) {
  .mobile-break {
    display: inline;
  }
}

/* About page styles */
.tagline {
  font-style: italic;
  margin-bottom: 2rem;
}

.about-img {
  display: block;
  width: 90%;
  max-width: 256px;
  margin: 72px auto;
}

.justify {
  text-align: justify;
}

/* Smelt page styles */
.big {
  font-size: 20pt;
  color: var(--yellow);
  overflow-wrap: break-word;
  text-align: center;
  width: 100%;
}

/* Form styling */
.form-container {
  max-width: 600px;
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #e8e8e8;
  font-size: 1rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  color: #e8e8e8;
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(252, 193, 109, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--yellow);
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 8px rgba(252, 193, 109, 0.3);
}

.form-input::placeholder {
  color: #888;
}

.preview-result {
  margin-top: 2rem;
  padding: 2rem;
  border: 2px solid rgba(252, 193, 109, 0.4);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media only screen and (max-width: 768px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

.preview-image-container {
  width: 100%;
  aspect-ratio: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-image {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.preview-no-image {
  color: #666;
}

.preview-details h3 {
  margin-top: 0;
}

.preview-description {
  color: #aaa;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.preview-stat {
  margin-bottom: 1rem;
  color: #d0d0d0;
}

.preview-stat strong {
  color: #e8e8e8;
}

.error-message {
  padding: 1rem;
  margin: 1rem 0;
  background-color: rgba(197, 47, 0, 0.2);
  border: 1px solid var(--red);
  border-radius: 8px;
  color: var(--orange);
}

.error-message strong {
  color: var(--yellow);
}

#qr-code {
  margin: 24px 0;
  text-align: center;
  width: 100%;
}

/* Forge page styles */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.card {
  position: relative;
  border: 3px solid var(--red);
  border-radius: 15px;
  margin: 8px;
}
.card img {
  display: block;
  border-radius: 15px;
  width: 200px;
}

.card-text {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  word-break: break-word;
  width: 100%;
  padding: 0 8px;
}

.card-text h3 {
  color: #ddd;
}

#btn-add-network {
  display: block;
  margin: 12px auto;
}

/* Hamburger Menu styles */
.hamburger {
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: #fff;
}

.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
  z-index: 99999;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 40px;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
  box-shadow: #000 0 0 5px;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: '';
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

.hamburger--emphatic {
  overflow: hidden;
}

.hamburger--emphatic .hamburger-inner {
  transition: background-color 0.125s 0.175s ease-in;
}

.hamburger--emphatic .hamburger-inner::before {
  left: 0;
  transition:
      transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335),
      top 0.05s 0.125s linear,
      left 0.125s 0.175s ease-in;
}

.hamburger--emphatic .hamburger-inner::after {
  top: 10px;
  right: 0;
  transition:
      transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335),
      top 0.05s 0.125s linear,
      right 0.125s 0.175s ease-in;
}

.hamburger--emphatic.is-active .hamburger-inner {
  transition-delay: 0s;
  transition-timing-function: ease-out;
  background-color: transparent !important;
}

.hamburger--emphatic.is-active .hamburger-inner::before {
  left: -80px;
  top: -80px;
  transform: translate3d(80px, 80px, 0) rotate(45deg);
  transition:
      left 0.125s ease-out,
      top 0.05s 0.125s linear,
      transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.hamburger--emphatic.is-active .hamburger-inner::after {
  right: -80px;
  top: -80px;
  transform: translate3d(-80px, 80px, 0) rotate(-45deg);
  transition:
      right 0.125s ease-out,
      top 0.05s 0.125s linear,
      transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* NavLinks styles */
.link-menu-container {
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
  padding: 16px 16px 32px;
  border-radius: 3px;
}

.link {
  font-size: 16pt;
  margin: 8px 0;
}

/* TopMenu styles */
.menu-container {
  width: 100%;
  padding: 12px;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
}

.menu {
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
}

.menu-title-container {
  display: block;
}

.menu-title {
  color: #fff;
  font-size: 1.9rem;
  display: block;
  padding: 0;
  margin: 0;
  line-height: 55px;
}

.wallet-button {
  width: 150px;
}

@media only screen and (max-width: 510px) {
  .menu-title-container {
    display: none;
  }
}
