body{
    background-image: url('./media/image.png');
    font-family: "Comic Sans MS", "Comic Sans", cursive;;
}

body{
    padding-top: 60px;
}

#top_banner{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    text-align: center;
    border-bottom: 4px ridge yellow;
    background: linear-gradient(90deg, magenta, blue, cyan, lime, yellow, orange, red, magenta, blue, cyan, lime, yellow, orange, red);
    background-size: 200% 100%;
    animation: rainbow 1.5s linear infinite reverse;
    z-index: 999;
}

#top_banner_text{
    line-height: 50px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 0 red, -2px -2px 0 blue, 3px 3px 0 lime;
    animation: blink 0.8s steps(1) infinite;
}

@keyframes blink{
    0% { opacity: 1; }
    50% { opacity: 0; }
}

#info_box{
    background-color: rgba(125, 85, 151, 0.543);
    width: 30%;
    border-width: 1px;
    border-style: solid;
}

#playercount{
    font-size: xx-large;
}

#status_online{
    background-color: green;
}

#status_offline{
    background-color: red;
}

h1{
    color: rgb(255, 0, 0);
    background: linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, magenta, red);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 3s linear infinite;
}

#download{
    font-size: 50px;
}

#banner{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
    border-top: 4px ridge yellow;
    background: linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, magenta, red, orange, yellow, lime, cyan, blue, magenta);
    background-size: 200% 100%;
    animation: rainbow 2s linear infinite;
    z-index: 999;
}

#banner_text{
    display: inline-block;
    white-space: nowrap;
    line-height: 50px;
    font-size: 28px;
    font-weight: bold;
    color: yellow;
    text-shadow: 2px 2px 0 red, -2px -2px 0 blue, 3px 3px 0 lime;
    animation: scroll 40s linear infinite, textcolor 0.5s steps(1) infinite;
}

#banner_text span{
    display: inline-block;
    padding-right: 80px;
}

@keyframes scroll{
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes rainbow{
    from { background-position: 0 0; }
    to { background-position: -100% 0; }
}

@keyframes textcolor{
    0% { color: yellow; }
    25% { color: white; }
    50% { color: #00ff00; }
    75% { color: #ff00ff; }
}

#download_box{
    margin-top: 30px;
    background-color: blueviolet;
}

#install_btn{
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-size: 28px;
    font-weight: bold;
    color: blue;
    background: #c0c0c0;
    border: 4px outset #fff;
    padding: 8px 20px;
    cursor: pointer;
    animation: blink 1.2s steps(1) infinite;
}

#install_btn:active{
    border-style: inset;
}

#modal_overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal_overlay[hidden]{
    display: none;
}

#modal{
    width: 450px;
    max-width: 90%;
    background: #c0c0c0;
    border: 4px outset #fff;
    box-shadow: 8px 8px 0 black;
}

#modal_title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    color: white;
    font-weight: bold;
    background: linear-gradient(90deg, navy, #1084d0);
}

#modal_close, #modal_ok{
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    background: #c0c0c0;
    border: 3px outset #fff;
    cursor: pointer;
    font-weight: bold;
}

#modal_body{
    padding: 12px 16px;
    color: #000080;
}

#modal_body h2{
    color: red;
    text-decoration: underline;
}

#modal_ok{
    padding: 4px 30px;
}

#popup_ad{
    position: fixed;
    right: 15px;
    bottom: 65px;
    width: 300px;
    max-width: 80%;
    background: #c0c0c0;
    border: 4px outset #fff;
    box-shadow: 6px 6px 0 black;
    z-index: 1500;
}

#popup_ad[hidden]{
    display: none;
}

#popup_title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    color: white;
    font-weight: bold;
    background: linear-gradient(90deg, maroon, red);
}

#popup_close{
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    background: #c0c0c0;
    border: 3px outset #fff;
    cursor: pointer;
    font-weight: bold;
}

#popup_img{
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}
