body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevents horizontal scroll */
  background-color: rgba(86, 86, 86, 0.464);
  font-family: Poppins;
  background-image: url("images/background.jpg"); /* Path to your image */
  background-repeat: repeat; /* This stops the image from repeating */
}

body::-webkit-scrollbar {
  display: none;
}

/* HEADER */
header {
  /* position: fixed; */
  width: calc(100% - 40px); /* Adjusts the width of the header */
  height: 30px;
  align-items: center;
  z-index: 1000; /* Ensures the header is above other content */
  top: 0;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: #faebd7;
  margin: 10px;
  border-radius: 10px;
  border: 2px solid black;
}

.right-header > button {
  margin-right: 10px;
}

.buy-btn-header {
  align-items: center;
  appearance: none;
  background-color: #fcfcfd;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395a;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  height: 32px;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
  padding: 0 16px; /* Adjusted for <a> element */
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 18px;
}

.buy-btn-header:focus {
  box-shadow: #d6d6e7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
}

.buy-btn-header:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
  transform: translateY(-2px);
}

.buy-btn-header:active {
  box-shadow: #d6d6e7 0 3px 7px inset;
  transform: translateY(2px);
}

#copy-btn {
  /* Button Size */
  padding: 5px 10px; /* Adjust the padding to control the size */

  /* Font and Text */
  font-size: 14px; /* Adjust the font size as needed */
  font-weight: bold; /* Makes the text bold */
  color: white; /* Sets the text color */
  text-align: center; /* Ensures the text is centered */
  text-decoration: none; /* Removes underline from links */

  /* Background and Border */
  background-color: #17b131; /* Sets a blue background, you can change the color */
  border: none; /* Removes the border */
  border-radius: 5px; /* Adds rounded corners to the button */

  /* Interactivity */
  cursor: pointer; /* Changes the cursor to a pointer when hovering over the button */
  transition: background-color 0.3s; /* Smooth background color transition */
}

/* Hover Effect */
#copy-btn:hover {
  background-color: #0b9519; /* Changes the background color when hovered */
}

#copy-confirm {
  color: black;
}

.right-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-header {
  display: none;
}

.mobile-menu {
    display: none;
}

/* MAIN */
.container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Aligns items horizontally */
  justify-content: flex-start; /* Start aligning items from top */
  max-width: 1200px; /* or your preferred max width */
  margin: 0px auto 0; /* Adjust top margin to header height + desired space */
  padding: 20px;
  box-sizing: border-box;
}

.container > div {
  width: 100%; /* Full width */
  padding: 20px; /* Padding for content */
  box-sizing: border-box; /* Ensures padding doesn't affect the width */
  border: 2px solid black;
  border-radius: 5px;
  margin: 10px;
}

.div-color1 {
  background-color: antiquewhite;
}

.div-color2 {
  background-color: bisque;
}

.video-player {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  border: 2px solid black;
}

.play,
#mute,
#full-screen {
  color: white;
  background-color: rgb(56, 56, 56);
  border-radius: 3px;
}

#cube-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 500px;
  margin: auto;
}

canvas {
  width: 100%;
  height: 100%;
  display: block; /* Removes extra space below the canvas */
}

#tokenomics-div {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin: 5% 0px;
}

#buy > button {
  width: 250px;
  height: 60px;
  border-radius: 25px;
  background: linear-gradient(
    45deg,
    #e341ff,
    #ff752b
  ); /* A gradient background */
  color: white; /* Text color */
  border: none; /* Remove default border */
  outline: none; /* Remove the focus highlight */
  font-size: 18px; /* Larger font size */
  font-weight: bold; /* Make the text bold */
  cursor: pointer; /* Change the mouse pointer on hover */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* A subtle shadow */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  text-transform: uppercase; /* Uppercase text */
  letter-spacing: 1px; /* Space out the letters a bit */
}

#buy > button:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Larger shadow on hover */
  transform: translateY(-2px); /* Move the button up a bit on hover */
}

#buy > button:active {
  transform: translateY(-1px); /* Slightly move the button up when clicked */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Slightly smaller shadow when clicked */
}

#buy > button:nth-child(3) {
  margin-top: 30px;
  margin-bottom: 20px;
}

#tokenomics {
  border: 2px solid black;
  border-radius: 10px;
  text-align: left;
  padding: 20px;
}

.links {
  color: black;
}

.links:hover {
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none;
}

.pig-images {
  border: 2px solid black;
  border-radius: 10px;
}

/* FOOTER */
footer {
  /* position: fixed; */
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 10px 20px; /* Consistent horizontal padding */
  background-color: #faebd7; /* Matches header background */
  z-index: 1000;
  border-top: 2px solid black;
}

/* PHONE */
@media (max-width: 768px) {
  /* Styles for tablet and below */

  .mobile-header {
    display: block;
    background-color: #FAEBD7;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    background-color: #FAEBD7;
  }

  .mobile-menu > a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #333; /* just for visual separation */
    padding: 10px;
    color: palevioletred;
  }

  header {
    display: none;
  }

  header,
  .container,
  footer {
    padding: 10px;
  }

  .container > div,
  #tokenomics,
  #cube-placeholder {
    padding: 10px;
  }

  .video-player,
  #cube-placeholder {
    width: 100%; /* Full width on smaller screens */
  }

  .right-header > div,
  #tokenomics-div {
    flex-direction: column; /* Stack elements vertically */
  }

  .buy-btn,
  .buy-btn-header {
    /* Increase size for easier touch */
    padding: 15px 30px;
    font-size: 18px;
  }

  .pig-images {
    width: 80%; /* Smaller images on smaller screens */
  }
}

@media (max-width: 480px) {
  /* Styles for phones */

  body {
    font-size: 14px; /* Slightly smaller font size */
  }

  header,
  .container,
  footer {
    padding: 5px;
  }

  .container > div,
  #tokenomics,
  #cube-placeholder {
    padding: 5px;
  }

  .right-header > div,
  #tokenomics-div {
    flex-direction: column;
  }

  .buy-btn,
  .buy-btn-header {
    padding: 10px 20px;
    font-size: 16px;
  }

  .pig-images {
    width: 100%; /* Full-width images on very small screens */
  }
}