@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

body {
    padding: 0;
    margin: 0;
}

* { 
    color: rgba(0, 0, 0, 0.6);
    font-family: 'JetBrains Mono', monospace;
    text-decoration: none;
}

/* Base heading styles */
h1 {
    font-size: 28px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 17px;
}

.wrapper {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.header {
    position: relative;
    z-index: 2;
    padding: 20px;
    font-size: 17px;
    font-weight: 700;
}

.main-logo {
    margin: 0;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 75%;
    z-index: 1;
}

.start-btn {
    border: 3px solid rgba(0, 0, 0, 0.3);
    background: transparent;
    margin-top: 50px;
    border-radius: 5px;
    width: 200px;
    height: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.3s;
}

.start-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.blur-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blur-bg::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: linear-gradient(115deg, #6f00ff, #0000ff, #00ffff, #ffd700, #ff00ff);
    background-size: 400% 400%;
    animation: moveGradient 20s ease infinite;
    filter: blur(100px);
    opacity: 0.5;
    z-index: 0;
}

.link-effect {
  position: relative;
  text-decoration: none;
  padding-bottom: 5px; /* Add some space for the underline */
  overflow: hidden;
}

/*
 * The ::before pseudo-element that acts as the underline.
 */
.link-effect::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(0, 0, 0, 0.4); /* Underline color */

  /*
   * Initial state (when not hovered):
   * The element is scaled to zero width from the right side.
   * This makes it "disappear" to the right on mouse leave.
   */
  transform: scaleX(0);
  transform-origin: right;

  /*
   * The transition for the transform property.
   * This animates the element when it leaves the hover state.
   */
  transition: transform 0.4s ease-in-out;
}

/*
 * The state when the link is hovered.
 */
.link-effect:hover::before {
  /*
   * On hover, the element scales to its full width (100%).
   * The transform-origin is set to 'left'. This makes the underline
   * appear to "enter" from the left side.
   */
  transform: scaleX(1);
  transform-origin: left;
}

/* From Uiverse.io by Yaya12085 */ 
.card {
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 320px;
  border-radius: 20px;
  max-width: 40%;
}

.title {
  display: flex;
  align-items: center;
}

.title span {
  position: relative;
  padding: 0.5rem;
  background-color: #10B981;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
}

.title span svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  height: 1rem;
}

.title-text {
  margin-left: 0.5rem;
  color: #374151;
  font-size: 18px;
}

.percent {
  margin-left: 0.5rem;
  color: #02972f;
  font-weight: 600;
  display: flex;
}

.data {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.data p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #1F2937;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  text-align: left;
}

.data .range {
  position: relative;
  background-color: #E5E7EB;
  width: 100%;
  height: 0.5rem;
  border-radius: 0.25rem;
}

.data .range .fill {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #10B981;
  width: 76%;
  height: 100%;
  border-radius: 0.25rem;
}

.main {
    background: rgba(10, 10, 10, 0.2);
    position: relative;
    height: 500px;
    height: 600px;
    padding: 10px;
    border-radius: 20px;
    border: 3px solid rgba(10, 10, 10, 0.2);
}

.main::before {
    content: '';
    background: inherit;
    filter: blur(100px);
    z-index: -1;
    position: absolute;
}

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Mobile devices --- */
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 15px;
    }
    
    .header {
        font-size: 15px;
        padding: 15px;
    }

    .container {
        width: 90%;
    }
    
    .start-btn {
        margin-top: 40px;
        width: 180px;
        height: 45px;
        font-size: 14px;
    }
}

/* --- Large desktop screens (1920p and above) --- */
@media (min-width: 1920px) {
    h1 {
        font-size: 46px;
    }

    h2 {
        font-size: 34px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 30px;
    }

    .header {
        font-size: 20px;
    }

    .start-btn {
        margin-top: 60px;
        width: 250px;
        height: 60px;
        font-size: 18px;
    }
    
    .blur-bg::before {
        filter: blur(150px);
    }
}