@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --main-blue: #0099DD;
    --main-green: #399E5A;
    --dark-green: #26532B;
    --aqua: #6EF9F5;
    --lilac: #C297B8;
    --font-family: "Montserrat", sans-serif;
    --font-style: normal;

    --sidebar-width: 180px;
    --sidebar-padding: 24px;

}


* {
    font-family: var(--font-family);
    font-size: 1em;
    color: black;
}


.nav-panel {
    width: 80%;
    background-color: var(--lilac);
    padding: 12px 0;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 4px;
    transition: background 0.2s, color 0.2s;
}



.nav-panel a {
    color: black;
    font-weight: 500;
    display: block;
    width: 100%;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 180px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    z-index: 10;
}


.nav-panel:hover, .nav-panel:focus-within {
    color: white;
    transition: 0.3s;
}

.nav-panel:hover a, .nav-panel:focus-within a {
    color: white;
    cursor: pointer;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

a {
    text-decoration: none;
}

a.redirect-anchor {
    font-weight: 600;
    color: var(--main-blue);
}

a.redirect-anchor:hover {
    color: var(--aqua);
}


.main-routes,
.user-config {
    display: flex;
    gap: 10px;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.user-config {
    margin-top: auto;
    margin-bottom: 24px;
}

main.main-content {
    margin-left: 180px;
    padding: 24px;
}
