body{
    margin: 0;
    padding: 0;
    font-family: mainFont;
    color: #fff;
}

@font-face {
    font-family: mainFont;
    src: url(assets/motomangucode.ttf);
}

/* Set the background image */
.container {
    background-color: black;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
.container img {
    position: sticky;
    width: 658px;
    max-height: calc(100vh - 1px);
    animation: fadeIn 5s; /* Animation duration */
    object-fit: contain;
}

/* Define the fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Style the container for text */
.content {
    top: 0;
    text-align: left;
    animation: fadeInContent 2s; /* Animation for text */
    user-select: none; /* Disable text highlighting */
}

/* Define the fade-in animation for the content */
@keyframes fadeInContent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

h1 {
    position: absolute;
    top: 1vw;
    left: 1vw;
    z-index: 1;
    font-size: 36px;
    transform: translateX(-100%); /* Start text off-screen */
    animation: slideIn 1s forwards; /* Use animation to slide text in */
}

h2 {
    position: absolute;
    top: 8vh;
    left: 1vw;
    z-index: 1;
    font-size: 24px;
    transform: translateX(-100%); /* Start text off-screen */
    animation: slideIn 2s forwards; /* Use animation to slide text in */
}

h3 {
    position: absolute;
    top: 85vh;
    left: 1vw;
    z-index: 1;
    font-size: 72px;
    transform: translateY(-100%); /* Start text off-screen */
    animation: slideIn 3s forwards; /* Use animation to slide text in */
}

.description {
    position: absolute;
    top: 8vh;
    left: 1vw;
    z-index: 1;
    font-size: 24px;
    transform: translateX(-100%); /* Start text off-screen */
    animation: slideIn 2s forwards; /* Use animation to slide text in */
}

/* Center the text in the container */
.content h1, .content h2, .content h3 {
    margin: 10px 0;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

.footer {
    background-color: black;
    position: relative;
    z-index: 2;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    transition: bottom 0.5s ease; /* Smooth transition when showing the footer */
}

.instagram-link img {
    width: 30px; 
    height: 30px; 
    margin: 0 auto;
}
.github-link img{
    width: 30px;
    height: 30px;
    margin: 0 auto;
}

/* Show the footer when scrolling down */
body.scroll-footer .footer {
    bottom: 0;
}

header {
    background-color: #000000;
    color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.4s;
    z-index: 5;
}
    .button {
        display: block;
        padding: 10px 20px;
        margin: 10px;
        background-color: #000000;
        color: #fff; 
        text-decoration: none;
        text-align: center;
        border-radius: 5px;
        font-size: 20px;
        transition: background-color 0.3s ease-in-out;
    }

    .button:hover {
        background-color: #202020; /* Change to a slightly different color on hover */
    }

    body.menu-active #mainButton {
        display: none;
    }

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    .button{
        display: none;
    }
    nav {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
    }

    nav.active {
        display: flex;
    }

    li {
        margin: 10px 20px;
    }
    body.menu-active header {
        background-color: #000000; 
        color: #fff; 
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 2;
    }
    
    body.menu-active .hamburger-menu {
        display: none;
    }
    
    body.menu-active nav {
        display: flex;
    }
    body.menu-active nav {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
    }
    
    body.menu-active nav.active {
        display: flex;
    }
    
    body.menu-active li {
        margin: 10px 20px;
    }
}