body {
    background-color: #151020;
    color: white;
    margin: 0;
}

.panel {
    position: relative;
    padding: 15px;
    border: 3px solid;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.panel h2 {
    margin: 0 0 15px 0;
    text-align: center;
    font-family: "Courier New", monospace;
    font-size: 28px;
}

.panel-content {
    font-family: "Courier New", monospace;
    line-height: 1.4;
}

#sky {

    position: relative;

    min-height: 100vh;

    width: 100%;

    z-index: 1;

}

.site-header {
    text-align: center;
    padding-top: 20px;
    margin-bottom: 15px;

}


.site-header h1 {
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: 48px;
    letter-spacing: 3px;
}


.site-header p {
    margin: 3px 0 8px;
    font-family: "Courier New", monospace;
    font-size: 14px;
}


#clock {
    font-family: "Courier New", monospace;
    font-size: 13px;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.site-nav a {
    padding: 5px 10px;
    border: 1px solid #8b7bb8;
    border-radius: 6px;
    background-color: rgba(139, 123, 184, 0.15);
    color: white;
    text-decoration: none;
    font-family: "Courier New", monospace;
    font-size: 12px;
}

.site-nav a:hover {
    background-color: rgba(139, 123, 184, 0.35);
    transform: translateY(-2px);
}

.hero-panel {
    min-height: 260px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    margin-bottom: 8px;
    border: 3px solid #e6e600;
    border-radius: 12px;
    background-color: rgba(230, 230, 0, 0.12);
    box-shadow: 0 0 10px rgba(230, 230, 0, 0.25);
}

.hero-text {
    width: 65%;
}


.hero-label {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 0 10px;
    border-radius: 6px;
    background-color: rgba(230, 230, 0, 0.2);
    font-size: 11px;
}

.panel,
.hero-panel,
.scroll-panel {
    width: calc(100% - 10%);
    margin-left: 5%;
    margin-right: 5%;
    box-sizing: border-box;
}

.hero-text h2 {
    margin: 0 0 10px;
    font-family: "Courier New", monospace;
    font-size: 38px;
}


.hero-text h2 span {
    color: rgb(74, 185, 0);
}


.hero-text > p {
    max-width: 600px;
    line-height: 1.5;
}

.hero-duck {
    width: 30%;
    text-align: center;
}


.hero-duck p {
    margin: 0 0 8px;
    font-family: "Courier New", monospace;
    font-size: 12px;
}


.hero-duck img {
    width: 150px;
    image-rendering: pixelated;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.hero-duck img:hover {
    transform: translateY(-10px) rotate(-5deg) scale(1.1);
    animation: duck-wiggle 0.4s ease-in-out infinite alternate;
}

@keyframes duck-wiggle {
    from {
        transform: translateY(-10px) rotate(-5deg) scale(1.1);
    }

    to {
        transform: translateY(-14px) rotate(5deg) scale(1.1);
    }
}

.hero-buttons {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}


.hero-buttons a,
.hero-buttons button {
    padding: 8px 12px;
    border: 2px solid #8b6ac4;
    border-radius: 7px;
    background-color: rgba(139, 106, 196, 0.25);
    color: white;
    font-family: "Courier New", monospace;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}


.hero-buttons a:hover,
.hero-buttons button:hover {
    background-color: rgba(139, 106, 196, 0.45);
}

.scroll-panel {
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 8px;
    padding: 8px 0;
    border: 2px solid #f9a8d4;
    border-radius: 8px;
    background-color: rgba(249, 168, 212, 0.10);
}

.scroll-track {
    display: flex;
    width: max-content;
    gap: 35px;
    white-space: nowrap;
    font-family: "Courier New", monospace;
    font-size: 13px;
    animation: scroll-text 15s linear infinite;
}

.scroll-track span {
    display: inline-block;
}

@keyframes scroll-text {
    from {
        transform: translateX(110%);
    }

    to {
        transform: translateX(-100%);
    }
}

.duck-speech {
    position: relative;
    display: inline-block;

    min-width: 100px;
    max-width: 180px;

    margin-bottom: 12px;
    padding: 8px 12px;

    border: 2px solid #f9a8d4;
    border-radius: 10px;

    background-color: rgba(249, 168, 212, 0.15);

    font-family: "Courier New", monospace;
    font-size: 12px;
    text-align: center;
}

/* little speech-bubble triangle */

.duck-speech::after {
    content: "";

    position: absolute;
    bottom: -8px;
    left: 50%;

    width: 12px;
    height: 12px;

    background-color: #15102000;

    border-right: 2px solid #f9a8d4;
    border-bottom: 2px solid #f9a8d4;

    transform: translateX(-50%) rotate(45deg);
}

.panel-row {
    width: 90%;
    margin: 8px auto 0;

    display: flex;
    align-items: stretch;

    gap: 8px;
}

.footer-duck {
    cursor: pointer;
    user-select: none;
}