/* Genel Ayarlar */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

header {
    background-color: #007bff;
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

header h1 {
    margin-top: 0;
    font-size: 2.5em;
}

/* Piyano Klavyesi Stilleri */
.keyboard-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    width: 100%;
}

.piano-body {
    display: flex;
    position: relative;
    border-radius: 10px;
    background-color: #555;
    padding: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.key-group {
    position: relative;
}

.white-key {
    background-color: #fff;
    width: 60px;
    height: 250px;
    border: 1px solid #ccc;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 5px 5px;
    transition: all 0.1s ease;
    margin-right: 2px;
}

.white-key:last-child {
    margin-right: 0;
}

.black-key {
    background-color: #222;
    width: 35px;
    height: 150px;
    position: absolute;
    cursor: pointer;
    border-radius: 0 0 5px 5px;
    z-index: 1;
    transition: all 0.1s ease;
    left: 45px;
    top: -1px;
}

.key-group:nth-child(3) .black-key,
.key-group:nth-child(7) .black-key {
    display: none;
}

.note-display {
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: bold;
    color: #4682b4;
    min-height: 30px;
    text-align: center;
}

/* Kart Stilleri */
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    flex: 1 1 300px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border: 2px solid #007bff;
}

.card .symbol {
    font-family: 'Poppins', sans-serif;
    font-size: 5em;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 10px;
}

.card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8em;
    margin-top: 0;
}

.card p {
    font-size: 1.1em;
    color: #555;
}

/* Kart içindeki görseller için stil */
.image-container {
    margin-top: 20px;
}

.card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer Stilleri */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    width: 100%;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}