/* font something nice
*/

/* body {
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
} */

body {
  margin: 0;
  padding: 0;
  background: url("/img/mcimage.png") center center fixed;
  background-size: cover;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  z-index: 1;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit top bottom fixed;
  background-size: cover;
  filter: blur(10px); /* Adjust the blur intensity as needed */
  z-index: -1; /* Place the blurred content behind the original background */
}

.bulletin-board {
  max-width: 60vw;
  margin: 50px auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background: url(/img/backdrop-background-blank-board.jpg) repeat;
  border: 2px  #ccc; /* Decorative dashed border */
}

.pin {
    position: absolute;
    top: 5%; /* Adjust the initial position as needed */
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
  }
  
  .pin.random {
    top: calc(5% + var(--pin-offset-y)); /* Random offset added to the initial position */
    left: calc(50% + var(--pin-offset-x)); /* Random offset added to the initial position */
  } 
.polaroid {
  position: relative;
  margin: 10px auto 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 300px; /* Set the maximum width for the polaroid */
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  border-radius: 10px;
  z-index: 10;
  background: #fff;
  padding: 10px;
}

.polaroid:hover {
  transform: scale(1.1);
}

.polaroid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.polaroid::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  /* border: 5px solid #fff; */
  border-radius: 10px;
}

.description {
  text-align: center;
  margin-top: 10px;
  border-radius: 10px;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  z-index: 1001;
}

.modal img {
  max-width: 100%; /* Ensure the image doesn't exceed the viewport width */
  max-height: 80vh;
  height: auto;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  .polaroid {
    max-width: calc(90% - 30px); /* Ensure at least 2 in a row with margin */
  }
  .bulletin-board {
    max-width: 80vw;
  }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  .bulletin-board {
    max-width: 76vw;
  }
  .polaroid {
    max-width: calc(48% - 30px); /* Ensure at least 2 in a row with margin */
  }
}

@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .bulletin-board {
    max-width: 70vw;
  }
  .polaroid {
    max-width: calc(32% - 30px); /* Ensure at least 2 in a row with margin */
  }
  
}