@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: "Inter", sans-serif;
  background-color: #121e26;
}

#particles-js {
  position: fixed;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: #121e26;
  z-index: 0;
}

.centre-text {
  width: 100%;
  max-width: 600px;
  align-items: center;
  text-align: center;
  color: #ffffff;
  position: fixed;
  margin: 0%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-wrapper-a4 {
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  position: relative;
  z-index: 1;
  max-width: 826px;
  margin: 0 auto;
  padding: 20px;
  z-index: 100;
  color: #ffffff;
  border: 1px solid white;
}

/* Full-Width Header */
.menu-container {
  background-color: #121e26;
  color: white;
  padding: 10px 0;
  width: 100%;
  position: relative;
}

#menu-usericon {
  border-color: transparent;
}

.menu-header {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}



.logo {
  font-size: 20px;
  font-weight: bold;
}

.menu-icons {
  display: flex;
  align-items: center;
}

.btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  margin-left: 10px;
  cursor: pointer;
  padding: 5px 10px;
}

.btn:hover {
  background-color: #3b4a54;
}


.report-btn {
  border: 1px solid white;
  border-radius: 5px;
}

.btn-profile {
  border-radius: 55%;
  /* Adjust to 55% for 10% larger than typical circle */
  width: 35px;
  /* Adjust size for a circle */
  height: 35px;
  /* Same as width to maintain the circle */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: auto;
}

.dropdown {
  position: relative;
  display: inline-block;
  z-index: 5;
}

.settings-btn {
  border: 1px solid white;
  border-radius: 5px;
}

/* Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #ffffff;
  color: #333;
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 6;
  border-radius: 4px;
}

.dropdown-content a {
  color: #333;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown-content .delete {
  color: red;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

main {
  text-align: center;
  padding: 20px;
}

#gapFillHolder {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  animation: fadeIn 1s ease-in-out;
}


.page-wrapper {
  position: absolute;
  z-index: 1;
  z-index: 100;
  color: #ffffff;
  margin: auto 0;
  width: 100%;
}


.title-div {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  width: 80%; /* Give some space each side */
  border-radius: 5px;
  margin: 0 auto;
}

.project-title {
    /* We Love Standards */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */

  color: white;
}

#all-projects {
  display: grid;
  width: 70%;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust columns dynamically */
  gap: 10px; /* Space between grid items */
  justify-content: center; /* Center grid items horizontally */
  margin: 20px auto; /* Center the grid */

}


.project-div {
  width: 300px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border: 1px solid #ccc;
  margin: auto;
  justify-content: center;

  border: rgba(0, 0, 0, 0.5);
  border-radius: 10px;

  transition: transform 0.2s ease-in-out;
}


.project-div:hover {
  transform: translateY(-8px);
}

/* Optional: Set a max-width on larger screens to cap the number of columns */
@media (max-width: 1200px) {
  #all-projects {
    grid-template-columns: repeat(4, 1fr); /* 4 columns max */
  }
}

@media (max-width: 900px) {
  #all-projects {
    grid-template-columns: repeat(3, 1fr); /* 3 columns max */
  }
}

@media (max-width: 600px) {
  #all-projects {
    grid-template-columns: repeat(2, 1fr); /* 2 columns max */
  }
}

@media (max-width: 400px) {
  #all-projects {
    grid-template-columns: 1fr; /* 1 column max on very small screens */
  }
}

.fly-in {
  opacity: 0; /* Start invisible */
  transform: translateY(100px); /* Start below the screen */
  transition: opacity 300ms ease-out, transform 300ms ease-out; /* Smooth transition for opacity and movement */
}


.fly-in-active {
  opacity: 1; /* Make the div visible */
  transform: translateY(0); /* Move the div up to its final position */
}
