@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,wght@0,300..800;1,300..800&display=swap&family=Edu+SA+Beginner:wght@400..700&family=Lobster&family=Parkinsans:wght@300..800&family=Questrial&family=Satisfy&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
body{
  margin: auto;
  width: 100%;
  background:#f9f9f9; 
  display: block;
  font-family: "verdana", sans-serif;
}
main{
  padding:5px; 
  width: 100%;
}
section{
  text-align: center;
  width:100%;
  background: #eee;
  padding:10px;
}
nav{
  justify-content: space-between;
  padding: 1rem 3%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index:3;
}
nav i{
  font-size: 20px;
  margin-right: 10px;
}
h1,h2,h3,h4{
  font-weight:450;
}
h1{
  font-size:24px;
  text-transform: capitalize;
}
h2{
  font-size:22px;
  font-family:"Edu SA Beginner", cursive;
}
h3{
  font-size: 20px;
  font-family:"Parkinsans", sans-serif;
}
h4{
  font-size:18px;
 font-family: "Questrial",sans-serif;
}
footer {
  background: #222;
  padding:  1rem 2rem;
  text-align: center;
  line-height:30px;
}
footer a, p{
  color:#999;
  margin:8px;
}
footer h4{
  color: azure;
}
#hs{
  line-height: 35px;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color:#d63384;
}
.hero {
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero.webp');
  background-size: cover;
  background-position: center;
  height: 80vh;
  padding: 20px;
}
.item{
  background: rgba(255, 255, 255, 0.95);
  padding: 1.3rem;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.item h2{
margin:2rem 0;
}
.divider{
  margin: 20px 0;
  border-top: 1px solid #000;
}
.pr{
  justify-content:center;
  }
.pr a{
  font-size: 22px;
  margin: 0px 15px;
  padding: 10px 0;
  text-decoration: underline;
  color:deeppink;
}
#txt {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 200px;
}
/* Image Grid */
.gal{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  padding: 1.5rem 3%;
  text-align: center;
}
.gal-item {
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#signupForm{
  max-width:400px;
  margin: auto;
  text-align: center;
}
#signupForm label {
  display: block;
  margin:5px 0 5px 5px;
  font-size: 1rem;
  font-weight:500;
  color:#333;
  float: left;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="file"],
select{
  width:100%;
  padding: 6px 10px;
  margin-bottom:15px;
  border:0.5px solid #333;
  border-radius:10px;
  box-sizing: border-box; 
  font-size: 1.1rem;
  color: #222;
  outline: none;
}
button, 
input[type="submit"] {
  background:#243A5C;
  color:azure;
  padding:5px 20px;
  border:none;
  border-radius:15px;
  font-size: 1.1rem;
  margin:5px;
}
.url{
  background:gold;
  color:#333;
  padding:5px 10px;
  border:none;
  border-radius:15px;
  font-size: 1.1rem;
  width:50%;
}
form{
  width: 100%;
}
form p{
  color:#333;
  margin:5px 0;
  font-size: 1.1rem;
}
form a{
  color:blueviolet;
}
a{
  color:#243A5C;
  font-family: "Google Sans", sans-serif;
}
hr{
  margin: 5px 0;
}
#showError{
  color:red;
  margin: 5px 0;
  text-align: center;
}
/* home page css*/
.user-list{
  display: flex;
  flex-wrap: wrap;
  width:100%;
  margin: auto;
  justify-content:space-around;
}
.view-user{
  flex-basis:48%;
  margin: 5px 0px;
  display: flex;
  align-items: center;
  text-transform: capitalize;
  box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.3);
}
.view-user img{
  height: 100px;
  width: 100px;
  border-radius: 50%;
}
.view-user a{
  display: block;
  width: 100%;
  text-decoration: none;
}
#card{
  line-height:15px;
  padding:5px;
  font-family: "Parkinsans", sans-serif;
}
#card i{
  color:#000;
  margin-right:5px;
}
#card p{
color:#666;
}
#no-data{
color: #222;
margin: 100px 0px;
text-align: center;
}

.fx{
display: flex;
flex-direction:row;
align-items:center;
text-transform: capitalize;
}

.n-fix{
display:none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
}
.n-ab{
display: none;
position: absolute;
top: 0;
background:#2F3752;
padding:20px 10px; 
}
#overlay{
background: rgba(0, 0, 0, 0.7);
z-index: 3;
}
.pop{
place-items: center;
background: rgba(0, 0, 0, 0.7);
padding: 20px;
z-index: 4;
}
/* side-menu navbar css */
#smenu{
  left: 0;
  width:230px;
  height: 100vh;
  z-index:4;
}
#smenu a{
  border: none;
  color: #C7F0D3;
  display: block;
  padding: 15px 8px;
  text-decoration: none;
}
#smenu i{
  margin: 0px 13px;
}
#smenu img{
  margin: auto;
  margin: 10px 0px 0px 55px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid hotpink;
}
.s-box{
  justify-content: center;
  margin: 7px 0;
  padding: 5px 10px;
}
.s-box input{
  max-width: 400px;  
  margin: 0;
}

/* filter css*/
#filter-div{
  right: 0;
  width:85%;
  max-width: 420px;
  background:#999;
  z-index: 4;
}
#filter p{
  color:#333;
  text-decoration: underline;
  margin:5px 0;
}
#filter select{
  display: block;
  width:200px;
  padding: 1px 3px;
  margin: 10px 0;
}
#fw{
  display: flex;
  flex-wrap: wrap;
  margin-bottom:10px;
}
#fws{
  display: flex;
  flex-basis:48%;
  justify-content: left;
  align-items: center;
}
#fws input[type="checkbox"]{
  margin:5px; 
  width: 19px;
  height: 19px;
}
/*profile page css*/
#pp{
  width: 100%;
  max-width: 160px;
  border: 2px solid #fff;
}
#p-cam{
  background:#fff;
  color:#000;
  font-size: 20px;
  padding: 10px;
  border-radius: 50%;
  position: absolute;
  bottom: 0;   
  left: 50%;
  transform: translate(-50%, -10%);
}
#e-bio{
  background:#000;
  color:azure;
  font-size: 18px;
  padding: 8px;
  border-radius: 50%;
  position: absolute;
  bottom: -5%;   
  right: -3%;
  transform: translate(-50%, -50%);
}
textarea{
  margin-top:10px;
  width: 97%;
  padding:10px;
  height: 100px;
  border: 2px solid aqua;
  border-radius:15px;
  resize: none;
}
/* chat box css */
.s-msg{
  justify-content:center;
}
.s-msg input[type="text"]{
  color:#C7F0D3;
  border: 1px solid #2F3752;
  background:transparent;
  position: relative;
  border-radius: 18px;
  margin: 0;
}
.s-msg i{
  right:3px;
  position: absolute;
  font-size:16px;
  padding:9px 15px;
  background:#2F3752;
  color:#C7F0D3;
  border-radius:0px 18px 18px 0;
}
#dot3{
  padding: 3px 8px;
}
.chat-box{
  height:76vh;
  overflow-y: auto;
}
.chat-box {
  -ms-overflow-style: none; 
  scrollbar-width: none; 
}
.chat-box::-webkit-scrollbar {
  display: none;
}
.chat-box p{
  padding: 2px 4px;
  word-wrap: break-word;
  text-align: left;
  line-height:18px;
  color:#333;
}
.outgoing span{
  display: block;
  font-size: 11px;
  color:#888;
  text-align: right;
}
.incoming span{
  font-size: 11px;
  color:#888;
}
.chat-box .details{
  margin:5px 0px;
  background:#ddd;
}
.outgoing{
  display: flex;
}
.outgoing .details{
  margin-left: auto;
  max-width: calc(100% - 130px);
  border-radius: 20px 20px 0 20px; 
}
.incoming{
  display: flex;
  align-items: flex-end;
}
.incoming .details{
  margin-right: auto;
  max-width: calc(100% - 130px);
  border-radius: 20px 20px 20px 0;
}
#rmenu{
  right: 0;
  width: 150px;
  z-index: 4;
}
#block, #unblock, #clear, #rt{
  background:transparent;
  padding:10px;
  width: auto;
  display: block;
}
#alert{
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -5%);
  width: 95%;
  height: 60px;
  background:#ccc;
  display:block;
  text-align: center;
  padding: 20px 5px;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .user-list{
    width: 100%;
    flex-direction: column;
  }
  .view-user{
    margin: 5px;
  }
  #fws{
    display: flex;
    flex-basis: 47%;
    justify-content: left;
    align-items: center;
  }
  .hero {
    height: auto;
    padding: 4rem 1rem;
  }
}