/* CSS Stylesheet */

/* HTML & Root Design  */
/* ================== */
:root {
    color-scheme: light;
    scroll-behavior: smooth;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    margin: 0;
    padding: 0;
    height: 100vh;
}

body {
    -webkit-font-smoothin: antialiased;
}

/* Navigationbar Design  */
/* ==================== */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem;
    padding: 0.5rem 1rem;
    z-index: 1000;
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 4px 12px 6px rgba(0, 0, 0, 0.252);
    border-radius: 12px;
}

.navbar-list {
    list-style-type: none;
    display: flex;
    gap: 2rem;
}

.navbar-link a {
    color: rgb(11, 74, 246);
    display: inline-block;
    position: relative;
    padding-bottom: 0.20rem;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.4s ease-in-out;
}

.navbar-link a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    border-radius: 12px;
    background-color: rgb(11, 74, 246);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar-link a:hover::after {
    transform: scaleX(1);
}

.navbar-wrapper img {
    width: 96px;
    height: auto;
    border-radius: 12px;
    display: inline-block;
}

/* Server Card Design  */
/* ================== */
.server-card {
    background-color: #1a1a1a;
    color: #f5f5f5;
    padding: 2rem;
    margin: 2rem auto;
    margin-top: 12rem;
    border-radius: 12px;
    max-width: 900px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Table Design  */
/* ============ */
.server-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    color: #f0f0f0;
}

.server-table thead {
    background-color: #333;
}

.server-table th,
.server-table td {
    padding: 1rem;
    text-align: left;
}

.server-table tr:not(:last-child) {
    border-bottom: 1px solid #444;
}

.server-table th {
    font-weight: bold;
    color: #ffdd57;
}

.server-table td {
    font-size: 0.95rem;
}

/* Discord Button  */
/* ============== */
.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 6rem;
    background-color: #5865F2;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.discord-button a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;   
}

.discord-button i {
    font-size: 1.2rem;
}

.discord-button:hover {
    background-color: #4752C4;
    transform: scale(1.03);
}


/* Footer Design  */
.footer-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(4px);
    box-shadow: 4px 12px 6px rgba(0, 0, 0, 0.252);
    border-radius: 12px;
    color: #f0f0f0;
    padding: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 4rem;
    bottom: 0;
    border-radius: 12px;
}

.footer-list {
    list-style-type: none;
    display: flex;
    gap: 8rem;
}

.footer-link a {
    color: rgb(11, 74, 246);
    text-decoration: none;
    font-size: 1.6rem;
}

/* MEDIA QUERY & Responsive Design  */
/* =============================== */

/* Smartphone Screens  */
/* ================== */
@media (max-width: 768px) {

    body {
    width: auto;
    max-width: 100%;
    overflow-x: hidden;
    }

    .navbar-wrapper {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        padding: 0.10rem;
    }

    .navbar-wrapper img {
        width: 64px;
        height: auto;
    }

    .navbar-list {
        flex-wrap: wrap;
        max-width: 100%;
        overflow: hidden;
        gap: 0.3rem;
        margin-right: 2rem;
    }

    .navbar-link a {
        font-size: 0.8rem;
        padding: 0.3rem;
    }

    .server-card h1 {
        text-align: center;
    }

    .server-card p {
        text-align: block;
    }
    
    .server-table {
        display: flex-box;
        width: 100%;
        overflow-x: none;
        border-radius: 12px;
    }

    .server-table table {
        width: 100%;
        min-width: 500px;
    }

    .discord-button {
        margin-top: 1rem;
        height:2rem;
    }

    .discord-button a {
        font-size: 1rem;
    }

    .footer-wrapper {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        padding: 0.15rem;  
    }

    .footer-list {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2.8rem;
        margin-right: 2rem;
    }

    .footer-link a {
        font-size: 0.8rem;
    }

    * {
         box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
    }           
}