@font-face {
    font-family: 'neue';
    src: url(https://dh-bucket-oregon.s3-us-west-2.amazonaws.com/css/Neue.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    padding-top: 0 !important;
}

/* nav */

[data-bs-theme="dark"] .logo-light {
    display: none;
}
[data-bs-theme="dark"] .logo-dark {
    display: block;
}

html:not([data-bs-theme="dark"]) .logo-light {
    display: block;
}

html:not([data-bs-theme="dark"]) .logo-dark {
    display: none;
}

.site-header .dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    /* remove the gap so it doesn't close */
}

.logo-img {
    width: 140px;
}

.join-button {
    background-image: linear-gradient(132deg, #4b39ef, #ee8b60);
    max-width: min-content;
    font-weight: 600;
}

/*  */

.registration-container {
    max-width: 526px;
}

.light-dark-slider-handle {
    width: 36px;
}

.small-text {
    font-size: 0.8em;
}

.opacity-7 {
    opacity: 0.7 !important;
}

.w-60 {
    width: 60% !important;
}

body:not(.exclude-bg) {
    background: linear-gradient(-30deg, #ffffff 50%, #fafafa 50%);
}

[data-bs-theme="dark"] body:not(.exclude-bg) {
    background: linear-gradient(-30deg, #151819 50%, #111214 50%);
}

html[data-bs-theme="dark"] body.promo-bg {
    background-color: #0d1117;
}

.gradient-text {
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient(132deg, #4b39ef, #ee8b60) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

.gradient-background {
    background-image: linear-gradient(132deg, #4b39ef, #ee8b60) !important;
    border: 1px solid #111214 !important;
}

.logo-img {
    width: 140px;
}

.reduce-opacity {
    opacity: 0.2 !important;
}

.accordion-button-exclude::after {
    content: "\f457" !important;
    font-family: "bootstrap-icons" !important;
    --bs-accordion-btn-icon: '' !important;
    --bs-accordion-btn-active-icon: '' !important;
    transform: none !important;
}

#dh-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    border-radius: 0;
}

/* dark mode toggle */
:root {
    --light: #d8dbe0;
    --dark: #28292c;
    --link: rgb(27, 129, 112);
    --link-hover: rgb(24, 94, 82);
}

.dark-mode-container {
    transform: rotate(-90deg) translateY(-48px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    z-index: 100;
    background-color: var(--bs-body-bg);
    padding: 2px 8px;
    border-radius: 10px;
}

.toggle-switch {
    position: relative;
    width: 200px;
}

label.dark-mode {
    position: relative;
    width: 100%;
    height: 15px;
    background-color: var(--dark);
    border-radius: 50px;
    cursor: pointer;
    width: 30px;
}

.dark-mode input {
    position: absolute;
    display: none;
}

.dark-mode .slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    transition: 0.3s;
}

.dark-mode input:checked~.slider {
    background-color: var(--light);
}

.dark-mode .slider::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    box-shadow: inset 4px -1px 0px 0px var(--light);
    background-color: var(--dark);
    transition: 0.3s;
}

.dark-mode input:checked~.slider::before {
    transform: translateX(15px);
    background-color: var(--dark);
    box-shadow: none;
}

.dark-mode a {
    position: relative;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    top: 150px;
    left: 10px;
    font-size: 10px;
    text-decoration: none;
    color: var(--link);
    font-weight: bold;
    text-align: center;
}

.dark-mode a:hover {
    color: var(--link-hover);
}

@media only screen and (max-width: 600px) {
    .dark-mode-container {
        top: unset;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* alerts */
.alert-container {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

@media (max-width: 700px) {
    .transparent-logo {
        width: 130px;
        object-fit: contain;
    }
}

@media (max-width: 400px) {
    .transparent-logo {
        width: 100px;
        object-fit: contain;
    }
}