@charset "UTF-8";

body {
    height: 100vh;
    font-size: 16px;
    background-color: #f1f1f1;
}


/*from html style*/

.mySlides {display:none;}

#ipText {
    color: #FCA800;
    font-size: 25px;
    font-weight: bold;
    padding: 1rem;
    margin: 0;
}

#logo {
    display: block;
    margin: 0 auto;
    width: 600px; 
}

.updates, #serverStats {
	width: 350px;
    height: 600px;
    color: #000;
    border-radius: 0.25rem;
    float: left;
    margin-left: 30px;
    padding: 0 10px 0 10px;
    border: 2px solid #5c5c5c;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100px;
}

nav ul li {
    padding: 0.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 1.5rem;
}

nav ul li a:hover {
    color: #FCA800;
}

nav ul li a:after {
    display: block;
    content: '';
    transform: scaleX(0);
    transform-origin: 0% 50%;
    transition: transform 250ms ease-in-out;
    border-bottom: 2px solid #FCA800;
}

nav ul li a:hover:after, nav ul li .current-page:after {
    transform: scaleX(1);
    transform-origin: 0% 50%;
}

#info {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FCA800;
    width: 600px;
    max-width: 100%;
    min-height: 50px;
    height: fit-content;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    border: 2px solid #FCA800;
}

#info p {
    margin: 0;
    padding: 0.25rem;
    font-size: 1.25rem;
}

#sliderContainer {
    max-width: 1000px;
}

.mySlides {
    width: 100%;
    border-radius: 0.25rem;
}

.update-post {
	
	color: #000;
	border-bottom: 2px solid #5c5c5c;
	
}

#mainElement {
    max-width: 100%;
    background-color: #fff;
    min-height: 100vh;
    width: 900px;
    margin: 0 auto;
}

#mainElement h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 1rem;
    margin: 0;
    font-weight: bold;
    color: #FCA800;
}

#mainElement p {
    padding: 1rem;
}

/* info divs */

#boxContainer {
    display: flex;
    height: 600px;
    width: 1000px;
    margin: 0 auto;
    justify-content: center;
}

.boxTitle {
    text-align: center;
    color: #FCA800;
    font-weight: bold;
}

#serverStats h1 {
    text-align: center;
}

#serverStats div h2  {
    color: #000;
}

#serverStats hr {
    border-color: #5c5c5c;
    border-width: 2px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    width: 100%;
    min-height: 50px;
    height: fit-content;
    background-color: #FCA800;
}

footer p {
    font-size: 1.25rem;
    padding: 1rem;
}

/* Contact */

#contactRedText {
    color: red;
    font-size: 10px;
}

/* Media */

@media screen and (max-width: 1002px) { /* Changes box areas to column */
    #info {
        width: 100%;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    body {
        min-width: 275px;
    }
    #boxContainer {
        display: flex;
        flex-direction: column-reverse;
        height: 1800px;
        width: 100%;
        margin-left: 0;
        justify-content: center;
        border-radius: 0;
    }

    .updates, #serverStats {
        width: 100%;
        margin-left: 0px;
        margin-top: 10px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        /* border-bottom: none; */
    }

    .mySlides {
        border-radius: 0;
    }
}



@media screen and (max-width: 610px) { /* logo 100% width */
    #logo {
        width: 100%;
        min-width: 275px;
    }

    #info {
        border-radius: 0;
    }

}

@media screen and (max-width: 500px) { /* Adds mobile nav */
    nav ul {
        flex-direction: column;
        height: auto;
    }

    nav ul li a:after {
        display: block;
        content: '';
        transform: scaleX(0);
        transform-origin: 0% 50%;
        transition: none;
        border-bottom: 2px solid #FCA800;
    }

    nav ul li a:hover:not(.current-page):after {
        transform: scaleX(0);
    }
}

@media screen and (max-width: 340px) { /* Logo smaller fontsize */
    #ipText {
        font-size: 18px;
        min-width: 275px;
    }
}