/* Reset and global styling */
body {
    margin: 0;
    overflow: hidden;
    font-family: "Oxygen mono", monospace;
    font-size: 1.3rem;
}

/* Color variables */
:root {
    --black: #171321;
    --hotmag: #ff17e4;
    --magenta: #e310cb;
    --aqua: #86fbfb;
    --white: #f7f8fa;
    --font-size: 1.3rem;
    --mono: "Oxygen mono", monospace;
    --sans: Oxygen, sans-serif;
}

/* Box model */
html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Body styling */
body {
    padding: 0;
    margin: 0;
    font-family: var(--mono);
    background-color: var(--black);
    color: var(--white);
    font-size: var(--font-size);
    background-color: transparent;
}

/* Navigation styling */
nav {
    font-size: 80%;
    padding: 4rem 1rem;
    position: relative; /* Add this line */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: transparent;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-weight: bold;
}

nav li:first-child {
    flex-basis: 100%;
    text-align: center;
}

nav [class*="fa-"] {
    font-size: 150%;
    color: var(--aqua);
}

nav h1 [class*="fa-"] {
    font-size: 100%;
    color: var(--aqua);
}

nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    display: block;
    position: relative;
}

nav a:hover {
    color: var(--magenta);
}

nav li a:hover::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 23, 228, 1) 0%, rgba(134, 251, 251, 1) 100%);
}

/* Media query for larger screens */
@media (min-width: 850px) {
    nav {
        max-width: 1200px;
        margin: 0 auto;
    }

    nav li:first-child {
        flex-basis: auto;
        text-align: left;
        margin-right: auto;
    }
}

/* Canvas styling */
canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Button styling */
.button {
    background-color: rgb(135, 145, 236); /* Green */
    border: none;
    border-radius: 40px;
    color: rgb(255, 253, 253);
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    
  }
  
.button:hover {
  color: rgb(255, 246, 246); 
  
    opacity: 1;
    transform: scale(1.1); /* Increase the size on hover */
}

/* Heading 2 styling */
h2 {
    margin: 0;
    font-family: "Oxygen", sans-serif;
    font-size: 46px;
    display: flex;
    align-items: center;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeIn 1.5s ease-in-out forwards; /* Animation properties */
    color: #171321;
}

p{
    color: #171321;
}

@keyframes fadeIn {
    from {
        opacity: 0; /* Start with opacity 0 */
    }
    to {
        opacity: 1; /* End with opacity 1 */
    }
}

/* Hero Header content styling */
.header-content {
    text-align: left;
    max-width: 800px;
    margin-top: 170px;
    margin-left: 200px;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeIn 1.5s ease-in-out forwards; /* Animation properties */
}

/* Generic button styling */
.btn {
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    background-color: rgb(135, 145, 236); /* Green */
    border: none;
    color: rgb(255, 253, 253);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 2px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}

/* Secondary button styling */
.btn-secondary {
    background-color: rgb(255, 238, 5); /* Gray button color */
    color: #FFFFFF; /* White text color */
    margin-right: 1rem;
}

/* Light button styling */
.btn-light {
    background-color: #183a5c; /* Light gray button color */
    color: #e2e9f0; /* Dark text color */
}

/* Button hover effect */
.btn:hover {
    transform: scale(1.1); /* Increase the size on hover */
}
