/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Container for centering content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Heading styles */
h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2.5em;
}

/* Search bar styles */
#searchBox {
    display: block;
    margin: 0 auto 24px auto;
    padding: 12px 16px;
    width: 100%;
    max-width: 350px;
    border: 1.5px solid #bfc9d1;
    border-radius: 24px;
    font-size: 1.1em;
    background: #fff;
    box-shadow: 0 2px 8px rgba(44,62,80,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
#searchBox:focus {
    border-color: #3498db;
    box-shadow: 0 2px 12px rgba(52,152,219,0.10);
}

/* Contributors container */
#contributors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Individual contributor card */
#contributors > div,
.contributor-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 28px 24px 20px 24px;
    box-shadow: 0 4px 12px rgba(44,62,80,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    position: relative;
}

#contributors > div:hover,
.contributor-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 24px rgba(44,62,80,0.18);
}

/* Contributor name */
#contributors h2 {
    font-size: 1.4em;
    color: #0969da;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Links styling */
#contributors p {
    margin: 7px 0;
    font-size: 1em;
}

#contributors a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    transition: color 0.2s;
}

#contributors a:hover {
    text-decoration: underline;
    color: #2980b9;
}

/* Responsive design */
@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    #contributors {
        gap: 12px;
    }

    #contributors > div,
    .contributor-card {
        padding: 16px 8px;
    }

    #contributors h2 {
        font-size: 1.1em;
    }

    #searchBox {
        font-size: 1em;
        padding: 10px 12px;
        max-width: 98vw;
    }
}