
.container {
    max-width: 1200px;
    margin: 40px auto; 
    padding: 0 20px;
    animation: slideLeft 1s ease;
  }

  .procedure {
    display: flex;
    background-color: #d1c4e9; 
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px; 
    padding: 20px;
    animation: slideRight 1s ease;
  }

  .procedure:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: bounce 0.8s ease infinite; 
  }

  .procedure img {
    max-width: 45%;
    max-height: 25%;
    border-radius: 10px;
    
  }
  #h2 {
    font-family: "Stencil Std, fantasy";
    font-size: 400%; 
    color: #8E4585;
    text-align: center; 
  }
  
  #p {
    font-family: "Stencil Std, fantasy";
    color: #8E4585;
    font-size: x-large; 
    text-align: center;
  }


@media (max-width: 768px) {
    .container {
        max-width: 90%; 
        margin: 10% auto; 
        padding: 0 10px; 
        animation: slideLeft 1s ease;
      }
      
      .procedure {
        display: flex;
        flex-direction: column; 
        background-color: #d1c4e9; 
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px; 
        padding: 20px;
        animation: slideRight 1s ease;
      }
      
      .procedure:hover {
        transform: scale(1.1);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        animation: bounce 0.8s ease infinite; 
      }
      
      .procedure img {
        max-width: 100%; 
        border-radius: 10px;
        margin: 0 auto 15px;  
      }
      #h2 {
        font-family: "Stencil Std, fantasy";
        font-size: 200%; 
        color: #8E4585;
        text-align: center; 
      }
      
      #p {
        font-family: "Stencil Std, fantasy";
        color: #8E4585;
        font-size: large; 
        text-align: center;
      }

}