* {
    list-style: none;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background: #ffe259;
    background-size: cover;
    background-repeat: repeat;
    background: var(--mango-gradient);
    font-family: var(--main-font);
    
}

html {
    scroll-behavior: smooth;

}

/* Variables */
:root {
    --primary-gradient: linear-gradient(to right, rgb(133, 1, 1, 0.5), rgb(0, 0, 0, 0.5));
    --mango-gradient: linear-gradient(to right, #ffa751, #ffe259);
    --text-color: #F7F9f9;
    --main-font: "Montserrat", "Century Gothic", "Arial", sans-serif;
    --primary-shadow: 3px 4px 7px rgba(27, 27, 27, 0.534);
    --border-color: rgba(0, 0, 0, 329);
}

.main-container {
    width: 100%;
    min-height: 100%;
    position: relative;
    display: flex;
    padding: 30px;
    margin-top: 50px;
}

.sidebar, .main-content {
    margin: 10px;
    padding: 10px;
    background-color: #f1e7ae;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
}

.sidebar {
    width: 20%;
}

.main-content {
    width: 80%;
}

hr {
    color: rgba(0, 0, 0, 0.5)
}

@media (max-width: 700px) {
    .body-container {
        margin-left: 27px;
        width: 90%;
    }
}

.container {
    width: 100%;
    min-height: 100vh;
    padding: 10px 8%;
}

.logo {
    width: 160px;
    cursor: pointer;
    padding: 8px 8px;
}

.dk-navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    z-index: 99;
}

.dk-bg-maroon {
    background: var(--primary-gradient);
    background: maroon;
    color: white;
}


.dk-bg-msu-arc {
    background-image: url("/kalimodan-ver2/assets/msuarc.jpg");
    background-size: cover;
    background-repeat: repeat;
}

/* Card Slider */
.card-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card-item-container {
    position: relative;
    margin: 24px;
    width: 320px;
    height: 570px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.card-img-container, .card-body-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-img-container img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.card-body-container {
    position: relative;
}

.card-overlay {
    position: relative;
    width: 100%;
    height: 170px;
    background-color: rgba(128, 0, 0, 0.6);
    opacity: 0;
    transition: height linear 0.4s, opacity linear 0.2s;
}

.card-item-container:hover .card-overlay {
    opacity: 1;
    height: 150px;
}

.card-info {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.title, .price {
    color: maroon;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 12px;
    text-align: center;
} 

.info {
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.separator {
    width: 20%;
    height: 6px;
    background-color: maroon;
    margin-bottom: 16px;
}

.additional-info {
    border-top: 1px solid #bbb;
    margin-top: 12px;
    padding: 28px;
    padding-bottom: 0;
}

.additional-info .info {
    font-size: 0.9em;
    margin-bottom: 20px;
    text-align: center;
}

.info i {
    color: maroon;
    font-size: 1.1em;
    margin-right: 4px;
}

.info span {
    color: maroon;
    font-weight: bolder;
}

.action {
    color: #fff;
    border: 3px solid #fff;
    background-color: transparent;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    outline: none;
    cursor: pointer;
    padding: 12px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: background-color 0.4s, top 0.4s;
}

.card-item-container:hover .action {
    top: 50px;
}

.more-circle-btn {
    background-color: maroon;
    color: white;
    padding: 20px;
    border: none;
    outline: none;
    position: relative;
    margin-bottom: 48px;
    border-radius: 10px;
    cursor: pointer;
}

.more-circle-btn:hover {
    background-color: #ffd700;
    color: black;
}

.action:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.description {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* fallback for non-WebKit based browsers */
    display: -moz-box;
    -moz-line-clamp: 5; /* Limit to 3 lines */
    -moz-box-orient: vertical;
    overflow: hidden;
    /* fallback for other modern browsers */
    display: -ms-box;
    -ms-line-clamp: 5; /* Limit to 3 lines */
    -ms-box-orient: vertical;
    overflow: hidden;
    /* fallback for potential future implementations */
    display: box;
    line-clamp: 5; /* Limit to 3 lines */
    box-orient: vertical;
    overflow: hidden;
}

.section-title {
    color: white;
    text-shadow: var(--primary-shadow);
    text-align: center;
}

footer {
    margin-bottom: 0;
}

/* Scrollable Tab Container */
.scrollable-tabs-container {
    max-width: 90%;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.scrollable-tabs-container .scroll-btn {
    color: black;
    font-weight: bolder;
    padding: 10px;
    width: 10px;
    cursor: pointer;
    vertical-align: middle;
    padding-bottom: 10px;
}

.scrollable-tabs-container ul {
    display: flex;
    gap: 16px;
    padding: 12px 24px;
    margin: 0;
    list-style: none;
    overflow-x: hidden;
    -ms-overflow-style: none; /* Hides scrollbar in Internet Explorer and Edge */
    scrollbar-width: none; /* Hides scrollbar in Firefox */
    scroll-behavior: smooth;
}

.scrollable-tabs-container a {
    text-decoration: none;
    background-color: #ccc;
    color: black;
    padding: 4px 12px;
    display: inline-block;
    border-radius: 4px;
    user-select: none;
    white-space: nowrap;
}

.scrollable-tabs-container a.active {
    background-color: maroon;
    color: white;
}

.scrollable-tabs-container .prev-btn,
.scrollable-tabs-container .next-btn {
    position: absolute;
    height: 100%;
    width: 100px;
    top: 0;
    display: none;
    align-items: center;
    padding: 0 10px;
}

.scrollable-tabs-container .next-btn {
    right: 0;
    background: linear-gradient(to left, #f1e7ae 50%, transparent);
    justify-content: flex-end;
}

.scrollable-tabs-container .prev-btn {
    left: 0;
    background: linear-gradient(to right, #f1e7ae 50%, transparent);
    justify-content: flex-start;
}

.scrollable-tabs-container .next-btn.active,
.scrollable-tabs-container .prev-btn.active {
    display: flex;
}

.scrollable-tabs-container .prev-btn:hover {
    background: linear-gradient(to right, maroon 20%, transparent);
    color: white;
    border-radius: 10px;
}

.scrollable-tabs-container .next-btn:hover {
    background: linear-gradient(to left, maroon 20%, transparent);
    color: white;
    border-radius: 10px;

}

.btn {
    border-radius: 10px;
    border: none;
    outline: none;
    float: right;
}

.w3-third {
    width: 20% !important;
}

@media (max-width: 1000px) {
    .w3-third {
        width: auto !important;
    }

    .scrollable-tabs-container {
        overflow-x: scroll;
    }

    .scroll-btn {
        display: none;
    }
}

/* Pagination */
.current-page {
    background-color: maroon;
    color: white;
    font-weight: bold;
}

.pagination {
    float: right;
}

/* Verification badge */

span.registered-badge {
    color: blue;
}

span.warning-badge {
    color: red;
}

span.special-badge {
    color: #ffd700;
}

/* Thumbnails */

.thumbnail {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 250px;
    margin: auto;
    text-align: center;
    margin-top: 10px;
}

.thumbnail-container {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    margin: 10px;
}

.thumbnail-description {
    color: grey;
    font-size: 18px;
}

.thumbnail-container button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: maroon;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    border-radius: 25px;
}

.thumbnail-container button:hover {
    background-color: #ffd700;
    color: black;
}

.thumbnail-container a {
    text-decoration: none;
    font-size: 12px;
    color: maroon;
}

/* Label asterisk (mandatory input) */
.mandatory:after {
    content: '*';
    color: red;
}


