html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
    color: lightsteelblue;
    margin: 0;
    /* Image courtesy of gradientmagic.com */
    background-image: 
        repeating-linear-gradient(90deg, hsla(69,0%,61%,0.05) 0px, hsla(69,0%,61%,0.05) 1px,transparent 1px, transparent 104px),
        repeating-linear-gradient(0deg, hsla(69,0%,61%,0.05) 0px, hsla(69,0%,61%,0.05) 1px,transparent 1px, transparent 104px),
        repeating-linear-gradient(0deg, hsla(69,0%,61%,0.08) 0px, hsla(69,0%,61%,0.08) 1px,transparent 1px, transparent 13px),
        repeating-linear-gradient(90deg, hsla(69,0%,61%,0.08) 0px, hsla(69,0%,61%,0.08) 1px,transparent 1px, transparent 13px),
        linear-gradient(45deg, rgb(4, 4, 4),rgb(79, 79, 79));
    background-attachment: fixed;
}

h1 {
    text-align: center;
    font-size: 4em;
    margin-bottom: 0;
    color: DodgerBlue;
}

.subheader {
    text-align: center;
    margin-top: 0;
    font-size: xx-large;
}

a:link {
    color: deepskyblue;
}

a:visited {
    color: #666;
}

a:link {
    color: deepskyblue;
}

.wrapper {
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 15vw;
    padding-right: 15vw;
}

.container-portrait {
    display: flex;
    flex-direction: column;
    height: auto;
}

.image {
    flex: 1;
    aspect-ratio: 1;
    min-width: 100px;
    padding: 10px;    
}

@media screen and (orientation: portrait) {
    .image {
        width: 80vw;
    }
}

.stage {
    flex: 1;
    min-width: 100px;
    padding: 10px;    
}

@media screen and (orientation: portrait) {
    .stage {
        width: 80vw;
    }
}

.content {
    flex: 1;
    padding-left: 10vw;
    padding-right: 10vw;
    
}

small {
    font-size: small;
}

footer {
    text-align: center;    
    width: 100%;
    background-color: rgba(64, 64, 64, 0.5);  
}

.error {
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
}

.hidden {
    display: none;
}

.license {
    font-family: monospace;
    font-size: small;
}

.text-column {
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.text-center {    
    margin: 0 auto;
    margin-bottom: 30px;
    width: 720px;
    text-align: justify;
    font-size: medium;
}

.scroll-down {
    text-align: center;
    margin-top: 0;
}

@media (orientation: portrait) {
    .text-column {
        margin: 20px;
    }

    .wrapper {        
        min-height: 100vh; 
    }
}

.ad-placeholder {
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(20, 20, 20, 0.5);
    margin-bottom: 12px;
}

.leaderboard-ad {
    width: 720px;
    height: 90px;
    padding: 5px;
    display: flex; 
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.ad-more-info {
    float: right;
    height: 90px;
    width: 180px;
    display: flex; 
    justify-content: center; 
    align-items: center;
    text-align: center;
    font-size: larger;
}

.mobile-ad {
    display: none;
    width: 320px;
    height: 50px;
    background-color: salmon;
}

.ai {
    color: DarkOrange;
}

#cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #333; /* Dark theme */
    color: #fff;
    font-family: inherit; /* Use site default font */
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#cookie-banner p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
}

#cookie-banner a {
    color: #1e90ff;
    text-decoration: underline;
}

#cookie-banner button {
    background-color: #555;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    margin: 5px 5px 0 0;
    cursor: pointer;
    font-size: 14px;
}

#cookie-banner button:hover {
    background-color: #777;
}

#ai-statement {
    margin-top: 20px;
}