@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rubik+Mono+One&display=swap');

:root {
    --bg-color: rgb(20, 20, 20);
    --card-color: rgb(23, 23, 23);
    --blue-rgb: 92 192 249;
    --green-rgb: 125 161 35;
    --brown-rgb: 127 46 23;
   --c1:#85FFBD;
   --c2:#FFFB7D;
    --blue: rgb(61, 90, 254);
    --light-blue: rgb(33, 150, 243);
  }
body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 1000ms;
    font-family: 'Bebas Neue', sans-serif;
    background-color: black;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #000000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links, .dropdown-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0; /* Remove margin to prevent cutoff */
    padding: 0; /* Remove padding to prevent cutoff */
}

.nav-links li a, .dropdown-links li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
}

.dropdown-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}



@media (max-width: 768px) {
    .overlay-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px; /* Adjust the height of the overlay */
        background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0));
        z-index: 999;
    }
    .navbar {
        /* flex-direction: row-reverse; */
        z-index: 1100;
        
    }

    .menu-toggle {
        display: flex;
        margin-right: 40px;
    }

    .nav-links {
        display: none;
    }

    .dropdown-menu.active {
        margin-top: 40px;
        display: block;
    }
    .link {
        color: white;
        display: block; 
        font-family: 'Bebas Neue', sans-serif;
        font-size: 100px;
        padding: clamp(0.25em, 1vmin, 1em) clamp(1em, 4vmin, 4em);
        position: relative;
        text-decoration: none;
      }
      
      .link:hover {
        color: yellow;
      }
      
      .link:hover:before {
        transition: width 600ms ease;
        width: 100%; 
      }
      
      .link:before {
        background: linear-gradient(
          to right,
          transparent,
          var(--c1) var(--light-blue-percent),
          var(--c2) 
        );
        content: "";
        left: 0px;
        top: 0px;
        height: 100%;
        width: 0%;
        position: absolute;
      }
      
    }

@media (min-width: 768px) {
    .overlay-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 200px; /* Adjust the height of the overlay */
        background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0));
        z-index: 999;
    }
    .nav-links {
        list-style: none;
        display: flex;
        gap: 5px;
       
    }
    
    .nav-links li a{
        text-decoration: none;
        color: white;
        font-size: 1rem;
        margin-right: 70px;
    }

}
  

#cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;  
    max-width: 916px;
    width: calc(100% - 20px);
  }
  
  #cards:hover > .card::after {
    opacity: 1;
  }
  
  .card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    height: 260px;
    flex-direction: column;
    position: relative;
    width: 300px;  
  }
  
  .card:hover::before {
    opacity: 1;
  }
  
  .card::before,
  .card::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    transition: opacity 500ms;
    width: 100%;
  }
  
  .card::before {
    background: radial-gradient(
      800px circle at var(--mouse-x) var(--mouse-y), 
      rgba(255, 255, 255, 0.06),
      transparent 40%
    );
    z-index: 3;
  }
  
  .card::after {  
    background: radial-gradient(
      600px circle at var(--mouse-x) var(--mouse-y), 
      rgba(255, 255, 255, 0.4),
      transparent 40%
    );
    z-index: 1;
  }
  
  .card > .card-content {
    background-color: var(--card-color);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    inset: 1px;
    padding: 10px;
    position: absolute;
    z-index: 2;
  }
  
  /* -- ↓ ↓ ↓ extra card content styles ↓ ↓ ↓ -- */
  
  h1, h2, h3, h4, span {
    color: rgb(240, 240, 240);
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    margin: 0px;
  }
  
  i {  
    color: rgb(240, 240, 240);
  }
  
  .card-image {
    align-items: center;
    display: flex;
    height: 140px;
    justify-content: center;
    overflow: hidden;
  }
  
  .card-image > i {
    font-size: 6em;
    opacity: 0.25;
  }
  
  .card-info-wrapper {
    align-items: center;
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
    padding: 0px 20px;
  }
  
  .card-info {
    align-items: flex-start;
    display: flex;
    gap: 10px;
  }
  
  .card-info > i {  
    font-size: 1em;
    height: 20px;
    line-height: 20px;
  }
  
  .card-info-title > h3 {
    font-size: 1.1em;
    line-height: 20px;
  }
  
  .card-info-title > h4 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
    margin-top: 8px;
  }

  /* -- ↓ ↓ ↓ some responsiveness ↓ ↓ ↓ -- */
  
  @media(max-width: 1000px) {
    body {
      align-items: flex-start;  
      overflow: auto;
    }
    
    #cards {    
      max-width: 1000px;
      padding: 10px 0px;
    }
    
    .card {
      flex-shrink: 1;
      width: calc(50% - 4px);
    }
  }
  
  @media(max-width: 500px) {
    .card {
        margin-top: 15%;
        margin-bottom: -15%;
        height: 260px;
    }
    
    .card-image {
      height: 100px;  
    }
    
    .card-image > i {
      font-size: 3em;
    }
      
    .card-info-wrapper {
      padding: 0px 10px;
    }
    
    .card-info > i { 
      font-size: 0.8em; 
    }
    
    .card-info-title > h3 {
      font-size: 0.9em;
    }
  
    .card-info-title > h4 {
      font-size: 0.8em;
      margin-top: 4px;
    }

  }
  
  @media(max-width: 320px) {
    .card {
      width: 100%;
    }
  }
  

  
.overlay-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Adjust the height of the overlay */
    background: linear-gradient(to bottom, rgb(0, 0, 0), rgba(0, 0, 0, 0));
    z-index: 999;
}


