/* Custom Styles for Thanos Coin Website */

/* General Styles */
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: black;
  margin: 0;
  
  position: relative;
  z-index: 1; /* Place the content above the background canvas */

  /* Background image settings */
  background-image: url("../images/background.jpg"); /* Replace with your actual image filename */
  background-size: cover; /* Scale the image to cover the entire viewport */
  background-repeat: no-repeat; /* Prevent the image from repeating */
  background-attachment: fixed; /* Keep the background image fixed during scrolling */
  background-position: center; /* Center the background image */  
}

/* Header */
header {
  text-align: center;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.8);
  color: #f1c40f;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
}

header p {
  font-size: 1.2rem;
  margin-top: 8px;
}

/* Navbar Customizations */
.navbar {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-weight: bold;
  color: #f1c40f !important;
}

.navbar-nav .nav-link {
  color: #ffffff !important;
}

.navbar-nav .nav-link:hover {
  color: #f1c40f !important;
}

/* Hero Section */
.hero h2 {
  font-size: 2rem;
  color: black;
  margin-bottom: 20px;
}

.hero p {
  line-height: 1.6;
  font-size: 1rem;
}

/* Buttons */
button, .btn {
  font-weight: bold;
  border-radius: 5px;
}

.buy-button-container .btn {
  background-color: #f39c12;
  border: none;
  color: #ffffff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.buy-button-container .btn:hover {
  background-color: #e67e22;
  transform: scale(1.05);
}

.buy-button-container .btn:active {
  transform: scale(0.95);
}

/* Footer */
footer {
  background: #333333;
  color: #ffffff;
  padding: 15px 0;
}

footer h5 {
  font-size: 1rem;
  margin-bottom: 10px;
}

footer .social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

footer .social-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

footer .social-icon:hover {
  transform: scale(1.2);
}

/* Media Queries */
@media (max-width: 768px) {
  header h1 {
      font-size: 2rem;
  }

  header p {
      font-size: 1rem;
  }

  .hero h2 {
      font-size: 1.5rem;
  }

  .hero p {
      font-size: 0.9rem;
  }

  footer {
      font-size: 0.8rem;
  }
}

/* Background wrapper for the canvas */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Ensure it stays behind all other content */
  pointer-events: none; /* Prevent interactions with the canvas */
}

/* Canvas element itself */
#background-canvas {
  display: block; /* Removes any inline-block extra spacing */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0; /* Ensures no margin is added to the canvas */
  padding: 0; /* Ensures no padding affects the layout */
  z-index: -1; /* Ensure it's behind the content */
}
@media (min-width: 768px) {
  .mobile-controls {
    display: none !important;
  }
}
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  z-index: 1000;
  display: none; /* Hidden by default */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
}

.cookie-popup .btn {
  margin: 0 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
}

.cookie-popup .btn-primary {
  background-color: #4caf50;
  color: white;
}

.cookie-popup .btn-secondary {
  background-color: #f44336;
  color: white;
}
