:root {
    --color-1st: #421419; /* Primary color */
    --primary-font: "{{ theme_option(" primary_font ", " Roboto Condensed ") }}",
        sans-serif;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body {
    font-family: var(--primary-font);
    background: linear-gradient(135deg, #000000, #421419, #000000);
    color: white;
    line-height: 1.6;
}
* {
    padding: 0;
    margin: 0;
}

.model,
.model2 {
    display: none;
    position: fixed;
    padding-top: 100px;
    top: 0;
    left: 0;
    overflow: auto;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.model {
    z-index: 2;
}

.model2 {
    z-index: 1;
}

.model-content {
    position: relative;
    width: 80%;
    margin: auto;
    background-color: #fff;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.language_bar_list li a {
    background-color: #852c2c;
    color: white;
    border-radius: 10px;
    margin-right: 10px;
    margin-top: 6px;
    width: 150px;
    text-align: center;
}

.language_bar_list li a span {
    color: white;
}

.membership {
    color: #852c2c;
    margin-left: 200px;
}

.pagination .active {
    background: none;
}

#slider {
    margin: 20px auto;
    width: 100%;
    height: 100px;
    padding: 5px;
    position: relative;
}

.slide {
    list-style: none;
}

#slider > li {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
}

.love-btn-gp {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
}

.love-btn {
    outline: none;
    border: 1px solid #fff08d;
    padding: 5px 10px;
    background: transparent;
    color: white;
    border-radius: 3px;
    cursor: pointer;
}

.love-btn:active {
    opacity: 0.7;
}

.love-calculate-result-wrapper {
    display: none;
    width: 100%;
    animation-name: modal-zoom;
    animation-duration: 0.2s;
}

.love-calculate-result {
    margin: auto;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.love-result-rect-bg {
    width: 100%;
    padding: 10px 10px;
    background-color: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.love-result-name {
    width: 50px;
    text-align: right;
    color: black;
    font-family: "Montserrat", sans-serif;
    font-size: 90%;
}

.love-result-percent-container {
    position: relative;
    width: calc(100% - 100px);
    height: 5px;
    border-radius: 30px;
    background-color: black;
    overflow: hidden;
}

.love-result-percent {
    height: 100%;
    width: 0;
    border-radius: 30px;
    background-color: #33b5e5;
    position: absolute;
    top: 0;
    animation-name: percent;
    animation-duration: 2s;
    animation-timing-function: forwards;
}

.love-result-percent:hover {
    width: 300px;
}

.love-result-percent-text {
    width: 50px;
    color: black;
}

.love-loading-container {
    display: none;
    width: 100%;
    height: 357px;
}

.love-loading-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* .love-compatibility {
    z-index: 99999999;
    position: absolute;
} */

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #000;
    color: white;
}

.modal-body {
    padding: 2px 16px;
}

.header-top {
    background-color: #19080a;
    color: white;
    padding: 8px 20px;
}

/* Navigation bar */
.header-nav {
    background-color: #3b090f;
    color: white;
    padding: 10px 20px;
}

/* Hamburger button */
.hamburger-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 6px;
    transition: background 0.3s;
}
.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}
.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    margin: 3px 0;
    border-radius: 2px;
}

/* Profile dropdown */
.profile-dropdown {
    position: relative;
    display: inline-block;
}
.profile-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    cursor: pointer;
}
.profile-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 10px;
    background: #fff;
    color: #333;
    min-width: 180px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    z-index: 1000;
}
.profile-dropdown-menu div {
    padding: 10px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}
.profile-dropdown-menu a,
.profile-dropdown-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    border: none;
    background: none;
    cursor: pointer;
    color: #333;
}
.profile-dropdown-menu a:hover,
.profile-dropdown-menu button:hover {
    background: #f5f5f5;
}

@keyframes percent {
    0% {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

/* On smaller screens, decrease text size */
@media only screen and (min-width: 530px) {
    #slider {
        height: 150px;
    }
}

@media only screen and (min-width: 760px) {
    #slider {
        height: 200px;
    }
}

@media only screen and (min-width: 1100px) {
    #slider {
        height: 300px;
    }
}
