.share-form-container {
   margin: 4rem 1rem 1rem 1rem;
   display: flex;
   align-items: center;
   justify-content: center;
}

.share-form-container form {
   background: rgba(239, 253, 255, 0.17);
   border-radius: 16px;
   box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
   backdrop-filter: blur(10.9px);
   -webkit-backdrop-filter: blur(10.9px);
   border: 1px solid rgba(0, 212, 245, 0.83);
   width: 70%;
   padding: 2rem;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
}

::placeholder {
   font-weight: 700;
}

#share-thought-box,
#user_name {
   border: none;
   outline: none;
   padding: 1rem;
   font-size: 1rem;
   border-bottom: 2px solid var(--txt-col2);
   margin-top: 30px;
   width: 85%;
   background: none;
   box-shadow: inset 0px 0px 2px black;
   border-radius: 5px;
   resize: none;
}

#share-thought-box {
   margin-top: 15px;
}

#share-comnt-btn {
   margin-top: 1.7rem;
   padding: 0.4rem 4rem;
   border-radius: 9px;
   font-size: 1.1rem;
   font-family: var(--heading2);
   color: var(--txt-col3);
   background-color: var(--txt-col2);
   box-shadow: 5px 7px 15px 0px rgba(0, 0, 0, 0.729);
   transition: 0.3s;
}

#share-comnt-btn:hover {
   box-shadow: 2px 3px 8px 0px rgba(0, 0, 0, 0.625);
}

.popup {
   position: fixed;
   bottom: 5%;
   left: 50%;
   transform: translate(-50%, -50%);
   /* width: 300px; */
   padding: 20px;
   border-radius: 7px;
   box-shadow: 0 4px 30px rgba(0, 0, 0, 0.481);
   backdrop-filter: blur(11.7px);
   -webkit-backdrop-filter: blur(11.7px);
   display: none;
   z-index: 100;
   text-align: center;
}

.popup h4{
   font-family: var(--heading2);
}

/* Optionally, add animations for fade-in/out effects */
@keyframes fadeIn {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

@keyframes fadeOut {
   from {
      opacity: 1;
   }

   to {
      opacity: 0;
   }
}

.popup.fade-in {
   animation: fadeIn 1s forwards;
}

.popup.fade-out {
   animation: fadeOut 1s forwards;
}


@media only screen and (max-width: 799px) {
   .share-form-container form {
      width: 80%;
   }

   #share-thought-box,
   #user_name {
      width: 85%;
   }
}

@media only screen and (max-width: 563px) {
   .share-form-container form {
      width: 90%;
      padding: 1rem;
   }

   #share-thought-box,
   #user_name {
      width: 93%;
   }
}