.hmmm {
  font-family: 'Arial', sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin-bottom: -10%;
}
.portfolio-container {
  width: 90%;
  max-width: 1200px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  display: flex;
  transition: all 0.3s ease;
}
.buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);
}
.buttons.left {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.buttons button {
  background: #2c2c2c;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 0;
  transition: all 0.3s ease;
}
.buttons button:active {
  transform: scale(0.9);
}
.buttons button:hover {
  background: #4a4a4a; /* Change this color to your preference */
  transform: scale(1.1);
}

.project-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-left: 88px;
}
.project {
  display: none;
  width: 100%;
  transition: all 0.3s ease;
}
.project img, .project video {
  width: 400px; /* Fixed width */
  height: 225px; /* Fixed height to maintain aspect ratio */
  object-fit: cover; /* Ensures image is contained within specified dimensions */
  border-radius: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.project img:hover, .project video:hover {
  transform: scale(1.05);
}
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup img, .popup video {
  max-width: 90%;
  max-height: 90%;
}
.popup .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  color: black;
}
img{
  vertical-align: baseline;
}
@media (max-width: 768px) {
  .project img, .project video {
    width: 200px;
    height: 113px; /* Adjusted height to maintain aspect ratio */
  }
}
