html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}



html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #0B0F1A;
    background-image: url('/img/imgbg-hex2.png');
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
    background-position: top left;
    color: #F0F8FF;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

.main-content {
    flex: 1;
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.bg-dark-ciano {
    background-color: #00060c !important;
    border-bottom: 1px solid #00060c;
}

.navbar {
    background-color: #00060c !important;
}

.navbar-dark .navbar-brand {
    color: #00CED1 !important;
    font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link {
    color: #00CED1 !important;
    font-weight: bold;
    transition: color 0.3s ease;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 1rem;
    line-height: 1.2;
}

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link:focus {
        color: #00ffff !important;
        background-color: transparent;
    }

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    outline: none;
    background-color: #00060c !important;
}

.navbar-toggler-line {
    display: block;
    width: 28px;
    height: 3px;
    margin: 4px auto;
    background-color: #00CED1;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-collapse {
    background-color: #00060c !important;
    padding: 0.5rem 1rem;
    border: none;
}

    .navbar-collapse.collapse.show {
        box-shadow: none;
        border: none;
    }

#Contato,
#swagger,
#app-mobile-section,
#doc-title {
    scroll-margin-top: 80px; /* ajuste conforme a altura real da sua navbar */
}

.lang-switch {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    z-index: 999 !important;
    position: relative;
    background-color: transparent;
    gap: 8px;
}

    .lang-switch img {
        width: 24px !important;
        height: 16px !important;
        border-radius: 2px;
        border: 1px solid #00ffff;
        transition: transform 0.2s ease;
        cursor: pointer;
        z-index: 1000 !important;
        position: relative;
        display: inline-block !important;
        opacity: 1 !important;
    }





@media (max-width: 991px) {
    .navbar-nav .nav-link {
        margin-bottom: 4px;
    }
}
