* {
  box-sizing: border-box;  /* Optional: Ensures padding and border are included in element's total width/height */
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  display: grid;
  grid-template-rows: 60px, 1fr, 60px;
  
  height: 100vh;
  background-color: #ffea1e;
}

header {
  background-color: #ffea1e;
  width: 100%;
  height: 60px;
  z-index: 1000;

  position: fixed;
  top:0;

  display: grid;
  grid-template-columns:  60px 1fr;
  justify-content: space-between;
  align-items: center;
  
  border-bottom: 2px solid #333;
  border-radius: 150px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

header img {
  width: 60px;
  height: 60px;
  margin-left: 20px;
  align-self: left;
}

header h1 {
  text-align: right;
  margin-right: 20px;
  font-size: 30px;
  color: #7839c3;
}



footer {
  background-color: #ffea1e;
  width: 100%;
  height: 60px;
  z-index: 1000;

  position: fixed;
  bottom: 0;
  
  display: grid; /* Footer remains a grid */
  grid-template-columns: repeat(auto-fit, minmax(40px, 1fr)); /* Dynamically create columns */
  gap: 0px; /* Space between buttons */

  border-top: 2px solid #333;
  border-radius: 150px;
  box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1);
  
  justify-items: center;
  align-items:center;
}

footer button {
  display: flex; /* Align content (icon + text) inside the button */
  flex-direction: column; /* Stack icon and text vertically */
  justify-content: center; /* Center the content */
  align-items: center; /* Center horizontally */
  padding: 0px;
  margin: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  color: #7839c3;
}

footer button img {
  width: 30px; /* Icon width */
  height: 30px;
  color: #7839c3;/* Icon height */
}

footer button span {
  font-size: 12px; /* Text below the icon */
  margin-top: 0px;
  color: #7839c3;/* Space between icon and text */
}

footer a {
  text-decoration: none;
}


main {
 
  margin-top: 65px;
  margin-bottom: 65px;
  overflow-y: auto;
  padding: 5px;
  justify-self: center;
  align-self: center;
  justify-content: center;
  align-content: center;
  justify-items: center;
  align-items: center;
  
  width: 100%;
  max-width:900px;
  
}

/* Ensure particles.js takes the full width and height of the body */
#particles-js {
  position: absolute; /* Positioning behind content */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Ensures particles stay behind the header, footer, and content */
}

