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

body {
    font-family: Arial, sans-serif;
    background : #EDEDE9;
    background-size: auto; 
    background-repeat: repeat; 
    background-position: top left; 
}



@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* En-tête */
.header-top {
    padding: 30px 20px 10px;
    text-align: center;
    background: #e3d5ca;
    color: #4a536b;
}

.header-top h1 {
    font-size: 28px;
    color: #4a536b;
}

.content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #f0e9e0;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    color: #2d3142;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.2);

}

.content h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #1d3557;
}

.content p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Grille de cartes */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 10px;
}

/* Carte */

.resource-card {
    background: #f5ebe0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #2d3142;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25); 
}


/* Image */
.resource-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* Titre */
.resource-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #264653;
}

/* Description */
.resource-card p {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 0;
}

/* Bordures colorées par carte */
.border-green-lime { border-color: #80b918; }
.border-blue-electric { border-color: #4895ef; }
.border-red-coral { border-color: #e63946; }
.border-purple-bright { border-color: #9d4edd; }
.border-orange-bold { border-color: #f77f00; }
.border-yellow-safran { border-color: #f9c74f; }
.border-rose-light { border-color: #d62828; }
.border-indigo-soft { border-color: #560bad; }
.border-turquoise { border-color: #00b4d8; }

.bg-green-lime { background-color: #f3fae3; }    
.bg-blue-electric { background-color: #e7f1fe; }  
.bg-red-coral { background-color: #ffecec; }      
.bg-purple-bright { background-color: #f3e9fd; }  
.bg-orange-bold { background-color: #fff3e0; }    
.bg-yellow-safran { background-color: #fffbe0; }  
.bg-rose-light { background-color: #ffe5ec; }     
.bg-indigo-soft { background-color: #f0ebfa; }    
.bg-turquoise { background-color: #e0f7fa; }       

/* Transition pour les paragraphes */
.transition-paragraph {
    font-size: 18px;
    line-height: 1.8;
    color: #2d3142;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 6px solid #d5bdaf;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.transition-paragraph:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.transition-paragraph strong {
    font-weight: bold;
    color: #1d3557;
}