*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body{
      min-height: 80vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background: linear-gradient(135deg, #c8ff00, #00e676, #00bcd4);
      background-size: 400% 400%;
      animation: gradientBG 12s ease infinite;
      color: #fff;
    }


 @keyframes gradientBG {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }


.container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: rgb(55, 42, 42);
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: rgb(5, 224, 217);
    background-image: linear-gradient(to right, rgb(49, 32, 61), rgb(24, 51, 54));
    
}


@media screen and (max-width: 550px){
    body{
        padding-top: 20px;
    }

    .container {
   
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: rgb(55, 42, 42);
    padding: 10px;
    border-radius: 5px;
    width: 90%;
    max-width: 600px;
    
    margin: 0 auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(35, 45, 44) rgb(42, 30, 30);
    overflow-y: auto;
    max-height: 80vh;

    

    }
    h1{
        font-size: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
}


@media (min-width: 551px) and (max-width: 1800px) {
    .container {
        width: 80%;
      background: linear-gradient(135deg, #0f0264, #787604, #730545);
      background-size: 400% 400%;
      animation: gradientBG 12s ease infinite;
      @keyframes gradientBG {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    }
    
}

h1{
  font-size: 2rem;

}
h1:hover{
    color: rgb(214, 41, 90);
    text-shadow: 0 0 5px rgb(171, 71, 128);
    font-weight: 600;
}
.user-container{
    display: flex;
    flex-direction: column;
     gap: 10px;
     justify-content: start;
    color: rgb(255, 183, 27);
    font-weight: bold;
}

.user-input-container{
    display: flex;
    justify-content: space-between;

}
#user-input{
    width: 80%;
    padding: 0.4rem;
    border-radius: 6.5px;
}
#search-btn{
    padding: 0.4rem;
    border-radius: 6.5px;
}
.circle{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #299f5d;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: 700;
    background: conic-gradient(#31a176 var(--progress-degree, 0%), #283a2e 0%);  
    
    flex-direction: column;
}
.circle span{
    position: relative;
    z-index: 2;
}
.progress{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly; 
    flex-wrap: wrap;  
    gap: 10px; 
}

.stats-cards{
    margin-top: 1.8rem;
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly; 
    flex-wrap: wrap;  
    gap: 10px; 
}
h4{
    font-size: 1rem;
}

.card{
    background-color: rgb(102, 34, 180);
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    max-width: 290px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    min-height: 4rem;
    color: rgb(255, 177, 7);
}

.card:hover {
   
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #3d02b4;
    color: bisque;
    font-weight: 800;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  text-align: center;
  padding: 15px 20px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.5);
}

footer p {
  margin: 5px 0;
  font-size: 14px;
  color: #c3b900;
}

/* Social Icons */
.social-icons {
  margin: 10px 0;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #1abc9c; /* Teal hover effect */
}

/* Responsive Design */

@media screen and (max-width: 550px) {
    footer {
        padding: 10px 15px;
        font-size: 12px;
        background-color: #1f0c0c;
     
    }
    footer p {
        font-size: 12px;
        color: rgb(200, 196, 108);
    }
    
    .social-icons a {
        font-size: 18px;
    }
}

