/*
Cher virtuose du clavier, tes compétences ne te mèneront qu'à un cul-de-sac ici.
Si tu crois trouver des indices en déchiffrant ce labyrinthe de balises et de scripts, méfie-toi :
ce que tu vois n'est qu'une illusion soigneusement codée.
Dans ce monde de 0 et de 1, la vérité est souvent masquée derrière un voile de fausses pistes.
Je te conseille de ne pas prendre pour argent comptant ce que ce code t'offre en apparence.

https://www.youtube.com/watch?v=KEkrWRHCDQU
*/
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
}

.container {
    text-align: center;
    width: 90%;
    max-width: 1200px;
    padding: 40px 20px;
    background-color: #34495e;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

header {
    margin-bottom: 20px;
}

.logo {
    margin-bottom: 20px;
    animation: spin3D 5s infinite linear;
    perspective: 1000px;
}

.logo img {
    width: 150px;
    height: auto;
    transform-origin: center;
}

.hero {
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #DC9BE1, #F3C6B5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1s ease-in-out;
}

.hero p {
    font-size: 1.5rem;
    color: #bdc3c7;
    animation: fadeInDown 1.2s ease-in-out;
}

.video-section {
    margin-bottom: 40px;
}

.video-container {
    animation: fadeInUp 1s ease-in-out;
}

video {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.flags-section {
    margin-bottom: 40px;
}

.flags-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #DC9BE1, #F3C6B5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1s ease-in-out;
}

.keynote-date span{
    background: linear-gradient(90deg, #DC9BE1, #F3C6B5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.keynote-additional-info{
    font-size: 0.8rem !important;
}

.flags-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    animation: fadeInUp 1s ease-in-out;
}

.flag {
    position: relative;
    cursor: pointer;
    animation: bounceIn 0.5s ease-in-out;
}

.flag img {
    width: 100px;
    height: 100px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.flag:hover img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #DC9BE1;
    color: #ecf0f1;
    padding: 5px;
    border-radius: 50%;
    font-size: 12px;
    min-width: 20px;
    text-align: center;
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}

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

@media (max-width: 600px) {
    .logo img {
        width: 100px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .flag img {
        width: 80px;
        height: 80px;
    }
}

.enigmatic-text {
    font-family: 'UnifrakturCook', 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: #ecf0f1;
    background-color: #2c3e50;
    border: 2px solid #bdc3c7;
    border-radius: 10px;
    padding: 30px;
    margin-top: 50px;
    line-height: 1.8;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 2.5s ease-in-out;
}

button {
    background: linear-gradient(90deg, #DC9BE1, #F3C6B5);
    border: none;
    color: white;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    cursor: pointer;
}

button:hover {
    background: linear-gradient(210deg, #DC9BE1, #F3C6B5);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}