freecorn-landing-page/streams/43styles.css
2024-08-20 13:37:03 -04:00

34 lines
787 B
CSS

body, html {
font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
margin: 0;
padding: 0;
height: 100%;
background-color: black;
font-size: 16px; /* Establish a base font size */
}
.container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.video-container, .image-container {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
width: calc(90vh * 4 / 3);
max-width: 100vw;
overflow: hidden; /* Ensure no overflow occurs */
}
.video-container video, .image-container img {
width: 100%;
height: 100%;
object-fit: contain; /* Ensure the image/video covers the container without stretching */
}