@font-face {
    font-family: 'Codec Pro';
    src: url('CodecPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --color-primary: #804092;
    --color-secondary: #03989e;
    --color-tertiary: #5683bf;
    --color-background: #f8f9fa;
    --color-text: #333333;
}

/* body {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
} */

/* Style pour tous les éléments interactifs liés au modal */
[id][role="button"],
.chrono-item {
    cursor: pointer;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.active {
    opacity: 1;
}

.modal-container {
    position: relative;
    margin: 50px auto;
    width: 90%;
    max-width: 700px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal.active .modal-container {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 25px 30px 15px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-tertiary));
    color: white;
}

.modal-content {
    padding: 30px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 28px;
    font-weight: normal;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'Codec Pro', sans-serif;
    font-size: 24px;
    margin: 0;
    padding: 0;
    font-weight: bold;
    line-height: 1.3;
}

.modal-info {
    font-family: 'Codec Pro', sans-serif;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Style pour remplacer les flèches */
.modal-info p {
    margin: 12px 0;
    position: relative;
    padding-left: 25px;
}

.modal-info p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 2px;
    transform: rotate(45deg);
}

.modal-url {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: var(--color-secondary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Codec Pro', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(3, 152, 158, 0.2);
}

.modal-url:hover {
    background-color: #038389;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(3, 152, 158, 0.3);
}