/* Styles pour les écrans plus petits (mobiles) */


@media screen and (max-width:900px){
    header h1{
        font-size: 3rem;
    }
    .logo-media{
        width: auto;
      }
    .logo-media img{
        width: 80px;
        padding:8px;
    }

    .section.active {
        display: block;
    }
   
    .toggle-button.left {
        font-size: 2rem;
    }
    .toggle-button.right {
        font-size: 2rem;
    }
    .square-container{
        margin:10px;
        padding: 5px;
        overflow: hidden;
        max-height: 60vh;
    }
    .square {
        overflow: hidden;
    }
    .carousel img{
        width: calc(100%/2);
    }
    .enlarged-square{
        padding: 20px;
    }
 }
/* Styles pour les sections sur les appareils mobiles */
@media only screen and (max-width: 600px) {
    header{
        padding: 10px;
        margin-top: 20px;
    }

    .shub {
              font-size: 2rem;
      }
    .rox {
        font-size: 1.5rem;
      }
    header h1{
        font-size: 2rem;
    }
    .logo-media {
        width: auto;
    }
    .logo-media img {
        width: 60px;
    }
    .squarewho{
        display: block;
        padding: 5px;
      }
    .logo-media2{
        width: auto;
        height: auto;
        margin-top: 1vw;
        padding-top:15px;
    }
    .logo-media2 img{
        width: 60px;
        padding:8px;
    }
    .container {
        max-width: 100%;
    }
       .toggle-button {
        display: block; /* Afficher les sections les unes en dessous des autres */
    }
    .toggle-button.left {
        font-size: 1.2rem;
    }
    .toggle-button.right {
        font-size: 1.2rem;
    }
    .square-container{
        margin:10px;
        padding: 5px;
        overflow: hidden;
        max-height: 60vh;
    }
    .square {
        overflow: hidden;
    }
      
    .square img {
        width: 100%;
        margin-bottom: 5px;
      }

    .popup {
        width:100%;
        height:100%;
        margin:0;
        padding:0;
        border-radius: 0;
    }
    .popup-content {
        margin: 0px;
        padding: 5px;
        width: 95%;
        height: 80%;
        padding-top: 10px;
        margin:0;
      }
    
      .popup-content p{
        font-size: 1rem;
        padding-top:15px;
      }
      .column {
        padding: 10px;
    }
  .carousel img{
        width: 100%;
    }
    .wrapper i{
        height:35px;
        width: 35px;
        font-size: 1rem;
        line-height: 35px;
    }
    .wrapper i:first-child{
        left: -1px;
    }
    .wrapper i:last-child{
        right: -1px;
    }
    .enlarged-square {
        width: 95%;
        height: 80%;
        padding-top: 10px;
        margin:0;
    }
    .button{
        display: flex;
        justify-content: center; /* Centre horizontalement */
        align-items: center; /* Centre verticalement */
        padding: 5px;
      }
      .button a{
        width: 80%;
      }
      .expand-button {
        color: #fff;
        background-color: #181010;
        font-size: 1.2rem;
        border-radius: 20px;
        border:none;
        font-weight: bold;
        width: 100%;
        padding: 8px;
        cursor: pointer;
        transition: transform 0.5s ease;
      }
      .expand-button:hover{
        background-color: #e8eceb;
        color: #181010;
        font-weight: bold;
        transform: scale(1.05);
        width: 100%;
      }
    .Description {
        margin: 0;
        padding: 50px 20px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        }
    .Description h3{
        font-size: 1.2rem;
    }
    .Description p{
        font-size: 0.9rem;
    }
    .Description-below {
        display: inline-block;
        width: 100%; /* Assurez-vous que les éléments occupent toute la largeur */
        padding: 20px 10px 40px;   
        font-size: 1rem;    
      }
    .close-button  {
        left: 80%;
        top: 92%;
        text-align: center;
        font-size: 1.2rem;
        height:50px;
        width: 50px;
        background-color:#e8eceb;
        color:#181010;
      }
  
      
   
 }