/*-- style --*/

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

@font-face {
  font-family: "American Captain";
  src: url("https://www.nvda6900.vip/fonts/American\ Captain.ttf");
}
body {
  font-size: 1rem;
  font-weight: 400;
  font-family: "American Captain";
  line-height: 1.5;
  letter-spacing: 0.1rem;
  color: var(--clr-2);
  background-color: var(--clr-bg-1);

  overflow-x: hidden;
}

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

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.description {
  width: 80%;
  text-align: center;
  margin-bottom: 2rem;
}
.description p {
  margin-top: 1rem;
}

/*-- buttons --*/

button {
  font-size: 2rem;
  font-weight: 600;
  min-width: 200px;
  padding: 1rem 2rem;
  border: solid 3px var(--clr-2);
  border-radius: 1rem;
  transition: 300ms;
  cursor: pointer;
  white-space: nowrap;
}
button:hover {
  filter: brightness(50%);
}

.btn-1 {
  color: var(--clr-2);
  background-color: var(--clr-3);
}
.btn-2 {
  color: var(--clr-2);
  background-color: var(--clr-4);
}

.btn-flex {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
/*-- header --*/

#header {
  background-color: var(--clr-4);
}
#header-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
#header-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

/*-- hero --*/

#hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    url(/bgg.gif);
  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: center;
  gap: 2rem;
}
#hero-box h2 {
  color: var(--clr-3);
  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);
}
#hero-box h1 span {
  font-size: 10rem;

  color: var(--clr-4);
  text-shadow: -4px -4px 0 var(--clr-2), 4px -4px 0 var(--clr-2),
    4px 4px 0 var(--clr-2), -4px 4px 0 var(--clr-2);
}

#hero-box img {
  width: 450px;
}

/*-- about --*/

#about {
  background-color: var(--clr-bg-1);
}
#about h1 {
  color: var(--clr-3);
}

#about-box {
  margin-top: 3%;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
  margin-bottom: 5rem;
}
#about-box img {
  width: 480px;

  border: solid 3px var(--clr-2);
  border-radius: 50%;
}
#about-box h3 {
  margin-bottom: 1rem;
}

#about-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, calc(33.33% - 1.33rem));
  gap: 2rem;
}
#about-grid > div {
  border: solid 3px var(--clr-2);
  border-radius: 1rem;
  padding: 2rem;
}
#about-grid > div h3 {
  margin-bottom: 1rem;
}

/*-- community --*/

#community {
  background-color: var(--clr-bg-1);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    url(/bgg.gif);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#community h1 {
  color: var(--clr-4);
}
#community .container {
  position: relative;
}
#community-box {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  z-index: 2;
}
#community-img-left {
  width: 250px;
  position: absolute;
  bottom: -8rem;
  left: 0;
  z-index: 1;
}

#community-img-right {
  width: 250px;
  position: absolute;
  bottom: -8rem;
  right: 0;
  z-index: 0;
}

/*-- token --*/

#token {
  background-color: var(--clr-bg-2);
}
#token h1 {
  color: var(--clr-3);
}
#token-grid {
  width: 100%;
  display: grid;
  grid-template-columns: calc(50% - 1rem) calc(50% - 1rem);
  gap: 2rem;
}
#token-grid > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border: solid 4px var(--clr-2);
  border-radius: 2rem;
  padding: 1rem 2rem;
}
#token-grid .ca {
  grid-column-start: 1;
  grid-column-end: 3;
  background-color: var(--clr-3);

  overflow: hidden;
  white-space: nowrap;
}

/*-- howToBuy --*/

#howToBuy {
  background-color: var(--clr-bg-1);
}
#howToBuy h1 {
  color: var(--clr-4);
}
#howToBuy-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, calc(33.33% - 1.33rem));
  gap: 2rem;
}
#howToBuy-grid > div {
  border: solid 4px var(--clr-2);
  border-radius: 2rem;
  padding: 2rem;
}
#howToBuy-grid > div h3 {
  margin-bottom: 1rem;
}
#howToBuy-grid > div h3 span {
  margin-bottom: 2rem;
  color: var(--clr-3);
}

/*-- footer --*/

#footer {
  /* background-color: var(--clr-4); */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    url(/banner.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
#footer-grid h1 {
  color: var(--clr-4);
}
#footer-nav-2 {
  text-align: right;
}
