/* Root Variables */
:root {
  --fontColor: #090e18;
  --backgroundColor: #eef5ff;
  --accentColorOne: #fd7cb0;
  --accentColorTwo: #d4eb98;
  --accentColorThree: #47eead;
  --copyButtonColor: rgba(253, 124, 176, 0.8);
  --headerFont: "Oxanium", serif;
  --bodyFont: "Karla", sans-serif;
}

/* Global Styles */
body {
  background-color: var(--backgroundColor);
  color: var(--fontColor);
  font-family: var(--bodyFont);
  margin: 0;
}

h1,
h2,
h3,
.accent-color-one {
  font-family: var(--headerFont);
  font-weight: 400;
  color: var(--accentColorOne);
}

h2 {
  margin-bottom: 2rem;
  padding: 1rem auto;
}

.branding-picture {
  display: flex;
  justify-content: center;
}

.branding-info {
    display: grid;
  }


a img, a svg {
  pointer-events: auto;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Header Styles */
.header {
  padding: 1rem;
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
}

.logo-title {
  height: 30px;
  width: auto;
  margin-left: 0.5rem;
}

/* Footer Styles */
.footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  align-items: center;
}

.social-icons a .socials {
  display: inline-block;
  height: 40px;
  width: 40px;
  opacity: 0.8;
}

.social-icons a {
  display: inline-block;
  padding: 4px;
  cursor: pointer;
}
.social-icons {
  position: relative;
  z-index: 9999;
}

.social-icons, .social-icons a, .social-icons a img {
  pointer-events: auto;
}


/* Change opacity when hovering over the link */
.social-icons a:hover .socials {
  opacity: 1;
}

/* Branding Section */
.branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
  justify-content: space-around;
  margin: 0 auto;
}

.branding-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0 2rem 0;
}

.solana {
  max-width: 50%;
}

.images {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
}

.title-image {
  min-width: 250px;
  max-width: 70%;
}

.picture-image {
  min-width: 200px;
  max-width: 50%;
}

.contract {
  max-width: 90%;
  margin: 1rem auto;
  background-color: azure;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.contract p {
  margin-right: 0.5rem;
}

.link-buttons {
  margin-top: 2rem;
  justify-self: center;
}

.green-tick {
  display: inline-block;
  padding-top: 0.15rem;
  height: 1.125rem;
}

/* Buttons */
.button {
  border: var(--accentColorThree) solid 1px;
  border-radius: 50px;
  padding: 6px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button:hover {
  background-color: var(--accentColorThree);
}

.secondary-btn {
  margin-right: 1rem;
  border: var(--accentColorOne) solid 1px;
}

.secondary-btn:hover {
  background-color: var(--accentColorOne);
}

#copy-button {
  margin-top: 0.5rem;
  background-color: var(--copyButtonColor);
  color: var(--backgroundColor);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 2.25rem;
  cursor: pointer;
}

#copy-button:hover {
  background-color: var(--accentColorOne);
}

#copy-button.copied {
  transition: all 0.2s ease;
  background-color: var(--accentColorThree);
  color: var(--fontColor);
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

/* Main Content */
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.subsection {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  width: 90%;
  margin: 2rem auto;
  background-color: azure;
  border-radius: 1rem;
}

.content-info {
  text-align: center;
  padding-bottom: 1rem;
}

.coin-logo {
  width: 70%;
  max-width: 220px;
  min-width: 130px;
  margin: 0 auto 2rem auto;
}

.flex-row {
  flex-direction: column;
  width: 80%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.tokenomics {
  max-width: 45ch;
  min-width: 25ch;
  padding-bottom: 0.5rem;
}

.green-color {
  color: var(--accentColorThree);
}

/* Side Images */
.side-images {
  position: fixed;
  height: 200px;
  width: auto;
  z-index: 10;
}

#leftAnimation {
  top: 30%;
  left: 0;
}

#rightAnimation {
  top: 60%;
  right: 0;
}
#about p {
  text-align: center;
}

.side-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.side-images img {
  height: 250px;
  width: auto;
}

/* Disclaimer */
.disclaimer {
  display: flex;
  align-items: flex-end;
}

.disclaimer img {
  max-width: 150px;
  height: auto;
}
.disclaimer-p1 {
  max-width: 50ch;
  text-align: center;
}

.disclaimer-p {
  max-width: 15ch;
}

/* Animations */
.hidden {
  opacity: 0;
}
.animationGif {
  border-radius: 0.75rem;
}

.subsection.pop-up {
  animation: popUp 0.8s ease-out forwards;
}

@keyframes popUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.coin-logo.scale-up {
  animation: scaleUp 0.5s ease-out forwards;
}

@keyframes scaleUp {
  0% {
    transform: scale(0.6);
  }
  100% {
    transform: scale(1);
  }
}

.content-info p.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.side-images.slide-in-left {
  animation: slideInLeft 4s ease-out forwards;
}

.side-images.slide-in-right {
  animation: slideInRight 5s ease-out forwards;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-150%) rotate(-25deg);
    opacity: 0.5;
  }
  25% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
  50% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
  75% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-150%) rotate(-25deg);
    opacity: 0.5;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(150%) rotate(25deg);
    opacity: 0.5;
  }
  25% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
  50% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
  75% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
  100% {
    transform: translateX(150%) rotate(25deg);
    opacity: 0.5;
  }
}

/* Media Queries */
@media (min-width: 665px) {
  .animationGif {
    max-width: 450px;
  }

  .flex-row {
    flex-direction: row;
    width: 80%;
  }

  .coin-logo {
    min-width: 200px;
  }
  .contract {
    justify-content: space-between;
    width: 60%;
    min-width: 600px;
    flex-wrap: nowrap;
    border-radius: 50px;
  }

  #copy-button {
    margin-top: 0;
  }

  .content-info {
    text-align: start;
    margin-left: 2rem;
  }
}

@media (min-width: 900px) {
  header {
    margin-bottom: 2vh;
  }

  .images {
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-start;
  }

  .title-image {
    max-width: 400px;
  }

  .solana {
    max-width: 200px;
  }

  .picture-image {
    max-width: 350px;
  }

  .subsection {
    width: 60%;
    min-width: 555px;
  }
}

@media (max-width: 440px) {
  #text-to-copy {
    font-size: 0.8rem;
  }
}

@media (min-height: 1000px) {
  .side-images img {
    height: 400px;
  }
}

