/* =========================
   TYPOGRAFI
   ========================= */

body {
    font-family: "DM Sans", sans-serif;
}

h1 {
    font-family: "Poppins", sans-serif;
}

h2,
h3,
h4 {
    font-family: "DM Sans", sans-serif;
}


/* =========================
   SPECIFIKA ELEMENT
   ========================= */

.termsButton {
    display: inline-block;
    padding: 7px;
    background-color: #6b190f;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.termsButton a {
    color: #e3b97a;
    text-decoration: none;
    font-weight: 800;
}

.termsButton:hover {
    background-color: #45160f;
}

.rules-box {
    margin: 15px 0;
}

.rules-box summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e3b97a;
    background: #6b190f;
    padding: 8px 14px;
    border-radius: 6px;
    width: fit-content;
}

.rules-box summary::-webkit-details-marker {
    display: none;
}

.rules-box summary::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #e3b97a;
    border-bottom: 2px solid #e3b97a;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.rules-box[open] summary::before {
    transform: rotate(45deg);
}

.rules-box ul {
    margin-top: 10px;
    padding-left: 20px;
}


/* =========================
   GENERELL MENYSTIL
   ========================= */

.menu a {
    color: #bd9c69;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}

.menu a:hover,
.menu .mainMenuSelected a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 10px;
    font-weight: 400;
}

#divMobileMenu a:hover,
#divMobileMenu .mainMenuSelected a {
    font-weight: 400;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 10px;
}

.desktop-left .smalMenu a,
.desktop-right .smalMenu a {
    font-size: 18px;
}


/* =========================
   NAVBAR / BAKGRUND
   ========================= */

.desktop-navbar,
.mobile-navbar {
    background-color: #6b190f;
}

.navbar {
    border: none;
    box-shadow: none;
}


/* =========================
   DESKTOPMENY
   ========================= */

.desktop-navbar {
    display: block;
    border: none;
    margin-bottom: 0;
    position: relative;
    min-height: 210px;
}

.desktop-menu-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 170px;
}

.desktop-left,
.desktop-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.desktop-left {
    justify-content: flex-end;
    padding-right: 70px;
}

.desktop-right {
    justify-content: flex-start;
    padding-left: 70px;
}

.desktop-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.desktop-center img {
    height: 120px;
    width: auto;
}

.desktop-left ul,
.desktop-right ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.desktop-left li {
    margin-right: 50px;
}

.desktop-right li {
    margin-left: 50px;
}

.lang-switch {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}


/* =========================
   MOBILMENY
   ========================= */

.mobile-navbar {
    display: none;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: #bd9c69;
    margin: 4px 0 6px;
    border-radius: 4px;
    transition: 0.3s ease;
}

#divMobileMenu ul {
    list-style: none;
    padding: 0;
    text-align: right;
    margin: 0;
}

#divMobileMenu li {
    padding: 10px;
    color: #bd9c69;
    margin: 10px 0;
}

#divMobileMenu a {
    font-size: 18px;
    color: #bd9c69;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.25s ease;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
    .desktop-navbar {
        display: none;
    }

    .mobile-navbar {
        display: block;
    }
}


/* =========================
   LOGIN SECTION
   ========================= */

.loginMenu hr {
    background-color: #000;
}

.colorLoginBox {
    color: #fff !important;
}

.loginMenu .btn-info:nth-child(1),
.loginMenu .btn-info:nth-child(2),
.loginMenu .btn-warning {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.loginMenu .btn-info:nth-child(1):hover,
.loginMenu .btn-info:nth-child(2):hover,
.loginMenu .btn-warning:hover {
    background-color: #fff !important;
    color: #000 !important;
}