@font-face {
    font-family: 'ElfFont';
    src: url('elffont.ttf');
}
@font-face {
    font-family: 'RingFont';
    src: url('ringfont.ttf');
}

* { margin: 0; box-sizing: border-box; }

body {
    /* Kept your background styling */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url('background.webp') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
}

/* The new wrapper style */
.main-wrapper {
    /* 0.7 means 70% opacity; change to 0.5 or 0.6 for more transparency */
    background-color: rgba(0, 0, 0, 0.7);
    color: #e0e0e0;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,1);
}

h1 {
    letter-spacing: 3px;
    padding: 20px;
    text-align: center;
    font-family: RingFont;
    font-size: 90px;
    color: #d8b04a;
}

#subtitle {
    color: #90a2b0;
    line-height: 1.6;
}

ul {
    color: #A0A0A0;
    list-style-type: square;
}

img {
    border: 2px solid #5f839c;
    border-radius: 25px;
}

a {
    color: #5f839c;
    text-decoration: none;
}
a:hover {
    color: white;
}

/* Updated to remove background-color transparency so it looks solid inside the black box */
p, li {
    background-color: transparent;
    width: auto;
    color: #e0e0e0;
    padding: 5px 0;
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 40px auto;
    gap: 40px;
}

h3 {
     font-family: 'ElfFont', serif;
     color: #5f839c;
     font-size: 50px;
}

.info-row:nth-of-type(even) {
    flex-direction: row-reverse;
}

.info-row img {
    width: 300px;
    height: auto;
}

.quote-container {
    margin: 15px 0;
    padding-left: 15px;
    border-left: 3px solid #5f839c;
}

blockquote {
    font-family: 'ringfont';
    font-style: italic;
    color: #D0D0D0;
    font-size: 1.1rem;
    line-height: 1.4;
    background: none;
}

blockquote cite {
    font-family: 'Segoe UI', sans-serif;
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #90a2b0;
    font-weight: bold;
    text-transform: uppercase;
}

.intro img {
    display: block;
    margin: 0 auto 20px auto;
    width: 600px;
}

.intro blockquote {
    color: #9c7c3b;
    border: none;
    text-align: center;
    margin: 20px auto;
    width: 80%;
}
