:root {
    --bg-dark-color: darkslategray;
}
* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: black;
}
header {
    background: linear-gradient(black, darkblue, black);
    text-align: center;
    padding: 25px;
    font-size: 30px;
}
.font_white {
    color: ghostwhite;
}
.main-container {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    flex: 1;
}

main {
    background-color: black;
    width: 60%;
    padding: 10px;
}

footer {
    background-color: black;
    text-align: center;
    padding: 25px;
}

aside {
    background-color: black;
    width: 20%;
    padding: 10px;
    text-align: center;
    margin-left: auto;
}


.navpanel {
    height: 666px; 
    overflow-y: auto; 
    border: 1px solid midnightblue; 
    padding: 10px; 
    background-color: black;
    scrollbar-color: midnightblue black;
    scrollbar-width: thin;
    /*width: 20%;*/
}
.nav-button {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-button li {
    margin-bottom: 8px;
}
.btn {
    width: 100%; 
    padding: 8px;
    text-align: left; 
    cursor: pointer;
    background-color: black;
    color: ghostwhite;
    border-style: none;
}
.btn:hover {
    background-color: midnightblue;
}

.cs-frame {
    position: absolute;
    width: 100%;
    height: 100%;
}
.ads {
    background: repeating-radial-gradient(darkblue, midnightblue, black, black);
    color: ghostwhite;
    width: 80%;
    height: auto;
    margin-left: 10%;
}
.ads-img {
    width: calc(100% - 20px);
    margin: 10px;
    margin-bottom: -15px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.gallery img {
    width: 200px;
    height: auto;
    transition: transform 0.2s ease;
}

.gallery img:hover {
    transform: scale(2);
    cursor: pointer;
}
