body {
    xbackground-color: #4e4e4e; /* Dark background */
    xbackground: linear-gradient(135deg, #010433, #18305a);
    color: #f0f0f0 !important; /* Light text */
    background-image: url(../images/bg3.jpg);
    background-size: cover;
    background-position: center center;        
    background-repeat: no-repeat;
}

.blur {
    backdrop-filter: blur(4px);
}

#menu2 {
    border: none;
    height: 100vh;
    max-width: 100%;
    opacity: 1;
}

#tagline {
    opacity: 1;
}

#menu2 .row .d-flex {
    background-color: rgba(30, 30, 30, 0.5); /* Dark semi-transparent */
    color: #e0e0e0; /* Light text */
    font-weight: bold !important;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(4px);
    padding-top: 20px;
    border: 1px solid #333; /* Darker border */
    text-decoration: none;
}

#menu2 .row .d-flex .border-bottom {
    border-bottom-color: rgb(100, 200, 120) !important; /* Brighter accent */
}

#menu2 .row .d-flex:hover .border-bottom {
    border-bottom-color: rgb(80, 180, 220) !important; /* Adjusted blue */
}

#menu2 .row .d-flex:hover,
#menu2 .row .d-flex:focus {
    background-color: rgba(50, 50, 50, 0.8) !important; /* Darker hover */
    outline: none;
}

#menu2 .row .d-flex h2 {
    transition: all 0.3s ease;
    font-variant: small-caps;
}

#menu2 .row .d-flex:hover h2,
#menu2 .row .d-flex:focus h2 {
    font-size: 3rem;
    margin-top: -20px;
    color: rgb(80, 220, 255); /* Brighter teal */
}

#menu2 .row .d-flex:hover p {
    color: rgb(70, 230, 110); /* Brighter green */
}

#menu2 .row .d-flex button {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #333; /* Darker button */
    color: #ffaa44; /* Adjusted orange */
}

#menu2 .row .d-flex:hover button,
#menu2 .row .d-flex:focus button {
    opacity: 1;
    height: 40px;
}

#languages-li2menu-button {
    position: absolute;
    top: 2px;
    right: 10px;
    background-color: #333; /* Darker */
    color: #fff;
    text-shadow: 0px 0px 10px #fff;
    z-index: 3;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3); /* Darker shadow */
}

#languages-li2menu {
    position: absolute;
    top: 40px;
    right: 10px;
    z-index: 3;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3); /* Darker shadow */
}

#bg-img {
    z-index: -10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 1;
}

#close-container {
    opacity: 0;
    transform: scale(0);
    transition: 0.5s all linear;
}

#page-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    background-color: #0a1720; /* Dark gray */
    color: #e0e0e0; /* Light text */
    backdrop-filter: blur(48px);
    transform: scale(0);
    transform-origin: center center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 1;
    display: none;
    text-shadow: none;
}

#page-container .nav {
    margin: 20px 0px;
}

#page-container .nav .nav-link {
    font-weight: bold;
    margin: 0px;
    border-radius: 0px;
}

#page-container .nav .nav-link:first-child {
    border-radius: 40px 0px 0px 40px;
}

#page-container .nav .nav-link:last-child {
    border-radius: 0px 40px 40px 0px;
}

#page-container .nav .nav-link:not(.active) {
    color: #b0b0b0; /* Dimmed text */
    background-color: #333; /* Dark gray */
}

#page-container .nav .nav-link.active {
    color: #fff;
    background-color: #00a82d; /* Brighter green */
}

#page-container .card {
    transform: scale(1);
    padding: 0px;
    background-color: #252525; /* Dark card */
    margin-bottom: 15px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6); /* Stronger shadow */
    transition: all 0.3s ease;
    color: #fff
}

#page-container .card .card-title {
    background-color: #000a30; /* Darker blue */
    backdrop-filter: blur(8px);
    color: #eee;
    text-shadow: 0px 1px 2px #000;
    padding: 4px 10px;
    margin-top: 0px;
    text-align: center;
    letter-spacing: -2px;
    font-weight: bold;
    font-style: italic;
}

#page-container .card span.display-6 {
    color: #7af; /* Brighter blue */
    text-shadow: 0px 1px 2px #555; /* Adjusted shadow */
    font-weight: bold;
}

#page-container .card .fas.fa-check {
    color: #4caf50; /* Brighter green */
    margin-top: 5px;
    margin-right: 10px;
}

#page-container .card:hover {
    box-shadow: 2px 10px 10px rgba(0, 0, 0, 0.7) !important;
}

a.link {
    color: rgb(220, 220, 120); /* Brighter yellow */
}