@font-face {
    font-family: 'BrownHunterVic';
    src: url('../font/BrownHunterVic-Regular.ttf') format('truetype');
}

body {
    background-image: url('../image/background_image.png');
    background-size: cover;
    background-attachment: fixed;
    background-color: #04040e;
    color: #fff; /* Couleur du texte pour le contenu général */
}

.banner {
    background-image: url('../image/ban_ruche_2.png'); /* Chemin vers votre image */
    background-size: cover; /* Adapter l'image pour qu'elle soit entièrement visible */
    background-repeat: no-repeat; /* Empêcher la répétition de l'image */
    background-position: top; /* Centrer l'image */
    color: white; /* Couleur du texte */
    height: 30vh; /* Hauteur dynamique en fonction de la hauteur de la fenêtre */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: center; /* Centrer le texte */
    margin-bottom: 20px; /* Espacement en bas de la bannière */
    width: 80%; /* Assurer que la bannière prenne toute la largeur */
    padding-bottom: 20px; /* Espacement intérieur en bas pour le texte */
    margin: auto;
}

.title-container {
    text-align: center; /* Centrer le texte */
}

.title-container h1 {
    font-family: 'BrownHunterVic', sans-serif;
    margin: 0; /* Supprime les marges par défaut */
    font-size: 2.0vw; /* Taille de la police relative à la largeur de l'écran */
}

.title-container p {
    font-family: 'BrownHunterVic', sans-serif;
    margin: 0; /* Supprime les marges par défaut */
    font-size: 1.5vw; /* Taille de la police relative à la largeur de l'écran */
}

/* Styles spécifiques pour les petits écrans */
@media (max-width: 576px) {
    .banner {
        height: 10vh; /* Réduire la hauteur pour les petits écrans */
        padding-bottom: 10px; /* Espacement intérieur en bas pour le texte */
    }
    
    .title-container h1 {
        font-size: 4vw; /* Augmenter la taille de la police pour les petits écrans */
    }

    .title-container p {
        font-size: 2.5vw; /* Augmenter la taille de la police pour les petits écrans */
    }
}

.footer {
    color: white;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: contents;
}

.footer-logo {
    width: 100px;
    margin-bottom: 10px;
}

.footer-text a {
    text-decoration: underline;
}

.footer-text a:hover {
    text-decoration: underline;
}

.footer-text p {
    margin: 0;
    padding: 0;
}
.back-button {
    display: block;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.back-button:hover {
    background-color: #0056b3;
}

.ui-dialog-titlebar-close {
    background: url("http://code.jquery.com/ui/1.10.3/themes/smoothness/images/ui-icons_888888_256x240.png") repeat scroll -93px -128px rgba(0, 0, 0, 0);
    border: medium none;
}

.ui-dialog-titlebar-close:hover {
    background: url("http://code.jquery.com/ui/1.10.3/themes/smoothness/images/ui-icons_222222_256x240.png") repeat scroll -93px -128px rgba(0, 0, 0, 0);
}

/* Styles pour la boîte de dialogue sur différentes tailles d'écran */
@media (max-width: 767px) {
    .ui-dialog {
        width: 95vw !important;
        max-height: 80vh !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ui-dialog {
        width: 80vw !important;
        max-height: 90vh !important;
    }
}

@media (min-width: 1025px) {
    .ui-dialog {
        width: 60vw !important;
        max-height: 80vh !important;
    }
}
