@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --primary: #642d8a;
    --secondary: #8342b1;
    --text-dark: #333;
    --text-light: #666;
    --background: #f8f8f8;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    height: 10rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    background: #fafaf2;
    box-shadow: #959da533 0px 8px 24px;
}

.logo img {
    height: 8rem;
}

header .container {
    height: 100%;
}

header .container,
.links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.links a {
    color: black;
    text-decoration: none;
}

.links a button.empty {
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.menu {
    font-size: 3rem;
    display: none;
}

@media (max-width: 660px) {
    .menu {
        display: block;
    }
    
    header .links {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        height: calc(100vh - 10rem);
        position: fixed;
        top: 10rem;
        background: #000000b8;
        backdrop-filter: blur(15px);
        width: 100%;
        padding: 5rem 0;
        left: 0px;
        transition: all 0.3s ease 0s;
        transform: translateX(100%);
    }

    .links.active {
        transform: translateX(0%) !important;
    }

    header .links a {
        color: white;
    }

    header .links a button.empty {
        border-color: white;
        color: white;
    }
}

/* Main Content */
main {
    margin-top: 10rem;
    padding: 4rem 0;
}

.content-section {
    padding: 2rem 0;
}

.content-header {
    text-align: center;
    margin-bottom: 4rem;
}

.content-header h1 {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.content-header p {
    font-size: 1.8rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 1rem 2rem;
    border: none;
    background: white;
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.filter-btn:hover {
    background: var(--primary);
    color: white;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
}

.content-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-card-body {
    padding: 2rem;
}

.content-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.content-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.content-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.content-tag {
    background: var(--background);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: white;
    padding: 2rem 0;
    margin-top: 6rem;
    text-align: center;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 56.25%;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        padding: 0 1rem;
    }

    .menu {
        display: block;
    }

    header .links {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        height: calc(100vh - 10rem);
        position: fixed;
        top: 10rem;
        background: #000000b8;
        backdrop-filter: blur(15px);
        width: 100%;
        padding: 5rem 0;
        left: 0px;
        transition: all 0.3s ease 0s;
        transform: translateX(100%);
    }

    .links.active {
        transform: translateX(0%);
    }

    header .links a {
        color: white;
    }

    header .links a button.empty {
        border-color: white;
        color: white;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }

    .content-header h1 {
        font-size: 3rem;
    }
} 