/* Base reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5dc; /* Beige */
    color: #333;
    line-height: 1.6;
    text-align: center;
    padding: 20px;
    overflow-x: hidden;
}

/* Header avec animation */
header {
    background: linear-gradient(135deg, #8b5e83, #a97da9);
    color: #fff;
    padding: 20px 0;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

header h1 {
    font-size: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Sections */
main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: slideIn 1s ease-out;
}

.links {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.links:hover {
    transform: translateY(-5px);
}

.links h2 {
    margin-bottom: 15px;
    color: #8b5e83;
    font-size: 1.5rem;
    position: relative;
    animation: bounceIn 1s ease-in-out;
}

a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #8b5e83, #a97da9);
    border-radius: 5px;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

a:hover {
    background: linear-gradient(135deg, #a97da9, #8b5e83);
    transform: scale(1.1);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    margin-top: 20px;
    padding: 15px;
    font-size: 0.9rem;
    background-color: #8b5e83;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
