/*-- style --*/

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-size: 1rem;
  font-weight: 400;
  font-family: "Gochi", sans-serif;
  line-height: 1.5;
  letter-spacing: 0.1rem;
  color: var(--clr-1);
  background-color: #ffeecf;
  /* background-image: url(/img/bg/bg-02.png); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

  overflow-x: hidden;
}

header,
footer,
section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
section {
  padding-inline: 2rem;
  padding-block: 5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.container {
  width: 1200px;
}
.wrapper {
  width: 78%;
  margin: 0 auto;
}
.description {
  width: 80%;
  text-align: center;
  margin-bottom: 5rem;
}

.ca {
  white-space: nowrap;
  overflow: hidden;
}

/*-- buttons --*/

.btn-flex {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.btn-flex button {
  border: solid 2px white;
}
button {
  font-weight: 600;
  min-width: 200px;
  padding: 0.5rem 2rem;
  border: solid 2px #f8a01c;
  border-radius: 1rem;

  transition: 300ms;
  cursor: pointer;
  white-space: nowrap;
}
button:hover {
  filter: brightness(90%);
}

.btn-1 {
  color: var(--clr-2);
  background-color: #f8a01c;
}

.btn-2 {
  color: var(--clr-2);
  background-color: #f8a01c;
}
.btn-3 {
  color: #fff;
  background-color: #f8a01c;
  border: solid 2px #fff;
  backdrop-filter: blur(5px);
}

/*-- header --*/
/*-- header --*/
/*-- header --*/

#header {
  padding-inline: 2rem;
  padding-block: 0.5rem;
  background-color: #f8a01c;
}

#header-box {
  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

#logo {
  height: 4rem;
}

#header-box ul {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 2rem;
}

#menu-mobile {
  display: none;

  height: 1rem;

  filter: invert(100%);
}
/*-- hero --*/
/*-- hero --*/
/*-- hero --*/

#hero {
  color: #f8a01c;

  /* background-image: url(../img/bg/bg-01.png); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#hero-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  gap: 5rem;
}
#hero-box > div {
  width: 100%;
  display: flex;
  flex-direction: column;
}
#hero-box h1 {
  margin-top: 2rem;
}
#hero-box h2 {
  font-weight: 400;
}

#hero-box .ca {
  background-color: transparent;
  padding: 1rem;
  border: solid 2px #f8a01c;
  border-radius: 1rem;
  backdrop-filter: blur(5px);
}

#hero-flex {
  margin-top: 1rem;
}
#hero-links {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;

  width: fit-content;
  margin-top: 0rem;
  padding: 0.5em 1rem 0.5rem;

  color: var(--clr-3);
  background-color: #b3954e;
  border-radius: 1rem;
}
#hero-links img {
  height: 2rem;
}

#hero-box > img {
  width: 400px;
}

/*-- slogan --*/
/*-- slogan --*/
/*-- slogan --*/

#slogan {
  padding-block: 2rem;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;

  text-wrap: nowrap;
  overflow-x: hidden;

  background-color: #f5bb4e;
}

#slogan span {
  text-shadow: -1px -1px 0 var(--clr-2), 1px -1px 0 var(--clr-2),
    1px 1px 0 var(--clr-2), -1px 1px 0 var(--clr-2);
}

#slogan h2 {
  font-size: 6rem;
  color: var(--clr-2);

  margin-bottom: 0;

  animation: slogan 15s linear infinite;
}

@keyframes slogan {
  0% {
    transform: translateX(+100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/*-- about --*/
/*-- about --*/
/*-- about --*/

#about {
  background-color: #ffeecf;

  /* background-image: url(../img/bg/bg-02.png); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#about-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
}

#about-box > img {
  width: 600px;

  border-radius: 1rem;
}

#about-box > div {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 1rem;
}

/*-- info --*/
/*-- info --*/
/*-- info --*/

#info {
  padding-block: 2rem;

  color: var(--clr-2);
  background-color: #f5bb4e;
}
#info-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
}
#info-box > h2 {
  font-size: 6rem;
  line-height: 1;
}
#info-box > img {
  width: 320px;

  margin-top: -10rem;
}

/*-- token --*/

#token {
  background-color: transparent;

  text-align: center;
}

#token-box {
  margin-top: 5rem;
  text-align: left;

  display: grid;
  grid-template-columns: repeat(2, calc(50% - 1rem));
  gap: 1rem 2rem;
}

#token-box > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;

  background-color: var(--clr-2);
  border: solid 2px #f8a01c;
  border-radius: 1rem;
  padding: 1rem 2rem;
}

#token-box > div:nth-child(1) {
  grid-column-start: 1;
  grid-column-end: 3;
}

#token-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;

  background-color: var(--clr-3-tr);
  border: solid 2px #f8a01c;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 1rem;

  backdrop-filter: blur(2px);
}

#token-flex-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
#token-flex-links img {
  height: 40px;

  transition: 300ms;
}
#token-flex-links img:hover {
  filter: brightness(50%);
}

/*-- join --*/
/*-- join --*/
/*-- join --*/

#join {
  padding-block: 0;
  margin-bottom: -5rem;
  background-color: transparent;
}
#join-box {
  padding: 5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  border: solid 2px #f8a01c;
  border-radius: 1rem;

  color: var(--clr-2);
  background-color: #f5bb4e;
  /* background-image: url(/img/bg/bg-01.png); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*-- footer --*/
/*-- footer --*/
/*-- footer --*/

#footer {
  padding-top: 10rem;
  padding-bottom: 2rem;
  padding-inline: 2rem;
  color: var(--clr-2);
  background-color: #f8a01c;
}
#footer span {
  color: var(--clr-4);
}
#footer-box {
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  text-align: center;
}

#footer-box > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#footer-box > div img {
  height: 3rem;
}
h1 {
  color: orange;

  -webkit-text-stroke-width: 1px;
  stroke-width: 1px;
  -webkit-text-stroke-color: #111;
  stroke: #111;
}

.smttl {
  color: #f8a01c;
  font-weight: 900;
  font-size: 70px;
  text-transform: uppercase;
  -webkit-text-stroke-width: 1px;
  stroke-width: 1px;
  -webkit-text-stroke-color: #111;
  stroke: #111;
}

/* story grid section */
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
  align-items: center;
}

.grid-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.grid-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.grid-text p {
  font-size: 21px;
  color: #111;
  margin-bottom: 1.5rem;
}

/* Responsive layout: switch to two columns on wider screens */
@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* responsive navbar */
/* Base styles */
#header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

#nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

#menu-mobile {
  display: none;
  width: 30px;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  #nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    padding: 1rem;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  #nav-menu.active {
    display: flex;
  }

  #menu-mobile {
    display: block;
  }

  #nav-menu.active {
    display: block;
    text-align: center;
    color: #111;
  }
  p,
  li,
  a,
  button {
    font-size: 1.2rem;
    margin-bottom: 11px;
  }
  #nav-menu {
    position: absolute;
    color: #111;
    top: 96%;
    right: 0;
    flex-direction: column;
    background-color: #111;
    width: 100%;
    padding: 1rem;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border-radius: 6px;
  }
  h3 {
    font-size: 1.5rem;
    text-align: center;
  }
  a:hover {
    color: #fff;
  }
}

/* post grid sec */

.image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem;
}

.image-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive: 2 columns on tablets, 3 on desktops */
@media (min-width: 640px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* meme gallery section */

.meme-gallery {
  padding: 2rem;
  background-color: transparent;
  text-align: center;
}

.gallery-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.gallery-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.meme-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meme-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
  .gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin: 0 20px;
  }
}
