body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-image: url("bgnomnom.jpg");
    color: #4b2e2e;
}

.card {
    max-width: 1000px;
    margin: 40px auto;
    background: #ffe4ec;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin: 0;
    color: #4b2e2e;
}

.subheading {
    font-size: 18px;
    color: #a87575;
}

nav {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

nav button {
    background-color: #d7a09e;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

nav button:hover {
    background-color: #b87b7a;
}

.content {
    display: flex;
    gap: 20px;
}

.sidebar {
    background: #fde1d9;
    padding: 20px;
    width: 250px;
    border-radius: 15px;
    text-align: center;
}

.sidebar img {
    width: 100%;
    border-radius: 10px;
}

.note {
    color: #b87b7a;
    font-style: italic;
}

main h3 {
    font-size: 28px;
    margin-top: 0;
}

.highlight {
    background-color: #f7d7d0;
    padding: 10px;
    border-left: 5px solid #b87b7a;
}

.pictures {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pictures img {
    max-height: 300px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.pictures img:hover {
    transform: scale(1.03);
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.popup-content {
    max-width: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* TABLET */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    header h1 {
        font-size: 2.3rem;
        text-align: center;
    }

    nav button {
        flex: 1;
        text-align: center;
    }

    .pictures img {
        max-height: 200px;
    }
}

/* PHONE */
@media (max-width: 480px) {
    .card {
        margin: 10px;
        padding: 15px;
    }

    header h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    nav button {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
        width: 100%;
    }

    .content {
        flex-direction: column;
        gap: 10px;
    }

    .sidebar {
        padding: 15px;
    }

    main h3 {
        font-size: 1.4rem;
    }

    .pictures img {
        max-height: 150px;
    }
}
