html,
body {
margin: 0;
padding: 0;
height: 100%;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
overflow: scroll;
display: flex; /* This makes the html and body containers flex containers */
align-items: center; /* Vertically center content */
justify-content: center; /* Horizontally center content */
color: floralwhite;
}
#background {
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-size: cover;
background-position: center;
z-index: 1;
filter: blur(3px) brightness(0.8); /* Apply blur and dimming */
opacity: 1;
transition:
opacity 1s ease-in-out,
background-image 1s ease-in-out;
}
.container {
position: relative;
z-index: 2; /* Ensure container stays on top of background */
background-color: rgba(0, 0, 0, 0.6);
padding: 2em;
border-radius: 10px;
max-width: 800px;
width: 90%;
margin: auto;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
display: flex;
flex-direction: column;
align-items: start;
justify-content: start;
min-height: 50vh;
/* Optional: Use min-height for responsiveness or switch to a fixed height */
}
header {
text-align: center;
margin-bottom: 2em;
}
h1 {
font-size: 3em;
margin: 0.2em 0;
}
section {
margin-bottom: 2em;
}
ul {
list-style: none;
padding-left: 0;
}
h2 {
font-size: 1.5em;
}
li {
font-size: 1.25em;
}
p {
font-size: 1.25em;
}
.green {
color: limegreen;
}
.gold {
color: gold;
}