body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill-block {
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.skill-block img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.skill-block h3 {
    color: white;
    position: relative;
    z-index: 1;
}

.skill-block p {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* Couleurs des blocs - version claire */
.html-color { background-color: rgba(227, 76, 38, 0.7); }
.css-color { background-color: rgba(21, 114, 182, 0.7); }
.js-color { background-color: rgba(240, 219, 79, 0.7); }
.git-color { background-color: rgba(240, 80, 50, 0.7); }
.maui-color { background-color: rgba(81, 43, 212, 0.7); }
.symfony-color { background-color: rgba(0, 0, 0, 0.7); }
.php-color { background-color: rgba(119, 123, 180, 0.7); }
.csharp-color { background-color: rgba(81, 43, 212, 0.7); }
.svelte-color { background-color: rgba(255, 62, 0, 0.7); }
.drizzle-color { background-color: rgba(0, 0, 0, 0.7); }
.flutter-color { background-color: rgba(2, 86, 155, 0.7); }
.sql-color { background-color: rgba(68, 121, 161, 0.7); }
.postgresql-color { background-color: rgba(51, 103, 145, 0.7); }

/* Couleurs des blocs au survol - version foncée */
.skill-block:hover.html-color { background-color: #000000; }
.skill-block:hover.css-color { background-color: #1572B6; }
.skill-block:hover.js-color { background-color: #F0DB4F; }
.skill-block:hover.git-color { background-color: #000000; }
.skill-block:hover.maui-color { background-color: #512BD4; }
.skill-block:hover.symfony-color { background-color: #000000; }
.skill-block:hover.php-color { background-color: #777BB4; }
.skill-block:hover.csharp-color { background-color: #512BD4; }
.skill-block:hover.svelte-color { background-color: #000000; }
.skill-block:hover.drizzle-color { background-color: #000000; }
.skill-block:hover.flutter-color { background-color: #02569B; }
.skill-block:hover.sql-color { background-color: #4479A1; }
.skill-block:hover.postgresql-color { background-color: #336791; }

.triangle1 {
    position: fixed;
    top: 0;
    left: -50px;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 500px solid transparent;
    border-top: 300px solid white;
    z-index: -1;
}

.triangle2 {
    position: fixed;
    bottom: 0;
    right: -50px;
    width: 0;
    height: 0;
    border-left: 500px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 300px solid white;
    z-index: -1;
}

.footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .skill-block {
        width: 100%;
        max-width: 300px;
    }
}

.skill-block h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
    cursor: pointer;
}

.skill-block h3 a:hover {
    color: #ffd700;
    text-shadow: 0 0 8px #fff, 0 0 2px #ffd700;
}
