@import url('https://fonts.googleapis.com/css?family=Inter&display=swap');

.profile-container {
  position: fixed;
  left: 1vw;
  top: 2vh;
  aspect-ratio: 16vw/9vh;
  z-index: 100;
  width: 3vw;
  cursor: pointer;
  border-radius: 50%; /* Makes the image circular */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and shadow effects */
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.5); /* Adjusted shadow to appear more circular */
}

.profile-container:hover {
  transform: scale(1.1); /* Scales up the container on hover */
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.6); /* Darker and larger shadow on hover */
  opacity: 1;
}

.profile {
  width: 100%; /* Adjusts the width to fit the container */
  height: 100%; /* Adjusts the height to fit the container */
  border-radius: 50%; /* Ensures the image remains circular */
}

.profile-text {
  position: absolute;
  width: 200%; /* Adjusted width to fit within the container */
  font-size: 16px;
  color: white;
  text-align: center;
  transition: opacity 0.3s ease;
  opacity: 0;
  letter-spacing: 0.125em;
  bottom: 50%; /* Positioned directly below the profile image */
  left: 70%;
  transform: translateX(-50%) translateY(10px); /* Adjust for better positioning */
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: -1; /* Ensure it is above other elements */
}

.profile-container:hover .profile-text {
  opacity: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform: translateX(25%) translateY(10px);
}