/* Společné pravidla */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Kadwa", serif;
    text-decoration: none;
}

body {
    overflow-x: hidden;
    background: #121A1F;
}

.logo {
    height: 55px;
    width: 155px;
    background: transparent;
    color: #027AAC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
}

nav .nav-list {
    list-style: none;
}

nav .nav-list li {
    display: inline-block;
}

nav .nav-list li a {
    display: inline-block;
    color: #eee;
    margin-left: 55px;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
}

nav .nav-list li a:hover {
    color: #0175A6;
    margin-left: 55px;
    font-weight: 600;
    transition: 0.5s;
    scale: 1.1;
}

.btn-primary {
    background-color: #027AAC;
    border: 2px solid #027AAC;
}

.btn-primary:hover {
    background-color: #0175A6;
    border: 2px solid #0175A6;
    transition: 0.5s;
}

.image-container {
    margin-top: 10px;
    box-shadow: black;
}

.image-container img {
    width: 100%;
    height: 700px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.overlay h1 {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: bold;
    font-size: 720%;
    color: #eee;
    line-height: 0.9;
}

.overlay h2 {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: bold;
    font-size: 450%;
    color: #eee;
    line-height: 0.9;
}

.overlay h1,
.overlay .btn {
    margin-bottom: 0px;
    text-align: center;
}

.text-section {
    background-color: #121A1F;
    text-align: center;
    margin-top: 15px;
    width: 90%;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0 black solid;
    border-radius: 18px;
}

.text-section p {
    color: #eee;
    font-size: 200%;
    text-align: center;
}

.currentdate {
    color: white;
    font-size: 100%;
    margin-top: 10px;
    font-weight: 500;
}

.card {
    width: 450px;
    margin: 10px;
    background-color: #191E21;
}

.card img {
    width: 100%;
}

.card-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 10px;
    font-size: 200%;
    font-weight: bold;
    line-height: 1;
}

.text-section {
    margin-bottom: 20px;
}

.card-subtext {
    position: absolute;
    top: 70px;
    left: 28px;
    transform: translateX(-10%);
    width: 52%;
    color: white;
    padding: 8px;
    font-size: 23px;
    text-align: left;
}

h2 {
    margin-top: 50px;
    margin-bottom: 15px;
    color: #eee;
    font-size: 350%;
}

.mec-image {
    width: 500px;
    margin-bottom: 15px;
}

.mec-container {
    text-align: center;
}

.mec-image:hover {
    content: url('obrazky/mechover2.png');
    transition: 0.5s; 
}

.mec-container:nth-child(2) .mec-image:hover {
    content: url('obrazky/mechover.png');
    transition: 0.5; 
}

.mec-container:nth-child(2) .mec-image,
.mec-container .mec-image {
    transition: transform 2s ease;
}

.mec-container:nth-child(2) .mec-image:hover,
.mec-container .mec-image:hover {
    transform: scale(1.02);
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    font-size: 25;
}

.carousel-control-prev {
    left: -115px;
}

.carousel-control-next {
    right: -115px;
}

.carousel-item img {
    max-width: 100%;
    width: 95%;
    height: 800px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}

.nadpis {
    margin-top: 35px;
}

.aboutustext {
    color: #eee;
    font-size: 32px;
}

.team-section {
    padding: 50px 0;
}

.team-cards {
    display: flex;
    justify-content: space-between;
}

.team-card {
    width: calc(33.33% - 20px);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-image {
    height: 500px;
    position: relative;
}

.card-info {
    padding: 20px;
    text-align: center;
    font-size: 120%;
    color: #C0C0C0;
    background-color: #191E21;
    width: 94%;
}

.card-info h3 {
    margin-bottom: 10px;
    color: #eee;
    text-align: center;
    font-weight: 800;
}

.card-info p {
    margin-bottom: 20px;
}

.social-icons a {
    color: #C0C0C0;
    padding-inline: 16px;
    font-size: 32px;
}

.social-icons a:hover {
    color: #0175A6;
    padding-inline: 16px;
    transition: 0.4s;
}

.footer-section {
    text-align: center;
}

.footer-menu {
    display: inline-block;
    margin-bottom: 20px;
}

.nav-list {
    padding-top: 20px;
    list-style: none;
    font-size: 25px;
}

.nav-list li {
    display: inline-block;
}

.nav-list li a {
    display: inline-block;
    color: #eee;
    margin-left: 55px;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
}

.nav-list li a:hover {
    color: #0175A6;
    margin-left: 55px;
    font-size: 24px;
    font-weight: 450;
    transition: 0.5s;
    scale: 1.1;
}

.footer-map {
    position: relative;
}

.address p {
    position: absolute;
    right: 25px;
    bottom: 1px;
    font-weight: bold;
}

.footer-contact {
    margin-top: 15px;
    font-size: 24px;
}

.contact-info {
    margin-bottom: 20px;
    color: #eee;
    font-size: 18px;
    margin: 0;
}

.contact-info p {
    margin-bottom: 20px;
    color: #eee;
    font-size: 18px;
    margin: 0;
    text-decoration: underline;
}

/* Custom vertikální scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #121A1F;
}

::-webkit-scrollbar-thumb {
    background: white;
}

::-webkit-scrollbar-thumb:hover {
    background: #0175A6;
}

/*pro notebooky*/
/* Pro šířku obrazovek větší než 1024px */
@media only screen and (min-width: 1024px){
    *{
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        font-family: "Kadwa", serif;
        text-decoration: none;
    }
    
    body{
        overflow-x: hidden;
        background: #121A1F;
    }
    
    .main-width{
        max-width: 95%;
        margin: 0 auto;
        padding: 0px 10px;
    }
    
    
    
    header{
        padding: 10px 0 5px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo{
        height: 55px;
        width: 155px;
        background: transparent;
        color: #027AAC;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        text-align: center;
    }
    
    nav .nav-list{
        list-style: none;
    }
    
    nav .nav-list li{
        display: inline-block;
    }
    
    nav .nav-list li a{
        display: inline-block;
        color: #eee;
        margin-left: 55px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        list-style: none;
        font-size: 24px;
    }
    
    nav .nav-list li a:hover{
        display: inline-block;
        color: #0175A6;
        margin-left: 55px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        list-style: none;
        text-decoration: none;
        font-size: 24px;
        scale: 1.1;
        transition: 0.5s;
    }
    
    .nav-list li.btn a {
        display: inline-block;
        background: transparent;
        border: 5px solid #027AAC;
        padding: 9px 28px;
        border-radius: 16px;
        line-height: 1.3;
        color: #027AAC;
        font-weight: 500;
        text-decoration: none;
    }
    
    .nav-list li.btn:hover a {
        background: #027AAC;
        color: #eee;
        border: 5px solid transparent;
        transition: .4s;
        font-weight: 500;
    }
    
    .image-container {
        margin-top: 10px; /* Adjust the margin as needed */
        box-shadow: black;
    }
    
    .image-container img {
        width: 100%;
        height: 700px;
        display: block;
        margin: 0 auto;
        object-fit: cover; /* Centers the image horizontally */
    }
    
    .overlay {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
    
    .overlay h1 {
     text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
     font-weight: bold;
     font-size: 720%;
     color: #eee;
     line-height: 0.9;
    }
    
    
    .overlay h2 {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        font-weight: bold;
        font-size: 450%;
        color: #eee;
        line-height: 0.9;
    }
    
    .overlay h1,
    .overlay .btn {
        margin-bottom: 0px;
        text-align: center;
    }
    
    .btn-primary {
        background-color: #027AAC;
        border: 2px solid #027AAC;
    }
    .btn-primary:hover {
        background-color: #0175A6;
        border: 2px solid #0175A6;
        transition: 0.5;
    }
    
    .text-section {
        background-color: #121A1F;
        text-align: center;
        margin-top: 15px; /* Volitelné nastavení mezery nad textem */
        width: 90%; /* Použití CSS proměnné pro šířku */
        position: absolute;
        top: 110%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 0 black solid;
        border-radius: 18px;
    }
    
    .text-section p {
        color: #eee;
        font-size: 200%;
        text-align: center;
    }
    
    .currentdate {
        color: white;
        font-size: 100%;
        margin-top: 10px;
        font-weight: 500;
    }
    
    .card {
        width: 450px;
        margin-top: 100px;
        background-color: #191E21;
    }
    
    .card img {
        width: 100%;
    }
    
    .card-text {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        color: white;
        padding: 10px;
        font-size: 200%;
        font-weight: bold;
        line-height: 1;
    }
    
    .text-section {
        margin-bottom: 20px; /* Přidáme mezery pod textem */
    }
    
    .card-subtext {
        position: absolute;
        top: 70px;
        left: 28px;
        transform: translateX(-10%);
        width: 52%;
        color: white;
        padding: 8px;
        font-size: 23px;
        text-align: left;
    }
    
    
    h2 {
        margin-top: 50px; /* Vzdálenost od poslední sekce */
        margin-bottom: 15px; /* Vzdálenost od obrázků */
        color: #eee;
        font-size: 350%;
    }
    
    .d-flex .mec-image {
        width: 500px; /* Velikost obrázků mečů */
        margin-right: 25px; /* Vzdálenost mezi obrázky mečů */
    }
    
    .mec-container {
        text-align: center; /* Zarovnání obrázku a textu */
    }
    
    .mec-image {
        width: 500px; /* Velikost obrázků mečů */
        margin-bottom: 15px; /* Vzdálenost mezi obrázkem a textem */
    }
    
    .mec-text {
        color: white; /* Barva textu */
        font-size: 20px;
    }
    
    .padding {
        padding-top: 14px;
    }
    
    
    .mec-image:hover {
        content: url('obrazky/mechover2.png');
        transition: 0.5s; 
    }
    
    .mec-container:nth-child(2) .mec-image:hover {
        content: url('obrazky/mechover.png');
        transition: 0.5; 
    }
    
    
    .mec-container:nth-child(2) .mec-image {
        transition: transform 2s ease; /* Přechodový efekt trvající 0.5 sekundy */
    }
    
    .mec-container:nth-child(2) .mec-image:hover {
        transform: scale(1.02); /* Zvětšení obrázku při najetí myší */
    }
    
    .mec-container .mec-image {
        transition: transform 2s ease; /* Přechodový efekt trvající 0.5 sekundy */
    }
    
    .mec-container .mec-image:hover {
        transform: scale(1.02); /* Zvětšení obrázku při najetí myší */
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        position: absolute; 
        top: 50%;
        transform: translateY(-50%);
        z-index: 25;
        font-size: 25;
    }
    
    .carousel-control-prev {
        left: -50px;
    }
    
    .carousel-control-next {
        right: -50px;
    }
    
    .carousel-item img {
        max-width: 100%;
        width: 80%;
        height: 500px;
        object-fit: cover;
        margin-left: auto; /* Umístění obrázku do středu */
        margin-right: auto; /* Umístění obrázku do středu */
    }
    
    .nadpis {
        margin-top: 35px;
    }
    
    .aboutustext {
        color: #eee;
        font-size: 25px;
    }
    
    .team-section {
        padding: 50px 0;
    }
    
    .team-cards {
        display: flex;
        justify-content: space-between;
    }
    
    .team-card {
        width: calc(33.33% - 20px); /* tři karty s mezerou mezi nimi */
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 20px;
    }
    
    .card-image {
        height: 500px; /* Výška obrázku */
        position: relative;
    }
    
    .card-info {
        padding: 20px;
        text-align: center;
        font-size: 120%;
        color: #C0C0C0;
        background-color: #191E21;
        width: 81%;
    }
    
    .card-info h3 {
        margin-bottom: 10px;
        color: #eee;
        text-align: center;
        font-weight: 800;
    }
    
    .card-info p {
        margin-bottom: 20px;
    }
    
    .social-icons a{
        color: #C0C0C0;
        padding-inline: 16px;
        font-size: 32px;
    }
    
    .social-icons a:hover{
        color: #0175A6;
        padding-inline: 16px;
        transition: 0.4s;
    }
    
    .footer-section {
        text-align: center; /* Zarovnání obsahu na střed */
    }
    
    .footer-menu {
        display: inline-block; /* Nastavení menu jako inline blok pro zarovnání na střed */
        margin-bottom: 20px; /* Mezera pod menu */
    }
    
    .nav-list{
        padding-top: 20px;
        list-style: none;
        font-size: 25px;
    }
    
    .nav-list li{
        display: inline-block;
        font-size: 25px;
    }
    
    .nav-list li a{
        display: inline-block;
        color: #eee;
        margin-left: 55px;
        font-size: 15px;
        font-weight: 400;
        text-decoration: none;
        list-style: none;
        font-size: 24px;
    }
    
    .nav-list li a:hover{
        display: inline-block;
        color: #0175A6;
        margin-left: 55px;
        font-size: 15px;
        font-weight: 450;
        text-decoration: none;
        list-style: none;
        text-decoration: none;
        font-size: 24px;
        scale: 1.1;
        transition: 0.5s;
    }
    
    
    .footer-map {
        position: relative; /* Nastavení relativní pozice pro umístění adresy na mapě */
    }
    
    
    .address p {
        position: absolute; /* Nastavení absolutní pozice pro adresu */
        right: 25px;
        bottom: 1px;
        font-weight: bold;
    }
    
    .footer-contact {
        margin-top: 15px;
        font-size: 24px;
    }
    
    
    .contact-info {
        margin-bottom: 20px;
        color: #eee;
        font-size: 18px;
        margin: 0;
    }
    
    .contact-info p{
        margin-bottom: 20px;
        color: #eee;
        font-size: 18px;
        margin: 0;
        text-decoration: underline;
    }
    
    
    /* Custom vertikální scrollbar */
    ::-webkit-scrollbar {
        width: 10px; /* Šířka scrollbar */
    }
    
    ::-webkit-scrollbar-track {
        background: #121A1F; /* Barva pozadí tracku */
    }
    
    ::-webkit-scrollbar-thumb {
        background: white; /* Barva thumbu */
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #0175A6; /* Barva thumbu na hover */
    }
    
    /* Posunutí scrollbar od krajů o 10px */
    .footer-section {
        margin-right: -10px;
        margin-bottom: -10px;
        padding-right: 10px; /* Vykompenzování posunutí scrollbar */
        padding-bottom: 10px; /* Vykompenzování posunutí scrollbar */
    }
  }
/*pro tablety*/
@media only screen and (min-width: 768px) and (max-width: 1023px) {
        *{
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            font-family: "Kadwa", serif;
            text-decoration: none;
        }
        
        body{
            overflow-x: hidden;
            background: #121A1F;
        }
        
        .main-width{
            width: 768px;
            max-width: 100%;
            margin: 0 auto;
            padding: 0px 5px;
        }
        
        
        
        header{
            padding: 5px 0 2px;
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: space-between;
        }
        
        .logo{
            height: 30px;
            width: 100px;
            background: transparent;
            color: #027AAC;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            cursor: pointer;
            text-align: center;
        }
        
        nav .nav-list{
            list-style: none;
            padding: 5px;
            margin: 5px;
        }
        
        nav .nav-list li{
            display: inline-block;
            padding: 0;
            margin: 0;
        }
        
        nav .nav-list li a{
            display: inline-block;
            color: #eee;
            margin-left: 25px;
            font-weight: 600;
            text-decoration: none;
            list-style: none;
            font-size: 18px;
            margin-right: 0px;
            padding-right: 0px;
        }
        
        nav .nav-list li a:hover{
            display: inline-block;
            color: #0175A6;
            margin-left: 25px;
            font-weight: 600;
            text-decoration: none;
            list-style: none;
            text-decoration: none;
            font-size: 18px;
            scale: 1.1;
            transition: 0.5s;
        }
        
        .nav-list li.btn a {
            display: inline-block;
            background: transparent;
            border: 2px solid #027AAC;
            padding: 5px 15px;
            border-radius: 16px;
            line-height: 1;
            color: #027AAC;
            font-weight: 400;
            text-decoration: none;
            font-size: 15px;
        }
        
        .nav-list li.btn:hover a {
            background: #027AAC;
            color: #eee;
            border: 5px solid transparent;
            transition: .4s;
            font-weight: 500;
        }
        
        .image-container {
            margin-top: 10px; /* Adjust the margin as needed */
            box-shadow: black;
        }
        
        .image-container img {
            width: 100%;
            height: 400px;
            display: block;
            margin: 0 auto;
            object-fit: cover; /* Centers the image horizontally */
        }
        
        .overlay {
            position: absolute;
            top: 35%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }
        
        .overlay h1 {
         text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
         font-weight: bold;
         font-size: 500%;
         color: #eee;
         line-height: 0.9;
        }
        
        
        .overlay h2 {
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
            font-weight: bold;
            font-size: 300%;
            color: #eee;
            line-height: 0.9;
        }
        
        .overlay h1,
        .overlay .btn {
            margin-bottom: 0px;
            text-align: center;
        }
        
        .btn-primary {
            background-color: #027AAC;
            border: 2px solid #027AAC;
        }
        .btn-primary:hover {
            background-color: #0175A6;
            border: 2px solid #0175A6;
            transition: 0.5;
        }
        
        .text-section {
            background-color: #121A1F;
            text-align: center;
            margin-top: 15px; /* Volitelné nastavení mezery nad textem */
            width: 90%; /* Použití CSS proměnné pro šířku */
            position: absolute;
            top: 60%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: 0 black solid;
            border-radius: 18px;
        }
        
        .text-section p {
            color: #eee;
            font-size: 125%;
            text-align: center;
        }
        
        .currentdate {
            color: white;
            font-size: 100%;
            margin-top: 10px;
            font-weight: 500;
        }
        
        .card {
            width: 450px;
            margin: 10px;
            background-color: #191E21;
        }
        
        .card img {
            width: 100%;
        }
        
        .card-text {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            color: white;
            padding: 10px;
            font-size: 100%;
            font-weight: bold;
            line-height: 1;
        }
        
        .text-section {
            margin-bottom: 20px; /* Přidáme mezery pod textem */
        }
        
        .card-subtext {
            position: absolute;
            top: 35px;
            left: 15px;
            transform: translateX(-10%);
            width: 60%;
            color: white;
            padding: 8px;
            font-size: 13px;
            text-align: left;
        }
        
        
        h2 {
            margin-top: 50px; /* Vzdálenost od poslední sekce */
            margin-bottom: 15px; /* Vzdálenost od obrázků */
            color: #eee;
            font-size: 350%;
        }
        
        .d-flex .mec-image {
            width: 350px; /* Velikost obrázků mečů */
            margin-right: 25px; /* Vzdálenost mezi obrázky mečů */
        }
        
        .mec-container {
            text-align: center; /* Zarovnání obrázku a textu */
        }
        
        .mec-image {
            width: 500px; /* Velikost obrázků mečů */
            margin-bottom: 15px; /* Vzdálenost mezi obrázkem a textem */
        }
        
        .mec-text {
            color: white; /* Barva textu */
            font-size: 20px;
        }
        
        .padding {
            padding-top: 14px;
        }
        
        
        .mec-image:hover {
            content: url('obrazky/mechover2.png');
            transition: 0.5s; 
        }
        
        .mec-container:nth-child(2) .mec-image:hover {
            content: url('obrazky/mechover.png');
            transition: 0.5; 
        }
        
        
        .mec-container:nth-child(2) .mec-image {
            transition: transform 2s ease; /* Přechodový efekt trvající 0.5 sekundy */
        }
        
        .mec-container:nth-child(2) .mec-image:hover {
            transform: scale(1.02); /* Zvětšení obrázku při najetí myší */
        }
        
        .mec-container .mec-image {
            transition: transform 2s ease; /* Přechodový efekt trvající 0.5 sekundy */
        }
        
        .mec-container .mec-image:hover {
            transform: scale(1.02); /* Zvětšení obrázku při najetí myší */
        }
        
        .carousel-control-prev,
        .carousel-control-next {
            position: absolute; 
            top: 50%;
            transform: translateY(-50%);
            z-index: 25;
            font-size: 25;
        }
        
        .carousel-control-prev {
            left: -50px;
        }
        
        .carousel-control-next {
            right: -50px;
        }
        
        .carousel-item img {
            max-width: 100%;
            width: 80%;
            height: 500px;
            object-fit: cover;
            margin-left: auto; /* Umístění obrázku do středu */
            margin-right: auto; /* Umístění obrázku do středu */
        }
        
        .nadpis {
            margin-top: 10px;
        }
        
        .aboutustext {
            color: #eee;
            font-size: 25px;
        }
        
        .team-section {
            padding: 50px 0;
        }
        
        .team-cards {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .team-card {
            margin-bottom: 20px;
            width: 100%;
        }
        
        .card-image {
            height: 500px; /* Výška obrázku */
            width: 500px;
            position: relative;
            padding-left: 18%;
        }
        
        .card-info {
            padding: 20px;
            text-align: center;
            font-size: 120%;
            color: #C0C0C0;
            background-color: #191E21;
            width: 66%;
            margin-left: 18%;
        }
        
        .card-info h3 {
            margin-bottom: 10px;
            color: #eee;
            text-align: center;
            font-weight: 800;
        }
        
        .card-info p {
            margin-bottom: 20px;
        }
        
        .social-icons a{
            color: #C0C0C0;
            padding-inline: 16px;
            font-size: 32px;
        }
        
        .social-icons a:hover{
            color: #0175A6;
            padding-inline: 16px;
            transition: 0.4s;
        }
        
        .footer-section {
            text-align: center; /* Zarovnání obsahu na střed */
        }
        
        .footer-menu {
            display: inline-block; /* Nastavení menu jako inline blok pro zarovnání na střed */
            margin-bottom: 20px; /* Mezera pod menu */
        }
        
        .nav-list{
            padding-top: 20px;
            list-style: none;
            font-size: 25px;
        }
        
        .nav-list li{
            display: inline-block;
            font-size: 25px;
        }
        
        .nav-list li a{
            display: inline-block;
            color: #eee;
            margin-left: 55px;
            font-size: 15px;
            font-weight: 400;
            text-decoration: none;
            list-style: none;
            font-size: 24px;
        }
        
        .nav-list li a:hover{
            display: inline-block;
            color: #0175A6;
            margin-left: 55px;
            font-size: 15px;
            font-weight: 450;
            text-decoration: none;
            list-style: none;
            text-decoration: none;
            font-size: 24px;
            scale: 1.1;
            transition: 0.5s;
        }
        
        
        .footer-map {
            position: relative; /* Nastavení relativní pozice pro umístění adresy na mapě */
        }
        
        
        .address p {
            position: absolute; /* Nastavení absolutní pozice pro adresu */
            right: 25px;
            bottom: 1px;
            font-weight: bold;
        }
        
        .footer-contact {
            margin-top: 15px;
            font-size: 24px;
        }
        
        
        .contact-info {
            margin-bottom: 20px;
            color: #eee;
            font-size: 18px;
            margin: 0;
        }
        
        .contact-info p{
            margin-bottom: 20px;
            color: #eee;
            font-size: 18px;
            margin: 0;
            text-decoration: underline;
        }
        
        
        /* Custom vertikální scrollbar */
        ::-webkit-scrollbar {
            width: 10px; /* Šířka scrollbar */
        }
        
        ::-webkit-scrollbar-track {
            background: #121A1F; /* Barva pozadí tracku */
        }
        
        ::-webkit-scrollbar-thumb {
            background: white; /* Barva thumbu */
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #0175A6; /* Barva thumbu na hover */
        }
        
        /* Posunutí scrollbar od krajů o 10px */
        .footer-section {
            margin-right: -10px;
            margin-bottom: -10px;
            padding-right: 10px; /* Vykompenzování posunutí scrollbar */
            padding-bottom: 10px; /* Vykompenzování posunutí scrollbar */
        }
      
  }
  /*pro mobily*/
  @media only screen and (max-width: 767px) {
        *{
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            font-family: "Kadwa", serif;
            text-decoration: none;
        }
        
        body{
            overflow-x: hidden;
            background: #121A1F;
        }
        
        .main-width{
            width: 414px;
            max-width: 100%;
            margin: 0 auto;
            padding: 0px 5px;
        }
        
        
        
        header{
            padding: 2px 0 2px;
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: space-between;
        }
        
        .logo{
            height: 25px;
            width: 90px;
            background: transparent;
            color: #027AAC;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 8px;
            cursor: pointer;
            text-align: center;
        }
        
        nav .nav-list{
            list-style: none;
            padding: 0px;
            margin: 10px;
        }
        
        nav .nav-list li{
            display: inline-block;
            padding: 0;
            margin-right: 0px;
        }
        
        nav .nav-list li a{
            display: inline-block;
            color: #eee;
            margin-left: 7px;
            font-weight: 400;
            text-decoration: none;
            list-style: none;
            font-size: 10px;
            margin-right: 0px;
            padding-right: 0px;
        }
        
        nav .nav-list li a:hover{
            display: inline-block;
            color: #0175A6;
            margin-left: 0px;
            font-weight: 400;
            text-decoration: none;
            list-style: none;
            text-decoration: none;
            font-size: 10px;
            scale: 1.1;
            transition: 0.5s;
        }
        
        .nav-list li.btn a {
            display: inline-block;
            background: transparent;
            border: 2px solid #027AAC;
            padding: 5px 10px;
            border-radius: 16px;
            line-height: 1;
            color: #027AAC;
            font-weight: 300;
            text-decoration: none;
            font-size: 10px;
            margin-left: 0px;
        }
        
        .nav-list li.btn:hover a {
            background: #027AAC;
            color: #eee;
            border: 5px solid transparent;
            transition: .4s;
            font-weight: 500;
        }
        
        .image-container {
            margin-top: 10px; /* Adjust the margin as needed */
            box-shadow: black;
        }
        
        .image-container img {
            width: 100%;
            height: 400px;
            display: block;
            margin: 0 auto;
            object-fit: cover; /* Centers the image horizontally */
        }
        
        .overlay {
            position: absolute;
            top: 35%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }
        
        .overlay h1 {
         text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
         font-weight: bold;
         font-size: 400%;
         color: #eee;
         line-height: 0.9;
         margin-bottom: 0;
        }
        
        
        .overlay h2 {
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
            font-weight: bold;
            font-size: 300%;
            color: #eee;
            line-height: 0.9;

        }
        
        .overlay h1,
        .overlay .btn {
            margin-bottom: -20px;
            text-align: center;
        }
        
        .btn-primary {
            background-color: #027AAC;
            border: 2px solid #027AAC;
            margin-top: -20px;
        }
        .btn-primary:hover {
            background-color: #0175A6;
            border: 2px solid #0175A6;
            transition: 0.5;
        }
        
        .text-section {
            background-color: #121A1F;
            text-align: center;
            margin-top: 10px; /* Volitelné nastavení mezery nad textem */
            width: 90%; /* Použití CSS proměnné pro šířku */
            position: absolute;
            top: 72%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: 0 black solid;
            border-radius: 18px;
        }
        
        .text-section p {
            color: #eee;
            font-size: 125%;
            text-align: center;
        }
        
        .currentdate {
            color: white;
            font-size: 80%;
            margin-top: 13px;
            font-weight: 400;
        }

        #game .d-flex.justify-content-around {
            flex-direction: column; /* Prvky budou umístěny ve sloupci */
            align-items: center; /* Zarovnání prvků na střed */
        }
        
        .card {
            width: 350px;
            margin-top: 5px;
            background-color: #191E21;
        }
        
        .card img {
            width: 100%;
        }
        
        .card-text {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            color: white;
            padding: 10px;
            font-size: 150%;
            font-weight: bold;
            line-height: 1;
        }
        
        .text-section {
            margin-bottom: 20px; /* Přidáme mezery pod textem */
        }
        
        .card-subtext {
            position: absolute;
            top: 51px;
            left: 23px;
            transform: translateX(-10%);
            width: 60%;
            color: white;
            padding: 8px;
            font-size: 15px;
            text-align: left;
        }
        
        
        h2 {
            margin-top: 50px; /* Vzdálenost od poslední sekce */
            margin-bottom: 15px; /* Vzdálenost od obrázků */
            color: #eee;
            font-size: 350%;
        }
        #mece .d-flex.justify-content-around {
            flex-direction: column; /* Prvky budou umístěny ve sloupci */
            align-items: center; /* Zarovnání prvků na střed */
            margin-top: 15px;
        }
        
        .d-flex .mec-image {
            width: 350px; /* Velikost obrázků mečů */
            margin-right: 25px; /* Vzdálenost mezi obrázky mečů */
        }
        
        .mec-container {
            text-align: center; /* Zarovnání obrázku a textu */
        }
        
        .mec-image {
            width: 500px; /* Velikost obrázků mečů */
            margin-bottom: 20px; /* Vzdálenost mezi obrázkem a textem */
        }
        
        .mec-text {
            color: white; /* Barva textu */
            font-size: 20px;
        }
        
        .padding {
            padding-top: 14px;
        }
        
        
        .mec-image:hover {
            content: url('obrazky/mechover2.png');
            transition: 0.5s; 
        }
        
        .mec-container:nth-child(2) .mec-image:hover {
            content: url('obrazky/mechover.png');
            transition: 0.5; 
        }
        
        
        .mec-container:nth-child(2) .mec-image {
            transition: transform 2s ease; /* Přechodový efekt trvající 0.5 sekundy */
        }
        
        .mec-container:nth-child(2) .mec-image:hover {
            transform: scale(1.02); /* Zvětšení obrázku při najetí myší */
        }
        
        .mec-container .mec-image {
            transition: transform 2s ease; /* Přechodový efekt trvající 0.5 sekundy */
        }
        
        .mec-container .mec-image:hover {
            transform: scale(1.02); /* Zvětšení obrázku při najetí myší */
        }
        
        .carousel-control-prev,
        .carousel-control-next {
            position: absolute; 
            top: 50%;
            transform: translateY(-50%);
            z-index: 25;
            font-size: 25;
        }
        
        .carousel-control-prev {
            left: -50px;
        }
        
        .carousel-control-next {
            right: -50px;
        }
        
        .carousel-item img {
            max-width: 100%;
            width: 80%;
            height: 500px;
            object-fit: cover;
            margin-left: auto; /* Umístění obrázku do středu */
            margin-right: auto; /* Umístění obrázku do středu */
        }
        
        .nadpis {
            margin-top: 10px;
        }
        
        .aboutustext {
            color: #eee;
            font-size: 25px;
        }
        
        .team-section {
            padding: 50px 0;
        }
        
        .team-cards {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .team-card {
            margin-bottom: 20px;
            width: 100%;
        }
        
        .card-image {
            height: 500px; /* Výška obrázku */
            width: 500px;
            position: relative;
            padding-left: 1%;
        }
        
        .card-info {
            padding: 20px;
            text-align: center;
            font-size: 120%;
            color: #C0C0C0;
            background-color: #191E21;
            width: 100%;
            margin: 1%;
        }
        
        .card-info h3 {
            margin-bottom: 10px;
            color: #eee;
            text-align: center;
            font-weight: 800;
        }
        
        .card-info p {
            margin-bottom: 20px;
        }
        
        .social-icons a{
            color: #C0C0C0;
            padding-inline: 16px;
            font-size: 32px;
        }
        
        .social-icons a:hover{
            color: #0175A6;
            padding-inline: 16px;
            transition: 0.4s;
        }
        
        .footer-section {
            text-align: center; /* Zarovnání obsahu na střed */
        }
        
        .footer-menu {
            display: inline-block; /* Nastavení menu jako inline blok pro zarovnání na střed */
            margin-bottom: 10px; /* Mezera pod menu */
        }
        
        .nav-list{
            padding-top: 10px;
            list-style: none;
            font-size: 10px;
            padding-left: 0;
        }
        
        .nav-list li{
            display: inline-block;
            font-size: 10px;
        }
        
        .nav-list li a{
            display: inline-block;
            color: #eee;
            margin-left: 10px;
            font-weight: 400;
            text-decoration: none;
            list-style: none;
            font-size: 15px;
        }
        
        .nav-list li a:hover{
            display: inline-block;
            color: #0175A6;
            margin-left: 10px;
            font-size: 15px;
            font-weight: 450;
            text-decoration: none;
            list-style: none;
            text-decoration: none;
            font-size: 15px;
            scale: 1.1;
            transition: 0.5s;
        }
        
        
        .footer-map {
            position: relative;
            left: 0.3%; /* Nastavení relativní pozice pro umístění adresy na mapě */
        }
        
        
        .address p {
            position: absolute; /* Nastavení absolutní pozice pro adresu */
            right: 10px;
            bottom: 1px;
            font-weight: bold;
            font-size: 9px;
        }
        
        .footer-contact {
            margin-top: 10px;
            font-size: 5px;
        }
        
        
        .contact-info {
            margin-bottom: 20px;
            color: #eee;
            font-size: 15px;
            margin: 0;
        }
        
        .contact-info p{
            margin-bottom: 20px;
            color: #eee;
            font-size: 15px;
            margin: 0;
            text-decoration: underline;
        }
        
        
        /* Custom vertikální scrollbar */
        ::-webkit-scrollbar {
            width: 10px; /* Šířka scrollbar */
        }
        
        ::-webkit-scrollbar-track {
            background: #121A1F; /* Barva pozadí tracku */
        }
        
        ::-webkit-scrollbar-thumb {
            background: white; /* Barva thumbu */
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #0175A6; /* Barva thumbu na hover */
        }
        
        /* Posunutí scrollbar od krajů o 10px */
        .footer-section {
            margin-right: -10px;
            margin-bottom: -10px;
            padding-right: 10px; /* Vykompenzování posunutí scrollbar */
            padding-bottom: 10px; /* Vykompenzování posunutí scrollbar */
        }
  

}