body{
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    background-color:#000000;
    
    font-family: "Share Tech Mono", sans-serif;
    letter-spacing: 2px;
}

a
{
    color: white;
    text-decoration: none;
}

br
{
    user-select: none;
}

#serverList
{
    padding-bottom: 30px;
}

.Bg1
{
    background-image: url("src/mcBackground.png");
}

.Bg2
{
    background-image: url("src/mcBackground2.png");
}

.Bg3
{
    background-image: url("src/mcBackground3.png");
}

:root
{
    --cooltipz-bg-color: rgb(0, 141, 99);
    --cooltipz-border-color: rgb(0, 141, 99);
    --cooltipz-text-color: white;
    --cooltipz-font-size: 1rem;
    --cooltipz-font-family: "Share Tech Mono", sans-serif;
    --cooltipz-delay-show: 0.6s;
}

.button 
{
    background-color: rgb(0, 160, 112);
    padding: 10px;
    border-radius: 4px;
    font-size: 150%;
    letter-spacing: -1px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition-duration: 300ms;
    text-align: center;
    color: white;
    user-select: none;
}

.button:hover 
{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.26);
    text-decoration: none;
    background-color: rgb(0, 216, 151);
}

.second-btn
{
    background-color: rgb(61, 61, 61);
}

.second-btn:hover 
{
    background-color: rgb(85, 85, 85);
}

.inputLabel
{
    line-height: 0px;
    padding-top: 20px;
    padding-bottom: 5px;
}

.mainPanel
{
    background-color: rgb(14, 14, 14);
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: min(80%, 900px);
    text-align: center;
    margin-top: 20px;
    border-radius: 10px;
    padding-bottom: 10px;
}

.mainPanel .title
{
    padding: 10px;
    padding-top: 30px;
}

.serverObject
{
    background-color: rgb(20, 20, 20);
    margin: 10px;
    border-radius: 5px;
    height: 140px;
}

.serverObject #serverIcon
{
    background-color: rgba(9, 255, 181, 0.795);
    border-radius: 10px;
    height: 120px;
    float: left;
    margin: 10px;
    margin-right: 40px;
    image-rendering: optimizeQuality;
}

.serverObject .serverName
{
    padding: 0px;
    margin: 0px;
    font-size: 250%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    transition-duration: 300ms;
}

.serverObject:hover .serverName
{
    color: rgb(9, 255, 181);
}


.serverObject .serverMotd
{
    font-size: 150%;
    opacity: 0.9;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}
.serverObject .voteButton
{
    width: 30px;
    float: right;
    transform: translate(-5px, 5px);
    opacity: 0.7;
    transition-duration: 400ms;
}

.serverObject .voteButton:hover
{
    opacity: 0.9;
}


.serverObject .basicData
{
    height: 100%;
    margin: 0px;
    top: 0px;
    padding: 3px;
    width: 74%;
    float:left;
}
 
.serverObject .PlayersCount
{
    height: fit-content;
    width: 100px;
    padding: 20px 0 20px 0;
    float: right;
    text-align: center;
}


.serverObject .PlayersCount .offline
{
    color: rgb(255, 79, 79)
}

.serverObject .PlayersCount img
{
    height: 70px;
}

.serverObject .PlayersCount h2
{
    margin: 0px;
    line-height: 10px;
    text-align: center;
    width: 100%;
    height: 100%;
}

.serverObject .JoinBox
{
    height: fit-content;
    width: 40px;
    padding: 55px 0px;
    padding-right: 10px;
    float: right;
    white-space: nowrap;
}

.loadingScreen img
{
    height: 200px;
    padding-inline: 150px;
}
.loadingScreen h1
{
    font-size: 150%;
    animation: loadingScreenText 3s;
    opacity: 1;
}

.loadingScreen 
{
    padding-block: 150px;
    padding-top: 100px;
}

.global-title
{
    text-align: center;
    width: 100%;
    font-size: 400%;
    line-height: 0px;
    text-shadow: 0px 0px 10px #000000;
    margin-top: 80px;
    text-decoration: none;
}

.global-title:hover
{
    text-decoration: none;
}

.global-subtitle
{
    text-align: center;
    width: 100%;
    font-size: 200%;
    color: rgba(9, 255, 181, 0.795);
    text-shadow: 0px 0px 10px #000000;
}

.centered
{
    text-align: center;
    left: 50%;
    right: 50%;
}

.popup
{
    position: fixed;
    left: 50%;
    right: 50%;
    top: 50%;
    left: 50%;
    width: min(70%, 650px);
    height: max-content;
    background-color: #181818;
    padding: 60px;
    padding-top: 0px;
    padding-bottom: 25px;
    border-radius: 5px;
    transform: translate(-50%, -50%);
    text-align:center;
    border: solid rgba(255, 255, 255, 0.432) 3px;
    box-shadow: 0px 0px 0px 9999px #00000071;
    z-index: 20;
}

.popup .button
{
    padding-inline: 60px;
}


.popup .title
{
    font-size: 300%;
}

.popup .ipCopied
{
    font-size: 200%;
    text-align: left;
    padding: 10px;
    margin-bottom: 40px;
    border-radius: 2px;
    border: solid #ffffff63 5px;
    user-select: all;
    opacity: 0.6;
}

#cookiesPopup .title
{
    line-height: 20px;
}

.authorName
{
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: 0px;
    padding: 1px;
    font-size: 100%;
    text-align: center;
    width: 100%;
    background-color: rgb(39, 39, 39);
}

.discordButton
{
    position: absolute;
    right: 20px;
    bottom: 20px;
    opacity: 90%;
    transition-duration: 100ms;
}


.authorName a
{
    text-decoration: underline;
}

@media only screen and (max-width: 950px) {
    .serverObject .PlayersCount
    {
        display: none;
    }
    .serverObject .basicData
    {
        width: 84%;
    }
}

@media only screen and (max-width: 730px) {
    .serverObject .JoinBox
    {
        display: none;
    }
    .serverObject .basicData
    {
        width: 85%;
    }
}

@keyframes popup-in
{
    0% { transform: translate(-50%, -200%); box-shadow: 0px 0px 0px 9999px #00000000; }
    100% { transform: translate(-50%, -50%); box-shadow: 0px 0px 0px 9999px #00000071; }
}

@keyframes popup-out
{
    0% { transform: translate(-50%, -50%); box-shadow: 0px 0px 0px 9999px #00000071; }
    100% { transform: translate(-50%, 200%); box-shadow: 0px 0px 0px 9999px #00000000; }
}

@keyframes loadingScreenText
{
    0% { opacity: 0; }
    90% { opacity: 0; }
    100% {  opacity: 1; }
}
