* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


header {
  background-color: #333;
  color: #fff;
  padding: 20px;
}

.customc{
    background-color: #6495ED;
}

header h1 {
  margin: 0;
}

body {
  background-image: url("sSVG/SandTronix2outline.svg");
  font-family: Arial, sans-serif;
  background-repeat: no-repeat;
  background-size: cover;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 820px; /* Add a fixed height here */
  overflow: hidden; /* Hide any content that goes beyond the height */
}

.hexagons {
  display: flex;
  justify-content: center; /* center the hexagons horizontally */
  align-items: center; /* center the hexagons vertically */
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* center the hexagons horizontally */
}


.hexagon {
  position: relative;
  width: 28.5%;
  padding-bottom: 32.96%;
  margin: 1%;
  background-color: #6495ED;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon-image {
  position: absolute;
  top: 10%; /* Adjust as needed */
  left: 50%;

  width: 70%; /* Adjust the size as needed */
  height: auto; /* Keeps the aspect ratio of the image */
}

.hexagon:hover {
  background-color: #90EE90; /* change the background color to light green on hover */
}

.hexagon-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 200%);
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-align: center;
}

.hexagon:hover .hexagon-word {
  color: black;
}


footer {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  margin-top: 500px; /* Set the same height as the main section */
}

