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

body {
  display: flex;
  justify-content: center;
  height: 100dvh;
}

#profile-card-article {
  display: flex;
}

#profile-details-section {
  display: flex;
  flex-direction: column;
}

.profile-card-div {
  display: flex;
  flex-direction: column;
}

.profile-details-topics {
  color: rgb(203, 203, 203);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  text-transform: capitalize;
}

#profile-card-figure {
  position: relative;
}

#profile-card-time {
  position: absolute;
  font-weight: bold;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#profile-details-name {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  line-height: 0.75;
  text-transform: capitalize;
}

#profile-details-biography {
  font-family: Arial, Helvetica, sans-serif;
}

#profile-socials-section {
  display: flex;
  flex-direction: column;
}

.profile-socials-lists {
  display: flex;
  flex-direction: column;
}

.profile-socials-headers {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.5rem;
}

.profile-socials-link {
  text-decoration: none;
  color: black;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  width: fit-content;
}

#profile-socials-main {
  display: flex;
}

.profile-socials-item {
  list-style: none;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}





/* Styling for both mobile and tablet */
@media all and (max-width: 1023px) {
  body {
    background-color: rgb(225, 225, 225);
  }

  #profile-card-article {
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .profile-card-div {
    background-color: white;
    border-radius: 0.25rem;
  }
}





/* Styling for only mobile */
@media all and (max-width: 767px) {
  body {
    padding: 0.5rem;
  }

  #profile-details-section {
    gap: 0.5rem 0;
  }

  .profile-card-div {
    padding: 1rem;
    gap: 0.5rem 0;
  }

  .profile-details-topics {
    font-size: 0.65rem;
  }

  #profile-card-time {
    top: 0.5rem;
    right: 0.5rem;
  }

  #profile-card-time {
    font-size: 0.5rem;
  }

  #profile-details-avatar {
    width: 6.5rem;
  }

  #profile-details-name {
    font-size: 1.125rem;
  }

  #profile-details-biography {
    font-size: 0.75rem;
  }

  #profile-socials-section {
    gap: 0.5rem 0;
  }

  #profile-socials-main {
    flex-direction: column;
    gap: 0.5rem 0;
  }

  .profile-socials-headers {
    font-size: 1rem;
  }

  .profile-socials-lists {
    gap: 0.25rem 0;
  }

  .profile-socials-link {
    font-size: 0.75rem;
  }

  .profile-socials-item {
    font-size: 0.75rem;
  }
}





/* Styling for both tablet and desktop */
@media all and (min-width: 768px) {
  .profile-socials-personal:first-child {
    width: 50%;
    flex-shrink: 0;
  }

  .profile-socials-personal:last-child {
    flex-grow: 1;
  }
}





/* Styling for only tablet */
@media all and (min-width: 768px) and (max-width: 1023px) {
  body {
    padding: 0.75rem;
  }

  #profile-details-section {
    gap: 0.75rem 0;
  }

  .profile-card-div {
    padding: 1.25rem;
    gap: 0.75rem 0;
  }

  .profile-details-topics {
    font-size: 1rem;
  }

  #profile-card-time {
    top: 1rem;
    right: 1rem;
  }

  #profile-card-time {
    font-size: 1.125rem;
  }

  #profile-details-avatar {
    width: 8.5rem;
  }

  #profile-details-name {
    font-size: 2rem;
  }

  #profile-details-biography {
    font-size: 1.25rem;
  }

  #profile-socials-section {
    gap: 0.75rem 0;
  }

  #profile-socials-main {
    gap: 0 0.75rem;
  }

  .profile-socials-headers {
    font-size: 1.5rem;
  }

  .profile-socials-lists {
    gap: 0.5rem 0;
  }

  .profile-socials-link {
    font-size: 1.25rem;
  }

  .profile-socials-item {
    font-size: 1.25rem;
  }
}





/* Styling for only desktop */
@media all and (min-width: 1024px) {
  body {
    align-items: center;
  }

  #profile-card-article {
    background-color: white;
    border-radius: 2rem;
    box-shadow: 0 4px 20px 10px rgb(245, 245, 245);
    padding: 2rem;
    gap: 0 2rem;
    width: 65%;
  }

  #profile-details-section {
    width: 40%;
    gap: 1.75rem 0;
    flex-shrink: 0;
  }

  .profile-card-div {
    gap: 0.5rem 0;
  }

  .profile-details-topics {
    font-size: 0.75rem;
  }

  #profile-card-time {
    top: 0;
    right: 0;
  }

  #profile-card-time {
    font-size: 0.75rem;
  }

  #profile-details-avatar {
    width: 15rem;
  }

  #profile-socials-section {
    flex-grow: 1;
  }

  #profile-socials-section {
    gap: 1.5rem 0;
  }

  .profile-socials-lists {
    gap: 0.5rem 0;
  }

  #profile-socials-main {
    gap: 0 0.15rem;
    width: fit-content;
    background-color: rgb(225, 225, 225);
  }

  .profile-socials-personal {
    background-color: white;
  }

  .profile-socials-personal:first-child {
    padding-right: 1rem;
  }

  .profile-socials-personal:last-child {
    padding-left: 1rem;
  }
}