*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
html,body{
    height: 100%;
    width: 100%;
}
#main{
    height: 100vh;
    width: 100%;
    background-color: white;
}
#nav{
    height: 100px;
    width: 100%;
    background-color: beige;
    position: absolute;
    display: flex;
    justify-content: space-between;
    padding: 0px 40px;
    }
#nav1{
    display: flex;
    align-items: center;
    justify-content: center;
    }
#nav1 h3{
    font-size: 16px;
    border: 2px solid black;
    border-radius: 40px;
    padding: 5px 6px;
}
#nav1 i{
    font-size: 16px;
    border: 2px solid black;
    border-radius: 40px;
    padding: 5px 6px;
}
#nav2{
    display: flex;
    align-items: center;
    justify-content: center;
    }
#nav2 h1{
    font-weight: 800;
    text-transform: uppercase;
}
    #nav3{
        display: flex;
        align-items: center;
        justify-content: center;
        }
#nav3 button{
    padding: 4px 8px;
    border-radius: 50px;
    border: 2px solid black;
    font-weight: 600;
}
#btn2{
    background-color: orangered;
}
#main>h1{
    font-size: 150px;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
}
img{
    height: 505px;
    width: 370px;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 20px;
    
}
/* Add this CSS for animation */
img.swipe-animation {
    transition: transform 0.5s ease-in-out;
  }
  
#img1{
    transform: translate(-50%,-50%) 
}
#img2{
    transform: translate(-50%,-50%) rotate(-20deg);
}
#img3{
    transform: translate(-50%,-50%) rotate(-30deg);
}
#img4{
    transform: translate(-50%,-50%) rotate(-40deg);
}