*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

div,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Londrina Solid";
}

p {
  font-family: "Caveat";
}

.section {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

#start {
  position: relative;
  min-height: 100vh;
  background: #518bfb url("./img/hero_bg.jpg") no-repeat center / cover;
}

.connection {
  position: absolute;
  width: 100%;
  height: 50px;
  bottom: 0;
  background: transparent url("./img/about_bg.svg") no-repeat;
  background-size: cover;
}

#about {
  background: #a5d2c4 url("./img/paws.svg") no-repeat top left / contain;
}

#about p {
  color: #446b5c;
}

.container {
  flex-direction: column;
  display: flex;
  align-items: center;
  max-width: 1100px;
}

.echo-info {
  flex-direction: row;
  margin-bottom: 100px;
}

.echo-info > div {
  flex-grow: 3;
  padding-inline-end: 20px;
  padding-bottom: 20px;
}

@keyframes levitate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.echo-info h1 {
  margin-bottom: 15px;
}

.echo-info > img {
  flex-grow: 1;
  animation: levitate 5s ease-in-out infinite;
  max-width: 300px;
}

#buy > img:first-child {
  position: relative;
  margin-left: -6.5%;
}

#buy > img:last-child {
  position: relative;
  margin-right: -6.5%;
}

#buy > img {
  max-width: 20%;
}

#buy {
  overflow-x: hidden;
  justify-content: space-between;
  background: #f4f3ca url("./img/base_bg.jpg") no-repeat center bottom / cover;
}

.header {
  position: static;
  width: 100%;
}

.logo img {
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.nav {
  font-family: "Londrina Solid";
  font-size: 1.5em;
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  transition: background 0.3s;
  width: 100%;
  background: transparent;
  color: white;
  z-index: 1000;
}

.menu {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li a {
  text-decoration: none;
  color: white;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  transition: all 0.3s ease-out;
}

.menu:hover li a:not(:hover) {
  opacity: 0.6;
}

.menu:hover li a:hover {
  background: url("./img/paws_hover.svg") no-repeat 30% center / contain;
}

.nav:has(.menu.show),
.nav.sticky {
  top: 0;
  position: fixed;
  background: #31bccc;
}

.nav:has(.menu.show) .logo img,
.nav.sticky .logo img {
  opacity: 1;
}

.hamburger {
  display: none;
}

.disclaimer {
  text-align: center;
}

.devscreener {
  margin: 20px 0 40px 0;
  padding: 10px 20px 0;
  background-color: #bedad4;
  border: 1px solid #72817e;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #469699;
  gap: 5%;
  padding-bottom: 30px;
  margin-bottom: 30px;
  width: 100%;
}

#buy h1 {
  margin: 1.5em 0 0.7em 0;
  font-size: 2.5em;
  color: #549ab0;
}

.steps h2 {
  font-size: 1.1em;
  color: #3ebba7;
}

#buy h3 {
  font-size: 1.7em;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: #469699;
}

.steps p {
  padding: 10px 0 20px 0;
  color: #446b5c;
}

.steps div {
  text-align: center;
  flex-basis: 21.25%;
}

.contract-address {
  position: relative;
  display: inline-block;
  cursor: pointer;
  padding: 10px 20px;
  color: #446b5c;
  text-align: center;
  border: 2px solid #446b5c;
  font-size: 24px;
}

.contract-address:hover {
  background-color: #ffffe5;
}

.copy-message {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #a5d2c4;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  font-size: 20px;
}

.copy-message.show {
  opacity: 1;
}

.utility-card {
  max-width: 600px;
  margin-bottom: 20px;
  padding: 20px;
  background-color: #a5d2c4;
  box-shadow: 0px 1px 49px 0px rgba(144, 166, 128, 0.35);
  border: 1px solid white;
}

.utility-card h4 {
  font-family: "Viga";
  color: #40948d;
}

.utility-card a,
.utility-card p {
  margin: 15px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: white;
  line-height: 130%;
  text-decoration: none;
}

footer {
  display: flex;
  align-items: center;
  padding: 10px;
  justify-content: space-between;
  width: 100%;
  max-width: 650px;
  background-color: #40948d;
}

footer span:last-child {
  font-size: 16px;
}

.disclaimer {
  padding: 15px 0;
  max-width: 650px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

@media (max-width: 768px) {
  .steps div {
    flex-basis: 42%;
  }

  #start {
    min-height: 60vh;
  }

  .container {
    flex-direction: column;
    max-width: 80%;
  }

  .echo-info {
    margin-bottom: 50px;
  }

  .hamburger {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }

  .menu {
    display: none;
    flex-direction: column;
    background: #31bccc;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 10px;
    z-index: 1001;
  }

  .menu.show {
    display: flex;
  }

  .contract-address {
    font-size: 16px;
  }
  
  
  #buy > img:first-child {
    margin-left: -15%;
  }

  #buy > img:last-child {
    margin-right: -15%;
  }

  #buy > img {
    max-width: 30%;
  }
}

@media (max-width: 400px) {
  .steps div {
    flex-basis: 100%;
  }
}

.scroll-down-dude:before,
.scroll-down-dude:after {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  transform: rotate(45deg);
  border-bottom: 8px solid white;
  border-right: 8px solid white;
}

.scroll-down-dude:before {
  -webkit-animation: down-arrow-before 2.6s cubic-bezier(0.77, 0, 0.175, 1)
    infinite;
  animation: down-arrow-before 2.6s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

.scroll-down-dude:after {
  -webkit-animation: down-arrow-after 2.6s cubic-bezier(0.77, 0, 0.175, 1)
    infinite;
  animation: down-arrow-after 2.6s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@-webkit-keyframes down-arrow-before {
  50% {
    transform: rotate(45deg) translate(70%, 70%);
  }
  100% {
    transform: rotate(45deg) translate(70%, 70%);
  }
}

@keyframes down-arrow-before {
  50% {
    transform: rotate(45deg) translate(70%, 70%);
  }
  100% {
    transform: rotate(45deg) translate(70%, 70%);
  }
}
@-webkit-keyframes down-arrow-after {
  50% {
    transform: rotate(45deg) translate(110%, 110%);
    opacity: 0;
  }
  51% {
    transform: rotate(45deg) translate(-130%, -130%);
  }
  100% {
    transform: rotate(45deg) translate(-70%, -70%);
    opacity: 1;
  }
}
@keyframes down-arrow-after {
  50% {
    transform: rotate(45deg) translate(110%, 110%);
    opacity: 0;
  }
  51% {
    transform: rotate(45deg) translate(-130%, -130%);
  }
  100% {
    transform: rotate(45deg) translate(-70%, -70%);
    opacity: 1;
  }
}
