html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden; /* Prevent scrolling */
box-sizing: border-box;
}
.slide {
width: 94%;
height: 94%;
margin-left: 4%;
margin-top: 2.0rem;
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
background: #f5f5f5;
font-family: Arial, sans-serif;
box-sizing: border-box;
}
.content {
display: block;
background-color: white;
/*
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
*/
width: 90vw;
height: calc(90vw * 9 / 16);
max-height: 90vh;
max-width: calc(90vh * 16 / 9);
padding: 0;
margin: 0;
box-sizing: border-box;
overflow: hidden;
border: 1px solid red;
position: relative;
}
.content-text {
position: absolute;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 750;
white-space: nowrap;
}
.content-text ul {
list-style-type: disc; /* Or none to remove bullets entirely */
padding-left: 1em; /* Adjust indentation as needed */
margin: 0; /* Remove default margins */
}
.content-text li {
margin-bottom: 0.4em; /* Add a little spacing between list items if needed */
}
.wrap-text {
white-space: normal;
}
.green-text {
color: #5D7D40;
}
.content-imageLL {
position: absolute;
bottom: 0;
left: 0;
height: auto;
box-sizing: border-box;
pointer-events: none;
margin: 0;
}
.content-imageUR {
position: absolute;
top: 0;
right: 0;
height: auto;
box-sizing: border-box;
pointer-events: none;
margin: 0;
}
.content-title {
position: absolute;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 750;
white-space: nowrap;
}
.content-titleOpenA {
position: absolute;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 750;
white-space: nowrap;
}
.content-titleOpenB {
position: absolute;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 750;
white-space: wrap;
}
.content-uline {
content: "";
position: absolute;
background: #7CA655;
}
.content-ulineOpen {
content: "";
position: absolute;
background-color: darkgreen;
}
/*
.content::after {
content: "";
position: absolute;
left: 0;
right: 0;
top: 25.00%;
height: 1px;
background-color: green;
}
*/
/* Media (images and videos) scaling */
.content-vilm {
display: block;
margin: 0 auto; /* Center horizontally */
width: 100%; /* Grow to the full width of the browser window */
height: auto; /* Maintain aspect ratio */
max-height: 60vh; /* Ensure it doesn’t exceed the viewport height */
max-width: 100%;
aspect-ratio: 2 / 1;
object-fit: contain; /* Keep proportional scaling */
}
.content-geoLL {
position: absolute;
bottom: 0;
left: 0;
width: 30%;
height: auto;
box-sizing: border-box;
pointer-events: none;
margin: 0;
/* margin: 1rem; */
}
.content-imageCH {
position: absolute;
width: auto;
max-width: 100%;
}
.content-imgCC {
position: absolute;
bottom: 3%;
left: 50%;
transform: translateX(-50%);
height: 80%;
width: auto;
max-width: 100%;
}
/* Text content */
.content h1, .content h2, .content p {
font-size: calc(1.0rem + 1vw); /* Scale text size based on screen width */
margin: 0.5em 0;
text-align: left; /* Explicitly align text to the left */
}
/* Scale navigation buttons */
.navigation {
position: absolute;
bottom: 10px;
left: 0;
right: 0;
display: flex;
justify-content: space-between;
padding: 0 10px;
box-sizing: border-box;
}
.navigation a, .navigation span {
font-size: calc(0.75rem + 0.5vw);
padding: 5px 5px;
border: 2px solid #007BFF;
border-radius: 5px;
text-align: center;
text-decoration: none;
color: #007BFF;
background: white;
min-width: 120px; /* Ensure buttons have consistent width */
height: 20; /* Example height */
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s ease, visibility 0.3s ease;
user-select: none;
}
.navigation a:hover {
background: #007BFF;
color: white;
}
.navigation .disabled {
visibility: hidden; /* Keep spacing consistent but hide the button */
opacity: 0;
pointer-events: none; /* Prevent interaction */
}