/* Base Styles */
body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}


/* Navbar container */

  /* Dropdown menu */
  .dropdown-menu {
    background-color: black;
    z-index: 9999999;
  }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #121212 0%, #1e3c72 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Particles.js canvas */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
}

/* Animation classes */
.animate__animated {
    animation-duration: 1s;
}

/* Card hover effect */
.card-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/*--equations--*/
.eq{overflow-x: auto; overflow-y: hidden;}
.eq::-webkit-scrollbar{width: 15px;}
.eq::-webkit-scrollbar-thumb{background: #a9a9a9;border-radius: 10px;}
.eq::-webkit-scrollbar-track-piece:start{background: #d3d3d3;}
.eq::-webkit-scrollbar-track-piece:end{background: #d3d3d3;}

/* figures in articles */
.figure {
  text-align: center;
}

.figure img {
  max-width: 90%;
  height: auto;
  object-fit: contain;
}

.figure p{
  font-size: small;
}
  

/* footer */
.footer {
    color: black;
    background:white;
    padding: 20px;
}

.footer a:link, .foote a:visited, .foote a:active {
    text-decoration: none;
  }

.footer-container {
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: auto;
}

.footer-column {
    width: 30%;
  }

.footer-column h4 {
    font-weight: bold;
    margin-bottom: 10px;
}

.footer ul li a{
    border-bottom:1px solid #333; 
    display:block;
  }
  
  .footer-copy {
    font-size: small;
    opacity: 0.8;
  }
  

/* Responsive Design */
@media screen and (max-width: 900px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: left;
        background: black;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .footer-container {
        flex-direction: column;  /* Stack items vertically */
    }

    .footer-column {
        width: 100%;  /* Take full width on small screens */
    }
}

