/* MOBILE STYLES */
@media (max-width: 1200px) {
    .flames-flex.unified-block.flames-row {
        position: static;
        flex-direction: column;
        top: unset;
        left: unset;
        width: 100%;
        min-width: unset;
        max-width: unset;
        padding: 18px 2vw 24px 2vw; /* Reduced padding */
        font-size: 1em; /* Slightly reduced font size */
        box-sizing: border-box;
        transform: none;
        margin-top: 18vh;
        margin-bottom: 24px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .flames-col {
        min-width: unset;
        max-width: unset;
        width: 100%;
        align-items: flex-start;
        margin-bottom: 18px;
    }
    .flames-col:last-child {
        margin-bottom: 0;
    }
    .name-banner {
        position: fixed;
        top: 12px; /* Raised name banner */
        left: 12px;
        bottom: unset;
        z-index: 100;
        pointer-events: none;
    }
    .name-banner h1 {
        font-size: 2em; /* Reduced font size for mobile */
    }
}

/* Desktop name banner: lower left corner */
.name-banner {
    position: fixed;
    left: 32px;
    bottom: 32px;
    top: unset;
    z-index: 100;
    pointer-events: none;
}
.name-banner h1 {
    font-size: 2.8em;
    color: #fff;
    text-shadow: 0 0 12px #d33, 0 0 32px #ff8000;
    margin: 0;
    padding: 0;
    font-weight: bold;
    letter-spacing: 1px;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background: url('./dumpsterfire3.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    min-width: 100vw;
    position: relative;
    padding-bottom: 80px; /* Prevent flexbox from being cut off at bottom */
}

.flames-flex.unified-block.flames-row {
    position: absolute;
    left: 50%;
    top: 16%; /* Raised from 28% to 16% to sit in the flames */
    width: 700px;
    max-width: 95vw;
    min-width: 280px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 48px;
    background: rgba(255, 80, 0, 0.25);
    border-radius: 30px 30px 60px 60px/30px 30px 80px 80px;
    box-shadow:
        0 0 40px 20px rgba(255, 80, 0, 0.5),
        0 0 80px 40px rgba(255, 200, 0, 0.3),
        0 0 120px 60px rgba(255, 0, 0, 0.2);
    border: 2px solid rgba(255, 80, 0, 0.5);
    padding: 32px 40px 40px 40px;
    z-index: 2;
    animation: floatUpDown 2.5s infinite ease-in-out;
    font-size: 1.1em;
    filter: none !important;
}

.flames-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
    max-width: 320px;
}

@keyframes floatUpDown {
    0% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -60%);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}

a:link {
    color: black;
    background-color: transparent;
    text-decoration: underline dotted;
}
      
a:visited {
    color: darkgrey;
    background-color: transparent;
    text-decoration: underline dotted;
}
