* {
    font-family: 'Fira Sans', serif;
}
body {
    font-family: 'Fira Sans';
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}
.has-progress-bar {
    padding-top: 30px; /* space for fixed progress bar */
}
.fullscreen-btn {
    position: fixed;
    top: 40px;
    left: 20px;
    z-index: 1000;
    background-color: rgb(98, 126, 110);
    border: none;
    color: white;
    font-size: 20px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.fullscreen-btn:hover {
    background-color: rgb(78, 106, 90);
    transform: scale(1.05);
}
.fullscreen-btn:active {
    transform: scale(0.95);
}
.container {
    font-family: 'Fira Sans';
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px #0000001a;
    overflow: hidden;
    width: 95%;
    max-width: 1600px;
    padding: 20px;
    position: relative;
    max-height: 100vh; /* Ensure it doesn't exceed the viewport height */
    overflow-y: auto; 
}
.button {
    font-family: 'Fira Sans';
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    background-color: rgb(98, 126, 110);
    border: none;
    font-size: 24px;
    border-radius: 20px;
    padding: 20px 40px;
    cursor: pointer;
    box-shadow: 0 8px 12px rgba(17, 17, 17, 0.2);
}
.button:hover {
    background-color: rgb(98, 126, 110);
}

h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
}
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    flex: 0 0 100%;
    width: 100%;
}
.slide img {
    width: 100%;
    height:auto;
    vertical-align: middle;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
.hide {
    display: none;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
}
.content img {
    max-width: 100%;
    border-radius: 10px;
}

.button1 {
    top: 20px;
    right: 20px;
    background-color: #ccc;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
}
.button1:hover {
    background-color: #bbb;
}

.button2 {
    top: 20px;
    font-family: 'Fira Sans';
    right: 20px;
    background-color: rgb(98, 126, 110);
    border: none;
    border-radius: 20px;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
}
.button2:hover {
    background-color: rgb(98, 126, 110);
}

.button3 {
    top: 20px;
    right: 20px;
    background-color: #8f1818;
    font-family: 'Fira Sans';
    border: none;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
}
.button3:hover {
    background-color: #8f1818;
}

#left-label {
    font-family: 'Fira Sans', sans-serif;
}

#progressBarContainer {
    width: 100%;
    background-color: #f3f3f3;
    border: none;
    border-bottom: 2px solid #ccc;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 30px;
}


/* Navigation Buttons */
.navigation {
    display: flex;
    justify-content: center; /* Center the buttons horizontally */
    align-items: center;    /* Center the buttons vertically */
    gap: 10px;              /* Space between the buttons */
    margin-top: 20px;  
}

.navigation button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 0 10px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navigation button:hover {
    background-color: #555;
}

#progressBar {
    width: 0%;
    height: 30px;
    background-color: rgb(98, 126, 110);
    text-align: center;
    line-height: 30px;
    color: white;
    border-radius: 0;
    transition: width 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

#canvasContainer {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically if needed */
    margin: 0 auto; /* Center the container itself */
    padding: 20px; /* Optional padding */
    box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}

#gameCanvas {
    border: 1px solid #ccc; /* Optional border */
}

hr {
    border: 0;
    border-top: 0.5px solid #ccc;
    margin: 20px 160px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}
th {
    background-color: #f2f2f2;
}

.slider-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.slider-container label {
    margin-right: 10px;
}

.slider-container input {
    margin-right: 20px;
}
