* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    font-family: "Inter", sans-serif;
    background: #000;
    color: #fff;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover; 
    z-index: -1;

    opacity: 0.4;
}

:root {
    --hud-height: 60px;
}

.hud {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 1.5em;

    background: #000;
    border-bottom: 1px solid #333;
    height: var(--hud-height);
    z-index: 1000;
}

.hud-left {
    font-family: "Orbitron", sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: clamp(0.8rem, 1vw, 1rem);
}

.hud-right-group {
    display: flex;
    gap: 0.8em;
    align-items: center;
}

.hud-btn {
    text-decoration: none;
    color: white;

    font-size: clamp(0.7rem, 1vw, 0.85rem);
    letter-spacing: 1px;

    padding: 0.4em 0.8em;

    border: 1px solid #333;
    background: #000;
}

.main {
    min-height: 100vh;
    padding-top: var(--hud-height);

    display: flex;
    justify-content: center;
    align-items: center;
}

.panel {
    width: 90%;
    max-width: 600px;
    padding: clamp(1.5em, 3vw, 2.5em);

    border: 1px solid #333;
    text-align: center;

    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(6px); 

    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.project-card {
    width: min(1100px, 90%);
    border: 1px solid #333;

    padding: 2em;
    background: rgba(0, 0, 0, 0.5);

    backdrop-filter: blur(6px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

.panel h1 {
    font-family: "Orbitron", sans-serif;
    letter-spacing: 4px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5em;
}

.panel p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 2em;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.links {
    display: flex;
    justify-content: center;
    gap: 0.8em;
    flex-wrap: wrap;
}

.links a {
    text-decoration: none;
    color: #fff;

    font-family: "Orbitron", sans-serif;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    letter-spacing: 1px;

    padding: 0.6em 1em;

    border: 1px solid #333;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 3em;
    align-items: center;
    padding: 2em 0;
}

#projectsView {
    min-height: calc(100vh - var(--hud-height));
    padding-top: var(--hud-height);

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: none;
}

#projectsView::-webkit-scrollbar {
    display: none;
}

/* ROWS */
.row {
    width: min(1000px, 90%);
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
}

.row.reverse {
    flex-direction: row-reverse;
}

.text {
    flex: 1;
}

.text h2 {
    font-family: "Orbitron", sans-serif;
    margin-bottom: 0.5em;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.text p {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.box {
    flex: 1;
    border: 1px solid #333;
    overflow: hidden;

}

.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.view {
    width: 100%;
    min-height: calc(100vh - var(--hud-height));

    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none;
}






@media (max-width: 768px) {

    .row {
        flex-direction: column;
        text-align: center;
    }

    .row.reverse {
        flex-direction: column;
    }

    .box {
        min-height: 100px;
        width: 100%;
        height: 200px;
    }

    .hud {
        padding: 0 1em;
    }

    .hud-left {
        font-size: 0.7rem;
    }
}
