/* Importing a special font (Google Font) */
@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");

/* Big label styles */
.label {
  font-family: "Lobster", cursive; /* Applying the special font */
  font-size: 3rem; /* Large font size for the label */
  color: #000000; /* White color text */
  text-align: center; /* Center text */
  padding: 20px;
  margin-top: 30px; /* Space from the top */
  letter-spacing: 2px; /* Add a little letter spacing for style */
  text-transform: uppercase; /* Capitalize all letters */
  border-bottom: 2px solid #f44336; /* Optional: Add a bottom border for effect */
  width: 100%; /* Make it span the full width */
  margin-bottom: 40px; /* Space before content */
}

/* Reset default margin and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and background image */
body {
  font-family: "Comic Sans MS", sans-serif;
  background-image: url("resources/snut-background.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

/* Main wrapper to handle full page layout */
.main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0 10%; /* Adjust for grid effect with left and right margins */
}

/* Title section styling */
.title {
  text-align: center; /* Center the image horizontally */
  margin: 20px 0; /* Add some spacing around the title */
}

.title img {
  max-width: 100%; /* Make the image scale with the width of its container */
  height: auto; /* Maintain aspect ratio */
  display: inline-block; /* Ensure the image aligns properly */
  margin: 0 auto; /* Center the image */
}

/* For larger screens (optional adjustments) */
@media (min-width: 768px) {
  .title img {
    max-width: 80%; /* Limit image width for larger screens */
  }
}

/* For smaller screens (optional adjustments) */
@media (max-width: 480px) {
  .title img {
    max-width: 90%; /* Allow more flexibility for smaller screens */
  }
}

/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Transparent background */
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-left p {
  margin-left: 10px;
}

/* Social media links */
.header-right a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  margin: 0 15px;
  padding: 10px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s;
}

.header-right a:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.header-right a:active {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Wallet address styles */
.wallet-address {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  padding: 10px;
  background-color: #f1f1f1;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.wallet-address:hover {
  background-color: #ddd;
  cursor: pointer;
}

.copy-icon {
  margin-left: 10px;
  font-size: 20px;
  color: #333;
}

.wallet-address:hover .copy-icon {
  color: #f44336;
}

/* Content styles */
.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  margin: 0 10%;
  flex: 1;
}

/* Content left and right sections */
.content-left,
.content-right {
  width: 45%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content-left img {
  max-width: 100%;
}

.wallet-address p {
  background-color: #fff;
  color: #000;
  padding: 10px;
  border-radius: 50px;
  display: inline-block;
}

button {
  background-color: #f44336;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background-color: #d32f2f;
}

/* CAROUSEL */

.carousel-wrapper {
  width: 520px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 5px 5px 25px 0px rgba(46, 61, 73, 0.2);
  border-radius: 20px;
  margin: 100px auto 20px;
}

.carousel-container {
  width: 400px;
  height: 250px;
  overflow: hidden;
  margin: 0 auto;
}

.carousel {
  display: flex;
  width: 1200px;
  animation: sliding 12s infinite;
}
.carousel div {
  width: 400px;
  height: 250px;
  background-size: cover;
  background-position: center;
}
.carousel:hover {
  animation-play-state: paused;
}
.carousel .image-one {
  background-image: url("resources/meme2.gif");
}
.carousel .image-two {
  background-image: url("resources/meme1.jpg");
}
.carousel .image-three {
  background-image: url("resources/meme3.jpg");
}

@keyframes sliding {
  30% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-400px);
  }
  65% {
    transform: translateX(-400px);
  }
  70% {
    transform: translateX(-800px);
  }
  98% {
    transform: translateX(-800px);
  }
  100% {
    transform: translateX(0);
  }
}
@media screen and (max-width: 768px) {
  .carousel-wrapper {
    width: 312px;
    height: 210px;
  }

  .carousel-container {
    width: 240px;
    height: 150px;
  }

  .carousel {
    width: 720px;
  }
  .carousel > div {
    width: 240px;
    height: 150px;
  }

  @keyframes sliding {
    30% {
      transform: translateX(0);
    }
    35% {
      transform: translateX(-240px);
    }
    65% {
      transform: translateX(-240px);
    }
    70% {
      transform: translateX(-480px);
    }
    98% {
      transform: translateX(-480px);
    }
    100% {
      transform: translateX(0);
    }
  }
}

/* Social media icons container */
.social-media-icons {
  text-align: center;
  margin-top: 40px;
}

.social-media-icons a img {
  width: 50px;
  height: 50px;
  margin: 10px;
  border-radius: 50%;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  bottom: 0;
  clear: both;
}

/* Make the body take up the full height of the viewport */
body,
html {
  height: 100%;
  margin: 0;
}

footer p {
  margin: 0;
}

/* Responsiveness - Media Queries */

/* Mobile view (max width: 767px) */
@media screen and (max-width: 767px) {
  /* Adjust header for mobile */
  header {
    flex-direction: column;
    align-items: center;
  }

  .header-left,
  .header-right {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .header-right a {
    font-size: 16px;
    margin: 5px;
  }

  /* Content layout for mobile */
  .content {
    flex-direction: column;
    padding: 20px;
    margin: 0;
  }

  .content-left,
  .content-right {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .wallet-address {
    font-size: 16px;
    padding: 8px;
  }

  button {
    padding: 8px 16px;
    font-size: 16px;
  }

  .social-media-icons a img {
    width: 40px;
    height: 40px;
  }
}

/* Tablet view (max width: 1024px) */
@media screen and (max-width: 1024px) {
  .content {
    flex-direction: column;
    padding: 30px;
    margin: 0 5%;
  }

  .content-left,
  .content-right {
    width: 90%;
    margin-bottom: 20px;
  }

  .header-left,
  .header-right {
    margin-top: 10px;
  }

  .header-right a {
    font-size: 17px;
    margin: 10px;
  }

  .wallet-address {
    font-size: 18px;
    padding: 10px;
  }

  button {
    padding: 10px 20px;
    font-size: 18px;
  }
}

/* Large desktop view (min width: 1200px) */
@media screen and (min-width: 1200px) {
  .content {
    margin: 0 10%;
  }

  .content-left,
  .content-right {
    width: 45%;
  }
}
