/* Style pour les coloriages */
@import url("https://www.oiseaux.net/jeux/css/menu_hide.css");
@import url("https://www.oiseaux.net/jeux/css/jeux.css");
h1 {

    margin: 0;
}

.coloriages-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


p.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.flex-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Style pour l'alphabet */
.flex-row span {
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    min-width: 30px;
    text-align: center;
}

.flex-row span a {
    color: #4A90E2;
    text-decoration: none;
}

.flex-row span a:hover {
    color: #2171C7;
}

/* Style pour la liste des coloriages */
.flex-row.wrap li {
    list-style: none;
    padding: 5px 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 5px;
    gap: 10px;
}

.dessin{
	color: #747474;
    font-size:3em;
    font-weight: 700;
}
.flex-row.wrap li a {
    color: #4A90E2;
    text-decoration: none;
}

.flex-row.wrap li:hover {
    color: #2171C7;
}

/* Style pour l'image de coloriage */
.coloriage-image {
    text-align: center;
}

.coloriage-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.coloriage-image img:hover {
    transform: scale(1.02);
}

/* Style responsive */
@media (max-width: 768px) {
    .flex-row {
        gap: 10px;
    }
    
    .flex-row span {
        padding: 8px;
        min-width: 25px;
        font-size: 0.9em;
    }
    
    .flex-row.wrap li {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}

/* Style pour la section règles */
.rules-container {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rules-header {
    background: #4A90E2;
    padding: 15px;
    cursor: pointer;
}

.rules-header h2 {
    color: white;
    margin: 0;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview {
    font-size: 0.8em;
    opacity: 0.9;
}

.toggle-icon {
    font-size: 0.8em;
}

.rules-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.rules-content.active {
    max-height: 500px;
    padding: 20px;
}

.rules-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.rules-content li {
    margin: 10px 0;
}
