* {
    box-sizing: border-box;
}

html,
body {
	background-color: #191919;
	color: #D4D4D4;
	margin: 2em auto;
	max-width: 900px;
	line-height: 1.4;
}


a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    color: #646464;
}

.sans {
    font-family: ui-sans-serif, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}

h1,
h3 {
    letter-spacing: -0.01em;
    line-height: 1.2;
    font-weight: 600;
}
h1 {
    font-size: 1.875rem;
    margin-top: 1.875rem;
}

h3{
    font-size: 1.25rem;
    background-color: #143A4E;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 0.75em;
}



figure {
    margin: 1.25em 0;
    page-break-inside: avoid;
}

.indented {
    padding-left: 1.5em;
}

hr {
    border: none;
    border-top: 1px solid #373737;
    width: 100%;
}

img {
    max-width: 100%;
}

.column-list {
    display: flex;
    justify-content: space-between;
}

.column {
    padding: 0 1em;
    flex: 1 1 0;

}

.column:first-child {
    padding-left: 0;
    padding-right: 0;
    flex-grow: 3;
    flex-basis: 0;
    flex: 1 1 0;
}

.column:last-child {
    padding-right: 0;
    flex: 1 1 0;

}

.icon {
    display: inline-block;
    max-width: 1.2em;
    max-height: 1.2em;
    text-decoration: none;
    vertical-align: text-bottom;
    margin-right: 0.5em;
}



.block-color-gray_background {
    background: #252525;
    height: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-cover-image {
    object-fit: cover;
    width: 100%;
    max-height: 30vh;
    overflow: hidden;
    object-position: 0% 10%;
}

.page-header-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    margin-top: -0.8em;
    margin-left: 0.07em;
}


.link-to-page {
    margin: 1em 0;
    padding: 0;
    border: none;
    font-weight: 500;
}

p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.image {
    border: none;
    margin: 1.5em 0;
    padding: 0;
    border-radius: 0;
    text-align: center;
}

ul {
    white-space: pre-line;
}


/* Styles responsive pour le logo */
.page-header-icon .icon {
    width: 120px !important;
    height: 120px !important;
}

@media (max-width: 768px) {
    .page-header-icon .icon {
        width: 100px !important;
        height: 100px !important;
    }

    body {
        margin: 1em auto;
        max-width: 1000px; 
        display: flex;
    }

    div {
        text-align: center;
    }

    ul {
        display: inline-block;
        text-align: left;
    }

    .column-list {
        display: block;

    }

    .image {
        margin: auto;
        max-width: 80%
    }

    h3,
    .link-to-page,
    .page-title {
        text-align: center;
    }

    hr {
        border: none;
    }

    .column{
        padding: 0;
    }

}

@media (max-width: 480px) {
    .page-header-icon .icon {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Animation hover plus fluide */
.page-header-icon .icon:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
}

/* =============================================== */
/*          ANIMATIONS FUN POUR LE LOGO           */
/* =============================================== */

/* Animations fun pour le logo */

.logo-container .icon {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 0 0 transparent);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 10;
}

/* Animation au survol */
.logo-container:hover .icon {
    transform: rotate(360deg) scale(1.2);
    filter: drop-shadow(0 0 20px #ff6b9d) drop-shadow(0 0 40px #4ecdc4) drop-shadow(0 0 60px #45b7d1);
    box-shadow: 0 0 50px rgba(255, 107, 157, 0.6), 0 0 100px rgba(78, 205, 196, 0.4);
}

/* Animation au clic */
.logo-container.clicked .icon {
    animation: funkyBounce 1s ease-in-out;
}

/* Keyframes pour l'animation de clic */
@keyframes funkyBounce {
    0% { transform: scale(1) rotate(0deg); }
    15% { transform: scale(0.8) rotate(-10deg); filter: hue-rotate(0deg); }
    30% { transform: scale(1.3) rotate(10deg); filter: hue-rotate(90deg); }
    45% { transform: scale(0.9) rotate(-5deg); filter: hue-rotate(180deg); }
    60% { transform: scale(1.2) rotate(5deg); filter: hue-rotate(270deg); }
    75% { transform: scale(0.95) rotate(-2deg); filter: hue-rotate(360deg); }
    100% { transform: scale(1) rotate(0deg); filter: hue-rotate(0deg); }
}

/* Particules autour du logo */
.logo-container::before,
.logo-container::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.logo-container::before {
    background: linear-gradient(45deg, #ff6b9d, #feca57);
    top: 10%;
    right: 10%;
    animation: float1 3s ease-in-out infinite;
}

.logo-container::after {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    bottom: 10%;
    left: 10%;
    animation: float2 3s ease-in-out infinite reverse;
}

.logo-container:hover::before,
.logo-container:hover::after {
    opacity: 1;
    transform: scale(2);
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-180deg); }
}

/* Animation de pulsation continue */
.logo-container .icon {
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 4px 20px rgba(255, 107, 157, 0.2), 0 4px 30px rgba(78, 205, 196, 0.1); }
}

/* Responsive pour le logo */
@media (max-width: 768px) {
    .logo-container .icon {
        width: 100px !important;
        height: 100px !important;
    }
}

@media (max-width: 480px) {
    .logo-container .icon {
        width: 80px !important;
        height: 80px !important;
    }
}