/* index.css */
.liked {
  filter: drop-shadow(0 0 5px red);
  transform: scale(1.1);
}

/* Example custom styles for people who prefer standard CSS */

#profile-text:hover {
  color: darkblue;
}

/* Add more styling as needed */

/*header*/
header {
  font-family: poppins;
  font-weight: 700;
}

/* Add Styling Gallery Two Section */
.gallery-one-section {
  max-width: 1440%;
  width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(413px, 1fr));
  gap: 16px; /* space between grid items */
}

@media (max-width: 1200px) {
  .gallery-one-section {
    grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  }
}

.grid-one-item {
  box-sizing: content-box;
}

.caption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

.image-one-section {
  border-radius: 9px;
  width: 100%;
  height: 413px;
  object-fit: cover;
}

/* Add Styling Gallery Two Section */

* {
  font-family: poppins;
}

#profile-text:hover {
  color: darkblue;
}

/* Add more styling as needed */
/************** SIRJAEY'S PART (PROFILE)*********************** */
#sirjaey {
  border-bottom: 2px solid #21212166;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding-bottom: 20px;
  width: 90%;
}
.profile {
  display: flex;
  gap: 20px;
}
.bio-data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about {
  h1 {
    font-size: 32px;
    font-weight: 500;
  }
  p {
    color: #212121b2;
  }
}
.edit span {
  color: #212121b2;
}
.new-post {
  align-items: baseline;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.new-post-btn button {
  background-color: #212121;
  border-radius: 8px;
  color: #fcf5e5;
  gap: 8px;
  padding: 20px 25px;
}
/* *************END OF SIRJAEY'S PART****************** */

/*tabeit's*/

.footer {
  border-top: 2px solid #21212166;
  width: 90%;
  font-size: 14px;
  color: #3f3f3f;
}

/* Abuchi */
.image-one-section:hover {
  cursor: pointer;
}

/* Styles for the modal overlay */
.image-modal-container {
  position: fixed;
  display: none;
  z-index: 1;
  left: 0;
  top: 0%;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

.image-modal-container.is-active {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Styles for the modal content box */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  margin-top: 5%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  max-width: 90%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  overflow: hidden;
}

/* Styles for the image inside the modal */
.modal-image {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

/* Styles for the title below the image in the modal */
.modal-title {
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
  word-wrap: break-word;
  max-width: 100%;
}

/* Styles for the close button */
.close-button {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .modal-content {
    padding: 15px;
    margin-top: 10%;
    max-width: 95%;
    max-height: 95%;
  }

  .modal-image {
    max-height: 60vh;
  }

  .modal-title {
    font-size: 1.1rem;
  }

  .close-button {
    font-size: 24px;
    top: 8px;
    right: 15px;
  }
}

#preview-modal.modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
  }
  
  #preview-modal.show {
	opacity: 1;
	pointer-events: auto;
  }
  
  /* Modal Content */
  .preview-content {
	background: white;
	border-radius: 12px;
	padding: 1rem;
	max-width: 95%;
	width: 600px;
	max-height: 90vh;
	overflow: auto;
	position: relative;
	text-align: center;
	transform: scale(0.95);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  #preview-modal.show .preview-content {
	transform: scale(1);
	opacity: 1;
  }
  
  #preview-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  }
  
  #preview-title {
	margin-top: 12px;
	font-size: 1.25rem;
	font-weight: 500;
	color: #333;
  }
  
  #close-preview-btn {
	position: absolute;
	top: 10px;
	right: 12px;
	font-size: 1.5rem;
	background: none;
	border: none;
	color: #333;
	cursor: pointer;
	transition: color 0.2s ease;
  }
  
  #close-preview-btn:hover {
	color: red;
  }
  
  /* Optional Responsive Tweak */
  @media (max-width: 500px) {
	.preview-content {
	  width: 90%;
	  padding: 0.75rem;
	}
  
	#preview-title {
	  font-size: 1rem;
	}
  }
  

/* @media (max-width: 510px) {
	#profile-text:hover {
	  color: darkblue;
	}
  
  
	header {
	  font-family: poppins;
	  font-weight: 600;
	  background-color: white;
	  width: 100%;
	  height: 35px;
	  text-align: center;
	  padding-top: 5px;
	  letter-spacing: 3px;
	}
  
	
	.gallery-one-section {
	  max-width: 1200px;
	  width: 100%;
	  display: grid;
	  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
	  gap: 20px; 
	  padding: 20px;
	}
  
	.grid-one-item {
	  box-sizing: content-box;
	}
  
	.caption {
	  margin-top: 10px;
	  display: flex;
	  justify-content: space-between;
	}
  
	.image-one-section {
	  border-radius: 10px;
	  width: 100%;
	}
  
	
  
	* {
	  font-family: poppins;
	}
  
	#profile-text:hover {
	  color: darkblue;
	}
  
   
	#sirjaey {
	  border-bottom: 2px solid #21212166;
	  margin: 0 auto;
	  padding-bottom: 20px;
	  width: 90%;
	  height: 300px;
	}
	.avatar {
	  position: relative;
	  left: 150px;
	  top: 15px;
	  border-radius: 10px;
	  width: 150px;
	}
  
	.bio-data {
	  position: relative;
	  width: 100%;
	}
  
	.about {
	  h1 {
		font-size: 20px;
		font-weight: 500px;
		width: 300px;
		padding-top: 120px;
	  }
	  p {
		color: #212121b2;
		width: 300px;
		padding-left: 20px;
	  }
	}
	.edit span {
	  color: #212121b2;
	  width: 600px;
	  position: absolute;
	  bottom: 50px;
	}
	.new-post {
	  width: 100%;
	  position: relative;
	}
	.new-post-btn button {
	  background-color: #212121;
	  border-radius: 10px;
	  color: #fcf5e5;
	  width: 380px;
	  position: absolute;
	  right: 90px;
	  top: 240px;
	}
	
  
	.footer {
	  font-size: 14px;
	  color: #3f3f3f;
	}
  } */
