@font-face {
    font-family: 'Noto';
    src: url("../fonts/NotoSans-VariableFont_wdth\,wght.ttf");
}

:root {
    --blue: rgb(0, 111, 230);
    --link: #9ea8b3;
    --link-hov: #3898ff;
    --white: rgb(213, 213, 213);
    --gray: rgb(87, 87, 87);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: monospace;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100dvh;
    overflow: hidden;
}

#bg-video {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    transition: opacity 1.5s ease-in, transform 0.1s ease-out;
}

#bg-video.loaded {
    opacity: 1;
}

.text-gradient {
    color: #FFFFFF;
    background-image: linear-gradient(180deg, #FFFFFF, #5CB6FF 29%, #000782 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: clamp(0.1rem, 1cqi, 0.6rem);
}

.text.gray {
    color: var(--gray);
}

.text.white {
    color: var(--white);
}

.terminal {
    background-color: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    text-align: center;
    width: 90%;
    max-width: 800px;

    font-size: 1em;
}

.terminal-titlebar {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: gray;
}

.terminal-titlebar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background-color: #FF5F57;
}

.dot-yellow {
    background-color: #FEBC2E;
}

.dot-green {
    background-color: #28C840;
}

.terminal-body {
    padding: 20px 24px;
    overflow-y: auto;

}

.terminal-left .terminal-body {
    text-align: left;
}





.about-grid {
    font-size: 0.8rem;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: left;
    gap: 12px;
}

.about-grid.body {
    height:100%;
    max-height:400px;
    overflow-y:scroll;
}


.about-avatar {
    display: block;
    justify-self: end;
    border-radius: 100%;
}

.about-title {
    color: var(--blue);
    display: block;

    text-align: right;
    align-self: start;
}

.about-content {
    color: #dddddd;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 14px;
    text-align: center;
    font-family: 'Noto';
    font-size: 0.6em;
    letter-spacing: 0.15em;
}

footer span {
    color: rgb(103, 139, 178);
}

a {
    color: #0a7df8;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.261);
    text-decoration: none;
    transition: transform 0.1s ease-out, color 0.1s ease-out;
}

.icons a:hover {
    color: rgba(255, 255, 255, 0.616);
    transform: translateY(-2px);

}


a.button:hover {
    color: #b4d3f6;
}


.buttons {
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
}



a.button {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.285);
    border-radius: 10px;
    padding: 10px;
    color: var(--link);
    border: 1px rgb(32, 32, 32) solid;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.1s ease-out, color 0.1s ease-out;
}

a.button:hover {
    color: var(--link-hov);
    background-color: rgba(1, 16, 101, 0.285);
    border-color: var(--link-hov);
    transform: translateY(-2px);
}

.pfp {
    border-radius: 100%;
}


@media screen and (max-width: 600px) {
    .buttons {
        flex-direction: column;
    }

    .buttons a {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
        margin-left: 0;
    }

    a.button {
        width: 100%;
        margin-top: 10px;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .about-avatar {
        display:none;
    }


}