/* Reset basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f0f0f5;
    background: url('../img/norway_fjords_wallpaper.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* Overlay sombre pour lisibilité */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 40, 60, 0.5);
    z-index: 0;
}

/* Centrage vertical du contenu */
main {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header centré */
.centered-header {
    text-align: center;
    margin-bottom: 50px;
}

.centered-header h1 {
    font-size: 3em;
    color: #a3c9ff;
}

.centered-header h2 {
    font-size: 1.5em;
    color: #cde4ff;
    margin-top: 5px;
}

.centered-header p {
    font-size: 1.1em;
    color: #d0e7ff;
    margin-top: 10px;
}

/* Style des cartes */
.card {
    background-color: rgba(0, 40, 60, 0.7);
    padding: 25px;
    margin: 20px 0;
    border-radius: 15px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.card h2 {
    color: #a3c9ff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Listes et skills */
ul {
    list-style-type: disc;
    margin-left: 20px;
}

ul li {
    margin-bottom: 8px;
}

/* Liens sociaux */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #a3c9ff;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Footer centré */
.centered-footer {
    text-align: center;
    margin-top: 50px;
    color: #cde4ff;
    font-size: 0.9em;
}

.minecraft-card {
    background-color: rgba(0, 40, 60, 0.5); /* plus transparent que les autres cartes */
    color: #b0dfff;
    text-align: center;
    font-size: 1em;
    border-left: 4px solid #1e90ff; /* petit accent bleu */
    transform: translateY(10px);
    transition: all 0.3s ease;
    cursor: default;
}

.minecraft-card:hover {
    transform: translateY(0);
    background-color: rgba(0, 40, 60, 0.7);
}

a
{
    color: white;
}