/* General Styles */
body {
  font-family: 'Rubik';
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f4f4f4;
}

img {
  transition: transform 0.3s ease;
}

img:hover {
  transform: rotate(10deg);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.left, .right {
  margin: 10px;
}

.profile-picture {
  border-radius: 50%;
}

h1.name {
  font-size: 2em;
}

p {
  font-size: 1.2em;
  max-width: 600px;
  color: #666;
}

ul.social-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

ul.social-links li {
  margin: 0;
}

ul.social-links a {
  text-decoration: none;
}

/*.social-links a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}*/

/* Media Queries for responsiveness */
@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    justify-content: center;  /* Ensure content is centered vertically */
    align-items: center;      /* Center items horizontally */
    text-align: center;
  }

  .left, .right {
    width: 100%;
    text-align: center;
  }

  .profile-picture {
    width: 150px;
    height: 150px;
  }

  h1.name {
    font-size: 1.8em;
  }

  p {
    font-size: 1.1em;
  }

  /* Change the layout of social links to stack vertically on smaller screens */
  ul.social-links {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  h1.name {
    font-size: 1.5em;
  }

  p {
    font-size: 1em;
  }

  ul.social-links li {
    margin: 10px 0;
  }

  .profile-picture {
    width: 130px;
    height: 130px;
  }
}
