@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
    --primary-color: black;
    --secondary-color: #EB2300;
    --primary-alt: black;
    --primary-color_alt: #D4E2CC;
    --btn-color_alt: #E7ECF1;
    --alt-bg: #F2F7F1;
    --websiteWidth: 1440;
    --maxWebsiteWidth: 1800;
    --bodyWidth: 1258;
    --font-family: "Cinzel", serif;
}

.z-index-2 {
    z-index: 2;
}

.z-index-99 {
    z-index: 99;
}

.navbar-container {
    top: min(37* 1vw* 100 / var(--websiteWidth), 37* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px);
    left: 0;
    z-index: 99;
}

.hero {
    padding-top: min(31* 1vw* 100 / var(--websiteWidth), 37* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px);
    position: relative;
    background: url(../assets/bg/bg-003.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.navbar {
    background: white;
    padding-top: min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) 0;
    padding-bottom: min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) 0;
    border: 1px solid white;
}

.link-area {
    padding: min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) 0;
}

.link-area a {
    padding: min(9* 1vw* 100 / var(--websiteWidth), 9* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px);
    padding-left: 0;
    font-family: var(--font-family);
}

.list-item {
    padding: min(9* 1vw* 100 / var(--websiteWidth), 9* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px) min(10* 1vw* 100 / var(--websiteWidth), 10* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px);
    padding-left: min(20* 1vw* 100 / var(--websiteWidth), 20* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px);
}

.logo-area span {
    font-size: 8px;
    color: var(--secondary-color);
}

.text-sm {
    font-size: 8px;
}

.logo {
    width: min(100* 1vw* 100 / var(--websiteWidth), 100* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px);
    height: auto;
}


.index-main-container {
    position: relative;
    background: url(../assets/bg/bg-003.png);
    background-repeat: no-repeat;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    width: 100%;
}

.index-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.nav-link {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link:hover {
    background: var(--primary-color);
    color: white;
}

.nav-pills .nav-link.active {
    background: var(--primary-color) !important;
}

/* .hero {
    background: #F2F7F1;
} */

.min-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
    background: var(--secondary-color);
    color: white;
}

.hero h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -2%;
    text-align: center;
}

.p-text {
    font-family: Circular Std;
    font-weight: 450;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.9%;
    text-align: center;
    color: #333333;
}

.search-bar {
    max-width: 1000px;
    margin: 0 auto;
}

.manageSearch,
select {
    border: 1px solid #DADADA;
    cursor: pointer;
    background: white;
    width: 100%;
    color: rgb(115, 115, 115);
}

select:focus {
    border: 1px solid #DADADA;
}

.main-image {
    object-fit: contain;
    width: 100%;
    height: 200px;
    object-position: center center;
    border-radius: 8px;
}

.category-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
}

.post-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0%;
    color: #101828;
    display: flex;
    align-items: start;
    justify-content: space-between;
    transition: .3s ease-in-out;
    margin-bottom: 10px;
}

.post-title:hover {
    color: var(--primary-color);
    scale: 1.02;
}

.post-title svg {
    min-width: 24px;
    height: 24px;
}

.card {
    justify-content: space-between;
    height: 100%;
    box-shadow: 0px 4px 6px -2px #1018287a;
    border: none;
}

.post-summary {
    font-weight: 450;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #667085;
}

.author-name {
    color: #101828;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
}
.author-name span {
    color: #667085;
}
.avatar-image {
    width: 40px;
    height: 40px;
}

.upper-flex {
    column-gap: 20px;
}

.social-link {
    width: 30.94px;
    height: 30.94px;
    border-radius: 50%;
    padding: 10px;
    background: var(--primary-alt);
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-header-name, .post-header-category, .post-header-time {
    color: #FFCC00;
    font-family: Circular Std;
    font-weight: 450;
    font-size: 16px;
    line-height: 35px;
    letter-spacing: -1.5%;
    margin-bottom: 0;
}

.post-header-category {
    color: #AF52DE;
}

.post-header-time {
    color: #32ADE6;
}

.image_area {
    max-width: 600px;
    height: 294px;
    background: yellow;
}
.avatar-bg {
    width: 74px;
    height: 74px;
    background: grey;
    border-radius: 50%;
}

.comment_h4 {
    font-weight: 700;
    font-size: 24px;
    line-height: 60px;
    letter-spacing: -2%;
    color: var(--primary-alt);
}

.comment-card {
    width: 50%;
    background: #296E010D;
    padding: 10px;
    border-radius: 8px;
}

.comment_name, .comment_time  {
    margin-bottom: 0;
}

.comment_time, .comment_name {
    color: var(--primary-color);
    font-weight: 450;
    font-size: 12px;
    line-height: 30px;
    letter-spacing: -1.5%;
}

.comment_name {
    max-width: 74px;
    color: black;
}

@media only screen and (max-width: 991px) {
    :root {
        --websiteWidth: 575;
        --maxWebsiteWidth: 860;
        --bodyWidth: 535;
    }
}

@media only screen and (max-width: 768px) {
    .list-item {
        font-size: min(13* 1vw* 100 / var(--375), 13* var(--maxWebsiteWidth) / var(--websiteWidth)* 1px);
    }
    /* .navbar {
        background: var(--primary-color);
    } */
    .menu-bar {
        display: block;
        font-family: var(--font-family);
        font-weight: 700;
    }
    .dropdown-menu a {
        color: white;
    }
    .dropstart .dropdown-menu[data-bs-popper] {
        top: 130%;
        right: 0;
        margin-right: 0;
        width: 100%;
        border: 1px solid var(--secondary-color);
    }

    .list-item a {
        font-family: var(--font-family)!important;
    }
}

@media only screen and (max-width: 500px) {
    .hero h1 {
        font-size: 38px;
        line-height: 50px;
    }

    .p-text {
        font-size: 18px;
    }
    .comment-card {
        width: 100%;
    }
}