/* Positioning for the Contact Us link in the top-left corner */
.top-left {
    position: absolute;
    top: 20px;
    left: 20px;
}

.contact-link {
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #61dafb;
}

/* Top-right GitHub icon styling */
.top-right {
    position: absolute;
    top: 20px;
    right: 20px;
}

.github-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.github-icon:hover {
    transform: scale(1.2);
}

/* Background and container styling */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1E1E1E;
}

.container {
    display: flex;
    align-items: center;
    position: relative;
}

.triangle {
    width: 400px;
    position: relative;
    animation: pop-in 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    margin-right: 20px;
}

.fade-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 48px;
    color: #ffffff;
    opacity: 0;
    animation: fade-in 2s ease 2s forwards;
}

.description {
    margin-top: 20px;
    font-family: 'JetBrains Mono', monospace;
    color: #ffffff;
    text-align: center;
    max-width: 800px;
    opacity: 0;
    animation: fade-in-description 2s ease 4s forwards; /* Delay to start after text animation */
}

.description a {
    color: #61dafb;
    text-decoration: none;
    transition: color 0.3s;
}

.description a:hover {
    color: #ffffff;
}

/* Contact Section for Contact Us Page */
.contact {
    text-align: center;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 100px;
}

.contact a {
    color: #61dafb;
    text-decoration: none;
    transition: color 0.3s;
}

.contact a:hover {
    color: #ffffff;
}

/* Keyframe animations */
@keyframes pop-in {
    0% {
        transform: scale(5);
        opacity: 0;
    }
    50% {
        transform: scale(2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* New Keyframe for description fade-in */
@keyframes fade-in-description {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
