* {
    margin: 0;
    box-sizing: border-box;
    font-family: Rajhandi, sans-serif;
    font-size: 1em;
    line-height: 1.4;
    scroll-behavior: smooth;
    color: var(--black-color);
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: rgb(25, 185, 0);
    background: linear-gradient(180deg, rgba(25, 185, 0, 1) 0%, rgba(21, 121, 9, 1) 22%, rgba(71, 73, 1, 1) 68%, rgba(34, 29, 1, 1) 100%);
}

/********************************************************************************************************/
/*Header*/
/********************************************************************************************************/

header {
    display: grid;
    background-color: #1f1f1f;
    color: white;
    padding: 20px 0;
    grid-template-columns: 8fr 11em;
    grid-template-rows: 1fr;
    text-align: center;
    height: 7em;
}

h1 {
    font-size: 2em;
}

.serverstatus {
    background-color: #1f1f1f;
    width: 90%;
    padding: 1em 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    height: 3em;
}

/********************************************************************************************************/
/*Main*/
/********************************************************************************************************/

main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 3em 3em 6em 1fr;
    background-color: #1f1f1f;
    color: white;
    width: 80%;
    height: 85vh;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

section {
    background-color: #1f1f1f;
    height: fit-content;
    margin: 10px;
    margin-bottom: 1em;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 1.5em;
}

p {
    grid-column: 1 / 5;
    grid-row: 1 / 2;
}

main>p {
    margin-left: 10px;
    margin-top: 10px;
}

p+p {
    grid-row: 2 / 3;
    margin-top: 0;
}

a {
    color: #00aaff;
}

ul {
    margin-bottom: .5em;
}

article {
    grid-column: 3 / 5;
    margin: 10px;
}

p+ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

p+ul>li {
    width: 50%;
}

img {
    width: 8em;
    height: 12em;
    border-radius: 2em;
}

/********************************************************************************************************/
/*Footer*/
/********************************************************************************************************/

footer {
    display: flex;
    background-color: #1f1f1f;
    color: white;
    text-transform: uppercase;
    height: 6em;
    justify-content: center;
    align-items: center;
}

footer h2 {
    font-size: 2em;
}

/********************************************************************************************************/
/*Media queerys*/
/********************************************************************************************************/

/*3-grid layout*/
@media (max-width:80em) {
    main {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 3em 3em 6em 1fr 1fr;
        height: fit-content;
    }

    p {
        grid-column: 1 / 4;
    }

    article {
        grid-row: 5 / 6;
        grid-column: 1 / 4;
    }
}

/*2-grid layout*/
@media (max-width:55em) {
    main {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 3em 3em 6em 6em 1fr 1fr;
        height: fit-content;
    }

    p {
        grid-column: 1 / 3;
    }

    article {
        grid-row: 6 / 7;
        grid-column: 1 / 3;
    }
}

/*1-grid layout*/
@media (max-width:40em) {
    main {
        display: flex;
        flex-direction: column;
    }
}