:root {
    --body-bg: #FFF6EB;
    --nav-bg: #B4876C;
    --fc-body: #402E32;
    --fc-nav: #fff6EB;
}

* {
    box-sizing: border-box;
}

html {
    font-family: 'DM Sans';
}

body {
    font-size: 1.25rem;
    background: var(--body-bg);
    color: var(--fc-body);
    text-align: justify;
    margin: 0;
    margin-left: 260px;
    margin-top: 0;
    padding: 0;
    min-height: 100svh;
    margin-bottom: 0;
}

.header {
    right: 0;
}

nav {
    font-size: 15px;
    height: 100vh;
    width: 240px;
    position: fixed;
    left: 0px;
    top: 0;
    max-height: 100svh;
    gap: 2rem;
    background: var(--nav-bg);
}

.company-name {
    text-align: center;
    color: #984807;
}

nav .company-name h1 {
    text-align: center;
    font-size: 30px;
}

.company-name span {
    background: #FFF6EB;
    border-radius: 5px;
    padding: 0 2%;
}

nav img {
    height: 100px;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    gap: .5rem;
    padding-block: 2rem;
}

.nav-list li {
    padding: 1rem 2rem;
    margin-left: 2rem;
    border-radius: 100vw 0 0 100vw;
}

.nav-list li.active {
    view-transition-name: activeNavTab;
    background: var(--body-bg);
    position: relative;
}

::view-transition-group(activeNavTab) {
    animation-duration: 1.5s;
}

.nav-list li.active a {
    color: var(--fc-body);
}

.nav-list li.active::before,
.nav-list li.active::after {
    --border-radius: 2rem;


    content: '';
    position: absolute;
    width: var(--border-radius);
    height: var(--border-radius);
    right: 0;
    background: var(--nav-bg);
}

.nav-list li.active::before {
    border-radius: 0 0 100vw 0;
    top: calc(var(--border-radius) * -1);
    box-shadow: 10px 10px 0 5px var(--body-bg);
}

.nav-list li.active::after {
    border-radius: 0 100vw 0 0;
    bottom: calc(var(--border-radius) * -1);
    box-shadow: 10px -10px 0 5px var(--body-bg);
}

.nav-list a {
    color: var(--fc-nav);
    text-decoration: none;
}

.navbar-container {
    background: #b4886c9e;
    backdrop-filter: blur(50px);
    display: none;
    width: 100%;
    margin-bottom: 0;
}

.nav-list-phone::before,
.nav-list-phone::after {
    box-sizing: border-box;
}

.nav-list-phone {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.nav-list-phone li {
    display: block;
}

.nav-list-phone li img {
    height: 2rem;
    width: auto;
}

.nav-list-phone a {
    color: #FFF6EB;
    text-decoration: none;
    padding: 1rem;
    display: inline-block;
}

@media (max-width: 1000px) {

    body {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 4rem;
    }

    nav {
        width: 100%;
        position: fixed;
        height: 4rem;
        display: flex;
        top: auto;
        bottom: 0;
    }

    .company-name {
        display: none;
    }

    .nav-list {
        display: none;
        align-items: center;
        text-align: right;
    }

    .navbar-container {
        display: inline-block;
    }
}