body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #4a6d7c;
    color: #ffffff;
}

nav {
    margin: 30px;
    text-align: center;
    justify-content: center;
    background-color: #4a6d7c;
    padding: 10px 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    padding: 10px;
    font-weight: bold;
}

nav a:hover {
    border-top: 2px solid #fff;
}

main {
    text-align: center;
    padding: 20px;
}

main > section:nth-child(1) {
    margin-bottom: 30px;
}

main > section:nth-child(1) h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'Brush Script MT', cursive;
    color: #ffffff;
}

main > section:nth-child(1) img {
    width: 100%;
    max-width: 800px;
    height: auto;
}

.modra {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
    background-color: #d3d3d3;
    color: #000000;
}

.modra article {
    background-color: #ffffff;
    color: #000000;
    padding: 25px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-align: center;
}

.modra article h1 {
    font-size: 18px;
    margin-bottom: 10px;
}

.modra article h2 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #666666;
}

.modra article p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.modra article a {
    padding: 10px 40px;
    background-color: #4a6d7c;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}


.tmave {
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: #2f3e46;
    padding: 20px 0;
}

.tmave article {
    text-align: center;
    background-color: #fff;
    padding: 20px;
}

.tmave article img {
    width: 150px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.tmave article p {
    color: black;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    main > section:nth-child(1) img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    main h1 {
        display: none;
    }

    .modra {
        flex-direction: column;
        padding: 20px;
    }

    .modra article {
        width: 100%;
        max-width: 90%;
        margin: 10px auto;
    }

    .tmave {
        flex-direction: column;
        gap: 15px;
    }

    .tmave article {
        margin: 10px auto;
    }

    .tmave article img {
        width: 100%;
        max-width: 300px;
    }
}

