body{
    background-color: #c1c9c4;
    position: relative;
    /*overflow: hidden;*/
}
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #080808;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 50px;
    display: flex;
    align-items: center;
}

nav {
    width: 100%;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
  }

nav ul li {
    margin: 0 20px;
}

.nav-link {
    padding: 8px 15px;
    color: #f4f1f2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    position: relative;
  }

nav ul li a {
    color: #f4f1f2; /* change to white if you use dark nav background */
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: color .25s ease;
}
nav ul li a::after{
    content:'';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 0;
    color: #f4f2f2; /* change to white if you use dark nav background */
    text-decoration: none;
    font-weight: bold;
    background-color: #85954e;
    transition: width .35s ease;
    transform-origin: left;
}
nav ul li a:hover {
    color: #85954e;
}
nav ul li a:hover::after {
    width: 100%;
}

.content-wrapper {
    display: flex;
    margin-top: 50px;
    height: 100vh;
}

.sidebar {
    width: 30%;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    padding: 40px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}
  
.sidebar img {
    width: 80%;
    margin-top: 10px;
}
  
.main-content {
    margin-left: 30%;
    width: 70%;
    /*height: calc(100vh - 50px);*/
    /*overflow-y: auto;*/
    padding: 80px;
    box-sizing: border-box;
}
.main-content section {
    margin-bottom: 40px;
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

.section-box{
    background-color: #b2bcb6;
    border-radius: 10px;
    padding: 20px;
    transition: transition .25s ease, box-shadow .25s ease;
}

.section-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}