* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.hero-image {
    position: relative;
    margin-top: 80px;
    width: 100%;
    height: auto;
}

.logo img {
    width: 300px;
    height: auto;
}

.cta-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #d32f2f;
    color: #fff;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;   
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li a,
.social-media a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.social-media a:hover {
    color: #ff6600;
}

.section-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
}

.column {
    flex: 1 1 45%;
}

.profile-image {
    margin-top: 20px;
    width: 100%;
}

.profile-image1 {
    border-radius: 8px;
    height: auto;
    max-width: 100%;
}

.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.about-text {
    flex: 1;
}

.instagram-container1 {
    width: 900px;
    max-width: 100%;
    overflow: hidden;
}

.instagram-container iframe,
.instagram-container blockquote {
    width: 100%;
    height: 900px;
}

.instagram-embed {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.profile-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post video {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.social-media {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cta-button {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        width: 100%;
        font-size: 20px;
        padding: 15px 20px;
    }

    .nav-links {
        flex-direction: column;
        right: 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .logo img {
        max-width: 200px;
    }
    .profile-image1 {
        max-width: 80%;      /* zmniejsz obraz na mniejszych ekranach */
        display: block;
        margin: 0 auto;      /* wyśrodkuj obraz */
    }

    .about-content {
        flex-direction: column;
    }

    .section-columns {
        flex-direction: column;
    }
}
