* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  list-style: none;
  color:#fff;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: black;
  overflow-x: hidden;
}

.sidebar-port {
  width: 140px; 
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 120px;
  left: 20px;
  height: 250px;
  overflow-y: auto;
  border-radius: 25px;
  border: 1px solid #fff;
  backdrop-filter: blur(10px);
  
  transition: all 0.3s ease;
}

.sidebar-port button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: none;
  background-color: rgba(244, 244, 244, 0);
  cursor: pointer;
  text-align: center;
  color: #fff;
  font-size: 14px;
  transition: background-color 0.3s ease;
  border-radius: 25px;
}

.sidebar-port button:hover {
  background-color: #bbb;
}

.sidebar-port button.active {
  background-color: #d32328; 
  color: white;
}

@media (max-width: 768px) {
  body {
    justify-content: center;
  }
  .sidebar-port {
    width: 90%;
    height: 85px;
    position: fixed;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    overflow-y: hidden;
    position: absolute;
  }
}

.sidebar-port nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.sidebar-port nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  padding: 0;
}

.sidebar-port nav ul li {
  margin: 0 auto;
}

.category i {
  display: none;
}

.sidebar-port nav ul {
  flex-direction: column;
}

@media (max-width: 768px) {
  .sidebar-port nav {
    top: 5px;
  }

  .sidebar-port nav ul {
    display: flex;
  }

  .category {
    font-size: 0;
  }

  .sidebar-port nav ul {
    flex-direction: row;
  }

  .category i {
    display: inline-block;
    font-size: 12px;
  }

  .category span {
    display: none;
  }
}

main {
  padding-top: 50px;
  padding-bottom: 50px;
  height: calc(100vh + auto);
  background-image: url("../img/bg1.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  transition: all .50s ease;
}

.main-content {
  width: calc(100% - 200px);
  height: calc(100vh + auto), 0.3s ease;
  margin-left: 160px;
  margin-top: 50px;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 15px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 35px;
  border: 1px solid #fff;
  backdrop-filter: blur(5px);
  
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .main-content {
    width: 90%;
    margin-left: 0px;
    margin-top: 140px;
  }
}

.galeri {
  display: grid;
  margin-bottom: 5px;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  justify-content: center;
  align-items: center;
  color:#fff;
}

.port-post {
  height: 150px;
  width: 150px;
  background-color: rgba(0, 0, 0, 0.404);
  padding: 0px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  border: 1px solid #fff;
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
