@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Linkedin Shayan Shah */

:root {
  --primary-color: #22215b;
  --secondary-color: #d6d6d6;
  --text-light: #a2a2ba;
  --extra-light: #ffff;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
}

body {
  font-family: "Poppins", sans-serif;
}

.container {
  height: 100vh;
  background-color: var(--secondary-color);
  isolation: isolate;
  position: relative;
}

.profile_card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
  width: 400px;
  border-radius: 1rem;
  background-color: var(--extra-light);
  text-align: center;
  transition: 0.3s;
}

.profile_card img {
  width: 100px;
}

.profile_card .tag {
  margin-left: 1rem;
}

.profile_card .tag span {
  padding: 0.25rem 1.5rem;
  font-size: 0.8rem;
  border-radius: 5px;
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

.profile_card .name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

.profile_card .deignation {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.profile_card .about {
  margin: 0 2rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.profile_card .social_icons {
  margin: 2rem;
  align-items: center;
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.social_icons span {
  font-size: 1.25rem;
  color: var(--primary-color);
  cursor: pointer;
}
.social_icons span i {
  transition: 0.3s;
  width: 100%;
  padding: 5px;
}

.social_icons span i:hover {
  background-color: var(--primary-color);

  color: var(--extra-light);
  border-radius: 50%;
}

.action_btns {
  display: flex;
  gap: 1rem;
}

.action_btns button {
  flex: 1;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  border: 2px solid var(--primary-color);
  border-radius: 1rem;
  cursor: pointer;
}

.btn_message {
  background-color: var(--extra-light);
}

.btn_connect {
  color: var(--extra-light);
  background-color: var(--primary-color);
}

.detail_card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
  width: 400px;
  border-radius: 1rem;
  background-color: var(--extra-light);
  transition: 0.5s;
  z-index: -1;
}

.detail_header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail_header img {
  width: 80px;
}

.detail_header .col {
  flex: 1;
}

.detail_header p {
  font-size: 0.8rem;
  color: var(--primary-color);
}

.detail_header h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

.detail_card .name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.detail_card .name span i {
  color: #1d9bf0;
  text-align: center;
  font-size: 0.9rem;
}
.detail_card .designation {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.detail_card h2 {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
}

.detail_card .about {
  font-size: 0.8rem;
  color: var(--text-light);
}

.profile_card:hover {
  transform: translate(-50%, -78%);
}

.profile_card:hover ~ .detail_card {
  transform: translate(-50%, 50%);
}
