body {
    padding-top: 15px;
    padding: 15px 152px 15px 156px;
    color: #fff;
    font-family: 'Montserrat';
    width: 100%;
    transition: color 0.3s ease;

}

iframe {
    overflow: hidden;
    border: none;
}

.navbar .bi {
    margin-right: .25rem;
    font-size: 1rem;
}



#home .navbar,
#help .navbar {
    background: linear-gradient(145deg, #375ee3 0%, #6543e0 80%);
}

#home .navbar-brand .nav-link,
#help .navbar-brand .nav-link {
    display: inline-block;
    margin-right: -30px;
}

#home {
    padding-top: 0;
}

#home .btn {
    padding: .5rem .9rem;
}

.bs-docs-section {
    margin-top: 4em;
}

.bs-docs-section .page-header h1 {
    padding: 2rem 0;
    font-size: 3rem;
}

.dropdown-menu.show[aria-labelledby=themes] {
    display: flex;
    flex-wrap: wrap;
    width: 420px;
}

.dropdown-menu.show[aria-labelledby=themes] .dropdown-item {
    width: 33.333333%;
}

.dropdown-menu.show[aria-labelledby=themes] .dropdown-item:first-child {
    width: 100%;
}

.bs-component {
    position: relative;
}

.bs-component + .bs-component {
    margin-top: 1rem;
}

.bs-component .card {
    margin-bottom: 1rem;
}

.bs-component .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
    display: block;
}

.bs-component .modal-dialog {
    width: 90%;
}

.bs-component .popover {
    position: relative;
    display: inline-block;
    width: 220px;
    margin: 20px;
}

.source-button {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    display: none;
    font-weight: 700;
}

.source-button i {
    pointer-events: none;
}

.source-button:hover {
    cursor: pointer;
}

.bs-component:hover .source-button {
    display: block;
}

#source-modal pre {
    max-height: calc(100vh - 11rem);
}

.progress {
    margin-bottom: 10px;
}

#footer {
    margin: 5em 0;
}

#footer li {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

#footer p {
    margin-bottom: 0;
    clear: left;
}

.splash {
    position: relative;
    padding: 12em 0 6em;
    color: #fff;
    text-align: center;
    background-color: #375ee3;
    background-image: url("../img/splash.svg"), linear-gradient(145deg, #375ee3 0%, #6543e0 80%);
    background-repeat: no-repeat;
    background-size: cover;
}

.splash .logo {
    width: 160px;
}

.splash h1 {
    font-size: 3em;
    color: #fff;
}

.splash #social {
    margin: 2em 0 3em;
}

.splash .alert {
    margin: 2em 0;
    border: none;
}

.splash .sponsor a {
    color: #fff;
}

.section-tout {
    padding: 6em 0 1em;
    text-align: center;
    background-color: #eaf1f1;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.section-tout .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    font-size: 2rem;
    line-height: 1;
    color: rgba(255,255,255,.9);
    background: linear-gradient(145deg, #375ee3 0%, #6543e0 80%);
    border-radius: 50%;
}

.section-tout p {
    margin-bottom: 5em;
}

.section-preview {
    padding: 4em 0;
}

.section-preview .preview {
    margin-bottom: 4em;
    background-color: #eaf1f1;
}

.section-preview .preview .image {
    position: relative;
}

.section-preview .preview .image img {
    width: 100%;
    height: auto;
}

.section-preview .preview .options {
    padding: 2em;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,.125);
}

.section-preview .preview .options p {
    margin-bottom: 2em;
}

.section-preview .dropdown-menu {
    text-align: left;
}

.section-preview .lead {
    margin-bottom: 2em;
}

.sponsor a {
    text-decoration: none;
}

.sponsor #carbonads {
    max-width: 240px;
    margin: 0 auto;
}

.sponsor .carbon-text {
    display: block;
    margin-top: 1em;
    font-size: 12px;
}

.sponsor .carbon-poweredby {
    float: right;
    margin-top: 1em;
    font-size: 10px;
}

[data-bs-theme=dark] .section-tout {
    background-color: #111;
}

[data-bs-theme=dark] .section-preview .preview {
    background-color: #2b3036;
}

.bs-component > .btn,
.bs-component > .btn-toolbar > .btn-group,
.bs-component > .btn-group,
#home .section-preview .card .btn-group {
    margin-bottom: .25rem;
}

/* === Vlastní barvy navigace (Navbaru) === */
.navbar[data-bs-theme=dark] {
    --bs-navbar-color: #002B36;             /* Barva linků */
    --bs-navbar-hover-color: #ffffff;       /* Hover linků */
    --bs-navbar-active-color: #ffffff;      /* Aktivní link */
    background-color: #002B36 !important;   /* Navbar pozadí */
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
    color: #ffffff !important;
}

/* Úprava primárního tlačítka (.btn-secondary) */
.btn-secondary {
    --bs-btn-bg: #2AA198;
    --bs-btn-hover-bg: rgb(0, 119, 255);
    background-color: #2AA198;
    border-color: #2AA198;
    margin-left: 5px;
    font-size: 18px;
}

/* Vynulování paddingu pro fluidní layout */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Stylování odkazů (A) */
a {
    color: #fff;
    text-decoration: none;
}
a:hover {
    color: #ffffff;
}

/* Nadpis H1 */
h1{
    font-weight: bold;
    display: flex;
    justify-content: center;
}

h2{
    font-weight: bold;
    display: flex;
    justify-content: center;
}

/* Barva pozadí pro celou sekci */
.container-fluid-custom {
    background-color: #2AA198;
}

/* Vzhled jednotlivých karet statistik */
.custom-card {
    background-color: #2AA198;  /* Tyrkysový odstín */
    color: #fff;
    border: none;
}

/* Orámování a pozadí YouTube videa */
.custom-border-dark {
    border: 5px solid #2AA198 !important;
    background-color: #2AA198;
}


/* Hlavička YouTube bloku */
.card-header {
    background-color: #2AA198 !important;
    border-bottom: 1px solid #0f3945 !important;
}

/* Text "LAST VIDEO" pod videem */
.card-body .text-muted {
    background-color: #333333;
    font-weight: bold;
}

/* Zajištění, že klikací A tag se chová jako blokový element (pro grid) */
.row a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Hover efekt pro karty statistik */
.row a:hover .custom-card {
    transform: translateY(-5px);  /* Jemné posunutí nahoru */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

h2 {
    font-weight: bold;
}

.container.dasdhboard-container {
    --bs-gutter-x: 0 !important;
}

.container.dasdhboard-container a:hover {
    transition: color 0.3s ease;
    color: rgb(0, 119, 255);
}

.dasdhboard-container .btn-secondary {
    color: #fff !important;
    background-color: rgb(0, 119, 255) !important;
    border-color: rgb(0, 119, 255) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dasdhboard-container .btn-secondary:hover {
    transform: translateY(-5px);  /* Jemné posunutí nahoru */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}


.card.dashboard-card {
    color: #fff;
    display: grid;
    border: none;
}


.pfp {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}


/* Flexbox pro ikony ve footeru */
.footer {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Styly pro samotné ikony Font Awesome */
.footer i {
    font-size: 30px; /* Zvětšení velikosti ikon */
    color: #2AA198;
    transition: color 0.3s ease;
}

.footer i:hover {
    cursor: pointer;
    color: rgb(0, 119, 255);
}

.ff a:hover{
    transition: color 0.3s ease;
    text-decoration: none;
    color: rgb(0, 119, 255);
}

.nav-item,
.nav-item li {
    list-style: none;   /* odstraní odrážky */
    padding-left: 0;    /* odstraní odsazení */
    margin: 0;          /* odstraní margin */
}

.servers-listingrating {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* max 4 sloupce */
    gap: 20px;
    justify-items: center;
}

.server-card {
    display: flex;
    flex-direction: column;  /* aby button byl vždy dole */
    justify-content: space-between; /* rovnoměrné rozložení */
    width: 100%;
    max-width: 280px;
    height: 400px;  /* pevná výška všech karet */
    box-sizing: border-box;
}

.server-card .card {
    display: flex;
    flex-direction: column;
    height: 100%;  /* vyplní celou server-card */
}

.detail-card {
    max-width: 340px;            /* pevná šířka */
    max-height: 340px;           /* pevná výška */
}



.server-logo {
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.server-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.servers-listingrating button {
    background-color: rgb(0, 119, 255);
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.servers-listingrating button:hover {
    transform: translateY(-5px);  /* Jemné posunutí nahoru */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

.detail-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Accordion container */
.accordion {
    --bs-accordion-color: #fff; /* text */
    --bs-accordion-bg: #2AA198; /* pozadí */
}

/* Accordion items */
.accordion-item {
    background-color: #2AA198;
    color: #fff;
    border: none;
}

/* Accordion button - text bílý i když collapsed */
.accordion-button {
    color: #fff;
    background-color: #2AA198;
}

/* Accordion button - šipka bílá */
.accordion-button::after {
    filter: invert(1); /* otočí barvu šipky na bílou */
}

/* Když je zavřený (collapsed) */
.accordion-button.collapsed {
    color: #fff;
    background-color: #2AA198;
}

/* Odebrání žlutého focus outline */
.accordion-button:focus {
    box-shadow: none; /* odstraní žlutý border */
    outline: none;
}




/* === mobily atd === */



@media(max-width: 767px) {
    body{
        padding: 10px;
    }
    .splash {
        padding-top: 8em;
    }

    .splash .logo {
        width: 100px;
    }

    .splash h1 {
        font-size: 2em;
    }

    #banner {
        margin-bottom: 2em;
        text-align: center;
    }
}

@media(min-width: 992px) {
    .navbar-transparent {
        background: none !important;
    }
}