/* Reset some basic styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: auto;
    padding: 0 20px;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.sidebar {
    width: 25%;
    padding-right: 20px;
}

.content {
    width: 75%;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li a {
    display: block;
    padding: 10px 15px;
    background: #ddd;
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
    border-radius: 5px;
}

.sidebar ul li a:hover {
    background: #ccc;
}

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

.content .lead {
    font-size: 1.2rem;
    font-weight: bold;
}

.content .paragrafo {
    margin-bottom: 1rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #333;
    color: #fff;
    margin-top: 20px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column-reverse;
    }

    .sidebar, .content {
        width: 100%;
        padding-right: 0;
    }

    .sidebar {
        margin-bottom: 20px;
    }
}

.author-image {
    width: 236px;
    height: 346px;
}

.author-name {
    font-weight: bold;
}

.author-title {
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.planning-image {
    width: 260px;
    height: 173px;
}

.redaccao-image {
    width: 260px;
    height: 183px;
}

.imagem-image {
    width: 214px;
    height: 300px;
}

.grafismo-image {
    width: 100%;
    margin-bottom: 20px;
}

.grafismo-card {
    width: 345px;
    height: 216px;
    margin-top: 20px;
}

.content ul {
    padding-left: 40px;
}

.content h3 {
    margin-top: 20px;
}
