@font-face {font-family: "Wandering Pencil italic"; 
    src: url('/') format("otf"),
    url("../font/WanderingPencil-Italic.ttf") format('truetype'),
    url("../font/WanderingPencil-Italic.woff") format("woff"),
    url("../font/WanderingPencil-Italic.woff2") format("woff2"); 
  }


/* Réinitialisation des marges et paddings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    height: 100vh;
    /* background-color: #e0e5e9;*/
    background-image: url(modele.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
}


.sub-header {
    width: 100%;
    height:20px;
    left: 0;
    bottom: 0;
    background-color: black;
    color: white;
    text-align: center;
    line-height: 20px;
    font-size: 11px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  }
  
  .header {
      background-color: #003F69;
      height: 70px;
      line-height:70px;
      color: #fff;
      font-family: "poppins", sans-serif;
      font-weight: 400;
      font-style: normal;
      font-size: 32px;
      text-align: center;
  }

  .content {
    width:100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content:center;
    margin-top:30px;
    gap: 10px;
}

.tour {
    width:300px;
    height:735px;
    background-color: white;
    border-radius: 25px;
    margin-right: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 50px;
    overflow: hidden; /* Ajouté */
    position: relative; /* Pour positionner l'image en absolu */
}

.tdf-titre {
    padding: 5px 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: bold;
    background-color: #ffff00;
    border-radius: 5px;
    color: black;
    display: block;
    z-index: 1;
    position: relative; /* pour que le z-index fonctionne */
}

/* .tdf-titre:hover {
    background-color: #ffef27;
} */
 
.tour-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0; 
}


.ici {
    width:650px;
    height:auto;
    /* background: linear-gradient(180deg, #cce7f7, #eaf4fb);*/
    background-color: white;
    border-radius: 25px;
    margin-left: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.logoIci {
    width:90px;
    height:auto;
}

.logoFranceBleu {
    width:55px;
    height:auto;
}

.banner {
    margin-top: 15px;
    width:100%;
    display: flex;
    align-items: start;
    justify-content: end;
    padding:0px 20px;
}

/* Conteneur des colonnes en flex row */
.columns {
    margin-top: -30px;;
    display: flex;
    flex-direction: row;
    gap: 20px; 
    justify-content: center;
    align-items: center;
}

/* Styles généraux pour chaque colonne */
.column {
    display: flex;
    flex-direction: column;
}

/* Styles spécifiques pour la colonne de gauche */
.left .block {
    padding: 10px;
    width:270px;
    height:auto;
    background-color:transparent;
    color: white;
    font-size: 1.2em;
    border-radius: 12px; 
}

/* Styles pour les blocs des colonnes du milieu et de droite */
.middle .block, .right .block {
    padding: 10px;
    background-color:transparent;
    width:300px;
    height:auto;
    position: relative;
    border-radius:12px;
    overflow: hidden;
    color: white;
    font-size: 1.2em;
    
}

span {
    width:100%;
    font-size: 46px;
    line-height: 42px;
    font-family: "Wandering Pencil italic";
    opacity: 0.8;
    color:#6e6e76;
    /* color: #479ae2; */
}

a  {
    width:100%;
    text-decoration: none;
    font-size: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 7px;
    background-color: #3172b2;
    color: #f5f5f5;
    border-radius: 5px;
    margin-bottom: 5px;
}

a:hover {
    background-color: #0f528a;
}



@media (max-width: 768px) {

    .header {
        font-size: 26px;
    }

    body{
        height: auto;
    }
    .content {
        margin-top: 30px;
        flex-direction: column; /* Passe en colonne en mode responsive */
        align-items: center; /* Centre les éléments pour une meilleure mise en page */
    }

    .ici, 
    .francebleu {
        display: flex;
        flex-direction: column; /* S'assure que les éléments internes soient en colonne */
        width: 90%; /* Prend toute la largeur en responsive */
        margin: 10px 0; /* Ajoute un espacement entre les divs */
        align-items: center; /* Centre les éléments */
        padding: 30px;
    }

    .columns {
        flex-direction: column; /* Les colonnes passent en mode colonne */
        gap: 10px; /* Ajoute de l'espacement entre les colonnes */
    }

    .column {   
        width: 100%; /* Colonne prend toute la largeur en responsive */
    }

    .left .block {
        width: 100%; /* Ajuste la largeur de la colonne gauche */
    }

    .logoFranceBleu, 
    .logoIci {
        visibility: hidden; /* Masque les logos en responsive */
        height: 0;
    }

.tour {
    width: 90%;
    margin: 0 auto;
}
}

