.navbar {
    
    
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensure it's above other content */
  }
nav {
    position: sticky;
    background-color: rgba(222, 224, 227, .5);
    .ca {
        color: black;
        font-size: xx-large;
    }
    b {
        font-family: Comic Sans MS;
    }
    
    .col-auto {
        justify-content: end;
        float: none;

        /* ne va pas bouger peu importe la grosseur de l'image */
    }

    .iconbutton {
        color: black;
        text-decoration: none;
        background-color: transparent;
        border: transparent;



        .icon:hover {
            border-radius: 15px;
            background-color: rgba(222, 224, 227, .75);
            width: auto;
        }
    }
    @media only screen and (max-width: 768px) {
        /* For mobile phones: */
        [class*="col-"] {
          width: 100%;
        }
      }
    @media (max-width: 600px) {
        img {
            display: none;
        }
        
        .icon {
            width: 40%;
            
        }
    }
    
}

body {
    background-image: url(../images/truck.webp);
    background-size: cover;
    overflow-x: hidden;
}

footer {
    color: white;
    page-break-after: always;
    /* Indique la fin du document si jamais on veut le print*/

    a:hover {
        color: white;
    }

}

.pageAcceuil {

    
    #Descriptions {
        
        
        

        .col-3 {
            margin-top: 20px;
            background-color: rgba(222, 224, 227, .5);
            border-radius: 30px;
            color: black;
            border: 2px solid black;
            width: 350px;
            height: auto;
        }

        .list {
            margin-top: 30px;
            text-align: center;
        }

        .desc {

            height: auto;
            padding-bottom: 20px;
        }
        
        .crewmates {
            
            margin-left: 5px;
            opacity: 85%;
            border-radius: 60px;
        }
    }

    p,
    ul {
        font-family: Comic Sans MS;
    }

    span {
        color: red;
    }

    h2 {
        font-family: 'Harry Potter', sans-serif;


    }

    h1 {
        
        font-size: 70px;
        font-family: Comic Sans MS;
        color: black;
        text-align: center;
    }

    s {
        width: 3em;
    }

    .titre {
        margin: 20px;
        text-align: center;
    }

    .images {
        :hover {
            opacity: 50%;
            transition: opacity 2s;

        }

        border-radius: 15px;
        width: 100%;
        height: 350px;
    }
    .image-container {
        opacity: 75%;
        position: relative;
        display: inline-block;
      }
      
      .image-container img {
        display: block;
        width: 100%;
        height: auto;
      }
      
      .overlay-text {
        position: absolute;
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%);         
        color: #fff; 
        padding: 10px 20px; 
        font-size: 20px; 
        text-align: center;
      }
      
      .center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
      }
      .message{
        color: red  ;
      }
      .emergency-image{
        
        border-radius: 10000px;
      }
}




