.education-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure blocks wrap on smaller screens */
    min-height: 500px;
  }

  #high-school {
    background-color: #4c69af
  }

  #bachelor-degree {
    background-color: #4c92af
  }

  #master-degree {
    background-color: #4cafaf
  }

  h2 #education {
    display: block;
  }
  
  .education-block:hover {
    border-color: #2196F3; /* Highlight border on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
  }

  #education-headings {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .education-block {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative; /* Set relative positioning for child elements */
    height: 250px;
    width: 200px;
  }
  
  .education-details {
    display: none; /* Initially hidden */
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    margin-inline: 10%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%; /* Set width to 80% of the page */
    max-width: 800px; /* Max width for better appearance */
    color:black;
    text-align: left;
  }
  
  /* Click hint text */
.click-hint {
  font-size: 0.85rem;
  color: white;
  background-color: gainsboro;
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 8px;
  display: inline-block;
  transition: opacity 0.3s ease-in-out;
}

/* On hover, make the hint more prominent */
.education-block:hover .click-hint {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
}

/* Hide the hint when the block is active (clicked) */
.education-block.active .click-hint {
  display: none;
}


/* Arrow hint */
.arrow-hint {
  font-size: 1.5rem;
  color: white;
  position: absolute; /* Pin to the bottom of the block */
  bottom: 10px; /* Add some spacing from the bottom */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Adjust for centering */
  display: block;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* On hover, slightly move arrow to indicate clickability */
.education-block:hover .arrow-hint {
  transform: translateY(5px);
  opacity: 0.8;
}

/* When block is active (clicked), rotate the arrow upwards */
.education-block.active .arrow-hint {
  transform: rotate(180deg);
}

