@import url("https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: "Puffy", cursive;
  background-color: #000;
}

@font-face {
  font-family: "Puffy";
  src: url("font/puffy.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

header {
  background-color: rgb(19, 19, 19);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

header .logo img {
  width: 200px;
}

header nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
}

header nav a:hover {
  text-decoration: underline;
}

header .buy-tokens {
  background-color: #ff00f0;
  text-shadow: 0px 0px 9px black;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

header .buy-tokens:hover {
  background-color: black;
}

main {
  padding-top: 90px; /* Offset for fixed header */
}

.section {
  background-color: #222; /* Default background color */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px); /* Adjusted to account for footer height */
  text-align: center;
  color: #fff;
  padding: 20px; /* Add some padding */
}

.section:nth-of-type(1) {
  background-image: url("img/main-bg.jpg");
  background-size: cover;
}

.section:nth-of-type(2) {
  background-image: url("img/oil.jpg");
  background-size: cover;
}

.section:nth-of-type(3) {
  background-image: url("img/road.jpg");
  background-size: cover;
}

.section h1 {
  text-align: center;
  font-size: 62px;
  margin-bottom: 10px;
  text-shadow: 10px 10px 20px #000;
  text-align: center;
}

.about {
  text-align: left !important;
}

.section p {
  font-size: 24px;
  max-width: 600px;
  text-shadow: 5px 5px 10px #000;
  padding-bottom: 12px;
}

footer {
  background-color: rgb(19, 19, 19);
  color: #fff;
  text-align: center;
  padding: 15px;
  width: 100%;
  position: relative; /* Change from fixed to relative */
}

footer .logo {
  font-size: 24px;
}

.social-links img {
  width: 30px;
  margin: 0 10px;
}

.road-body {
  padding: 20px;
}

.container {
  display: flex;
  flex-direction: row; /* Default to row layout */
  justify-content: space-around;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.block {
  border: 2px solid pink;
  border-radius: 20px;
  padding: 20px;
  background-color: rgba(255, 20, 147, 0.1);
  margin: 20px;
  flex: 1 1 200px; /* Allow flexibility for responsiveness */
  max-width: 300px; /* Limit max width for larger screens */
  transition: transform 0.3s; /* Add a transition for hover effect */
  backdrop-filter: blur(5px);
}

.block:hover {
  transform: scale(1.05); /* Slightly scale up on hover */
}

h2 {
  color: black;
  margin: 0 0 10px;
  color: black; /* Main text color */
  text-shadow: -1px -1px 0px pink, 1px -1px 0px pink, -1px 1px 0px pink,
    1px 1px 0px pink; /* Creates the outline effect */
}

/* Mobile styles */
@media (min-width: 601px) {
  .left {
    display: flex;
    justify-content: left;
    flex-direction: column;
    text-align: left;
    width: 100%;
    padding: 260px;
  }
}
@media (max-width: 600px) {
  .section h1 {
    text-align: center;
    font-size: 32px;
  }
  .about {
    text-align: center !important;
  }

  header nav {
    flex-direction: column;
    margin-top: 10px;
  }

  header nav a {
    margin: 5px 0;
  }

  main {
    padding-top: 120px; /* Adjust for smaller header */
  }

  section {
    padding: 20px;
    height: auto; /* Allow sections to adjust height */
  }

  section p {
    font-size: 16px;
  }

  .container {
    flex-direction: column; /* Stack blocks vertically on small screens */
    align-items: center; /* Center the blocks */
  }

  .block {
    max-width: 90%; /* Limit width for mobile */
    margin: 10px 0; /* Adjust margins for better spacing */
  }
  .section {
    min-height: 100vw;
  }
}

.main-bg {
  position: relative;
}

.parallax-section {
  position: relative;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  background-image: url("img/your-image.jpg"); /* Replace with your image */
  background-size: cover; /* Cover the entire section */
  background-attachment: fixed; /* Fixed attachment for parallax effect */
  background-position: center; /* Center the image */
}
