.main-body {
    margin-top: calc(var(--navbar-height) + var(--topbar-height));
    min-height: calc(100vh - var(--navbar-height) - var(--topbar-height));
}

body {
    background-color: var(--bg-clr-dark);
    color: var(--fg-clr-dark);
    font-family: "DM Sans", sans-serif;
    /* transition: color ease 300ms, background-color ease 300ms; */
}

body.light-mode {
    background-color: var(--bg-clr-light);
    /* background-color: white; */
    color: var(--fg-clr-light);
    font-family: "DM Sans", sans-serif;
}

body.light-mode img {
    color: var(--fg-clr-light);
}

hr.hr-brand {
    color: var(--brand-clr-1);
}

.navigation span.bi {
    color: var(--brand-clr-1);
    font-weight: bold;
}

.navigation a {
    color: white;
    transition: all ease 300ms;
    text-decoration: none;
}

body.light-mode .navigation a {
    color: var(--fg-clr-light);
}

.navigation a[href]:hover {
    color: var(--brand-clr-1);
}

.bg {
    background-color: var(--brand-bg-clr);
}

body.light-mode .bg {
    background-color: #cdcdcd;
}

.bg-card-1 {
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 var(--shadow-size) 0px rgba(0, 0, 0, 0.5);
    border-radius: 1rem!important;
}

.bg-card-2 {
    background-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 var(--shadow-size) 0px rgba(0, 0, 0, 0.65);
    border-radius: 1rem!important;
}

.text-underline-offset {
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: var(--brand-clr-1);
    line-height: 1.5;
}

/* .bg .text-underline-offset {
    text-decoration-color: var(--brand-clr-2);
} */

.anim {
    position: relative;
    top: 200px;
    opacity: 0;
    transition: top ease 800ms, opacity ease 800ms, color ease 300ms, background-color ease 300ms;
}

.anim.animate {
    position: relative;
    opacity: 1;
    top: 0px;
}

.text-anim {
    transform: scaleX(0);
    opacity: 0;
    transition: transform ease 500ms 300ms, opacity ease 500ms 300ms, color ease 300ms, background-color ease 300ms;
}

.text-anim.animate {
    transform: scaleX(1);
    opacity: 1;
}

div.contact-links a {
    color: var(--fg-clr-dark);
    padding: 1rem;
    background-color: rgba(255, 0, 0, 0.7);
    font-weight: bold;
    border-radius: 0.25rem;
    transition: all ease 300ms;
}

div.contact-links a:hover {
    background-color: rgba(255, 0, 0, 0.9);
}

button.mode-toggle-btn {
    bottom: 30px;
    right: 30px;
    background-color: white;
    border-color: var(--bg-clr-dark);
    border-radius: 50rem;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 999;
}

body.light-mode button.mode-toggle-btn {
    background-color: black;
    border-color: var(--bg-clr-light);
}

button.mode-toggle-btn .bi {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body .mode-toggle-btn .bi.bi-sun,
body .mode-toggle-btn .bi.bi-moon {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
    transition: all ease 500ms;
}

body .mode-toggle-btn .bi.bi-sun {
    color: orangered;
    filter: drop-shadow(0px 0px 2px orangered);
}

body.light-mode .mode-toggle-btn .bi.bi-sun {
    transform: translate(-50%, -50%) scale(0) rotate(-360deg);
    opacity: 0;
}

body.dark-mode .mode-toggle-btn .bi.bi-moon {
    transform: translate(-50%, -50%) scale(0) rotate(-360deg);
    opacity: 0;
}

@keyframes animate {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(calc(var(--client-container-width) * -1));
    }
}

#chatbot-open+label {
    bottom: 5rem!important;
    right: 25px!important;
    z-index: 998!important;
}