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

body, html {
    height: 100%;
    font-family: 'Raleway', sans-serif;
    color: white;
    overflow: hidden;
}

.background-container {
    height: 100vh;
    width: 100vw;
    background-image: url('images/optimized/Firelands_Space_optimized.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    animation: subtle-zoom 30s ease-in-out infinite alternate;
}

@keyframes subtle-zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.quote {
    max-width: 800px;
    padding: 2.5rem;
    animation: fadeIn 2s ease-in-out;
    border-left: 4px solid rgba(255, 100, 50, 0.7);
    border-right: 4px solid rgba(255, 100, 50, 0.7);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.quote:hover {
    transform: scale(1.02);
    border-left: 4px solid rgba(255, 120, 50, 0.9);
    border-right: 4px solid rgba(255, 120, 50, 0.9);
    box-shadow: 0 0 30px rgba(255, 100, 50, 0.2);
}

.quote p {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.quote p:nth-child(1) {
    font-family: 'Raleway', sans-serif;
}

.quote p:nth-child(2),
.quote p:nth-child(3) {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 2.2rem;
    color: rgba(255, 180, 120, 1);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .quote {
        max-width: 90%;
        padding: 1.5rem;
    }
    
    .quote p {
        font-size: 1.4rem;
    }
    
    .quote p:nth-child(2),
    .quote p:nth-child(3) {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .quote {
        padding: 1rem;
    }
    
    .quote p {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .quote p:nth-child(2),
    .quote p:nth-child(3) {
        font-size: 1.5rem;
    }
}
