html,
body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    background: url(https://source.unsplash.com/featured/1920x1080) no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

@font-face {
    font-family: Rubik;
    src: url(../fonts/rubik/Rubik-VariableFont_wght.ttf);
}

@font-face {
    font-family: SpaceMono;
    src: url(../fonts/space_mono/SpaceMono-Regular.ttf);
}

:root {
    font-family: Rubik;
    scroll-behavior: smooth;
    --main: #ffffff;
    --secon: #ad55ff;
}

#container {
    min-height: 100%;
    max-height: fit-content;
    width: 80%;
    padding: 50px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
}

@media (max-width: 1050px) {
    #container{
        width: 100%;
    }
}

a {
    position: relative;
    color: black;
    text-decoration: none;
}

nav a::before {
    content: "";
    width: 100%;
    position: absolute;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #000;
    transform: scaleX(0);
    transition: transform .3s ease-out;
}

nav a:hover::before,
.nav-selected::before {
    transform: scaleX(.95);
}


nav a:active{
    background-color: black;
    color: white;
    transition: color .15s ease, background-color .15s ease;
}

nav a:active::before {
    background-color: white;
}

section header {
    text-align: center;
    margin: 20px;
    font-size: 30px;
}

section header h1 {
    display: inline;
}

/*Formatação da navbar*/

nav {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    background-color: transparent;
    position: fixed;
    top: 0;
    z-index: 999;
}

nav a {
    padding: 5px !important;
}

/*Formatação específica feita para a linha aparecer no background ao se clicar nela*/
nav a::before {
    bottom: 2px !important;
}

.terminal {
    padding: 10px;
    color: white;
    border-radius: 10px;
    background-color: #272b33;
    font-family: SpaceMono;
    overflow-x: scroll;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #272b33;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #bdc4cc;
    border-radius: 0 0 10px 10px;
}

.terminal::-webkit-scrollbar-thumb:hover {
    background: #757575;
}

span.terminal {
    padding: 5px 10px;
}

div.terminal {
    padding: 15px;
}

.comment {
    color: #bdc4cc;
}

li {
    line-height: 40px;
}