* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}
 /* Splash screen with diagonal blend */
 .splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1e1e 30%, #286503 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    animation: fadeOut 3s ease-in-out forwards;
    animation-delay: 2.5s;
  }

  
  /* Big text in center with scale-up animation */
  .splash h1 {
    color: #eef5ed;
    font-size: 2rem;
    animation: zoomText 2.5s ease-in-out forwards;
  }
  
  /* Zoom in text */
  @keyframes zoomText {
    0% {
      transform: scale(0.2);
      opacity: 0;
    }
    50% {
      transform: scale(1.2);
      opacity: 1;
    }
    100% {
      transform: scale(1.5);
      opacity: 0;
    }
  }
  
  /* Splash fadeout */
  @keyframes fadeOut {
    to {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  /* Hide content initially */
  .content {
    display: none;
  }

body {
    background-color: rgb(3, 21, 5);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 70px; /* Space for the fixed navbar */
    background-image: url(images/box.png);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #082a02;
    color: rgb(243, 247, 242);
    padding: 15px;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 2px 10px rgba(179, 241, 198, 0.5); /* Optional: For better visibility */
}

.navbar h1 {
    font-size: 2rem;
    color: #25f37e;
    margin: 0;
}

.boxes {
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Adjusted for better spacing */
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    margin-top: 80px; /* This helps the first container be below the navbar */
}
.container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(0, 51, 0, 0.95), rgba(0, 0, 0, 0.9));
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 255, 100, 0.2);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
}



/* Optional: if you want background image + gradient for each */
.leet-bg {
    background-image: linear-gradient(135deg, rgba(0, 51, 0, 0.9), rgba(0, 0, 0, 0.9));
}

.gfg-bg {
    background-image: linear-gradient(135deg, rgba(0, 51, 0, 0.9), rgba(0, 0, 0, 0.9));
}

.hacker-bg {
    background-image: linear-gradient(135deg, rgba(0, 51, 0, 0.9), rgba(0, 0, 0, 0.9));
}

.code-bg {
    background-image: linear-gradient(135deg, rgba(0, 51, 0, 0.9), rgba(0, 0, 0, 0.9));
}


h1 {
    font-size: 2rem;
    color: #53ed6d;
}

.user-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: start;
}

.user-input-container {
    display: flex;
    justify-content: space-between;
}

#user-input {
    width: 80%;
    padding: 0.4rem;
    border-radius: 5px;
}

.search-btn {
    background-color: #5dec6e;
    padding: 0.4rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px #0df328;
    }
    50% {
        box-shadow: 0 0 20px #0df328;
    }
    100% {
        box-shadow: 0 0 5px #0df328;
    }
}

.search-btn:hover {
    
    animation: glow 1s infinite;
    background-color: #0df328;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 243, 40, 0.4);
}


.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #1be04f;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    font-weight: 700;
    background: conic-gradient(#11de41 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: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-evenly;
}

h4 {
    font-size: 1rem;
}

.card {
    background-color: rgb(31, 111, 13);
    width: 40%;
    max-width: 290px;
    padding: 10px;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 4rem;
}

.analysis {
    margin-top: 20px;
    background-color: #2a2727;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.analysis h3 {
    margin-bottom: 10px;
}
