* {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
}


.pip img {
  width: 250px;
}

body {
  background-color: #fcf7ff;
}

header {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

main{
  min-height: 59vh;
}

.headerclass {
  display: flex;
  justify-content: space-between;
  margin: 1.5rem 1rem;
}

.div-logo p {
  font-size: 20px;
  font-weight: 600;
  color: #303030;
}

.dotin {
  color: #777;
  font-size: 14px;
}

.div-logo p:hover {
  -webkit-mask-image: linear-gradient(
    -75deg,
    rgba(0, 0, 0, 0.6) 30%,
    #000 50%,
    rgba(0, 0, 0, 0.6) 70%
  );
  -webkit-mask-size: 200%;

  mask-image: linear-gradient(
    -75deg,
    rgba(0, 0, 0, 0.6) 30%,
    #000 50%,
    rgba(0, 0, 0, 0.6) 70%
  );

  mask-size: 200%;
  animation: shine 2s infinite;
}

@-webkit-keyframes shine {
  from {
    -webkit-mask-position: 150%;
  }

  to {
    -webkit-mask-position: -50%;
  }
}


header .background {
  z-index: -1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  opacity: 15%;
}

.user-profile {
  margin: 0 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-profile img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
}

.user-details {
  display: flex;
  align-items: center;
}

.user-details div {
  margin-left: 10px;
}
/* header div {
  z-index: 1;
  margin: 1.5rem 1rem;
} */

.div-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}



.logo {
  width: 30px;
}
.nav-links a {
  margin: 0 0.5rem;
  /* cursor: pointer; */
  text-decoration: none;
  font-weight: 400;
  color: white;
  background-color: rgba(14, 18, 131, 1);
  padding: 5px 1.5rem;
  border-radius: 20px;
  text-decoration: none;
}

.nav-links a:hover {
  background-color: rgb(8, 10, 82);
}

.options {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: rgba(246, 227, 255, 1);
}

.options a {
  text-decoration: none;
  cursor: pointer;
  margin: 5px 2rem;
  color: black;
}

.gallery b {
  border-bottom: 2px solid rgba(240, 192, 212, 1);
}

.main-nav {
  margin: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav a {
  padding: 0px 10px;
  background-color: rgba(191, 155, 209, 1);
  border-radius: 15px;
  color: white;
  cursor: pointer;
  margin-left: 1rem;
  text-decoration: none;
}

.nametag {
  font-size: 1.2rem;
  font-weight: 500;
}

.empty {
  text-align: center;
}

.image-list {
  margin: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 1rem;
  row-gap: 1rem;
}

.image-div {
  width: 100%;
  height: 250px;
}

.image-div img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

/* modal */
.imagepreview {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row !important;
  justify-content: center;
  width: 100%;
}

.div-preview {
  margin: 0 5px;
}

.image-preview {
  /* width: 150px; */
  height: 200px;
  object-fit: cover;
}

.modal-div {
  display: none;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1;
  padding-top: 30px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(148, 141, 141);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  min-width: 300px;
  max-height: 600px;
  max-width: 90%;
  border-radius: 25px;
}

.modal-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}

.modal-div p {
  margin-top: 10px;
  text-align: center;
  color: white;
}



/* .modal-title {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-title h3 {
  font-size: 1.5rem;
  margin: 0;
}

.modal-title-logo {
  width: auto;
  height: 40px;
}
.model-content-div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-content {
  margin: auto;
  display: block;
  min-width: 300px;
  max-height: 600px;
  max-width: 90%;
  border-radius: 25px;
}

.modal-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}

.modal-inputs form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.uploader-name,
.sender-mail,
.sender-phone,
.caption-area {
  width: 400px;
  padding: 2px 15px;
  border: 2px solid rgba(240, 192, 212, 1);
  outline: none;
  background-color: white;
}

.modal-inputs div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.modal-div p {
  text-align: center;
  color: white;
} */

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* .modal-contents {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 15px;
}
.input-mail,
.input-name {
  display: inline-block;
} */

/* drag and drop */
.drag-area {
  background-color: white;
  height: 250px;
  width: 450px;
  border: 3px dashed rgba(240, 192, 212, 1);
}

.drag-process {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 10px auto;
}

h3 {
  margin-bottom: 20px;
  font-weight: 500;
}

.drag-area .icon {
  font-size: 50px;
  color: rgb(238, 102, 158);
}

.drag-area .header {
  font-size: 16px;
  /* font-weight: 500; */
  color: #34495e;
}

.drag-area .support {
  font-size: 12px;
  color: gray;
  margin: 10px 0 15px 0;
}

.drag-area .button {
  font-size: 20px;
  font-weight: 500;
  color: rgb(219, 75, 135);
  cursor: pointer;
}

.drag-area.active {
  border: 2px solid #1683ff;
}

.drag-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clear {
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  background-color: darkred;
  padding: 2px 10px;
  border-radius: 15px;
  display: none;
  /* font-weight: 600; */
  color: rgb(255, 255, 255);
  cursor: pointer;
  text-decoration: none;
  width: 100px;
  text-align: center;
}

/* end modal */

.caption-area {
  resize: none;
}

.sender-name,
.sender-mail,
.caption-area {
  border: 2px solid rgba(240, 192, 212, 1);
}

.submit-btn {
  background-color: rgba(112, 66, 135, 1);
  padding: 2px 20px;
  cursor: pointer;
  border: none;
  border-radius: 15px;
  color: white;
  margin-bottom: 10px;
}

.add-files-btn {
  background-color: rgba(112, 66, 135, 1) !important;
  padding: 2px 15px;
  cursor: pointer;
  border: none;
  border-radius: 15px;
  color: white;
  text-decoration: none;
}


/* alert modal */

.alert {
	display: none;
	border-radius: 20px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgb(54, 151, 24);
	margin: 20px auto auto auto;
	z-index: 10;
	padding: 5px 15px;
	width: 200px;
	color: white;
	box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s;
	text-align: center;
	align-items: center;
}

/* Add Animation */
@-webkit-keyframes animatetop {
	from {
		top: -300px;
		opacity: 0;
	}
	to {
		top: 0;
		opacity: 1;
	}
}

@keyframes animatetop {
	from {
		top: -300px;
		opacity: 0;
	}
	to {
		top: 0;
		opacity: 1;
	}
}


@media only screen and (max-width: 600px) {
  .user-profile {
    margin: 0 1.5rem;
  }
}

@media only screen and (max-width: 400px) {
  /* .sender-name,
  .sender-mail,
  .caption-area {
    width: 250px;
  } */
  .drag-area {
    width: 250px;
    margin-bottom: 0;
  }

  .modal-title H3 {
    font-size: 1rem;
  }

  .modal-div p {
    font-size: 0.8rem;
  }
}

@media only screen and (max-width: 600px) {
  .main-nav {
    margin: 1rem 2rem;
  }

  .model-video-div {
    width: 90%;
    height: 70%;
  }
}

@media only screen and (max-width: 460px) {
  .main-nav {
    margin: 1rem 0.5rem;
  }
  .span-div {
    display: flex;
    align-items: center;
  }

  .main-nav div a {
    margin-right: 5px;
  }
  .main-nav a {
    margin: 0;
    font-size: 14px;
    /* margin-right: 10px; */
    padding: 1px 10px;
  }
}

@media only screen and (max-width: 350px) {
  .user-profile img {
    width: 105px;
    height: 125px;
  }
}
