body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 40px 0 0;
}

.header {
    background-color: #FFA500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    z-index: 1000;
    top: 0;
}

.header img {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

.header a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin-left: 20px;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.header a:hover {
    color: #333;
}

.header div:last-child {
    display: flex;
    align-items: center;
}

.container {
    max-width: 80%;
    margin: 100px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

.trenink {
    max-width: 90%;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.trenink h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.trenink p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #333;
}

.trenink ul {
    list-style-type: none;
    padding: 0;
}

.trenink li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.button-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
}

.button {
    background-color: #4CAF50;
    color: white;
    border: none;
    width: 32%;
    height: 60px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #45a049;
}

@media only screen and (max-width: 800px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        position: relative;
        top: 0;
        margin-top: 0;

    }
    body {
        margin-top: 0;
        padding-top: 0;

    }

    .header img {
        width: 80px;
        height: 80px;
        display: block;
        margin: auto;

    }
    .odkazy{
        flex-wrap: wrap;
    }

    .header a {
        margin-left: 0;
        margin-top: 10px;
    }
    .container{
        margin-top: 20px;
    }
    .text h1{
        text-align: center; 
        color: #333;
        
    }
    .text p{
        max-width: 80%;
        margin-left: 5%;
        font-size: 18px;
    }
    .button-container {
        flex-direction: column; 
        align-items: center; 
        
        margin: 20px;
    }
    .button {
        background-color: #4CAF50;
        color: white;
        border: none;
        width: 90%;
        height: 60px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin: 20px;
        align-items: center;
    }

}