@font-face {
    font-family: 'OpenSansLight';
    /* src: url('myfont.woff') format('woff'), */
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    src: url('../fonts/OpenSans-Light.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}

body {
    font-family: 'OpenSansLight', sans-serif;
    overflow-x: hidden !important;
    /* Prevent horizontal scroll */
    padding-right: 0px!important;
}

.bg-kalender {
    /* background: linear-gradient(
      rgba(64, 133, 185, 0.6), 
      rgba(63, 104, 134, 0.9)
    ), url("../img/background.jpg"); */
    background: url("../img/background1.jpg");
    min-height: 75vh;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
    background-position: 60% 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'OpenSansLight', sans-serif;
    /* overflow: hidden; */
    width: 100%;
}


.uppercase {
    text-transform: uppercase;
}

.card {
    background-color: transparent;
    background-size: cover;
    background-position: center;
    color: #0c2e53;
}

.card.opened {
    opacity: #ffffffaa;
}

.border-thick {
    border-width: 2px;
}

.card {
    border-color: #0c2e53;
    cursor: pointer;
    line-height: 8vh;
}

.card:hover {
    border-color: #56788d;
    color: #56788d;
}


#kalender-date {
    color: #1c5886;
}

button:focus {
    outline: 0;
}

.icon-button {
    width: 30px;
    height: 30px;
    padding: 3px;
    padding-top: 0px;
}

.icon-button img {
    width: 90%;
    /* height: 100%; */
}

.floating-close {
    position: absolute;
top: 12px;
    right: 12px;
        width: 24px;
    height: 24px;
    color: #000;
    z-index: 100;
}



/* FULLSCREEN */
.fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    /* Ensures the image fits without distortion */
    background-color: black;
    z-index: 9999;
    cursor: pointer;
    /* Allows user to click to exit */
}

/* MODAL */
@media (min-width: 1400px) {
    .modal-xl {
        width: 90vw;
        /* 90% of the viewport width */
        height: calc(85vw * 9 / 16);
        /* Calculate height for 16:9 ratio */
        max-height: 80vh;
        /* Ensure it doesn't exceed 90% of viewport height */
        max-width: calc((90vh - 70px) * 16 / 9);
        /* Ensure it scales proportionally */
    }
}

/* @media (min-width: 576px) {
    .modal-xl {
        max-width: none;
    }
} */
@media (min-width: 1200px) {

    .h1,
    h1 {
        font-size: 2rem;
    }
}

.card-content #game-inner,
.card-cheat #game-inner {
    display: none;
}

.card-game #content-inner {
    display: none;
}

.card-cheat {
    /* background-color: #010511;
    color: #fff; */
}

.card-cheat .floating-close {
    /* background-image: url("../img/xmark-black.svg"); */
    top: 12px;
    right: 12px;
    color: #000;
}

.card-cheat .modal-content {
    background-color: #030203;
    color: #fff;
}

.card-cheat .modal-footer {
    display: none;
}

.card-cheat .modal-text {
    font-weight: bold;
    font-size: 20px;
}

.card-cheat .icon-button {
    display: none;
}

/*
MINI GAMES 
-------------------------------------------------- */

.card-game #downloadButton,
.card-game #fullscreenButton {
    display: none;
}

#game-inner {
    padding: 36px;
    padding-bottom: 0px;
    background-size: 100%;
    background-position: 0% 0%;
    background-repeat: no-repeat;
}

/* .card-game
.card-game h1 {
    font-size: 50px;
}
 */
.card-game h2 {
    font-size: 1.5rem;
}

.card-game h3 {
    font-size: 1.2rem;
}

.card-game .header-row {
    margin-top: 50px;
    margin-bottom: 36px;
}

.card-game .header-row.header-songs {
    margin-bottom: 10px;
}

.card-game .grid {

    display: grid;
    grid-template-columns: repeat(8, 50px);
    grid-gap: 5px;
    justify-content: center;
}

.card-game .cell {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid #333;
    cursor: pointer;
    user-select: none;
}

.card-game .cell.selected {
    background-color: #ffdd57;
}

.card-game .cell.green {
    background-color: #6cc46c;
}

.card-game .found {
    text-decoration: line-through;
    color: green;
}

#wordList {
    font-size: 1.5rem;
}

/** 
 * GAME QUIZ
 */

.btn-quiz {
    /* border: ; */
}

.btn-correct,
.btn-correct:disabled {
    /* background-color: #28a745 !important; */
    background-color: #6cc46c !important;
    color: white !important;
    opacity: 1;
}

.btn-wrong,
.btn-wrong:disabled {
    /* background-color: #dc3545 !important; */
    background-color: #d64848 !important;
    color: white !important;
    opacity: 1;
}

.question {
    margin-bottom: 20px;
}

html {
    font-size: 16px;
    /* Default for desktop */
}

/**
* GAME SONGS
*/
.dropzone {
    border: 2px dashed #ccc;
    /* padding: 10px; */
    /* min-height: 50px; */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, background-color 0.3s;
    /* min-height: 60px;
    padding: 10px; */
}

.dropzone.hovering {
    border-color: #007bff;
    background-color: #e7f3ff;
}

.dropzone.correct {
    border-color: #28a745;
    background-color: #d4edda;
}

.dropzone.wrong {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.draggable {
    cursor: grab;
    padding: 5px 10px;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 5px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.draggable.dragging {
    opacity: 0.7;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: none;
}

#song-list {
    list-style-type: none;
    padding: 0;
}

#song-list li {
    margin: 0 0 8px 0;
}

.song-emojis {
    font-size: 1.2rem;
    line-height: 1.9rem;
}







/* HEADER */
.header-background {
    background: url("../img/header-background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 25vh;
    padding: 20px;
}

.header-claim img {
    height: 17vh;
}

.header-logo {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.header-logo img {
    /* height: 10vh; */
    flex-grow: 0;

}

.header-logo button {
    /* flex-grow: 1; */
}

/* LANGUAGE SWITCHER */
.language-switcher {
    width: 40px;
    height: 15px;
}

/* 
.flag-button {
    cursor: pointer;
    border: none;
    background: none;
}

.flag-button img {
    width: 30px;
    height: 20px;
} */

.mute-button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0px;
}

.mute-button img {
    width: 30px;
    height: 20px;
}

#unmute {
    display: none;
}

/* .mute-button.active {
    display: none;
} */

.bg-kalender {
    min-height: 75vh;
}

.header-background {
    min-height: 25vh;
}

.header-claim img {
    height: 17vh;
}

.header-logo img {
    max-height: 12.5vh;
}

@media (max-width: 992px) {
    html {
        font-size: 14px;
        /* Smaller size for smaller screens */
    }

    .bg-kalender {
        min-height: 85vh;
    }

    .header-background {
        min-height: 15vh;
    }

    .header-claim img {
        height: 10vh;
    }

    .header-logo img {
        max-height: 7vh;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
        /* Smaller size for smaller screens */
    }
}

@media (max-width: 576px) {
    html {
        font-size: 12px;
        /* Smallest size for mobile */
    }


}
