@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100;200;300;400;500;600;700;800;900&display=swap'); /* LEXEND DECA */

:root {
    scroll-behavior: smooth;
    font-size: 16px;
    font-family: 'Lexend Deca', sans-serif;
    --transition-slow: 600ms;
    --transition-mid: 400ms;
    --transition-fast: 200ms;
    --text-primary: #eae9e7;
    --text-secondary: #bbbab9;
    --bg-primary: #1c1d26;
    --bg-secondary: #191a22;
    --fg-primary: #282a36;
    --fg-secondary: #20222b;
    --blue-primary: #28acc9;
    --blue-secondary: #248ca3;
    --pink-primary: #ff79c6;
    --pink-secondary: #cc619e;
}
body {
    color: var(--text-primary);
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
}
/* SCROLLBAR */
body::-webkit-scrollbar {
    width: 0.5rem;
}

body::-webkit-scrollbar-track {
    background-color: var(--fg-primary)
}

body::-webkit-scrollbar-thumb {
    background: var(--pink-primary)
}
/* NAVBAR */
.navbar {
    position: fixed;
    background-color: var(--fg-primary);
    transition: width var(--transition-fast) ease;
}
.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.nav-logo {
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--pink-primary);
    background: var(--fg-secondary);
    font-size: 1.5rem;
    letter-spacing: 0.3ch;

}
.nav-logo svg {
    transform: rotate(0deg);
    transition: transform var(--transition-slow);
}
.navbar:hover .nav-logo svg {
    transform: rotate(-360deg);
}
.nav-item {
    width: 100%;
}
.nav-item:last-child {
    margin-top: auto;
}
.nav-link {
    display: flex;
    align-items: center;
    height: 5rem;
    color: var(--text-primary);
    text-decoration: none;
    filter: grayscale(100%);
    transition: var(--transition-slow);
}
.nav-link:hover {
    filter: grayscale(0%);
    background: var(--fg-secondary);
    color: var(--text-secondary);
}
.nav-link svg {
    min-width: 2rem;
    margin: 0 1.5rem;
}
.link-text {
    display: none;
    margin-left: 1rem;
}
.cat-primary {
    color: var(--pink-primary)
}
.cat-secondary {
    color: var(--pink-secondary)
}
.cat-primary, .cat-secondary {
 transition: var(--transition-slow)
}
/* PAGE CONTENT */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url(assets/background.png);
    background-size: cover;
}
header h1 {
    background-color: var(--fg-primary);
    border-radius: 50px;
    padding: 0 15px;
    transform: translateY(-2rem);
    font-weight: 400;
    font-size: 3rem;
}
#main-logo {
    position: absolute;
    top: 50;
    width: 300px;
}
#logo-text {
    color: #470b00;
    font-weight: 900;
}
.page {
    margin: 0 6rem;
    font-size: 32px;
    box-shadow: 0px -5px 50px 50px var(--bg-primary);
    height: 100vh;
}
/* BUTTONS */
.btn-link {
    -webkit-user-drag: none;
    text-decoration: none;
}
button {
    display: inline-flex;
    font-size: 42px;
    font-family: 'Lexend Deca', sans-serif;
    border-radius: 15px;
    outline: none;
    border: hidden;
    padding: 5px 15px;
    background-color: var(--fg-primary);
    color: var(--text-primary);
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: var(--transition-mid);
    box-shadow: 0 10px 25px rgba(0, 0 , 0, 0.5);
}
button:active {
    background-color: var(--fg-secondary);
    transform: scale(0.95);
}
button svg {
    margin-left: 5px;
    min-width: 3rem;
}

/* SMALL SCREEN */
@media only screen and (max-width: 999px) {
    .navbar {
        bottom: 0;
        width: 100vw;
        height: 5rem;
    }
    .nav-logo {
        display: none;
    }
    .navbar-nav {
        flex-direction: row;
    }
    .nav-link {
        justify-content: center;
    }
    .nav-link svg {
        max-width: 2rem;
    }
    header {
        margin: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    header h1 {
        font-size: 4rem;
        display: none;
    }
    .page {
        margin: 0 1rem;
    }
    #logo-servers {
        display: none;
    }
    ::-webkit-scrollbar {
        display: none;
    }
    button {
        flex-direction: column;
    }
    button svg {
        max-width: 3rem;
    }
}
/* LARGE SCREEN */
@media only screen and (min-width: 999px) {
    .navbar {
        top: 0;
        width: 5rem;
        height: 100vh;
    }
    .navbar:hover {
        width: 16rem;
    }
    .navbar:hover .link-text {
        display: block;
    }
}
