@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    display: flex;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.projects {
    width: 100%;
    padding: 2rem;
}

h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

li {
    list-style-type: none;
    padding: 1.5rem;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 250px;
    text-align: center;
}

li:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    background: white;
}

li:hover a {
    color: #3498db;
}

a {
    font-size: 1.2rem;
    display: block;
    color: #2c3e50;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #3498db;
    transition: all 0.3s ease;
}

li:hover a::after {
    width: 80%;
    left: 10%;
}

@media (max-width: 768px) {
    ol {
        gap: 1rem;
    }
    
    li {
        width: calc(100% - 2rem);
        margin: 0 1rem;
    }

    li:focus {
        outline: none;
    }
}