body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background: #c2aa91;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    background: #f5f2ec;
    border: 1px solid #e3d4c5;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.logo {
    font-size: 28px;
    color: #444;
    font-family: Georgia, serif;
}

.logo span {
    color: #d5643c;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #444;
    font-weight: bold;
}

.hero {
    background: url('notes.jpg') no-repeat center center;
    background-size: cover;
    height: 180px;
    margin: 20px 0;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    box-sizing: border-box;
}

.hero-text h1 {
    margin: 0;
    font-size: 24px;
    background-color: rgb(72, 72, 72, 0.5);
    border-radius: 10px;
}

.hero-text p {
    font-size: 16px;
    color: #fff4e0;
    background-color: rgb(72, 72, 72, 0.5);
    border-radius: 10px;
}
.hero-text{
    padding-bottom: 40px;
}

main {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-content {
    flex: 2;
    min-width: 300px;
}

.main-content h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.main-content h3 {
    color: #d5643c;
    margin-bottom: 15px;
}

.content {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 15px;

}

.content img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 14px 6px 14px 0;
}

.main-content a {
    color: #d5643c;
    text-decoration: underline;
}

.side-content {
    flex: 1;
    min-width: 250px;
}

.side-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.side-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin: 14px 6px 14px 0;
}

.side-item a {
    color: #d5643c;
    text-decoration: underline;
}

footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 20px;
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 10px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        height: 150px;
        padding: 10px;
    }

    .hero-text h1 {
        font-size: 20px;
    }

    .hero-text p {
        font-size: 14px;
    }
    main{
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .content {
        flex-direction: column;
    }

    .content img {
        width: 100%;
        height: auto;
    }

    .side-item {
        flex-direction: column;
    }

    .side-item img {
        width: 100%;
        height: auto;
    }

    nav ul {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 5px 0;
    }
}
