body{
    text-align: center;
    margin-top: 40vh;
    background-image: url('../Collage/garage1.png');
    background-size: cover;
    z-index: 1;
    
    }

    h1{
        color: rgb(255, 255, 255);
        font-size: 60px;
        margin-bottom: 40px;
        margin-left: 7vh;
    }
    
    button{
        background-color: rgb(76, 76, 205);
        color: white;
        padding: 30px 50px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 60px;
        margin-left: 10vh;
        margin-top: 10vh;
  
    
    }       
    
    button:hover{
        background-color: rgb(64, 64, 109);
    }   

   
    
    
      .item1 {
    background: rgba(255, 0, 0);
    z-index: 3; /* order of images */
    width: 70vh;
    height: 90vh;
    margin-left: 38vh;
    margin-top: -43.2vh;
    background: transparent;

      }
    
      .item1 img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* makes sure the photo fills the box */
       
      }

      .item1 .Garagedoor {
        width: 100%;
        height: 100%;
        transform-origin: left center;        
        transition: transform 0.5s ease;      
      }
    
      .item1 .Garagedoor img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
      }
    
      .item1:hover .Garagedoor {
        transform: rotateY(-80deg);           
      }

      .item2 {
        background: rgba(255, 0, 0);
        z-index: 3; /* order of images */
        width: 70vh;
        height: 90vh;
        margin-left: 85.7vh;
        margin-top: -89.9vh;
        background: transparent;
          }
        
          .item2 img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* makes sure the photo fills the box */
           transform: scaleX(-1);
          }

          .item2 .Garagedoor2 {
            width: 100%;
            height: 100%;
            transform-origin: right center;        
            transition: transform 0.5s ease;      
          }
        
          .item2 .Garagedoor2 img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
          }
        
          .item2:hover .Garagedoor2 {
            transform: rotateY(80deg);           
          }
    
    



    