/*
 Theme Name: Twenty Twenty-Four Child
 Template: twentytwentyfour
*/

/* Importer le style du thème parent */
@import url("../twentytwentyfour/style.css");

/* Ajouter vos styles personnalisés ici */

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

#map-container {
    display: none; /* Cacher la carte par défaut */
}

#map {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

#countryDisplay {
    margin-top: 10px;
    font-size: 20px;
    color: #333;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    margin: 20px auto;
}

/* Sur la page d'accueil, on cache la zone video tant qu'aucun pays n'est genere */
body.home .video-container {
    display: none;
}

body.home .video-container.has-video {
    display: block;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

#countryName {
    font-weight: bold;
    color: black;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px; /* Ajoute une marge supérieure */
}
