*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

html,body{
    height: 100%;
    width: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased; 
     scroll-behavior: smooth;
    
}

#main{
    position: relative;
    overflow: hidden;
    
}
header{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 10vh;
    z-index: 10;
    background-color: black;
    display: flex;
  justify-content: space-between;
  transition: 0.6s;
  align-items: center;


   
    

}
header>a>img{
    position: relative;
    padding-top: 5px;
    padding-left: 15px;
    padding-bottom: 5px;
    height: 8vh;
}
header>ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 50px;
    border-radius: 10px;
    
}
header>ul>li{
    position: relative;
  padding-right: 20px;
  display: block;
    list-style: none;
    border-right: 1px solid white;
}
header>ul>li>a{
    position: relative;
    text-decoration: none;
    margin: 0 15px;
    padding-left: 10px;
    
    letter-spacing: 2px;
    font-weight: 500px;
    transition: 0.5s;
    color: rgba(251, 111, 111, 0.867);
    font-family: "Bourgeois W00 Medium","Arial Regular",Arial,sans-serif;



}
header>ul>li>a:after{
    content: "";
    position: absolute;
    background-color: white;
    height: 1px;
    width: 0;
    left: 5px;
    bottom: -10px;
    transition: 0.3s;

}
header>ul>li>a:hover{
    color: red;
}
header>ul>li>a:hover:after{
    width: 100%;

}

body {
    margin: 30px auto;
    line-height: 1;
    font-family: 'Baloo Tamma 2', cursive;
    background-color: white;
  }

  .page1{
    height: 90vh;
    width: 100vw;
    position: relative;
    background-color: white;
    display: flex;
    flex-direction: row;
    gap: 10%;
    margin-top: 2.6%;
    Font-family: Garamond, Baskerville, Baskerville Old Face, Hoefler Text, Times New Roman, serif;
  }
  .page1>.text{
    height: 80%;
    width: 30%;
    margin-left: 100px;
    margin-top: 130px;
    text-align: center;
  }
  .page1>.text>.head{
    font-size: 50px;
    font-weight: 700;
  }
  .page1>.text>.body{
    font-size: 30px;
    margin-top: 50px;
    line-height: 50px;

    Font-family: Candara, Calibri, Segoe, Segoe UI, Optima, Arial, sans-serif;
  }

  .page1>.photo22{
    height: 80%;
    width: 50%;
    margin-top: 5%;
  
  }
  
  .page2{
    height: 70vh;
    width: 100vw;
    position: relative;
  }
  .p2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

  }
  .touch{
    font-size: 30px;
    font-weight: 600;
  }

  .p2{
    font-size: 18px;
    ;
  }
  .time span{
   font-weight: 800;
  }

  .flip-card {
    float: left;
    margin: 100px;
      width: 100%;
    max-width: 300px;
    height: 300px;
    perspective: 1000px;
      background-color: 
          transparent;
  }
  
  .flip-card-img {
      height: 200px;
      overflow: hidden;
      
      margin-top: 10px;
  }
  
  .flip-card img {
      width: 65%;
      
  }
  
  .flip-card-text {
      margin-top: 20px;
  }
  .flip-card-text>.a{
      margin-top: 20px;
      font-size: 30px;
  }

  
  .flip-card p.title {
    color: black;
    Font-family: Copperplate, Copperplate Gothic Light, fantasy;
    font-size: 30px;
    font-weight: 800;
  }
  
  /* .flip-card p {
      font-size: 1em;
  } */
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.5s;
    transform-style: 
          preserve-3d;
    box-shadow: 
          0 4px 8px 0 
          rgba(0,0,0,0.2);
  }
  
  .flip-card:hover 
  .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front a, 
  .flip-card-back a {
    text-decoration: none;
    font-size: 22px;
    color: black;
  }
  
  .flip-card-front a:hover,
  .flip-card-back a:hover {
    color: hotpink;
  }
  
  .flip-card-front, 
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility:
          hidden;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    color: black;
      background-color: rgb(230, 226, 226);
  }
  
  .flip-card-back {
      color: black;
    transform: rotateY(180deg);
      background-color: rgb(230, 226, 226);
  }
  
  .flip-card-back i {
      padding: 15px;
  }

  /* .p3{
    height: 70vh;
    width: 100vw;
  } */
  .wrapper{
    height: 90vh;
    margin-top: 40px;
    background: rgb(212,20,90);
    background: linear-gradient(90deg, rgba(212,20,90,1) 0%, rgba(251,176,59,1) 87%);   }
  .wrapper h3{
    margin-left: 39%;
    font-family: ‘Aclonica’;
    font-size: 50px;
    color: white;
  }

  
  .camera{
    width: 200px;
    height: 200px;
    border: 10px #fff solid;
    border-radius: 50px;
    margin-left: 50%;
    margin-top: -120px;
    position: relative;
    transform: translate(-50%,-50%);
    animation: cameraUp .8s ease-in forwards, cameraDown .3s .3s ease-in forwards,
          cameraIn .3s .6s forwards;
    perspective: 500px;
  }
  @keyframes cameraUp {
    0%{ width: 5px;height: 5px; opacity: 0}
    10%{ opacity: 1 }
    100%{ width: 5px;height: 5px; top:10%; }
  } 
  @keyframes cameraDown{
    0%{ top:10%;}
    100%{ top:50%; }
  }
  @keyframes cameraIn{
    0%{ width: 5px;height: 5px;}
    80%{ width: 250px;height: 250px; }
    100%{ width: 200px;height: 200px; }
  }
  
  .lens{
    height: 100px;
    width: 100px;
    border: 15px #fff solid;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    
    animation: lensIn 0.6s 0.9s backwards;
  }
  @keyframes lensIn{
    0%{ width: 0px;height: 0px; opacity: 0;}
    10%{ opacity: 1 }
    80%{ width: 120px;height: 120px;}
    100%{ width: 100px;height: 100px;}
  }
  
  .light{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 15%;
    right: 15%;
    animation: lightIn .3s 1.2s backwards;
  }
  .light:after{
    content: '';
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: rgba(256,256,256,.5);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    animation: flash .3s 2s;
  }
  @keyframes lightIn{
    0%{ transform: scale(0); }
    80%{ transform: scale(1.2); }
    100%{ transform: scale(1); }
  }
  @keyframes flash{
    0%{ opacity: 0 }
    25%{ opacity: 1 }
    50%{ opacity: 0 }
    75%{ opacity: 1 }
    100%{ opacity: 0 }
  }
  
  /*=========PhotoImg==========*/
  
  .photo{
    width: 350px;
    height: 380px;
    border: 10px solid #fff;
    margin-left: 90px;
    margin-top: 180px;
    border-bottom: 20px solid #fff;
    background-color: #ccc;
    
    transform: translate(-50%,-50%);
    overflow: hidden;
    animation: photoIn 2s 3.5s backwards, photoFlip 2s 4.5s;
    transition: all .3s;
    
  }
  .photo:hover{
    width: 500px;
    height: 400px;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.5);
  }
  @keyframes photoIn{
    0%{ 
      width: 120px; 
      height: 0; 
      opacity: 0; 
      top: 100%;
      transform: translate(-50%,0%);}
    10%{ opacity: 1 }
    100%{ 
      width: 120px;
       height: 120px;
       top:100%; 
      transform: translate(-50%,0%);}
  }
  @keyframes photoFlip{
    0%{ 
      top:100%;
      width: 120px;
      height: 120px; 
      transform: translate(-50%, 0%) rotateX(0deg);}
    100%{ 
      top: 50%;
      width: 350px;
      height: 380px;
      transform: translate(-50%,-50%) rotateX(360deg); }
  }
  .photo:hover .imgbox{
    height: 300px;
    border: 10px solid #fff;
    border-bottom: 20px solid #fff;
    box-sizing: border-box;
  }
  .imgbox{
    transition: all .3s;
    overflow: hidden;
  }
  .imgbox img{
    width: 100%;
    animation: showPhoto 1s 3.8s backwards;
  }
  .textbox{
    transform: translateX(-20px);
    opacity: 0;
    margin-left: 130px;
  }
  .textbox h1{
    margin: 0;
    line-height: 25px;
  }
  .textbox h1{
    color: black;
    font-size: 30px;
    padding-left: 8px;
  }
  
  .photo:hover .textbox{
    transition: 1s .3s;
    transform: translateX(0px);
    opacity: 1;
  }
  @keyframes showPhoto{
    0%{ opacity: 0; }
    100%{ opacity: 1; }
  }
  /*======mouse=====*/
  .mouse{
    font-size: 35px;
    color: #fff;
    position: absolute;
    top: 140%;
    left: 84%;
    transform: translateX(-50%);
    opacity: 0;
    animation: mouse 1s 4.5s infinite;
  }
  
  .photo:hover ~ .mouse{
    visibility: hidden;
  }
  @keyframes mouse{
    0%{
      top: 140%;
    }
    20%{ opacity: 1 }
    80%{ opacity: 1 }
    100%{
      top: 45%;
    }
  }