@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

body {
    min-height: 100vh;
    padding: 100px 0;

    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;

    font-family: 'Poppins', sans-serif;

    background-color: #36393f;
    color: #dcddde;
}

#card {
    width: 70%;

    padding: 20px;

    background-color: #18191c;
    border-radius: 10px;

    display: flex;
    gap: 20px;
}


#card #photo img {
    width: 150px;
    height: 150px;

    padding: 3px;
    outline: 3px solid #5c68ee;

    border-radius: 50%;
}

#card #user h1,
#error h1 {
    font-size: 20px;
    font-weight: 600;

    color: #fff;

    display: flex;
    gap: 5px;
}

#card #user p,
#error p {
    font-size: 16px;
}

#card #user strong {
    font-weight: 600;

    color: #fff;
}

#card #user a {
    text-decoration: none;
    color: #5c68ee;
    transition: 0.2s;
}

#card #user a:hover {
    filter: brightness(120%);
}

#projects {
    width: 70%;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

#projects h1 {
    font-size: 18px;
    font-weight: 600;

    color: #fff;
}

#projects ul {
    list-style-type: none;

    display: flex;
    gap: 20px;
}

#projects li {
    padding: 10px;

    background-color: #18191c;
    border-radius: 10px;

    display: flex;
}

.server-card {
    width: 264px;

    border-radius: 5px;

    display: flex;
    flex-direction: column;

    background-color: #202225;
}

.server-card .banner {
    width: 100%;
    height: 128px;

    border-radius: 5px 5px 0 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.server-card .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;

    padding: 0 10px 10px 10px;

    position: relative;
    top: -40px;
    margin-bottom: -40px;
}

.server-card .content .image {
    width: 96px;
    height: 96px;

    border-radius: 25px;
    border: 4px solid #202225;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.server-card .content h1 {
    color: #fff;

    font-size: 24px;
    font-weight: normal;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.server-card .content h1 img {
    width: 18px;
    height: 18px;
}

.server-card .content p {
    text-align: center;
    font-size: 14px;
}

.server-card .members {
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-card .members p {
    color: #DCDDDE;

    font-size: 12px;

    margin-left: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.server-card .members .online {
    display: block;

    width: 10px;
    height: 10px;

    background-color: #3BA55D;
    border-radius: 50%;
}

.server-card .members .total {
    display: block;

    width: 10px;
    height: 10px;

    /* */
    margin-left: 10px;

    background-color: #B9BBBE;
    border-radius: 50%;
}

.server-card .options {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px;
    margin-top: auto;

    border-radius: 0 0 5px 5px;

    background-color: #36393F;
}

.server-card .options a {
    width: 100%;
    height: 42px;

    text-decoration: none;

    color: #fff;

    border-radius: 5px;
    outline: 0;

    background-color: #3BA55D;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.17s;
}

.server-card .options a:hover {
    background-color: #215B32;
}

#error a {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px 30px;
    border-radius: 10px;
    border: 0;
    outline: 0;

    height: 44px;

    background-color: #f2faf2;
    
    font-family: 'Poppins', sans-serif;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;
    transition: 0.2s;
}

#error a:hover {
    filter: brightness(90%);
}

@media only screen and (max-width: 1100px) {
    #card, #projects {
        width: 90%;
    }
}

@media only screen and (max-width: 980px) {
    #projects ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (max-width: 500px) {
    body {
        padding: 50px 0;
    }

    #card {
        flex-direction: column;

        width: 80%;
    }

    #card #photo {
        display: flex;
        justify-content: center;
    }

    #projects,
    #error {
        width: 80%;
    }

    #projects li {
        flex-direction: column;
        gap: 20px;
    }

    .server-card {
        width: 100%;
    }
}

#error {
    padding: 20px;
    margin: auto;

    background-color: #18191c;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
}
#error a {
    margin: 20px auto 0 auto;
}