/* Reset some default styles */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

.intro-text h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  color: #f4f4f4;
  text-shadow: 2px 2px 4px #000;
}

.intro-text p {
  font-family: 'Roboto', sans-serif;
  color: #ccc;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px #000;
}


body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-image: url('images/Background.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* Navigation menu */
nav {
  display: flex;
  justify-content: flex-end;
  background: linear-gradient(to bottom, #333, #444);
  padding: 1rem;
  position: fixed;
  width: 100%;
  z-index: 100;
}

nav ul {
  list-style-type: none;
  display: flex;
}

nav ul li {
  margin-left: 1rem;
}

nav ul li a {
  color: #f4f4f4;
  text-decoration: none;
}

nav ul li a:hover {
  color: #ccc;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Home section */
#home {
  text-align: center;
  padding: 2rem;
  background-color: #1a1a1a;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
}

.header-image {
  background-image: url('images/HeaderImage.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 500px;
}

.intro-text {
  margin-top: 1rem;
}

.intro-text h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #f4f4f4;
  text-shadow: 2px 2px 4px #000;
}

.intro-text p {
  color: #ccc;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px #000;
}

.intro-panel {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px;
  display: inline-block;
  margin-top: 1rem;
  border-radius: 5px;
}

/* Parallax scrolling effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

/* Add your own background images for each parallax section */
#ai-arbitrage {
  background-image: url('images/AIArbitrageBackground.png');
}

#nft-collection {
  background-image: url('images/NFTBackground.png');
}

#faq {
  background-image: url('images/FAQ_background.png');
}

#download {
  background-image: url('images/DownloadBackground.png');
}

#about {
  background-image: url('images/AboutBackground.png');
}

.content-panel p {
  text-align: center;
  margin-top: 1rem;
}

/* Content panel for parallax sections */
.content-panel {
  background-color: rgba(0, 0, 0, 0.75);
  padding: -10px 20px;
  display: inline-block;
  margin-top: 1rem;
  margin-left: 10px;
  border-radius: 7px;
  width: 80%;
  max-width: 800px;
  text-align: center;
  }
  
  .section-space {
  margin-bottom: 350px;
  }
  
  .section-margin {
  margin-top: 200px;
  margin-bottom: 200px;
  }
  
  .section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #f4f4f4;
  text-shadow: 2px 2px 4px #000;
  margin-bottom: 1rem;
  }
  
  /* Responsive design */
  @media only screen and (max-width: 600px) {
  nav ul {
  flex-direction: column;
  align-items: center;
  display: none;
  }

  .carousel-item img {
    max-height: 250px;
    object-fit: contain;
  }
  
  nav ul li a {
  margin-bottom: 10px;
  }
  
  nav ul.show {
  display: flex;
  }
  
  .hamburger {
  display: block;
  }
  
  /* Update background-image size and position for parallax sections */
  .parallax {
  background-size: cover;
  background-position: center;
  }
  
  /* Update the font size and padding for the parallax sections */
  .parallax h2 {
  font-size: 24px;
  padding: 40px 20px;
  }
  
  /* Add these lines to adjust the background image fit for smaller screens */
  .header-image {
  background-size: cover;
  background-position: center;
  }
  
  /* Adjust content panel width for smaller screens */
  .content-panel {
  width: 80%;
  }
  }
  
  /* Carousel */
  .carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 1rem auto;
  overflow: hidden;
  }
  
  .carousel-inner {
  display: flex;
  overflow: hidden;
  }
  
  .carousel-item {
  flex-shrink: 0;
  width: 100%;
  display: none;
  transition: opacity 0.5s;
  }
  
  .carousel-item img {
    width: 60%;
    display: block; /* Add this line to center the image */
    margin: 0 auto; /* Add this line to center the image */
    border-radius: 20px;
    height: auto;
  }
  
  
  .carousel-item.active {
  display: block;
  }
  
  .carousel-control {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  border: none;
  padding: 5px 10px;
  margin-top: -20px;
  }
  
  .carousel-control.prev {
  left: 30px;
  }
  
  .carousel-control.next {
  right: 30px;
  transform: translateY(-50%);
  }
  
  /* Info Panel */
  .info-panel {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 20px;
  display: inline-block;
  margin-top: 1rem;
  border-radius: 5px;
  width: 80%;
  max-width: 800px;
  text-align: center;
  }
  
  .info-panel p {
  color: #333;
  margin-top: 1rem;
  }
  
  .text-panel {
    margin-top: 70px;
    padding: 2rem 0;
    width: calc(100% - 20px); /* Adjust the width to account for the left and right margins */
    max-width: none;
    text-align: justify; /* Change text alignment to justified */
    background-color: rgba(0, 0, 0, 0.75);
    color: #f4f4f4;
    margin-bottom: 1rem;
    margin-left: 10px; /* Add 10px margin to the left */
    margin-right: 10px; /* Add 10px margin to the right */
    border-radius: 5px;
    padding-left: 20px; /* Add 20px padding to the left */
    padding-right: 20px; /* Add 20px padding to the right */
  }
  
  
  a.custom-link {
  display: inline-block;
  background-color: #34495e;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.3s;
}

a.custom-link:hover {
background-color: #2c3e50;
color: #ffffff;
text-decoration: none;
}

nav ul li a:hover {
  color: #ccc;
  text-decoration: underline; /* Add this line */
  background-color: rgba(255, 255, 255, 0.1); /* Add this line */
  border-radius: 5px; /* Add this line */
  padding: 2px 5px; /* Add this line */
}

#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
  z-index: 200;
}

#back-to-top:hover {
  opacity: 1;
}

.icon {
  width: 50px;
  height: 50px;
  vertical-align: middle; /* Align the icon with the text */
  margin-right: 10px; /* Add some space between the icon and the text */
}