* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1e1e2f;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    background-color: #282a36;
    color: #f8f8f2;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #bd93f9;
}

.search-bar {
    margin: 15px auto;
}

#searchInput {
    width: 80%;
    max-width: 400px;
    padding: 12px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    background-color: #44475a;
    color: #555555;
    outline: none;
    transition: box-shadow 0.3s, transform 0.2s;
}

#searchInput::placeholder {
    color: #bd93f9;
}

#searchInput:focus {
    box-shadow: 0 0 10px rgba(189, 147, 249, 0.8);
    transform: scale(1.02);
}

main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    max-width: 1200px;
}

.project-box {
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #282a36;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.project-image img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #44475a;
}

.project-content {
    padding: 15px;
}

.project-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #bd93f9;
    margin-bottom: 8px;
}

.project-description {
    font-size: 0.95em;
    color: #a6accd;
    line-height: 1.6;
    margin-bottom: 15px;
}

.download-button {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #bd93f9;
    color: #757575;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.download-button:hover {
    background-color: #7a1efa;
    transform: scale(1.05);
}
