* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    object-fit: cover;
    font-family: "Nunito", sans-serif;
    text-decoration: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
    background-color: #f1f1f1;
    color: #333333;
    border-bottom: 1px solid #d5d5d5;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.logo-text {
    font-size: 12px;
    margin-left: 10px;
}

.logo-text a {
    color: #117AF1;
    text-decoration: none;
    font-weight: bold;
}

.logo {
    width: auto;
    height: 35px;
    margin-left: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.nav-link {
    margin-right: 20px;
    font-size: 14px;
    font-weight: normal;
    color: #117AF1;
    cursor: pointer;
    border: 1px solid #117AF1;
    padding: 5px 10px;
    background-color: #ffffff;
    border-radius: 5px;
}

.search-container {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.search-bar {
    width: 200px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #d5d5d5;
    padding: 5px;
}

.search-button {
    height: 30px;
    border-radius: 5px;
    background-color: #117AF1;
    color: #f1f1f1;
    margin-left: 5px;
    padding: 5px 10px;
}

.categories-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: #f1f1f1;
    color: #333333;
    border-bottom: 1px solid #d5d5d5;
}

.category-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    border-right: 1px solid #d5d5d5;
    cursor: pointer;
}

.category-tab p {
    font-size: 14px;
    font-weight: bold;
}

.category-tab.selected p {
    color: #117AF1;
}

.category-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
    background-color: #ffffff;
    height: 100%;
}

.category-item {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #efefef;
}

.item-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: top;
}

.item-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.item-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    flex-grow: 1;
}

.item-author {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.item-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    background-color: #e9f3ff;
    color: #117AF1;
    border: 1px solid #117AF1;
}