:root {
    --blue: #001F3F;
    --dark-blue: #172A3A;
    --light-blue: #c8ccff;
    --light-gray: #F4F4F4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto",sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--light-gray);
    color: var(--dark-blue);
    /* padding: 0 2rem; */
}

.navbar{
    background-color: rgba(97, 122, 143, 0.74);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(5px);
    font-size: .8rem;
}
.navbar nav a {
    color: var(--light-gray);
    text-decoration: none;
    margin: 0 1rem;
    font-weight: bold;
}

nav a :hover{
    color: var(--light-blue);
}

.main {
    height: 100vh;
    background-color: var(--blue);
    color: var(--light-gray);
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem;
}

.chat-container {
    margin-top: 2rem;
    border: 1px solid var(--blue);
    border-radius: 15px;
    padding: 1.5rem;
    background-color: #fff;
    color: var(--blue);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 300ms ease;
}

.chats-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.chat-btn {
    cursor: pointer;
    background-color: var(--dark-blue);
    color: var(--light-gray);
    padding: 10px 20px;
    width: 100%;
}

.about, .details, .contributors {
    margin-top: 3rem;
    padding: 0 2rem;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.about h2, .details h2, .contributors h2{
    margin-bottom:  2rem;
    text-align: center;
}

.about p {
    text-align: justify;
}

.server-img {
    border-radius: 20px;
    max-width: 100%;
}

.details-container, .contributors-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail, .contributor {
    border: 1px solid var(--blue);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 300ms ease;
}

.detail:hover, .contributor:hover {
    background-color: var(--light-blue);
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.detail i {
    font-size: 1.5rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

.detail h4, .contributor h4 {
    text-align: center;
    margin-bottom: .5rem;
}

.contributor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .25rem;
    text-align: center;
}

.profile-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--blue);
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin: 0 .5rem;
}

footer {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--dark-blue);
    color: var(--light-blue);
    text-align: center;
}

@media (min-width: 768px) {
    .main{
        padding-top: 80px;
        flex-direction: row;
        justify-content: space-around;

    }

    .server-img {
        max-width: 75%;
    }

    .details-container{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .about, .details, .contributors {
        padding: 0 4rem;
    }

    .contributors-container {
        display: grid;
        margin-top: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
}