/*  Version: 1.6
    Last modified: 05-01-2025
    By: Ris Janssen
 */

/* --------------------- Variables --------------------- */
:root {
    --lightThemeBodyBG: #F0F0F0;
    --lightThemeHeaderBG: #e9e8e6;
    --lightThemeBodyText: #222222;

    --darkThemeBodyBG: #222222;
    --darkThemeHeaderBG: #303030;
    --darkThemeBodyText: #F0F0F0;
}

/* --------------------- GENERAL --------------------- */
body {
    font-family: 'IBM Plex Mono', monospace;
    background-color: #F0F0F0;
    color: var(--lightThemeBodyText);
}

[data-theme="dark"] body {
    background-color: var(--darkThemeBodyBG);
    color: #F0F0F0;
}

a {
    color: #19A7CE;
    text-decoration: none;
}

a:hover {
    color: #146C94;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Mono', monospace;
}

#main {
    margin-top: 50px;
    min-height: 100vh;
    height: 100%;
}

[data-theme="dark"] #main {
    background-color: var(--darkThemeBodyBG);
    color: var(--darkThemeBodyText);
}

@media (max-width: 992px) {
    #main {
        margin-top: 30px;
    }
}

input[type="checkbox"][id^="darkSwitch"] {
    display: none;
}

hr {
    color: var(--lightThemeBodyText);
}

[data-theme="dark"] hr {
    color: var(--darkThemeBodyText);
}

.music-logo {
    max-width: 80%;
    height: auto;
}

@media screen and (max-width: 767px) {
    .music-logo {
        max-width: 30%;
    }
}

/* --------------------- Dark/Light Toggle --------------------- */

#toggleIcon {
    color: #6f6f6f;
}

[data-theme="dark"] #toggleIcon {
    color: var(--darkThemeBodyText);
}

#toggleIcon:hover {
    color: #146C94;
}

/* --------------------- Header --------------------- */
#header {
    background: var(--lightThemeHeaderBG);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.08);
    z-index: 997;
    padding: 5px 0;
}

[data-theme="dark"] #header {
    background-color: var(--darkThemeHeaderBG);
}

#header #logo {
    font-size: 32px;
    font-family: 'IBM Plex Mono', monospace;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#header #logo a {
    color: #222222;
}

[data-theme="dark"] #header #logo a {
    color: #F0F0F0;
}

#header #logo img {
    max-height: 40px;
}

@media (max-width: 992px) {
    #header #logo {
        font-size: 28px;
    }
}

#logo, #header-sl {
    width: 235px; /* Pas deze waarde aan naar de gewenste breedte */
}

/* --------------------- Header Links --------------------- */
#header-sl a {
    color: #6f6f6f;
    padding-left: 6px;
    display: inline-block;
    line-height: 0;
    transition: 0.3s;
    font-size: 16px;
}

#header-sl a:hover {
    color: #146C94;
}

/* --------------------- Desktop navbar --------------------- */
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
    padding: 10px 0 10px 28px;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 15px;
    font-weight: 600;
    color: #969696;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
}

[data-theme="dark"] .navbar a,
.navbar a:focus {
    color: #919090;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar > ul > li > a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #146C94;
    visibility: hidden;
    transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover > a:before,
.navbar .active:before {
    visibility: visible;
    width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: #146C94;
}

[data-theme="dark"] .navbar li:hover > a {
    color: #F0F0F0;
}

[data-theme="dark"] .navbar .active {
    color: #F0F0F0;
}

.navbar span {
    font-size: 15px;
    font-weight: 600;
    color: #969696;
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--lightThemeHeaderBG);
    box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 4px;
}

[data-theme="dark"] .navbar .dropdown ul {
    background-color: var(--darkThemeHeaderBG);
    box-shadow: 0 0 1px rgba(127, 137, 161, 0.25);
}

.navbar .dropdown ul li {
    min-width: 200px;
    padding: 0;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 600;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
    color: #146C94;
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

.line-vertical {
    width: 1px;
    height: 1.5em;
    margin: 0;
    background-color: #888888;
}

@media (max-width: 991px) {
    .liNav {
        display: none;
    }
}

/* --------------------- Mobile navbar --------------------- */
.mobile-nav-toggle {
    color: var(--lightThemeBodyText);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

[data-theme="dark"] .mobile-nav-toggle {
    color: var(--darkThemeBodyText);
}

.mobile-nav-toggle.bi-x {
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }

    .line-vertical {
        display: none;
    }

    .navbar a:hover:before,
    .navbar li:hover > a:before,
    .navbar .active:before {
        width: 0;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(9, 9, 9, 0.9);
    transition: 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    left: 15px;
    padding: 10px 0;
    border-radius: 10px;
    background-color: var(--lightThemeHeaderBG);
    overflow-y: auto;
    transition: 0.3s;
}

[data-theme="dark"] .navbar-mobile ul {
    background-color: var(--darkThemeHeaderBG);
}

.navbar-mobile a,
.navbar-mobile a:focus {
    font-size: 15px;
    padding-right: 15px;
    color: #888888;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
    color: #146C94;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: var(--lightThemeHeaderBG);
    box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
}

[data-theme="dark"] .navbar-mobile .dropdown ul {
    background-color: var(--darkThemeHeaderBG);
    box-shadow: 0 0 1px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
    color: #146C94;
}

.navbar-mobile .dropdown > .dropdown-active {
    display: block;
}

/* --------------------- Frontpage hero --------------------- */
#hero {
    width: 100%;
    height: 100vh;
}

[data-theme="dark"] #hero {
    background-color: var(--darkThemeBodyBG);
}

#hero .container {
    padding-top: 70px;
    position: relative;
}

@media (max-width: 992px) {
    #hero .container {
        padding-top: 58px;
    }
}

#hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: #222222;
}

#hero h2 {
    text-align: center;
}

[data-theme="dark"] #hero h1 {
    color: #F0F0F0;
}

#hero h2 {
    color: #6f6f6f;
    margin: 10px 0 0 0;
    font-size: 22px;
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

@media (max-width: 992px) {
    #hero:before {
        content: "";
        background: rgba(255, 255, 255, 0.8);
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }

    [data-theme="dark"] #hero:before {
        background: #222222;
    }

    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    #hero h2 {
        font-size: 18px;
        line-height: 24px;
    }
}

/* --------------------- Preloader --------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #146C94;
    border-top-color: #dcf5f2;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --------------------- Back-to-top --------------------- */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #19A7CE;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

[data-theme="dark"] .back-to-top {
    background: #146C94;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #146C94;
    color: #fff;
}

[data-theme="dark"] .back-to-top:hover {
    background: #115777;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* --------------------- Footer --------------------- */
#footer {
    background: #e9e8e6;
    padding: 10px 0;
    color: #222222;
    font-size: 0.75rem;
    text-align: center;
}

[data-theme="dark"] #footer {
    background-color: rgb(48, 48, 48);
    color: #e9e8e6;
}

/* --------------------- Sections --------------------- */
section {
    padding: 60px 0;
}

.section-bg {
    background-color: #e7f8f6;
}

[data-theme="dark"] .section-bg {
    background-color: var(--darkThemeBodyBG);
}

.section-title {
    text-align: center;
    padding-bottom: 10px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: #222222;
    bottom: 0;
    left: calc(50% - 25px);
}

[data-theme="dark"] .section-title h2::after {
    background: #e7f8f6;
}

.section-title p {
    margin-bottom: 0;
}

.subsection {
    padding: 0 0 60px 0;
}

/* --------------------- Boxcard --------------------- */
.boxcard .icon-box {
    height: 100%;
    text-align: left;
    padding: 30px 20px 40px 20px;
    transition: all ease-in-out 0.3s;
    background: #fff;
    box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .boxcard .icon-box {
    background-color: var(--darkThemeHeaderBG);
}

.boxcard .icon-box .icon {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.3s;
    position: relative;
}

.boxcard .icon-box .icon i {
    font-size: 36px;
    transition: 0.5s;
    position: relative;
}

.boxcard .icon-box h4 {
    font-weight: 600;
    margin: 10px 0 15px 0;
    font-size: 22px;
    text-align: center;
}

.boxcard .icon-box h4 a {
    color: #222222;
    transition: ease-in-out 0.3s;
}

.boxcard .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

[data-theme="dark"] .boxcard .icon-box p {
    color: var(--darkThemeBodyText);
}

/* --------------------- Contact form --------------------- */
#frmContact {
    height: 100%;
}

.label {
    margin: 2px 0;
}

input {
    width: 75%;
    border-radius: 4px;
    padding: 15px;
    font-size: 1em;
    border: 1px solid #A1A1A1;
    font-family: 'IBM Plex Mono', monospace;
}

textarea {
    border-radius: 4px;
    width: 100%;
    padding: 15px;
    border: 1px solid #A1A1A1;
    font-size: 1.2em;
    resize: none;
}

button {
    padding: 12px;
    background: #19A7CE;
    border: none;
    font-size: 1em;
    cursor: pointer;
}

button:hover {
    background: #146C94;
}

#message {
    padding: 0;
}

#mail-status {
    padding: 5px 5px;
    width: auto;
    display: none;
    font-size: 1em;
    color: rgb(40, 40, 40);
}

.error {
    background-color: #F7902D;
    margin-bottom: 10px;
}

.success {
    background-color: #48e0a4;
}

.g-recaptcha {
    margin: 10px 0 10px 0;
}


@media all and (max-width: 991px) {
    input {
        width: 100%;
    }

    #comment-content {
        width: 100%;
    }
}

/* --------------------- Login / Register form --------------------- */
#formcard {
    background-color: var(--lightThemeHeaderBG);
    color: var(--lightThemeBodyText)
}

[data-theme="dark"] #formcard {
    background-color: var(--darkThemeHeaderBG);
    color: var(--darkThemeBodyText);
}

@media screen and (min-width: 768px) and (max-width: 980px) {
    .card {
        width: 50% !important;
        display: initial;
    }
}

/* --------------------- Buttons --------------------- */
.btn-rj {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 4px;
    transition: 0.5s;
    margin-top: 30px;
    color: #fff;
    background: #19A7CE;
    outline: none;
    border: none;
}

[data-theme="dark"] .btn-rj {
    background: #146C94;
    color: #F0F0F0;
}

.btn-rj:hover {
    background: #146C94;
    color: #fff;
}

[data-theme="dark"] .btn-rj:hover {
    background: #115777;
}

/* --------------------- User Info --------------------- */
.userIcon {
    font-size: 5rem;
}

/* --------------------- User Table --------------------- */
.tbodyDiv {
    max-height: clamp(5em, 50vh, 250px);
    overflow: auto;
}

[data-theme="dark"] .tbodyDiv {
    background-color: var(--lightThemeHeaderBG);
}