html{
    background-color: lightblue;
    height: 100%;
}
body{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin: 10px;
    color: darkslategrey;
    height: 100%;
}
h1{
    color: black;
}
h2{
    text-align: center;
}

.colorRed {
    color: red;
}

.colorVert {
    color: green;
}

.flexouille{
    display: flex;
    justify-content: space-between;
}
#container{
    display: flex;
    flex-wrap: nowrap;
}
#flexFlex{
    display: flex;
    flex-direction: column;
}
.flexColonne{
    display: flex;
    flex-direction: column;
}
#taches{
    height: 70vh;
    width: 20%;
    align-items: stretch;
}
.VoletCentre{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 70vh;
    width: 30%;
}
.VoletCentre .item{
    flex: 1;
}
.item{
    margin: 5px;
    background-color: white;
    border: 2px solid black;
    padding: 10px;
    border-radius: 10px;
}

.hider {
    display: none;
}

@media (max-width: 768px) {
    #container {
        flex-direction: column;
        align-items: center;
    }
    #taches, #VoletCentre, #sytadin {
        width: 100%;
        height: auto;
    }
}

#sytadin {
    width: 600px;
    height: 70vh;
    align-items: stretch;
}
.iframe-wrapper {
    width: 600px;
    height: 100px;
    overflow: hidden;
    position: relative;
}

.iframe-wrapper iframe {
    width: 600px;
    height: 800px;
    border: none;
    position: absolute;
    top: -60px;
    left: 0;
}
.iframe-wrapper-map {
    width: 600px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.iframe-wrapper-map iframe {
    width: 1000px;
    height: 1000px;
    border: none;
    position: absolute;
    top: -180px;
    left: -200px;
}


    th, td {
        text-align: center;
        border: solid 1px black;
    }

    #meteo, #anniversaires {
    list-style-type: none;
    }

    #anniversaires {
    text-align: end;
    }
    
    footer {
        text-align: center;
        margin-top: 20px;
        font-size: 0.7em;
        color: darkslategrey;
    }

    #tachesContainer ul{
        list-style: none;
    }
    .deleteBtnTache {
        cursor: pointer;
     }

     .largeurMinOk{
        min-width: 20em;
     }


     .highlight-empty {
        background-color: #fff59d;

      }

#nouveauProbleme {
        width: 100%;
        min-height: 4em;
        box-sizing: border-box;
      }

#ajoutMardi {
            font-size: 0.8em;
            display: none;
        }



    .affichageQR { 
        display: flex; 
        flex-wrap: wrap; 
        gap: 20px; 
    }

    .qr-card { 
      display: flex; 
      flex-direction: column; 
      align-items: center; 
      width: 120px; 
      margin-bottom: 20px;
      border: 1px solid #ccc;
      padding: 10px;
      page-break-inside: avoid; /* évite la coupure sur impression */
    }
    .qr-card img { width: 100px; height: 100px; }
    .qr-card .tache { font-weight: bold; margin-top: 5px; font-size: 0.9em; text-align: center; }
    @media print {
      body { padding: 0; }
      .qr-card { border: none; page-break-inside: avoid; }
    }