body
{
    color: rgb(255, 255, 255);
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    text-align: center;

    scroll-behavior: smooth;

    background-color: rgb(32, 33, 34);
}

a{
    color: rgb(255, 217, 2);
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

.title
{
    font-size: 300%;
    font-weight: bold;
    color: rgb(255, 199, 79);
}

.homeBg
{
    background-color: rgb(0, 0, 0);

    background-image: url("src/McBackgrounds/1.png");

    background-repeat: no-repeat;
    background-size: 120%;
    background-attachment: fixed;

    position: absolute;

    width: 100%;
    min-width: 100%; 
    height: 100%;
    min-height: 100vh;

    top: 0%;
    left: 0%;

    outline: none;

    text-align: center;

    float: right;

    transition-duration: 400ms;
    transition-property: transform;
}

.homeBg .logo
{
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;

    height: 500px;
    transform: translate(0px,40px);
}

.homeBg .logo:hover
{
    transform: scale(1.1);
    cursor: pointer;
}

.homeBg .title
{
    font-size: 230%;
    font-weight: 900;
    color: rgb(255, 255, 255);
}

.homeBg .button
{
    margin-top: 60px;
    font-size: 160%;
}

.bodyWithBg2
{
    background-image: url("src/McBackgrounds/2.png");
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;

    transition-duration: 300ms;
}

.bodyWithBg3
{
    background-image: url("src/McBackgrounds/3.png");
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;

    transition-duration: 300ms;
}

.bodyWithBg4
{
    background-image: url("src/McBackgrounds/4.png");
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;

    transition-duration: 300ms;
}

.joinTips
{
    font-size: 200%;
    background-color: rgb(32, 33, 34);
    padding: 20px;
    border-radius: 70px;
}


.ipInputTitle
{
    font-size: 70%;
    color: rgb(255, 255, 255);
    line-height: 0%;
    margin-top: 80px;
}

.button
{
    border-radius: 40px;
    
    color: white;
    text-decoration: none;
    
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 40px;
    padding-left: 40px;

    width: fit-content;
    
    transition-duration: 600ms;
    
    font-size: 80%;

    background-color: rgba(255, 174, 0, 0);
    border: 4px solid rgb(255, 174, 0);
    box-shadow: 0px 0px 3px rgb(255, 174, 0);

    cursor: pointer;

    user-select: none;
}

.button:hover
{
    background-color: rgb(255, 174, 0);
    border: 2px solid rgb(255, 174, 0);
    box-shadow: 0px 0px 10px rgb(255, 174, 0);

    transform: scale(1.1);
}

.button:active
{
    transition-duration: 200ms;
    background-color: rgb(255, 199, 79);
    box-shadow: 0px 0px 20px rgb(255, 199, 79);
}

center {
    margin: 0 auto;
}

.centerPanel
{
    position: absolute;
    top: 45%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: fit-content;
    height: fit-content;
}

.fade-short
{
    animation: fadein 1s;
}

.fade
{
    animation: fadein 2s;
}


.topnav {
    overflow: hidden;

    width: calc(100% - 210px);
    position: fixed;
    
    top: 10px;
    left: 10px;
    
    z-index: 100;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 6px 0px;
    width: 200px;
    text-decoration: none;
    font-size: 26px;
    transition-duration: 300ms;

    border-radius: 20px;

    cursor: pointer;

    border: rgba(255, 174, 0, 1) solid 4px;

    margin-right: 20px;
    margin-bottom: 20px;
}

.topnav .active {
    background-color: rgba(255, 174, 0, 1);
}

.topnav:hover .active {
    background-color: rgba(255, 174, 0, 0);
}

.topnav:hover .active:hover {
    background-color: rgba(255, 174, 0, 1);
}


.topnav a:hover {
    background-color: rgb(255, 174, 0);
    color: rgb(255, 255, 255);
}

.serverStatus {
    color: rgb(71, 71, 58);
    text-align: center;
    text-decoration: none;
    font-size: 21px;
    transition-duration: 300ms;

    width: 180px;

    border-radius: 20px;

    cursor: pointer;

    text-align: right;
    font-weight: 900;

    position: fixed;

    top: 10px;
    right: 20px;

    z-index: 10;

    background-color: #dadfe5;
}

.GreenDot
{
    background-color: #4ac187;
    border-radius: 50%;
    width: 31px;
    height: 31px;
    max-width: 40px;
    text-align: center;
    line-height: 20px;
    font-size: 20px;
    margin: 10px;

    bottom: 3px;
    top: 3px;

    position: absolute;

    animation: waveScale 2s infinite;
}

.RedDot
{
    background-color: rgb(255, 39, 68);
}


.selectGame
{
    background-color: rgb(32, 33, 34);
    color: rgb(255, 255, 255);
    border-radius: 50px;
    padding: 30px;
    
}

.gameMode
{
    margin-top: 60px;
    background-color: rgba(0, 0, 0, 0.199);
    width: fit-content;

    padding: 10px;
    padding-top: 20px;

    border-radius: 20px;

    transition-duration: 200ms;

    font-size: 140%;

    cursor: pointer;
}

.gameMode:hover
{
    background-color: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

input {
    outline: none;

    border: rgba(0, 199, 199, 0) solid 3px;

    border-radius: 10px;

    font-size: 180%;

    width: 80%;
    height: 40px;

    transition-duration: 500ms;

    background-color: rgb(15, 15, 15);
    color: white;

    left: 60%;
    right: 40%;

    padding: 10px;
}

input:read-only
{
    user-select: text;
}

input:focus {
    outline: none;

    border: rgb(255, 199, 79) solid 3px;
    border-radius: 20px;
}

.CommandTip
{
    background-color: black;
    user-select: text;
    border-radius: 6px;
    padding: 10px;

    transition-duration: 200ms;
}

.CommandTip:hover
{
    color: rgb(255, 199, 79);
}

.aboutPanel
{
    background-color: rgb(32, 33, 34);
    padding: 30px;
    border-radius: 30px;
    max-width: 600px;
}

@keyframes waveScale
{
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}


@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes bgSlideOut {
    from { background-position: 0px 0px; }
    to   { background-position: -100% 0px; }
}

@keyframes bgSlideIn {
    from { background-position: -100% 0px; }
    to   { background-position: 0px 0px; }
}
