
body {
  font-family: "Typewriter";
  }
  
.header {
  text-align: center;
  color: #e7e7e7;
  font-size: 30px;
  font-family: "Halftone";
  padding: 5px;
  }
  
.icon {
  margin-left: 20px;
  position: fixed;
  background-color: #5CA9FC;
  border-right: 2px solid #212c51;
  border-bottom: 2px solid #212c51;
  }
  
.icon img {
  width: 150px;
  }

.icon a:hover {
  margin-left: 20px;
  position: fixed;
  background-color: #dac25a;
  border-right: 2px solid #dac25a;
  border-bottom: 2px solid #dac25a;
  }

.main {
  margin-left: 200px;
  margin-right: 50px;
  border-right: 2px solid #212c51;
  border-bottom: 2px solid #212c51;
  padding: 10px;
  background-image: url(/yellowpaper1.jpg);
  color: #212C51;
  text-align: center;
  }

h2 {
  color: #212c51;
  text-align: center;
  }

/*NAVIGATION AND SIDEBAR*/
/*sidebar menu*/
.sidenav {
  margin-top: 175px;
  margin-left: 33px;
  padding-bottom: 6px;
  width: 150px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #5CA9FC;
  overflow-x: hidden; /* Disable horizontal scroll */
  border-right: 2px solid #212c51;
  border-bottom: 2px solid #212c51;
}

/* navigation menu links */
.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  font-family: Monaco, Lucida, Monospace;
  color: #e7e7e7;
  display: block;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #212C51;
  font-weight: bold;
}


/*IMAGE GALLERY*/
.image-gallery div {
  width: 50%;
  height: 300px;
  margin: 5px;
  border-right: 1px solid #212c51;
  border-bottom: 1px solid #212c51;
}

.image-gallery div img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
}

/* Items */
.image-gallery div {
  box-sizing: border-box;
  width: calc(25% - 10px);
  position: relative;
}
/* Mobile */
@media (max-width: 800px) {
  .image-gallery div {
    width: calc(50% - 10px);
  }
}

.image-gallery div:hover {
  border: 1px solid #e7e7e7;
  }

/*MODAL POP-UP GUY*/
/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #212c51;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

/* Modal content (image) */
.modal-content {
  position: relative;
  width: 90%;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  overflow: hidden;
  animation: zoomIn 0.5s;
  object-fit: contain;
}

@keyframes zoomIn {
  from {transform: scale(0.6);}
  to {transform: scale(1);}
}

.modal.show {
  display: flex;
  opacity: 1;
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #e7e7e7;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

/* Caption of modal image */
.caption {
  position: absolute;
  bottom: 20px;
  right: 15px;
  width: 100%;
  text-align: center;
  color: #e7e7e7;
  font-size: 24px;
}

