body {
  height: 94vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F0F2F5;
  font-family: sans-serif;
}

.card {
  width: 306px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #1A1A1A 100%, #333333 100%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  border-top: 22px solid goldenrod;
}

.profile-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid white;
}

.horizontal-line{
    width: 80%;
    margin: 10px auto;
}
.horizontal-line hr {
    border: 0;
    height: 3px;
   background-image: linear-gradient(to right, transparent, #D4AF37, transparent);
}

.first-paragraph{
    color: #B38728;
    font-weight: bold;
}

.Second-paragraph {
    width: 90%;
    text-align: center;
    margin: 0 auto
}

button, .message-btn {
  padding: 10px 20px;
  border-radius: 10px;
  margin: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}


#followBtn {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 30px;
}
#followBtn:hover {
    background-color: #D4AF37;
    color: #000; 
}

.message-btn:hover {
    background-color: #D4AF37;
    color: #000; 
}

.following {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.message-btn{
  background: transparent;
  color: white;
  border: 2px solid white;
  text-decoration: none;
   /* padding: 10px 25px; */
}

 
.socials {
  display: flex;
  gap: 12px;
  justify-content: center ;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  /* border:1px solid whitesmoke; */
  border-radius: 8px;
  padding: 5px;


}
.socials a i {
  font-size: 20px;
}

.socials a {
  color: white;
  margin: 0 8px;
  font-size: 20px;
  text-decoration: none;
}

.socials.show {
  opacity: 1;
}
.socials  a p {
font-size: 8px;

}
.socials i {
    transition: all 0.3s ease;
    cursor: pointer;
}
.socials i:hover {
    color: #D4AF37;
    transform: translateY(-10px);
    
}

.card {
  width: 90%;
  max-width: 350px; 
  margin: auto;
  padding: 20px;
}


@media (max-width: 768px) {
  .profile-img {
    width: 100px;  
  }
}

 
@media (min-width: 1024px) {
  .card {
    width: 320px;  
  }
}
