/* ====== Styles globaux ====== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
}

h1 {
    color: #ffffff;
}
h2 {
    color: #3a3c41;
}

a {
    color: #3a3c41;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ====== En-tête ====== */
header {
    background: #323639;
    color: #fff;
    padding: 0px;
    text-align: left;
}

header .banner {
    display: flex;
    align-items: center;
    margin-left:10px;
    justify-content: left;
}

header .logo {
    height: 60px;
    margin-right: 5px;
}

/* ====== Conteneur public ====== */
.public-container {
    display: flex;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.categories {
    width: 25%;
    padding: 10px;
    background: #f2f2f2;
    overflow-y: auto;
}

.viewer {
    position: relative;
    flex-grow: 1;
    background: #323639;
}

iframe {
    width: 100%;
    height: 100%;
    margin-bottom: 50px;
    border: none;
}

/* ====== Listes ====== */
ul {
    font-size: 1em;
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 5px;
}

/* ====== Catégories ====== */
.category {
    font-size: 1.5em;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: background 0.3s, border 0.3s;
    color: white;
    background: #ec5236;
}

.category:hover {
    background: #cd3c22;
    border: 1px solid #8d0202;
    color: #5c0000;
}

.toggle {
    margin-right: 10px;
    font-size: 12px;
    color: #ffffff;
}

.nested {
    padding: 5px;
    display: none;
    margin-left: 20px;
}

.nested.active {
    display: block;
}

/* ====== Animation Marquee ====== */
#marquee {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #323639; /* Couleur de fond */
    color: #fff; /* Texte blanc */
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1000;
    border-top: 2px solid #676d72; /* Ligne de séparation */
}

#marquee-text {
    white-space: nowrap;
    display: inline-block;
    animation: scroll 30s linear infinite; /* Animation */
    font-size: 1.5rem;
    padding-left: 25%; /* Commence à droite hors écran */
}

@keyframes scroll {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ====== Logo Bas ====== */
.logobas {
    height: 25px;
    width: 100px;
    padding-left: 13px;
    position: fixed;
    bottom: 7.5px;
    left: 0px;
    z-index: 1001;
    background: #323639;
}

/* ====== Icônes et Overlays ====== */
.document {
    height: 30px;
    margin-right: 10px;
}

.documentb {
    height: 20px;
    margin-left: 5px;
}

.overlay {
    position: fixed;
    top: 80px;
    right: 0;
    width: 200px;
    height: 56px;
    background-color: #323639;
    z-index: 9999;
}

.touch {
    position: fixed;
    top: 10px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 9999;
}

.resetpage {
    position: fixed;
    top: 90px;
    background-color: #323639;
}

.resetpage img {
    width: 16px;
    height: 16px;
    margin-right: 5px; /* Espace entre l'icône et le texte */
}
button {
    display: inline-block;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
    background: #323639;
    color: #fff;
}



button:hover {
    background: #787e83;
}
#weather {
    position: fixed;
    top: 3px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: #333;
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 10px auto;
   
    background-color:#1a1d1f;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
}
#weather h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}
.weather-container img {
    width: 32px;
    height: 32px;
}
.weather-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.weather-icon {
    width: 40px;
    height: 40px;
}