@import url("components/animations.css");
@import url("components/spotifyembed.css");
@import url("components/audioplayer.css");
@import url("components/tooltip.css");

body {
  background: url("../assets/images/Background1.webp");
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr);
  margin: 0;
  height: 100vh;
  font-family: 'Inter', sans-serif;
  user-select: none;
}

.container {
  grid-area: 2 / 2 / 5 / 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.header-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.8s;
  animation-fill-mode: both;
  height: 100%;
}

.text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2rem;
}

.MasterAcnolo {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.MasterAcnolo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.MasterAcnolo:hover {
  color: #cccccc;
  transform: scale(1.05);
}

.MasterAcnolo:hover::after {
  width: 100%;
}

.quotes {
  font-size: 1.5rem;
  font-style: italic;
  color: #cccccc;
  margin: 0;
}

.profile-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-pic:hover {
  transform: scale(1.15) rotate(1deg);
  box-shadow: 0 0 25px rgba(90, 92, 92, 0.7), 0 0 10px rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 1s;
  animation-fill-mode: both;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-block;
}

.social-icons img {
  width: 65px;
  height: 65px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.social-icons img:hover {
  transform: scale(1.2);
  filter: brightness(2) invert(0.9);
}



.discover-float {
  position: absolute;
  bottom: 4rem;
  right: 2rem;
  z-index: 20;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 1.8s;
  animation-fill-mode: both;
}

.discover-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.discover-link:hover {
  color: #ffffff;
}

.discover-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.discover-link:hover .discover-icon {
  transform: translateX(4px);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 840px) {

  body {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    /* background-size: cover; */
    background-size: auto;
    background-position: center;
    
  }

  *{
    /* outline: 1px solid red; */
    box-sizing: border-box;
  }

  .container,.header-line{
    width: 100%;
    /* overflow-x: hidden; */
  }

  .container {
    grid-area: auto;
    /* padding: 2rem 1rem; */
    text-align: center;
  }

  .header-line {
    flex-direction: column;
    gap: 1rem;
  }

  .text-block {
    align-items: center;
    text-align: center;
  }

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

  .social-icons {
    gap: 1rem;
  }

  .social-icons img {
    width: 50px;
    height: 50px;
  }

  .spotify-embed {
    grid-area: auto;
    width: 100%;
    padding: 1rem 0;
 
  }

  .spotify-embed iframe {
    width: 80%;
    height: 100px;
    border: none;
    display: block;
  }

  .discover-float {
    position: static;
    /* margin-top: 2rem; */
    display: flex;
    justify-content: center;
  }

  .discover-link{
    margin-bottom: 5%;
  }

}


