
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
}

a {
    text-decoration: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
}

header a {
    text-decoration: none;
    color: #333333
}


nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.app-button {
    background-color: #C23B22;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

main {
    padding: 40px;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-post {
    background-color: #f5f5f5;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}

.blog-post img {
    width: 100%;
    height: auto;
}

.blog-post-content {
    padding: 20px;
}

.blog-post-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.blog-post-description {
    font-size: 1em;
    color: #666;
}

.blog-post-header {
    position: relative;
    text-align: center;
    color: white;
}

.blog-post-header img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    height: 100%;
}

.blog-post-title-single {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); 
    font-size: 3em;
    padding: 10px 20px;
    border-radius: 5px;
}

.blog-post-content-single {
    padding: 20px;
}

.blog-post-content-single p {
    font-size: 1.1em;
    line-height: 1.6em;
    margin-bottom: 20px;
}

.main-blog-post{
    padding: 0px
}
.main-default {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    flex-wrap: wrap;
}

.description {
    width: 50%;
}

.description h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.description p {
    margin-bottom: 20px;
}

.main-default {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.intro {
    max-width: 600px;
    text-align: center;
    margin-bottom: 2rem;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro p {
    margin-bottom: 1rem;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.app-preview img {
    max-width: 100%;
    height: auto;
}

footer {
    background: #f8f8f8;
    padding: 1rem;
    text-align: center;
}

footer a {
    margin: 0 0.5rem;
    text-decoration: none;
    color: #333;
}

@media (min-width: 768px) {
    main {
        flex-direction: row;
        justify-content: space-around;
    }

    .intro {
        text-align: left;
        margin-bottom: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-button {
        margin-top: 10px;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    main {
        flex-direction: column;
        align-items: center;
    }

    .description {
        width: 100%;
    }

    .app-preview {
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        margin: 5px 0;
    }

    .app-button {
        align-self: center;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}
