/* Reset default margin and padding for body */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;  /* Make sure body and html take full viewport height */
}

body {
  font-family: Arial, sans-serif;
  background-color: #1a1a1a; 
  color: #ffffff;
  background-image: url("img/background.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  display: flex;  /* Turn body into a flex container */
  flex-direction: column;  /* Stack children vertically */
}

main {
  flex: 1;  /* Allow main content to grow and occupy available space */
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Add @font-face to load the custom font */
@font-face {
  font-family: 'DragonHunter';
  src: url("fonts/DragonHunter-9Ynxj.otf") format('opentype');
}

/* Header styling */
header {
  background-color: transparent;
  color: #000000;
  padding: 20px;
  text-align: center;
  font-family: 'DragonHunter', Arial, sans-serif;
  font-size: 30px;
}

/* Flex container styling */
.header-container {
  display: flex;
  justify-content: space-between; /* This ensures the maximum space between the items */
  align-items: center; /* This vertically centers the items */
  width: 99%;  /* Make sure it spans the full width */
}

/* Solana Logo Styling */
.solana-logo-container {
  /* Remove absolute positioning */
  z-index: 10;
  order: 3;
}

.solana-logo {
  width: 200px; /* Adjust as necessary */
  height: auto;
  transition: transform 0.2s;
}

.solana-logo-container:hover .solana-logo {
  transform: scale(1.1);
}

/* Header (title) styling */
header {
  order: 2; /* This ensures the header is in the center */
  flex-grow: 1; /* This allows the header to take up any available space, pushing the other two items to the sides */
  text-align: center;
}

/* Famous Fox Icon styling */
.ff-logo-container {
  order: 1; /* This ensures the Famous Fox logo is on the far left */
}

/* Section styling */
.banx-section, .solcasino-section, .theheist-section, .airdrop-section {
  background-color: transparent;
  color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  height: 14vh;
  max-width: 800px;
  text-align: center;
  transition: background-color 0.3s;
  margin-bottom: 30px; /* Add spacing between sections */
}

/* Section Color */

.banx-section:hover {
  background-color: #048d8d;
}
.banx-section:hover {
  background: radial-gradient(circle at center top, #003366, #006699);
}
.solcasino-section:hover {
  background-color: #008512;
}
.solcasino-section:hover {
  background: radial-gradient(circle at center top, #004d00, #001a00);
}

.theheist-section:hover {
  background-color: #753f00;
}
.theheist-section:hover {
  background: radial-gradient(circle at center top,  #b6b6b6, #8B4513, #FFD700);
}

.airdrop-section:hover {
  background-color: #181818;
}
.airdrop-section:hover {
  background: radial-gradient(circle at center top, #5c5c5c, #000000);
}


/* Text Color */

.banx-section p {
  color: #000757;
}
.solcasino-section p {
  color: #059e19;
}
.theheist-section p {
  color: #ffffff;
}
.airdrop-section p {
  color: #af0000;
}

/* Section Link Hover Color */
.banx-section a:hover {
  color: #015e5e;
}
.solcasino-section a:hover {
  color: #003f08;
}
.theheist-section a:hover {
  color: #381e00;
}
.airdrop-section a:hover {
  color: #313535;
}

/* Section specific link colors */
.banx-section a {
  color: #020646;
}

.solcasino-section a {
  color: #66ff00;
}

.theheist-section a {
  color: #ffcf35;
}

.airdrop-section a {
  color: #fff;
  text-decoration: underline; 
}

.banx-section h2, .solcasino-section h2, .theheist-section h2, .airdrop-section h2 {
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.781);
  letter-spacing: 30px;
  text-transform: uppercase;
  font-weight: bold;
  font-style: italic;
}

.tip-jar {
  color: #8FBC8F;
  font-size: 18px;
  position: relative;
  text-align: center; /* Centering the content within the tip jar */
  bottom: 5px;
}

.tip-text {
  margin-right: 10px;
  font-size: smaller;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block; /* Will make the background only as wide as the text */
  margin: 0 auto; /* Centering */
  background-color: #1a1a1a;
}

/* Orca image Styling*/
.lp-links {
  position: absolute;
  bottom: 10px; /* position it 10px from the bottom of the page */
  right: 10px; /* position it 10px from the right side of the page */
  z-index: 10;  /* Ensure it's above other content */
  display: flex;
  align-items: center;
}


.LP-image {
  width: 100px;
  height: 100px;
  opacity: 0.8;
  transition: transform 0.2s; /* Add a smooth transition effect */
}

/* Apply a scaling effect on hover */
.LP-image:hover {
  transform: scale(1.1); /* Enlarge by 10% on hover */
}

/* Default state: Hide all children except h2 */
.banx-section > *,
.solcasino-section > *,
.theheist-section > *,
.airdrop-section > * {
  display: none;
}

.banx-section > h2,
.solcasino-section > h2,
.theheist-section > h2,
.airdrop-section > h2 {
  display: block;
}

/* Hover state: Show all children */
.banx-section:hover > *,
.solcasino-section:hover > *,
.theheist-section:hover > *,
.airdrop-section:hover > * {
  display: block;
}

/* Styling for the Famous Fox icon */
.ff-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  transition: transform 0.3s;
  margin: 1rem;
}

.ff-logo:hover {
  transform: scale(1.1);
}

/* Styling for the dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #43484c;
  z-index: 1;
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); /* Shadow effect */
  transition: opacity 0.3s, transform 0.3s; /* Transition effect */
  transform: translateY(-10px); /* Start position for the transition */
  opacity: 0; /* Start opacity for the transition */
}

.ff-logo-container:hover .dropdown-content {
  display: block;
  transform: translateY(0); /* End position for the transition */
  opacity: 1; /* End opacity for the transition */
}

.dropdown-content a {
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.1); /* Light separator line */
}

.dropdown-content a:last-child {
  border-bottom: none; /* Remove the border for the last link */
}

.dropdown-content a:hover {
  color: orange;
  background-color: rgba(255,165,0,0.1); /* Light orange background on hover */
}

.shark-logo {
  width: 40px;  /* Sie können die Größe anpassen */
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.shark-logo:hover {
  transform: scale(1.1);
}

.defillama-container, .wolfcapital-container {
  margin-left: 1rem;
}


/* Für Bildschirme mit einer maximalen Breite von 768px (Tablets und darunter) */
@media (max-width: 768px) {
  .header-container h1{
    font-size: 30px;
  }

  .solana-logo-container, .ff-logo-container {
      margin: 10px 0; /* Add some vertical spacing between items */
  }

  header {
      text-align: left; /* Align the title to the left */
      margin: 10px 0;   /* Add some vertical spacing */
  }
}

/* Für Bildschirme mit einer maximalen Breite von 480px (Smartphones) */
@media (max-width: 480px) {
  header h1 {
      font-size: 24px;  /* Reduce the font size for the title */
  }
}
