* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
}

header {
  background-color: #000000; /* Black with 70% opacity */
  background: linear-gradient(180deg, #000000, #00000067, #00000000);
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  font-family:  'Times New Roman', Times, serif;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
margin-left: 20px;
margin-top: 10px;
transform: translateY(-20px); /* Offset slightly above */
animation: fadeInUp 1.5s ease-out forwards; /* Apply fade-in animation */
font-family:  'Times New Roman', Times, serif;
}

.hero {
  background-image: url('./IMG_9070.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh; /* Extend height to make it impactful */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  margin-bottom: -5px; /* Overlap with #biography */
  position: relative;
  transform: translateY(-20px); /* Offset slightly above */
  animation: fadeInUp 1.5s ease-out forwards; /* Apply fade-in animation */
}

/* Add a subtle fade effect at the bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px; /* Adjust height for blending */
  background: linear-gradient(to bottom, #00000000 0%, #000000 100%);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0rem;
  font-family: 'Times New Roman', Times, serif;
  
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-family: 'Poppins', sans-serif;
}

.hero-content .btn {
  background: #3d7fe2;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;

}

.hero-content .btn:hover {
  background: #fff;
  color: #3d7fe2;
}


.navbar .logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease-in;
  font-family:  'Times New Roman', Times, serif;
  
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #ffffff;
  transform: scale(1.2);
  transition: transform 0.3s ease-in;
}

.container02 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  opacity: 0;
  transform: translateY(-200px);
  animation: fadeInUp 1.5s ease-out forwards;
  
}

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }


}




/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
/*========== Colors ==========*/
--first-color: #3d7fe2;
--title-color: hsl(0, 0%, 15%);
--text-color: hsl(0, 0%, 85%);
--body-color: rgb(0, 0, 0);
--container-color: rgba(255, 255, 255, 0.9);

/*========== Font and typography ==========*/
--body-font: "Poppins", sans-serif;
--h2-font-size: 1.25rem;
--small-font-size: 0.813rem;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1120px) {
:root {
  --h2-font-size: 1.5rem;
  --small-font-size: 0.875rem;
}
}

/*=============== BASE ===============*/
* {

padding: 0;
box-sizing: border-box;
text-decoration: none;
border: none;
outline: none;
font-family: "Poppins", sans-serif;
}

body {
background-color: var(--body-color);
color: var(--text-color);
font-family: var(--body-font);
margin: 0;
padding: 0;
overflow-x: hidden;
background-image: url('./background.jpg');
background-position: center;
background-size: cover;
background-attachment: fixed;

}



.img {
display: block;
max-width: 100%;
height: auto;
}

/*=============== CARD ===============*/
.container {
display: grid;
place-items: center;
margin-inline: 1.5rem;
padding-block: 5rem;


}

.card__container {
display: grid;
row-gap: 3.5rem;
margin-bottom: 8rem;

}

.card__article {
position: relative;
overflow: hidden;
}

.card__img {
width: 328px;
border-radius: 1.5rem;

}

.card__data {
width: 280px;
background-color: var(--container-color);
padding: 1.5rem 2rem;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
border-radius: 1rem;
position: absolute;
bottom: -9rem;
left: 0;
right: 0;
margin-inline: auto;
opacity: 0;
transition: opacity 1s 1s;

}

.card__description {
display: block;
font-size: var(--small-font-size);
margin-bottom: 0.25rem;
color: #000000;
}

.card__title {
font-size: var(--h2-font-size);
font-weight: 500;
color: var(--title-color);
margin-bottom: 0.75rem;
}

.card__button {
text-decoration: none;
font-size: var(--small-font-size);
font-weight: 500;
color: var(--first-color);
}

.card__button:hover {
text-decoration: underline;
}

/* Hover animations */
.card__article:hover .card__data {
animation: show-data 1s forwards;
opacity: 1;
transition: opacity 0.3s;
}

.card__article:hover {
animation: remove-overflow 2s forwards;
}

.card__article:not(:hover) {
animation: show-overflow 2s forwards;
}

.card__article:not(:hover) .card__data {
animation: remove-data 1s forwards;
}

/* Card animation */
@keyframes show-data {
50% {
  transform: translateY(-10rem);
}
100% {
  transform: translateY(-7rem);
}
}

@keyframes remove-overflow {
to {
  overflow: initial;
}
}

@keyframes remove-data {
0% {
  transform: translateY(-7rem);
}
50% {
  transform: translateY(-10rem);
}
100% {
  transform: translateY(0.5rem);
}
}

@keyframes show-overflow {
0% {
  overflow: initial;
  pointer-events: none;
}
50% {
  overflow: hidden;
}
}

/*=============== BREAKPOINTS ===============*/
/* Small devices */
@media screen and (max-width: 340px) {
.container {
  margin-inline: 1rem;
}

.card__data {
  width: 250px;
  padding: 1rem;
}

}

/* Medium devices */
@media screen and (min-width: 768px) {
.card__container {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.5rem;
}
}

/* Large devices */
@media screen and (min-width: 1120px) {
.container {
  height: 100vh;
}

.card__container {
  grid-template-columns: repeat(3, 1fr);
}

.card__img {
  width: 348px;
}

.card__data {
  width: 316px;
  padding-inline: 2.5rem;
}
}
      /* Container for the intro section */
      .intro-section {
        text-align: center;
        color: #ffffff;
        margin-bottom: 40px;
        padding: 20px;
        background-color: rgba(0, 0, 0, 0);
        border-radius: 10px;
        max-width: 90%;
        margin: 0 auto -130px auto; /* Centered and added margin for spacing */
    }
    
    .intro-section h1 {
        font-size: 36px;
        margin-top: 50px;
        margin-bottom: px;
    }
    
    .intro-section p {
        font-size: 18px;
        color: #cccccc;
        line-height: 1.5;
    }
    
    /* Make sure everything is responsive */
    @media (max-width: 768px) {
        .intro-section h1 {
            font-size: 28px;
        }
        
        .intro-section p {
            font-size: 16px;
        }
    }

/* Custom styling for the horizontal line */
.custom-line {
border: none;
height: 2px;
background-color: #ffffff; /* White color */
margin: 20px auto;
width: 100vh; /* Use percentage for better responsiveness */
max-width: 600px; /* Limit the maximum width on larger screens */
border-radius: 5px;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
.custom-line {
  width: 50vh; 
}
}

@media (max-width: 550px) {
.custom-line {
  width: 40vh; 
}
}

.line-text{
margin-top: 6rem;
text-align: center;
}
.line-text02{
margin-top: 38rem;
text-align: center;
}
@media (max-width: 1553px) {
.line-text02{
  margin-top: 40rem;
}
}


@media (max-width: 1120px) {
.line-text02{
  margin-top: 0rem;
}
}

/* Footer Styles */
footer {
background-color: #ffffff; /* Black background */
width: auto;
color: #000000; /* White text */
text-align: center;
padding: 0.4rem 1rem;
margin-top: 0rem;
font-family: 'Times New Roman', Times, serif;
}

.footer-container p {
font-size: 1rem;
margin-bottom: 1rem;
margin-top: 1rem;
font-family: 'Times New Roman', Times, serif;
}

.social-icons a {
color: #000000;
margin: 0 1rem 1rem;
font-size: 1.5rem;
transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
color: #3d7fe2; /* Light blue on hover */
transform: scale(1.2);
}


@media (max-width: 550px) {
footer .social-icons a {
    font-size: 1.2rem;

    
}
}
@media (max-width: 415px) {
footer .social-icons a {
    font-size: 1.2rem;
}
}



/* Specific Animations */
header.fade-in {
animation-delay: 0.2s;
}

.hero.fade-in {
animation-delay: 0.4s;
}

#biography.fade-in {
animation-delay: 0.6s;
}

#music.fade-in {
animation-delay: 0.8s;
}

/* Footer Styles (No Animation) */
footer {
opacity: 1;
transform: none;
}

/* Sections */
section {
padding: 5rem 1rem;
text-align: center;
}
/* Fade-In-Up Animation */
.container {
display: flex;
flex-direction: column;
align-items: center;
padding: 10px;
opacity: 0;
transform: translateY(-20px);
animation: fadeInUp 1.5s ease-out forwards;
animation-delay: 0.5s; /* Adjust delay if needed */
}

