#home.content.active {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3rem;
  width: 90%;
  max-width: 700px;
  margin: 2rem auto;
}

.img-container {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.img-container::before,
.img-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: conic-gradient(
    transparent,
    transparent,
    transparent,
    var(--green)
  );
  animation: revolve 4s linear infinite;
}

.img-container::after {
  animation-delay: 2s;
}

@keyframes revolve {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.img-container img {
  width: calc(100% - 15px);
  height: calc(100% - 15px);
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

.details h2 {
  font-size: 2.5rem;
}

.details h2 span {
  background: linear-gradient(to right, var(--green), var(--white));
  padding-bottom: 2px;
  border-bottom: 5px solid var(--green);
  color: transparent;
  -webkit-background-clip: text;
}

.details h3 {
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
}

.details h3 span {
  color: var(--green);
  display: inline-block;
  min-width: 130px;
  overflow: hidden;
  white-space: nowrap;
}

.details h3 span::after {
  content: "|";
  margin-left: 5px;
  animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.details p {
  font-size: 1.3rem;
  text-align: justify;
}

.bottom {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.btn {
  width: 12rem;
  padding: 0.8rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 5px;
  background: var(--green);
  cursor: pointer;
  border: none;
  transition: all ease 0.3s;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons a {
  text-decoration: none;
  color: var(--green);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  width: 45px;
  height: 45px;
  transition: all linear 0.3s;
}

.social-icons a:hover {
  background: var(--green);
  color: var(--primary);
  box-shadow: 2px 2px 2px var(--green), -2px 2px 2px var(--green),
    2px -2px 2px var(--green), -2px -2px 2px var(--green);
}

.social-icons a i {
  font-size: 1.5rem;
}

.btn:hover {
  box-shadow: 3px 3px 3px var(--green), -3px 3px 3px var(--green),
    3px -3px 3px var(--green), -3px -3px 3px var(--green);
  background: transparent;
  border: 2px solid var(--green);
  color: var(--white);
}

@media screen and (width >= 768px) {
  #home.content.active {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 3.5rem;
    width: 100%;
    max-width: 100%;
  }

  .details h2 {
    font-size: 3rem;
  }

  .details h3 {
    font-size: 2.5rem;
  }

  .social-icons {
    font-size: 3rem;
  }

  .bottom {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .btn {
    width: 12rem;
    padding: 0.8rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    background: var(--green);
    cursor: pointer;
    border: none;
    transition: all ease 0.3s;
  }
}

@media screen and (width >= 1024px) {
  #home.content.active {
    margin: 3rem auto;
  }

  .img-container {
    width: 400px;
    height: 400px;
  }

  .details {
    gap: 30px;
  }

  .details h2 {
    font-size: 5rem;
  }

  .details h3 {
    font-size: 2.8rem;
  }

  .details p {
    font-size: 1.6rem;
  }
}
