* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #2d2d2d;
    min-height: 100vh;
    font-family: 'Courier New', monospace;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

header {
    position: relative;
    z-index: 67;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background-color: #000000;
}

.header-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

h1 {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 0.1em;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

main {
    position: relative;
    z-index: 10;
    padding: 3rem;
    min-height: calc(100vh - 100px);
}

.main-nav {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.nav-box {
    background-color: #2196F3;
    padding: 3rem 1.9rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.nav-box:nth-child(1) {
    width: 290px;
    align-self: flex-start;
    margin-left: 5%;
}

.nav-box:nth-child(2) {
    width: 270px;
    align-self: flex-end;
    margin-right: 15%;
    margin-top: 0;
}

.nav-box:nth-child(3) {
    width: 310px;
    align-self: center;
    margin-left: -20%;
    margin-top: 0;
}

.nav-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(33, 150, 243, 0.4);
    background-color: #1976D2;
}

.sticky {
    position: sticky;
    top: 0;
}

/* Fade-in animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards;
}
.fade-creds {
    animation-delay: 0.2s;
}
.fade-1 {
    animation-delay: 0.1s;
}

.fade-2 {
    animation-delay: 0.3s;
}

.fade-3 {
    animation-delay: 0.5s;
}

.fade-4 {
    animation-delay: 0.7s;
}

.fade-5 {
    animation-delay: 0.9s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 968px) {
    .nav-box:nth-child(1),
    .nav-box:nth-child(2),
    .nav-box:nth-child(3) {
        width: 80%;
        max-width: 400px;
        align-self: center;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .header-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .contact-link {
        font-size: 1.2rem;
    }
    
    main {
        padding: 2rem 1.5rem;
    }
    
    .nav-box {
        font-size: 1.8rem;
        padding: 2rem 3rem;
        width: 100% !important;
        max-width: 350px;
    }
    
    .main-nav {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }
    
    .contact-link {
        font-size: 1rem;
    }
    
    .nav-box {
        font-size: 1.5rem;
        padding: 1.5rem 2rem;
    }
}