body {
    margin: 0;
    padding: 0;
    background: black;
    color: white;
    overflow-x: hidden;
    font-family: 'Ubuntu Mono', monospace;
}

#backgroundCanvas,
#starsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
}

.menu{
    padding: .5rem;
    width: 2rem;
    height: 1.2rem;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .menu-display{
        position: fixed;
        top: 0;
        left: 0;

        width: 250px;
        height: 100vh;
        align-items: center;

        background: white;
        color: black;

        transform: translateX(-100%);
        transition: transform .4s ease;
        z-index: 100;
    }

    .x {
        position: relative;
        width: 40px;
        height: 40px;
    }

    .x::before,
    .x::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 4px;
        background: black;
        border-radius: 999px;
        transform-origin: center;
    }

    .x::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .x::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .menu-display ul li{
        font-size: 2rem;
        text-align: center;
        margin-right: 3rem;
    }

    .menu-display.active{
        transform: translateX(0);
    }

.line{
    height: .4rem;
    background-color: white;
    border-radius: 100px;
}

header{
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw ,18rem);
    font-weight: bold;

    padding: 2rem;
    text-align: left;
}

.top-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.name{
    visibility: hidden;
}

ul li{
    list-style-type: none;
    font-family: 'Ubuntu Mono', monospace;

    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 2;
    margin-right: 1.5rem;
}

ul li a{
    text-decoration: none;
    color: black;
}

.page-wrapper {
    padding: 1rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-window {
    width: 100%;
    max-width: 900px;
    height: 80vh;
    background: #1b1e24;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #2a2e36;
}

.menu-bar {
    background: #2b3038;
    padding: 0.4rem 1rem;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #d8dee9;
}

.toolbar {
    background: #323843;
    padding: 0.4rem 1rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border-bottom: 1px solid #2a2e36;
}

.tool-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #d8dee9;
}

.tool-btn img {
    width: 22px;
    height: 22px;
}

.tab-bar {
    background: #1f2329;
    padding: 0.4rem 0.8rem;
    display: flex;
    border-bottom: 1px solid #2a2e36;
}

.tab {
    padding: 0.4rem 1rem;
    background: #2b3038;
    border-radius: 4px 4px 0 0;
    color: #d8dee9;
}

.tab.active {
    background: #3b4252;
}

.terminal-body {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

main {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    width: 70%;
    height: 100%;
    margin: 0 auto;
}

.feature,
.feature-reverse {
    min-width: 100%;
    height: 100%;
    scroll-snap-align: center;

    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    justify-content: center;
    align-items: center;
}

img {
    width: 70%;
    height: auto;
}

.feat-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
}

.feat-body p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.arrow:hover{
    color:#9A0E0E;
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

@media (min-width: 768px) {

    body {
        cursor: none;
    }

    .cursor-dot {
        position: fixed;
        width: 10px;
        height: 10px;
        background: #9A0E0E;
        border-radius: 50%;
        pointer-events: none;
        transform: translate(-50%, -50%);
        z-index: 9999;
    }

    .cursor-ring {
        position: fixed;
        width: 35px;
        height: 35px;
        border: 2px solid #9A0E0E;
        border-radius: 50%;
        pointer-events: none;
        transform: translate(-50%, -50%);
        z-index: 9998;
    }

        .menu{
        padding: 1rem;
        width: 3.5rem;
        height: 2rem;
    }

    .menu:hover .line{
        background-color: #9A0E0E;
    }

    .menu-display ul li:hover{
        font-weight: bold;
    }

    .line{
        height: .7rem;
        background-color: white;
        border-radius: 100px;
    }

    .name{
        font-family: "Ubuntu Mono", monospace;
        font-size: clamp(1rem, 3vh, 5rem);

        color: white;
        visibility: visible;
    }

    .terminal-window{
        width: 90vw;
        max-width: 1400px;
    }

    .feature {
        flex-direction: row;
        text-align: left;
    }

    .feature-reverse {
        flex-direction: row-reverse;
        text-align: left;
    }

    img {
        width: 90%;
    }

    #gif{
        width: 30%;
    }

    .feat-body h3 {
        font-size: 1.8rem;
    }

    .feat-body p {
        font-size: 1.1rem;
    }

    .arrow {
        font-size: 3rem;
    }
}
