header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 1000;
}

body {
    padding-top: 120px;
    padding-bottom: 80px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px;
    margin-bottom: -15px;
    z-index: 1000;
}

.logo-left {
    height: 80px;
}

.menu {
    display: flex;
    margin-left: 20px;
}

.menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ccc;
}

.menu a.active {
    background-color: #444;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.intro-logo {
    flex: 1;
    text-align: center;
}

a {
    text-decoration: none !important;
}

a:hover {
    font-weight: bold;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-body {
    cursor: pointer;
    padding: 20px;
}

.card-body:hover {
    background-color: #bebebe;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 50px 20px;
    text-align: center;
}

.intro-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.container.text-center {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.intro-logo img {
    max-width: 100%;
    height: auto;
    width: 800px;
}

/* Tablety (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .intro-container {
        flex-direction: column;
        text-align: center;
    }
    
    .container.text-center {
        max-width: 100%;
    }

    .intro-logo img {
        width: 400px;
    }
}

/* Mobily (max-width: 768px) */
@media screen and (max-width: 768px) {
    .intro-logo img {
        min-width: 300px;
        display: block;      /* aby se dalo centrovat */
        margin: 0px 5px;      /* horizontální centrování */
    }
    
    .hero {
        margin: 0px 20px;
    }

    .btn-primary {
        font-size: 16px;
        padding: 10px 20px;
    }

    .hero {
        margin-left: -20px;
    }
}