*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;

}

  

body{
background-color: #f0f8ff;
font-family: "Aldrich", sans-serif;



}

header{
    width: 100%;
    height: auto;
    background-color: white;
    padding: 30px;
    text-align: center;
}

header img {
    width: 100%;
    max-width: 650px;
    border-radius:12px ;
   border: 4.5px solid #79AFFF;
    height: auto; 
  }




nav a {
    
    display: inline-block;
    margin: 8px 16px;
    padding: 8px 16px;
    border-radius: 12px;
    background: linear-gradient(#EDFFE4 34%, #8cd1d6 91%, #6cb8ff 100%); 
    color: #79AFFF; 
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease, transform 0.2s ease;
    box-shadow: 2px 2px 4px #00000033; 
  }
  nav a:hover {
    opacity: 0.8; 
    transform: scale(1.05); 
    box-shadow: 0 0 10px #0000004d; 
  }


#search{
  max-width: 790px;
}


section {
    margin: 32px auto; 
    padding: 32px; 
    max-width: 1250px;
    background: linear-gradient(#f4f4f4, #e0e0e0); 
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  }
  
  section h2,
  section h3 {
    color: #333;
    font-size: 32px; 
    font-weight: 600;
    margin-bottom: 16px;
  }
  
  section p {
    text-align: left;
    font-size: 18px; 
    color: #555;
    line-height: 1.5;
  }

 
#cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.44rem;
    padding: 1.44rem 0.833rem;
}

#cards figure {
    position: relative;
}

#cards a{
  border: solid 4.5px #6cb8ff;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
}

#cards img {
  width: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
}

#cards section{
  padding: 0.833rem;
}

#cards h1 {
  font-size: clamp(0.833rem, 1.6vw + 0.579rem, 1.728rem);
  opacity: 0.5;
  transition: opacity 1.5s;
}

#cards p{
    opacity: 0;
    transition: 1.0s;
}

#cards .over{
  position: relative;
  transform: translateY(1.728rem);
  opacity: 0;
  transition: all 0.25s;
}

#cards a:hover {
  transition: color 1s;
}

#cards a:hover h1, #cards a:hover p{
  opacity: 1;
}

#cards section{
  transform: translateY(2.074rem);
  transition: transform 0.25s;
}

#cards a:hover section{
  transform: translateY(0);
}

#cards a:hover .over{
  transform: translateY(0);
  opacity: 1;
}


#gallery{
    width: 50%;
    height: auto;
}



 
  #music-player {
    margin: 32px auto;
    padding: 24px;
    max-width: 600px;  
    background: linear-gradient(#f4f4f4, #e0e0e0);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  #music-player button {
    margin: 12px 8px;
    padding: 12px 24px;
    background: linear-gradient(#EDFFE4 34%, #8cd1d6 91%, #6cb8ff 100%);
    color: #79AFFF;
    border: none;
    border-radius: 8px; 
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  #music-player button:hover {
    background: linear-gradient(#8cd1d6, #6cb8ff);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }
  
  #music-player button:active {
    transform: scale(1);
    box-shadow: none;
  }
  
  #music-player audio {
    display: inline;
  }
  
  #bar{
    width: 100%;
    height: 12px;
    margin-top: 20px;
    appearance: none;
    border: none;
    border-radius: 10px;
    background: #ccc;
    overflow: hidden;
  }

  #bar ::-webkit-progress-bar{
  background: #ddd;
  border-radius: 10px;
  }

  #bar::-webkit-progress-value{
    background: linear-gradient(#8cd1d6, #6cb8ff);
    border-radius: 10px;

  }

  #bar::-moz-progress-bar{
    background: linear-gradient(#8cd1d6, #6cb8ff);
  }

  footer{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: transparent;
    text-align: center;
  }

 

#gallery{
   transition: opacity 0.3s ease, transform 0.2s ease;
    box-shadow: 2px 2px 4px #00000033; 
}

#gallery:hover {
    opacity: 0.8; 
    transform: scale(1.05); 
    box-shadow: 0 0 10px #8cd1d6; 
  }



  @media screen and (max-width: 450px){
    .nav{
        width: 400px;
        height: auto;
    }
    .a{
      width: 390px;
      height: auto;
  }


  }






@media screen and (min-width:525px) {
  #cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width:925px) {
  #cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

}

@media screen and (min-width: 480px) {
    #gallery{
        grid-template-columns: 1fr 1fr;
    
    }

}   @media screen and (min-width: 900px) {
        #gallery{
            grid-template-columns: 1fr 1fr 1fr;
        }
}
  

