@font-face {
    font-family: LHF_Billhead_1890;
    src: url(../../media/fonts/lhf_billhead_18901.ttf);
}

@font-face {
    font-family: Cruickshank;
    src: url(../../media/fonts/CRUICKSH.TTF);
}

@font-face {
    font-family: SCOREBOARD;
    src: url(../../media/fonts/SCOREBOARD.ttf);
}

@font-face {
    font-family: Rye-Regular;
    src: url(../../media/fonts/Rye-Regular.ttf);
}

@font-face {
    font-family: showguide;
    src: url(../../media/fonts/showguide.ttf);
}

@font-face {
    font-family: BLACKCHA;
    src: url(../../media/fonts/BLACKCHA.TTF);
}

@font-face {
    font-family: vanilla_whale;
    src: url(../../media/fonts/vanilla_whale.otf);
}

@font-face {
    font-family: Eastwood;
    src: url(../../media/fonts/Eastwood.ttf);
}

@font-face {
    font-family: Bleeding_Cowboys;
    src: url(../../media/fonts/Bleeding_Cowboys.ttf);
}

@font-face {
    font-family: CherrySwash-Regular;
    src: url(../../media/fonts/GoogleFonts/Cherry_Swash/CherrySwash-Regular.ttf);
}

body {
    margin: 0;
    padding: 0;
}

tbody {
	counter-reset: myCount; /* Set the counter to 0 */
}

.myCount:before {
    counter-increment: myCount;      /* Increment the counter */
    content: counter(myCount) ". "; /* Display the counter */
		/* Need tbody counter-reset myCount, Set the counter to 0 */
}

button {
    font-family: LHF_Billhead_1890;
    font-size: 30px;
    background-color: rgba(31, 4, 93, 0.9);
    color: wheat;
    border: 0.125rem solid black;
    margin: 1px;
}

button:hover {
    background: rgba(67, 47, 109, 0.8);
    color: white;
}

.button-normal {
    background-color: rgba(31, 4, 93, 0.9);
    color: wheat;
}

.button-active {
    background-color: rgba(15, 3, 41, 0.9);
    color: gold;
}

#easterToggle[data-tooltip]{
    position: relative;
}

#easterToggle[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    z-index: 1;
    display: none;
    left: 100%; /* Position the tooltip to the right of the button */
    top: 50%;
    transform: translateY(-50%);
}

#easterToggle:hover[data-tooltip]::after {
    display: block;
}

.gold_button {
    font-family: LHF_Billhead_1890;
    font-size: 30px;
    background: goldenrod;
    color: black;
    border: 0.125rem solid black;
    margin: 1px;
    /*max-height: 2.5rem;*/
}

.gold_button:hover {
    background: gold;
    color: rgb(58, 16, 149);
}

.gold_button-active {
    background-color: black;
    color: gold;
}

.gold_button-active:hover {
    background-color:#373434;
    color: goldenrod;
}

.red_button {
    font-family: LHF_Billhead_1890;
    font-size: 30px;
    background: darkred;
    color: white;
    border: 0.125rem solid black;
    margin: 1px;
    max-height: 2.5rem;
}

.red_button:hover {
    background: lightcoral;
    color: black;
}

.red_button-active {
    background-color: black;
    color: lightcoral;
}

.red_button-active:hover {
    background-color:#373434;
    color: lightcoral;
}

input[type=submit] {
    font-family: LHF_Billhead_1890;
    font-size: 32px;
    background: goldenrod;
    border: 2px solid black;
    margin: 1px;
}

input[type=submit]:hover {
    background: gold;
    color: rgb(58, 16, 149);
}

p{
    padding: 0;
    margin: 0;
}

.header_index{
    cursor: pointer;
    text-align: center;
    font-family: Cruickshank;
    font-size: 21px;
    /*margin: 0.32rem 3.2rem 0.32rem 3.2rem;*/
}

.small_map{
    /*cursor: pointer;*/
    text-align: center; /* Center the text and image horizontally */
    margin: 30px 15px 15px 15px; /* Add some spacing between the image containers */
    transform: scale(1); /* Set the initial scale to 1 (no scaling) to smoothly scale the div back to its original size when the mouse leaves the div area */
    transition: transform 0.5s ease; /* Add a smooth transition effect */
}

.small_map:hover{
    transform: scale(1.1); /* Increase the size by 10% on hover */
}

.smaller_map{
    cursor: pointer;
    text-align: center; /* Center the text and image horizontally */
    margin: 10px 40px 10px 40px; /* spacing between the image containers */
    transform: scale(1); /* Set the initial scale to 1 (no scaling) to smoothly scale the div back to its original size when the mouse leaves the div area */
    transition: transform 0.5s ease; /* Add a smooth transition effect */
}

.smaller_map:hover{
    transform: scale(1.1); /* Increase the size by 10% on hover */
}

#holder {
    max-width: 100%;
	display: flex;
	flex-wrap: wrap;
}
/*
#index_holder_1 {
    justify-content: center;
    flex: 1; /* This makes #just take up the available space 
    background: url(../../media/img/sweet.jpg) top center;
    background-size: cover;
    min-height: 100vh;
    overflow: hidden;
}

#index_holder_2 {
	display: flex;
    justify-content: center;
    flex-grow: 1; /* This makes #just take up the available space 
    overflow: hidden;
    margin-top: 5rem;
}
*/

#map {
    width: 100%;
    height: 100%;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
    z-index: 1;
    position: relative; /* Add this to make sure distance bars are positioned relative to the map container */
}

#sidebar {
    font-family: Cruickshank;
    width: 18rem;
    left: 0;
    background: url(../../media/img/map_ex.png);
    background-size: cover;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}

#sidebar_index_right {
    font-family: Cruickshank;
    right: 0;
    width: 17.5rem;
    background: url(../../media/img/hunt_black_background_small.jpg);
    background-size: cover;
    color: whitesmoke;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}

#sidebar_SB {
    font-family: Cruickshank;
    width: 18rem;
    background: url(../../media/img/pitching_lake.jpg);
    background-size: cover;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}

#sidebar_LD {
    font-family: Cruickshank;
    width: 18rem;
    background: url(../../media/img/lighthouse_20240121190420_1.jpg);
    background-size: cover;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}

#sidebar_DS {
    font-family: Cruickshank;
    width: 17%;
    background: url(../../media/img/reeves.jpg);
    background-size: cover;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}

#sidebar_MG {
    font-family: Cruickshank;
    width: 18rem;
    background: url(../../media/img/MG_20240822203656_1.jpg);
    background-size: cover;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
}

#bg_start_body {
    background: url(../../media/img/still_20231106161845_1.jpg) center;
    background-size: cover;
    font-family: Cruickshank;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

#cg_start_body {
    background: url(../../media/img/MG_GL_20240831042318_1.jpg) center;
    background-size: cover;
    font-family: Cruickshank;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

#hunt_logo {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

#bg_start_input {
    text-align: center;
    font-size: 20px;
    display: flex;
    align-items: center;
    flex-direction: column; /* Stack children vertically */
}

#func_bar{
    background: url(../../media/img/heaven_20231106181857_1.jpg);
    background-size: cover;
    font-family: Cruickshank;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    min-height: 100vh;
    position: relative;
    width: 12.5rem;
}
/*
#grid{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto auto;
}

#grid_left{
    grid-column: 1 / 1;
}

#grid_middle{
    grid-column: 2 / 2;
}

#grid_right{
    grid-column: 3 / 3;
}

#grid_right2{
    grid-column: 4 / 4;
}
*/


#content {
    flex-grow: 1; /* Make the map container expand to fill the remaining height */
    position: relative; /* Add this for absolute positioning of distance bars */
}

.container {
    min-height: 100vh; /* Make the container fill the viewport height */
}

#map-chooser{
    max-width: 100%;
    justify-content: center;
    flex-grow: 1; /* This makes #just take up the available space */
    font-family: Cruickshank;
    min-height: 100vh;
    overflow: hidden;
    background: url(../../media/img/east_mountain_fog_20250308190223_1.jpg);
    background-size: cover;
    text-align: center;
}

#map-chooser_holder{
    display: flex;
    justify-content: center;
    flex-grow: 1; /* This makes #just take up the available space */
    overflow: hidden;
}

/* Style for the distance bars container */
#distance-bars {
    position: absolute;
    bottom: 10px; 
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column; /* Stack bars and labels vertically */
    align-items: flex-start; /* Align items to the left */
}

.bar-label-container {
    display: flex;
    align-items: center;
}

.bar-part {
    height: 14px;
    width: 25%;
    float: left;
}

.meter-part:nth-child(1) {
    width: 25%;
    background-color: #3fdde5;
}

.meter-part:nth-child(2) {
    width: 25%;
    background-color: #0d456b;
}

.meter-part:nth-child(3) {
    width: 25%;
    background-color: #3fdde5;
}

.meter-part:nth-child(4) {
    width: 25%;
    background-color: #0d456b;
}

#meters-label {
    color: black;
    background-color: white;
    font-size: 12px;
    width: 67px;
    padding: 1px;
}

#feet-label {
    color: black;
    background-color: white;
    font-size: 12px;
    width: 67px;
    margin-top: 1px;
    padding: 1px;
}

.custom-icon {
    background-color: transparent; /* Remove any background color */
    border: none; /* Remove border */
    font-size: 16px; /* Set font size */
    color: #000; /* Set font color */
    text-align: center; /* Center text */
    line-height: 1; /* Adjust line height for vertical centering */
}

.comp-label-text {
    font-size: 14px;
    color: blanchedalmond;
    text-shadow: -1px 1px 0 #000,
                 1px 1px 0 #000,
                 1px -1px 0 #000,
                 -1px -1px 0 #000;
    text-wrap: nowrap;
}

/* CSS for the distance label */
#map .label-dist {
    background-color: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    padding: 5px !important;
    border-radius: 5px !important;
    text-align: center !important;
    display: inline-block !important;
    width: 60px !important;
    height: 35px !important;
}

/* Custom marker icon */
.custom-marker-icon {
    position: relative;
}

/* Circle */
.marker-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgb(241, 102, 10); 
    display: flex;
    justify-content: center;
    align-items: center;
}

.marker-circle-dot {
    position: absolute;
    border-radius: 50%;
    background-color: white;
    height: 3px;
    width: 3px;
}

#carousel-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Cruickshank;
    background: url(../../media/img/planks.jpg);
    background-size: cover;
}

#carousel-container-colorado {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Cruickshank;
    background: url(../../media/img/tent_20240903202357_1.jpg);
    background-size: cover;
}

.carousel { 
    max-width: 35rem;
    height: auto;
    margin: 0 0.5rem 0 0.5rem;
}

.carousel_dem {
    max-width: 36rem;
    height: auto;
    margin: 0 0.5rem 0 0.5rem;
}

.carousel img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.carousel_dem img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.thumbnails {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.thumbnails img {
    width: 50px;
    height: 50px;
    margin: 0 2px;
    object-fit: cover;
}

.active-thumbnail {
    border: 2px solid whitesmoke; /* color to highlight the active thumbnail */
}

.status-indicators {
    text-align: center;
    margin-top: 20px;
}

.description {
    width: 25rem;
    height: 5rem;
    text-align: center;
    color: black;
    font-size: 21px;
    font-family: CherrySwash-Regular;
    padding: 3px 5px;
    margin: 5px;
    background-color: rgb(209, 208, 208, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.description_dem {
    width: 35rem;
    height: 2.5rem;
    text-align: center;
    color: black;
    font-size: 28px;
    font-family: CherrySwash-Regular;
    padding-top: 3px;
    margin: 5px;
    background-color: lightgrey;
}

.x_marker {
    width: 50px;
    height: 50px;
    margin: 0 2px;
    filter: invert(1);
}

.check_marker {
    width: 50px;
    height: 50px;
    margin: 0 2px;
}

.skip_marker {
    width: 50px;
    height: 50px;
    margin: 0 2px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: block;
    max-height: 100%;
    max-width: none;  /*Allow the image to grow beyond its container */
    transition: transform 0.3s ease; 
}

.modal-content-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
}

.modal-content-wrapper:active {
    cursor: grabbing;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 70px;
    color: red;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 110; /* Higher than modal content */
    cursor: pointer;
    text-align: center;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
}

.custom-icon {
    text-align: center;
    line-height: 1.2;
}

.boss_underground {
    filter: invert(1);
}

.compound-name-label-clue1 {
    color: wheat;
    font-size: 18px;
    font-family: CherrySwash-Regular;
    /*font-family: Rye-Regular;*/
    text-align: center;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.compound-name-label-clue2 {
    color: lightblue;
    font-size: 18px;
    font-family: CherrySwash-Regular;
    text-align: center;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

#scoreboard_table {
    font-family: SCOREBOARD;
    font-size: 28px;
    background-color:rgba(0, 0, 0, 0.9);
    color: whitesmoke;
    padding: 5px;
    font-weight: normal;
    margin-top: 5px;
    border: 4px solid goldenrod;
    z-index: 1;
}

.score-glow {
    animation: goldenGlow 3s forwards;
}

@keyframes goldenGlow {
    0% {
        box-shadow: 0 0 5px goldenrod;
        border-color: goldenrod;
    }
    50% {
        box-shadow: 0 0 25px gold, 0 0 20px goldenrod;
        border-color: gold;
    }
    100% {
        box-shadow: 0 0 5px goldenrod;
        border-color: goldenrod;
    }
}



#scoreboard_table2 {
    font-family: SCOREBOARD;
    font-size: 28px;
    background-color:rgba(0, 0, 0, 0.7);
    color: whitesmoke;
    padding: 5px;
    border-radius: 15px;
    font-weight: normal;
    margin-top: 5px;
}

#scoreboard_tr {
    font-weight: normal;
    text-align: center;
}

#scoreboard_th {
    font-weight: normal;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

#scoreboard_th_l {
    font-weight: normal;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    border-left: 3px solid;
    border-top: 3px solid;
    border-bottom: 3px solid;
    border-color: whitesmoke;
}

#scoreboard_th_m {
    font-weight: normal;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    border-top: 3px solid;
    border-bottom: 3px solid;
    border-color: whitesmoke;
}

#scoreboard_th_r {
    font-weight: normal;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    border-right: 3px solid;
    border-top: 3px solid;
    border-bottom: 3px solid;
    border-color: whitesmoke;
}

#scoreboard_div{
    font-family: SCOREBOARD;
    font-size: 25px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 5px;
    width: 8rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    text-align: center;
    margin: 0 auto 0 auto;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#score_congrats{
    font-family: CherrySwash-Regular;
    background-color: rgba(0, 0, 0, 0.9);
    color:gold;
    padding: 5px;
    width: 8rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    text-align: center;
    margin: 0 auto 0 auto;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#score_g_dem {
    font-size: 100px;
    padding: 5px;
    width: 7rem;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#result_p {
    font-size: 110px;
    padding-top: 5px;
    width: 6rem;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    text-align: center;
}

#scoreboard_small{
    text-align: center;
    font-family: SCOREBOARD;
    font-size: 20px;
    background-color:rgba(90, 60, 60, 0.95);
    color: whitesmoke;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 5px;
    padding: 10px;
    position: absolute;
    bottom: 0;
}

#score {
    font-weight: normal;
    text-align: center;
    border: 1px solid;
    border-color: whitesmoke;
    padding: 1px 5px 1px 5px;
}

#score_hist {
    font-weight: normal;
    text-align: center;
    border: 1px solid;
    border-color: whitesmoke;
    padding: 1px 5px 1px 5px;
    background-color: rgba(9, 9, 75, 0.7);
}

.score_desc {
    font-weight: normal;
    text-align: center;
    border: 1px solid;
    border-color: whitesmoke;
    font-family: LHF_Billhead_1890;
    font-size: 26px;
}

.score_name {
    font-weight: normal;
    text-align: center;
    font-family: LHF_Billhead_1890;
    font-size: 26px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip2 {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    z-index: 50;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 13.75rem;
    background: url(../../media/img/hunt_black_background_small.jpg);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 50;
    bottom: 110%;
    left: 40%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    border-style: double;
    border-width: 5px;
    border-color: whitesmoke;
}

.tooltip2 .tooltiptext {
    visibility: hidden;
    width: 19rem;
    background: url(../../media/img/hunt_black_background_small.jpg);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 50;
    top: 5%;
    left: 135%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    border-style: double;
    border-width: 5px;
    border-color: whitesmoke;
    padding: 2px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #55555581 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltip2 .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #55555581 transparent transparent transparent;
}

.tooltip2:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.result_text{
    font-family: CherrySwash-Regular; 
    font-size: 20px;
}

.result_text_high{
    font-family: Cruickshank; 
    font-size: 28px;
}

#bg_result_body {
    background: url(../../media/img/still_20231106161845_1.jpg) center;
    background-size: cover;
    color: whitesmoke;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

#bg_result_head {
    font-family: Cruickshank;
    color: whitesmoke;
    font-size: 30px;
    margin: 15px;
    text-align: center;
    text-decoration: underline;
}

#bg_result_container{
    width:fit-content;
    margin: auto;
    padding: 10px;
}

#mobile-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffcc00;
    padding: 10px;
    text-align: center;
    z-index: 9999;
}

#close-button {
    cursor: pointer;
    color: #333;
    font-weight: bold;
    border: 2px solid #333; /* Add border properties here */
    padding: 5px 10px; /* Adjust padding as needed */
    border-radius: 5px; /* Optional: Add border-radius for rounded corners */
    display: inline-block;
}

.blink_me {
    animation: blinker 2s linear infinite;
}
 
@keyframes blinker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.65;
    }
}

#resetSessionButton[data-tooltip]{
    position: relative;
}

#resetSessionButton[data-tooltip]::after {
    width: 12rem;
    content: attr(data-tooltip);
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    z-index: 1;
    display: none;
    right: 50%; /* Position the tooltip to the right of the button */
    bottom: 0.1rem;
    transform: translateY(-50%);
}

#resetSessionButton:hover[data-tooltip]::after {
    display: block;
}

.th_score {
	position: sticky;
	top: 0; /* Don't forget this, required for the stickiness */
    cursor: pointer;
    background-color: black;
}

.th_score_hist {
	position: sticky;
	top: 0; /* Don't forget this, required for the stickiness */
    cursor: pointer;
    background-color: rgba(9, 9, 75, 0.7);
}

#change_log_body {
    background: url(../../media/img/tree_lockbay_20231106181913_1.jpg) center;
    background-size: cover;
    color: whitesmoke;
    font-family: Rye-Regular;
    font-size: 22px;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    overflow:hidden;
}

#rules_window{
    position: fixed;
    top: 9rem;
    right: 2rem;
    width: 26rem;
    background: url(../../media/img/hunt_black_background_small.jpg);
    color: whitesmoke;
    font-family: LHF_Billhead_1890;
    font-size: 26px; 
    padding: 0;
    text-align: left;
    white-space: pre-wrap;
    z-index: 100;
    border-style: none;
    border-width: 0;
    border-color: whitesmoke;
    -moz-transition: height .5s;
    -ms-transition: height .5s;
    -o-transition: height .5s;
    -webkit-transition: height .5s;
    transition: height .5s;
    height: 0;
    overflow: hidden;
}

#windrose {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
}

.icon_map_overlay {
    background-color: whitesmoke; 
    height:2.4rem;
    max-width:2.4rem;
    margin-right:0.2rem; 
    border: 0.125rem solid black;
}

.drop-container {
    width: 50px;
    height: 50px;
    border: 2px dashed #ccc; /* Add a border for visibility */
    margin-bottom: 10px; /* Add some spacing between containers */
    z-index: 100;
    position: relative; /* Ensure the z-index works */
}

.drag-marker-icon {
    z-index: 1000;
}

#feedback_body {
    background: url(../../media/img/river_sisters_bolden_20231113190924_1.jpg) center;
    background-size: cover;
    color: whitesmoke;
    font-family: Cruickshank;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

#sidebar-toggle-btn {
    display: none;
}

#multi_rules_window{
    position: fixed;
    top: 18rem;
    left: 9rem;
    width: 26rem;
    height: 0;
    background: url(../../media/img/hunt_black_background_small.jpg);
    color: whitesmoke;
    font-family: LHF_Billhead_1890;
    font-size: 26px; 
    padding: 0;
    text-align: left;
    white-space: pre-wrap;
    z-index: 1;
    border-style: none;
    border-width: 0;
    border-color: whitesmoke;
    -moz-transition: height .5s;
    -ms-transition: height .5s;
    -o-transition: height .5s;
    -webkit-transition: height .5s;
    transition: height .5s;
    overflow: hidden;
}

#active_multi_keys{
    position: fixed;
    top: 18rem;
    right: 9rem;
    max-width: 26rem;
    height: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: whitesmoke;
    font-family: LHF_Billhead_1890;
    font-size: 26px; 
    padding: 0;
    text-align: left;
    z-index: 1;
    -moz-transition: height .5s;
    -ms-transition: height .5s;
    -o-transition: height .5s;
    -webkit-transition: height .5s;
    transition: height .5s;
    overflow: hidden;
}

#active_multi_keys td{
    border: 1px solid;
    border-color: whitesmoke;
    padding: 2px;
    text-align: center;
}

#active_multi_keys th{
    border: 1px solid;
    border-color: whitesmoke;
    font-weight: normal;
    padding: 2px;
    text-align: center;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#report_window{
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 30rem;
    background: url(../../media/img/hunt_black_background_small.jpg);
    color: whitesmoke;
    font-family: LHF_Billhead_1890;
    font-size: 30px; 
    padding: 0;
    text-align: left;
    border-style: double;
    border-width: 5px;
    border-color: whitesmoke;
    z-index: 50;
    bottom: calc(100% + 0.5rem); /* 0.5rem space between button and form */
}

#star_rating {
    --s: 30px;
    position: relative;
    display: inline-flex;
    background-color: black;
    padding:10px;
    z-index: 50;
}

#star_rating input {
    width:var(--s);
    height:var(--s);
    margin:0;
    opacity:0;
    cursor:pointer;
}

#star_rating i {
    position:absolute;
    inset:0 0 calc(var(--s)*0.1);
    pointer-events:none;
    --v1:transparent,#000 0.5deg 108deg,#0000 109deg;
    --v2:transparent,#000 0.5deg  36deg,#0000  37deg;
    -webkit-mask:
        conic-gradient(from 54deg  at calc(var(--s)*0.68) calc(var(--s)*0.57),var(--v1)),
        conic-gradient(from 90deg  at calc(var(--s)*0.02) calc(var(--s)*0.35),var(--v2)),
        conic-gradient(from 126deg at calc(var(--s)*0.5)  calc(var(--s)*0.7) ,var(--v1)),
        conic-gradient(from 162deg at calc(var(--s)*0.5)  0                  ,var(--v2));
    -webkit-mask-size: var(--s) var(--s);
    -webkit-mask-composite: xor,destination-over;
    mask-composite: exclude,add;
    background:
        linear-gradient(grey 0 0),  
        linear-gradient(gold 0 0)
        whitesmoke;
    background-size:calc(var(--l,0)*var(--s)) 100%,calc(var(--p,0)*var(--s)) 100%;
    background-repeat:no-repeat;
}

#star_rating:focus-within {
    outline:1px solid;
}

input:active ~ i{--o:1}

input:nth-of-type(1):checked ~ i {--p:1}
input:nth-of-type(2):checked ~ i {--p:2}
input:nth-of-type(3):checked ~ i {--p:3}
input:nth-of-type(4):checked ~ i {--p:4}
input:nth-of-type(5):checked ~ i {--p:5}
input:nth-of-type(6):checked ~ i {--p:6}

input:nth-of-type(1):hover ~ i {--l:1}
input:nth-of-type(2):hover ~ i {--l:2}
input:nth-of-type(3):hover ~ i {--l:3}
input:nth-of-type(4):hover ~ i {--l:4}
input:nth-of-type(5):hover ~ i {--l:5}
input:nth-of-type(6):hover ~ i {--l:6}

#about{
    background: url(../../media/img/4wallpaperbetter.com_2560x1440.jpg);
    color: whitesmoke;
    font-family: CherrySwash-Regular;
    font-size: 26px;
    padding: 10px;
    margin: 10px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    background-size: cover;
}

#l53{
    font-size:28px;
}

#l68{
    font-size:25px;
}

#l78{
    font-size:20px;
}

#l35_dem{
    font-size:22px;
}

#l68_dem{
    font-size:15px;
}

#bg_result_body_shuffle {
    background: url(../../media/img/still_20231106161845_1.jpg) center;
    background-size: cover;
    color: whitesmoke;
    height: 100vh;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.flip {
    animation: flip 500ms ease forwards;
}

@keyframes flip {
    0% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

.flip-wrapper {
    width: 50px;
    height: 50px;
    perspective: 1000px;
    display: inline-block;
    margin: 0 2px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.9s;
    transform-style: preserve-3d;
}

.flip-wrapper.flipped .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    top: 0;
    left: 0;
}

.flip-back {
    transform: rotateY(180deg);
    z-index: 1;
}

img.flip-front, img.flip-back {
    will-change: transform;
}

.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When visible */
.show-scoreboard, .show-congrats {
    display: flex;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* 1890-style bounce for the congratulations message */
@keyframes vintagePop {
    0% {
        transform: scale(0.5) rotate(-3deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(3deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.vintage-animate {
    animation: vintagePop 1s ease-out forwards;
}

#mid_result_window{
    position: fixed;
    top: 6rem;
    left: 28rem;
    width: 63rem;
    background: url(../../media/img/hunt_black_background.jpg);
    color: whitesmoke;
    font-family: LHF_Billhead_1890;
    font-size: 26px; 
    padding: 0;
    text-align: left;
    white-space: pre-wrap;
    z-index: 100;
    border-style: none;
    border-width: 0;
    border-color: whitesmoke;
    -moz-transition: height .5s;
    -ms-transition: height .5s;
    -o-transition: height .5s;
    -webkit-transition: height .5s;
    transition: height .5s;
    height: 0;
    overflow: auto;
}

#mid_result_text{
    font-family: LHF_Billhead_1890; 
    font-size: 30px;
}

#scoreboard_table {
    font-family: SCOREBOARD;
    font-size: 28px;
    background-color:rgba(0, 0, 0, 0.7);
    color: whitesmoke;
    padding: 5px;
    border-radius: 15px;
    font-weight: normal;
    margin-top: 5px;
}

#grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: start;
}

.map-container {
    text-align: center;
}

.map-container img {
    width: 150px;
    height: 150px;
    cursor: pointer;
}

#report_window{
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 30rem;
    background: url(../../media/img/hunt_black_background_small.jpg);
    color: whitesmoke;
    font-family: LHF_Billhead_1890;
    font-size: 30px; 
    padding: 0;
    text-align: left;
    border-style: double;
    border-width: 5px;
    border-color: whitesmoke;
    z-index: 50;
    bottom: calc(100% + 0.5rem); /* 0.5rem space between button and form */
}

/*--------------------------*/
/*------Mobile Devices------*/
/*--------------------------*/
@media only screen and (max-width: 768px) {

    #sidebar_SB {
        font-family: Cruickshank;
        width: 0;
        background: url(../../media/img/pitching_lake.jpg);
        color: black;
        padding: 0;
        box-sizing: border-box;
        min-height: 100vh;
        transition: 0.4s ease-in-out;
    }

    #sidebar_LD {
        font-family: Cruickshank;
        width: 0;
        background: url(../../media/img/wheat.jpg);
        color: black;
        padding: 0;
        box-sizing: border-box;
        min-height: 100vh;
        transition: 0.4s ease-in-out;
    }

    #sidebar_DS {
        font-family: Cruickshank;
        width: 0;
        background: url(../../media/img/anchor4.jpg);
        color: black;
        padding: 0;
        box-sizing: border-box;
        min-height: 100vh;
        transition: 0.4s ease-in-out;
    }

    #content {
        flex-grow: 1; /* Make the map container expand to fill the remaining height */
        position: relative; /* Add this for absolute positioning of distance bars */
        margin-left: 0;
        height: auto;
    }

    #windrose {
        display: none;
    }

    #sidebar-toggle-btn {
        display: block;
        cursor: pointer;
        position: relative;
    }
    
    #sb-close-symbol {
        opacity: 0; /* Initially hide the close symbol */
        transition: opacity 0.4s ease-in-out;
        filter:invert(1);
        position: absolute;
        top: 0.5rem;
        left: 0.5rem;
        max-height: 3rem;
        z-index: 2;
    }

    #sb-burger-symbol {
        filter:invert(1);
        position: absolute;
        top: 0.5rem;
        left: 0.5rem;
        max-height: 3rem;
        z-index: 2;
        transition: opacity 0.4s ease-in-out;
    }

}