/* HINTERGRUND */

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #44f3ff, #62ffa3);
    font-family: Arial, sans-serif;
}

/* CONTAINER */

.skills-container {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* KARTEN */

.skill-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);

    transition: 0.3s ease;
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-10px);
}

/* TITEL */

.skill-card h2 {
    margin: 25px 0 15px;
    font-size: 28px;
    color: #222;
}

/* BILD */

.skill-image {
    width: 90%;
    height: 220px;
    object-fit: cover;

    display: block;
    margin: 0 auto;

    border-radius: 15px;
}

/* TEXT */

.skill-card p {
    padding: 20px;
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

/* BUTTON */

.btn {
    display: inline-block;

    margin-bottom: 30px;
    padding: 12px 30px;

    background: #42ffd6;
    color: black;

    text-decoration: none;
    font-weight: bold;

    border-radius: 12px;

    transition: 0.3s;
}

.btn:hover {
    background: #00e7b0;
    transform: scale(1.05);
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .skills-container {
        padding: 20px;
        gap: 25px;
    }

    .skill-image {
        height: 180px;
    }

    .skill-card h2 {
        font-size: 24px;
    }
}