html{
    height: 100svh;
}

html, body {
    overscroll-behavior-x: none;
    /*touch-action: pan-y pinch-zoom;*/
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100svh;
    height: 100svh;
    background-color: #000;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;

}
#drag-container{
    display: flex;
    flex-direction: row;
    width: 90%;
    height: 90%;
}

.video-container {
    display: block;
    width: 100%; /* Make it responsive */
    max-width: 350px; /* Set the max width */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Prevent cropping */
    border-radius: 10px; /* Match existing styling */
    margin: 0 auto; /* Center align */
}




.hidden {
    opacity: 0;
    visibility: hidden;
    display: none; /* Hides element completely */
}



.hidden {
    opacity: 0;
    visibility: hidden;
    display: none; /* Hide the element after fade out */
}

/* Image Container styled similarly to lerp-container */
#image-container {
    position: absolute;
    width: 65vw;
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;


    border: 2px solid #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Hide the element initially */
    z-index: 100;
    transition: opacity 0.5s ease, visibility 0.5s ease; /* Transition for fade in and out */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Apply backdrop filter for blur effect */
    padding: 24px 18px;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-drag: none;
    -webkit-user-drag: none;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Slight background for readability */
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: 900px;  /* Limit the width of the container */
    margin: 0 auto;    /* Center the container */
}

#rotating-image {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    draggable: false;

    max-width: 256px;
    max-height: 256px;
    border-radius: 8px;  /* Rounded corners for the image */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);  /* Add shadow around the image */
    margin-right: 20px;  /* Add space between the image and the text */
}

#image-container.visible {
    opacity: 1;
    visibility: visible;
}

#image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-drag: none; /* Prevent default dragging behavior */
    -webkit-user-drag: none; /* For Safari and Chrome */
    -khtml-user-drag: none; /* For older Konqueror browsers */
    -moz-user-select: none; /* For Firefox */
    -webkit-user-select: none; /* For Safari */
    -ms-user-select: none; /* For Internet Explorer/Edge */
    user-select: none; /* Standard */
}

img {
    user-drag: none; /* Prevent default dragging behavior */
    user-select: none;
    -webkit-user-drag: none;
}

/* Close button styling similar to the lerp-container */
#image-container .close-button {
    display: none;
    position: absolute;
    top: 28px;
    right: 30px;
    background-color: transparent;
    border: none;
    color: black;
    font-size: 54px;
    cursor: pointer;
    z-index: 200;
}

#image-container .close-button:hover {
    color: red; /* Change color on hover for effect */
}

/* Hidden class */
.hidden {
    opacity: 0;
    visibility: hidden;
    display: none; /* Hide the element after fade out */
}

#imageCaption {
    font-size: 20px;
    color: black;
    text-align: center;
    margin-top: 10px;
    max-width: 370px;

}

#CT-text {
    text-align: left; /* Center the text horizontally */
    font-size: 16px; /* Make the text bigger */
    width: 80%;
    max-width: 400px;
    font-weight: normal; /* Make the text bold for better readability */
    color: #333; /* Darker color for contrast */
    margin-bottom: 0px; /* Add space between the text and the images */
    line-height: 1.5; /* Increase line spacing for readability */
    padding: 10px; /* Optional: Padding for extra space around the text */
}

.info-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center both vertically and horizontally */
    width: 50vw;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0; /* Initially hidden */
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease; /* Transition for fade in and out */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Apply backdrop filter for blur effect */
    padding: 24px 18px;
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);

    /*text-align: center; !* Center the text horizontally *!*/
    font-size: 20px; /* Make the text bigger */
    font-weight: bold; /* Make the text bold for better readability */
    color: #333; /* Darker color for contrast */
    margin-bottom: 20px; /* Add space between the text and the images */
    line-height: 1.5; /* Increase line spacing for readability */

    max-height: 90svh; /* Prevent it from overflowing out of the screen */
    overflow-y: auto; /* Add scroll if content is too tall */
    user-drag: none;
    height: 90svh;
}

/* Close button styling */
.close-button {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.close-button:hover {
    color: red;
}

#text-content {
    flex: 1;  /* Allow the text to take up remaining space */
    font-family: 'Arial', sans-serif;  /* Use a clean and readable font */
    color: #333;  /* Dark text for better contrast */
    font-size: 16px;
    line-height: 1.6;  /* Improve text readability with more line height */
    text-align: left;  /* Left align text for easy reading */
}

#text-content p {
    margin: 0 0 10px;  /* Add space between paragraphs */
}

#text-content h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;  /* Space below heading */
}

#text-content small {
    font-size: 14px;  /* Smaller font for minor details */
    color: #666;
}

/* Style the close button */
#imageCloseButton {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

#imageCloseButton:hover {
    color: #f00;  /* Hover effect for the close button */
}

#image-element {
    max-width: 370px;
    max-height: 370px;
    padding: 10px;
    display: block; /* Will display the image if it's present */
}

.info-box p {
    text-align: left;
    flex-grow: 1;
    font-size: 1rem;
    color: #333;
    max-width: 400px;
    margin-left: 20px;
    font-weight: normal;
}

.lerp-container {
    position: absolute;
    top: 50svh;
    left: 50svw;
    transform: translate(-50%, -50%); /* Center both vertically and horizontally */

    width: 65svw;
    height: 80svh;
    max-height: 80svh;
    min-height: 80svh;
    /*display: flex;*/
    flex-direction: column;
    /*justify-content: space-between;*/
    /*box-sizing: border-box;*/
    align-items: center;
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    /*opacity: 0; !* Initially hidden *!*/
    visibility: hidden; /* Hide the element initially */
    z-index: 100;
    transition: opacity 0.5s ease, visibility 0.5s ease; /* Transition for fade in and out */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Apply backdrop filter for blur effect */
    padding: 24px 18px;
    overflow-x: hidden;
    overflow-y: auto;



    /*user-select: none; !* Prevents text and elements from being selected *!*/
    /*-webkit-user-select: none; !* For Safari *!*/
    /*-moz-user-select: none; !* For Firefox *!*/
    /*-ms-user-select: none; !* For Internet Explorer/Edge *!*/
}

@supports (-webkit-overflow-scrolling: touch) and (not (overflow: -moz-scrollbars-none)) {
    @media (min-width: 768px) {
        /* Styles for iOS Safari with width >= 768px */
        .lerp-container {
            top: 60svh;
        }

        .info-box {
            top: 60svh;
        }
    }
}


#content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 85%;
    /*width: 70vw;*/
    /*height: 100vh;*/
    /*top: -20%;*/
    flex-direction: row;
    margin-top: 1rem;
    width: 80%; /* Adjust the width of the container */
    height: 100%;
    overflow-y: auto;

    /*overflow-y: auto; !* Allow scrolling within the content div *!*/
    flex-grow: 1; /* Allow content div to grow and fill the remaining height */
}

.new-place {
    background-color: red;
    min-width: 370px;
    min-height:370px
}

.image-pair {
    position: relative;
    width: 100%; /* Each pair takes half the container width */
    height: 100%;
    overflow: hidden;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px; /* Add space between the two image pairs */
}

img {
    user-drag: none; /* Prevent default dragging behavior */
    user-select: none;
    -webkit-user-drag: none;
}

.image-pair img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    margin: 10px;
    object-fit: cover;
    z-index: 100;

}

.slider-container {
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensure the labels stay on the edges */
    width: 80%; /* Adjust width as needed */
    margin: 20px auto; /* Add margin for spacing */
    position: relative; /* Ensure it stays within the document flow */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure it spans the full width */
    margin-bottom: 1rem; /* Space between slider and images */
}

.slider {
    flex-grow: 1; /* Allow the slider to grow and fill the space between the labels */
    margin: 0 20px; /* Space between the slider and labels */
    z-index: 9999;
    height: 20px;
}


.slider-label-left,
.slider-label-right {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

/* Arrow Styles */
#right-arrow {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 128, 0, 0.8);
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Smooth fade-in/out */
    z-index: 1000;
    animation: shimmer 6s infinite; /* Add shimmer effect */
    background: linear-gradient(
            90deg,
            rgba(0, 128, 0, 0.8) 25%,
            rgba(0, 255, 0, 1) 50%,
            rgba(0, 128, 0, 0.8) 75%
    );
    background-size: 200% 100%; /* For shimmer animation */
}

button {
    -webkit-tap-highlight-color: transparent; /* Disable tap highlight on iOS and Android */
}

/* Add shimmer animation */
@keyframes shimmer {
    0% {
        background-position: 200% 0; /* Start with gradient off-screen */
    }
    100% {
        background-position: -200% 0; /* Move gradient across the button */
    }
}

#right-arrow:hover {
    background-color: rgba(0, 128, 0, 1); /* Brighten the green on hover */
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.scroll-line {
    display: inline-block;
    width: 100px; /* Length of the line */
    height: 3px; /* Thickness of the line */
    background: linear-gradient(to right, #5ec9ff, #d3d3d3); /* Neutral gradient color */
    margin-right: 10px; /* Spacing between the line and icon */
    position: relative;
    animation: slide 2.5s infinite; /* Animation for visual feedback */
}

.scroll-icon {
    font-size: 2rem; /* Icon size */
    color: #5ec9ff; /* Neutral color for the icon */
    animation: move-horizontal 2.5s infinite; /* Horizontal movement animation */
}

/* Animation for the scroll line */
@keyframes slide {
    0% {
        width: 20px;
    }
    50% {
        width: 100px;
    }
    100% {
        width: 20px;
    }
}

/* Horizontal movement animation for the icon */
@keyframes move-horizontal {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px); /* Moves slightly to the right */
    }
    100% {
        transform: translateX(0);
    }
}




/*!* Close button styling *!*/
/*.close-button {*/
/*    position: absolute;*/
/*    top: 28px;*/
/*    right: 30px;*/
/*    background-color: transparent;*/
/*    border: none;*/
/*    color: white;*/
/*    font-size: 54px;*/
/*    cursor: pointer;*/
/*    z-index: 200;*/
/*}*/

.close-button:hover {
    color: red; /* Change color on hover for effect */
}

/* Base slider styling for all browsers */
#blendSlider {
    -webkit-appearance: none; /* Override default styling */
    appearance: none;
    width: 100%;
    height: 6px; /* Height of the track */
    background: #ddd; /* Track background */
    border-radius: 5px; /* Rounded track edges */
    outline: none;
}

/* For WebKit browsers (Chrome, Safari, Edge) - Thumb */
#blendSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #5ec9ff; /* Thumb color (Tomato) */
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white; /* Optional border for contrast */
    margin-top: -7px; /* Align thumb with track */
}

/* For WebKit browsers (Chrome, Safari, Edge) - Track */
#blendSlider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #ddd; /* Track background */
    border-radius: 5px;
}

/* For Firefox - Thumb */
#blendSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #5ec9ff; /* Thumb color (Tomato) */
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
}

/* For Firefox - Track */
#blendSlider::-moz-range-track {
    width: 100%;
    height: 6px;
    background: #ddd; /* Track background */
    border-radius: 5px;
}

/* For Internet Explorer - Thumb */
#blendSlider::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #5ec9ff; /* Thumb color (Tomato) */
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    margin-top: 0; /* Adjust alignment */
}

/* For Internet Explorer - Track */
#blendSlider::-ms-track {
    width: 100%;
    height: 6px;
    background: transparent; /* Hide the default track */
    border-color: transparent;
    color: transparent;
}

/* Internet Explorer slider track workaround */
#blendSlider::-ms-fill-lower {
    background: #ddd;
    border-radius: 5px;
}

#blendSlider::-ms-fill-upper {
    background: #ddd;
    border-radius: 5px;
}

/* For WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

/* Track of the scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light background for the track */
    border-radius: 10px; /* Rounded corners for the track */
}

/* Handle (thumb) of the scrollbar */
::-webkit-scrollbar-thumb {
    background-color: #888; /* Darker color for the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
    border: 3px solid #f1f1f1; /* Padding around the thumb to create space */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Darker on hover for visual feedback */
}

/*!* For Firefox (modern versions support scrollbar styling) *!*/
/*scrollbar-color: #888 #f1f1f1; */
/*scrollbar-width: thin; */


/* Media query for smaller screens */
@media (max-width: 768px) {
    .info-box,
    .lerp-container {
        max-width: 90svw;
        max-height: 91svh;
        width: 100vw;
        height: 91vh;
        height: 91svh;
        min-width: 90svw;
        min-height: 81svh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /*width: 100vw;*/
        /*height: 100vh;*/
        /*top: -20%;*/
        margin-top: 2.5rem;
        width: 80%; /* Adjust the width of the container */
        height: 80%;
        overflow-y: auto; /* Allow scrolling within the content div */
        flex-grow: 1; /* Allow content div to grow and fill the remaining height */
        overflow-x: hidden;
        min-height: 60%;

    }

    /* For WebKit browsers (Chrome, Safari, Edge) - Thumb */
    #blendSlider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: #5ec9ff; /* Thumb color (Tomato) */
        border-radius: 50%;
        cursor: pointer;
        border: 2px solid white; /* Optional border for contrast */
        margin-top: -7px; /* Align thumb with track */
    }

    #image-pair-1{
        display: none;

    }

    .close-button {
        width: 40px;
        height: 40px;
        font-size: 3rem;
    }

}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/LoadingRenderBG.jpeg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #ffffff; /* White text */
    text-align: center;
    font-family: Arial, sans-serif;
    backdrop-filter: blur(5px); /* Soft blur for better readability */
}

.loading-logo {
    width: 180px; /* Keeps logo size controlled */
    max-width: 70%;
    margin-bottom: 10px;
}

#close-loading {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    color: black;
    background: white;
    border: 2px solid black;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#close-loading:hover {
    background: black;
    color: white;
}

#close-loading:active {
    transform: scale(0.95);
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* More space between elements */
    background: rgba(0, 0, 0, 0.85); /* Slightly lighter transparency for better readability */
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.7); /* Softer, more realistic shadow */
    max-width: 600px; /* Prevents excessive stretching on larger screens */
    max-height: 100svh;
    width: 90%; /* Ensures responsiveness */
}

.rotate-phone,
.rotate-message {
    display: none;
    max-width: 200px;
}

.overlay-content h1 {
    font-size: 2rem;
    font-weight: 400; /* Reduced from bold to normal */
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.overlay-content h2 {
    font-size: 2.3rem;
    font-weight: 500; /* Slightly lighter than before */
    margin-bottom: 10px;
}

.overlay-content p {
    font-size: 1.1rem;
    font-weight: 300; /* Lighter for a softer look */
    line-height: 1.5;
    opacity: 0.9;
}



.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.title {
    font-size: 24px;
    margin: 0 0 10px;
}

.subtitle {
    font-size: 36px;
    margin: 0 0 20px;
    align-content: center;
}

.instruction {
    font-size: 16px;
    margin: 10px 0;
    align-content: center;
}

.ending-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/LoadingRenderBG.jpeg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

.content-container {
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    color: white;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ending-screen a {
    color: #00BFFF;
    text-decoration: none;
}

.ending-screen a:hover {
    text-decoration: underline;
}

@media (max-height: 768px) {
    .info-box{
        max-height: 80vh;
        min-width: 80vw;
        height: 90svh;
        width: 50svw;
    }
    .lerp-container{
        max-height: 80vh;
        min-width: 80vw;
        height: 90svh;
        width: 50svw;
    }

    /*#content{*/
    /*    min-height: 300px;*/
    /*};*/
}

@media (max-width: 768px) {
    .rotate-phone,
    .rotate-message {
        display: block;
    }

    .overlay-content {
        max-height: 100svh; /* Ensure it doesn’t exceed screen height */
        max-width: 100svw;  /* Take full width on mobile */
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center all content */
        align-items: center;
        padding: 5vh 5vw; /* Maintain spacing without overflow */
        overflow: hidden; /* Prevents scrolling */
    }

    .overlay-content h1,
    .overlay-content h2,
    .overlay-content p,
    .rotate-phone {
        flex-shrink: 0; /* Prevent elements from shrinking */
        text-align: center; /* Ensure proper alignment */
    }

    .rotate-phone {
        max-width: 40%; /* Scale the rotate image properly */
    }
    .overlay-content h1 {
        font-size: 1.5rem;
    }

    .overlay-content h2 {
        font-size: 2rem;
    }

    .overlay-content p {
        font-size: 1rem;
    }
}

@media (max-width: 2024px) and (max-height: 1080px) and (orientation: landscape) {
    .overlay-content {
        max-height: 100svh;
        max-width: 100svw;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 3vh 3vw; /* Reduced padding to prevent overflow */
        overflow: hidden;
    }

    .loading-logo {
        width: 150px; /* Reduce logo size */
        max-width: 30%;
    }

    .overlay-content h1 {
        font-size: 1.2rem; /* Scale down text */
    }

    .overlay-content h2 {
        font-size: 1.6rem; /* Adjust heading size */
    }

    .overlay-content p {
        font-size: 0.85rem; /* Reduce paragraph size */
    }

    .rotate-phone {
        max-width: 20%; /* Scale down rotate image */
    }

    #close-loading {
        padding: 6px 16px; /* Reduce button size */
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .overlay-content {
        max-height: 100svh; /* Ensure content fits inside the visible viewport */
        max-width: 100svw;
        width: 100svw;
        height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2svh 4svw; /* Adaptive padding */
        overflow: hidden;
    }

    .loading-logo {
        width: 80px; /* Reduce logo size */
        max-width: 20svw;
    }

    .overlay-content h1 {
        font-size: 1.4rem; /* Adjust for readability */
    }

    .overlay-content h2 {
        font-size: 1.8rem;
    }

    .overlay-content p {
        font-size: 1rem;
    }

    .rotate-phone {
        max-width: 18svw; /* Adjust based on available screen space */
    }

    #close-loading {
        padding: 6px 16px; /* Keep button proportional */
        font-size: 0.9rem;
    }
}






/* Fullscreen button styling */
#fullscreen-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#fullscreen-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

#fullscreen-button:active {
    transform: scale(0.95);
}

/* Refresh button styling */
#refresh-button {
    position: fixed;
    top: 70px; /* Positioned below the fullscreen button */
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    z-index: 10000; /* Same z-index as fullscreen button to ensure visibility */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#refresh-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

#refresh-button:active {
    transform: scale(0.95);
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    #fullscreen-button {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    #refresh-button {
        top: 60px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
