* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ffa500 0%, #ff6b35 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
}

.construction-sign {
    background: #ffeb3b;
    border: 5px solid #000;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transform: rotate(-2deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.construction-sign h1 {
    font-size: 2.5rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.main-content h2 {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.main-content p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #555;
}

.dinosaurs {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.dino {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dino-body {
    font-size: 5rem;
    animation: bounce 2s infinite;
}

.dino-1 .dino-body {
    animation-delay: 0s;
}

.dino-2 .dino-body {
    animation-delay: 1s;
}

.hard-hat {
    position: absolute;
    top: -20px;
    font-size: 2rem;
    animation: wiggle 1.5s infinite;
}

.construction-items {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.cone {
    font-size: 2rem;
    animation: blink 1.5s infinite;
}

.cone:nth-child(2) {
    animation-delay: 0.5s;
}

.cone:nth-child(3) {
    animation-delay: 1s;
}

.tools {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 2.5rem;
    margin: 2rem 0;
}

.tools span {
    animation: rotate 3s infinite linear;
}

.tools span:nth-child(2) {
    animation-delay: 0.5s;
}

.tools span:nth-child(3) {
    animation-delay: 1s;
}

.tools span:nth-child(4) {
    animation-delay: 1.5s;
}

footer {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 2rem;
}

footer p {
    font-size: 1.1rem;
}

.btn-retour {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007BFF; /* bleu par défaut */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-retour:hover {
    background-color: #0056b3; /* bleu plus foncé au survol */
}


@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .construction-sign h1 {
        font-size: 1.5rem;
    }
    
    .main-content h2 {
        font-size: 1.5rem;
    }
    
    .main-content p {
        font-size: 1rem;
    }
    
    .dino-body {
        font-size: 3rem;
    }
    
    .tools {
        font-size: 1.5rem;
    }
}
