.italics{
    animation-duration: 3s;
    animation-name: slidein;
  }
  @keyframes slidein {
    from {
      margin-left: 50%;
      width: 200%
    }
  
    to {
      margin-left: 0%;
      width: 100%;
    }
  }
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font: 1em sans-serif;
}
a,button{
    cursor:pointer ;
}
.top-view{
    background: url("./img/niceanima.webp")  center center/cover no-repeat;
    width: 100%;
    height: 500px;
}
a,button{
  cursor:pointer ;
}

li{
  list-style: none;
}
a{
  text-decoration: none;
}
.pd-b{
  position: fixed;
opacity: 0.6;
right: 70%;
top:10% ;
margin-bottom: 130px;

}
.curved{
  position: relative;
  padding: -10% 0 0 60%;
  padding-bottom: 40px;
  margin-bottom: 40px;
 

}
.color{
  color:  #ec6f78;
  font-size: 50px;
  text-align: center;
  
}
.second-sec{
  margin-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.link{
  
  /* border-radius: 10px; */
  box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4), -1px -3px 5px rgba(0, 0, 0, 0.4);
  height: 120px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 150px;
  width: 120px;
  margin-left: 80px;
  text-align: center;
}
.link h3{
  text-align: center;
  color:  #ec6f78;
  width: 50px;
  padding-top: 10px;
}

.curved img{
  max-width: 100%;
  position: absolute;
  width: 400px;

  margin-left: 140px;
position: absolute;
  z-index: 1;
  
}
i:hover{
  font-size: 60px
}
.steffy{
  display: flex;
  align-items: end;
  justify-content: end;
  position: absolute;
  left: 40%;
  text-align: center;
  
}
.steffy h1{
  font-family:'Brush Script MT', cursive;
  color: white;
  font-size: 60px;
  /* position: absolute; */
padding-top: 100px;
width: 40%;


  
}
.card{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #ec6f78;

}
.hold{display: none;}
.birthdayCard{
  position: relative;
  width: 350px;
  height:550px;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: perspective(2500px);
}
.birthdayCard:hover{
  transform: perspective(2500px) rotate(5deg);
  box-shadow: inset  100px 20px 100px rgba(0, 0, 0, 0.4), 0px 10px 100px rgba(0, 0, 0, 0.4);
}
.birthdayCard:hover .cardFront{
  transform: rotateY(-160deg);
}
.birthdayCard:hover .happy{
  visibility: hidden;
}
.cardFront{
  position: relative;
  background: #fff;
  width: 400px;
  height:550px;
  overflow: hidden;
  transform-origin: left;
  box-shadow: inset  100px 20px 100px rgba(0, 0, 0, 0.4), 0px 10px 100px rgba(0, 0, 0, 0.4);
  transition: 0.6s;
}
.happy{
  font-family: Tahoma, sans-serif;
  text-align: center;
  margin: 30px;
  background-image: linear-gradient(120deg, #ffd856 4%, #f98c6e 96%);
  transition: 0.1s;
}
.balloons{
  position: absolute;
}
.balloon-1,.balloon-3,.balloon-2,.balloon-4{
  position: absolute;
  width: 120px;
  height: 130px;
  border-radius: 50%;
}
.balloon-1{
  background-color: rgba(236, 52, 61, 0.5);
  left: 110px;
  top: 40px;
}
.balloon-2{
  background-color: rgba(115, 108, 223,0.6);
  left: -5px;
  top: 60px;
}
.balloon-3{
  background-color: rgba(47, 247, 130, 0.7);
  left: 200px;
  top: 70px;
}
.balloon-4{
  background-color: rgba(204, 221, 55, 0.7);
  left: 280px;
  top: 80px;
}
.balloon-1::before,.balloon-2::before,.balloon-3::before,.balloon-4::before{
content: "";
position: absolute;
width: 2px;
height: 180px;
background:rgb(236, 53, 61);
top: 130px;
left: 60px;
}
.balloon-3::before{
  content: "";
position: absolute;
width: 2px;
height: 180px;
background:rgb(47, 247, 130);
top: 130px;
left: 60px;
}
.balloon-2::before{
  content: "";
position: absolute;
width: 2px;
height: 180px;
background:rgb(115, 108, 223);
top: 130px;
left: 60px;
}
.balloon-4::before{
  content: "";
position: absolute;
width: 2px;
height: 180px;
background:rgb(204, 221, 55, 0.7);
top: 130px;
left: 60px;
}

.balloon-1::after,.balloon-2::after,.balloon-3::after,.balloon-4::after{
  content: "";
  position: absolute;
  border-right:  9px  solid transparent;
  border-left:  9px  solid transparent;
  top: 126px;
  left: 53px;
}
.balloon-1::after{
border-bottom:15px solid rgba(236, 52, 61, 1);
}
.balloon-2::after{
  border-bottom:15px solid rgba(115, 108, 223,1);
}
.balloon-3::after{
 border-bottom:15px solid rgba(47, 247, 130, 1); 
}
.balloon-4::after{
 border-bottom:15px solid rgba(204, 221, 55, 1); 
}
.cardInside{
  position: absolute;
  background: #fff;
  width: 400px;
  height:550px;

  box-shadow: inset  100px 20px 100px rgba(0, 0, 0, 0.2);
  z-index: -1;
  left: 0;
  top: 0;
}
p{
  font-family: 'Brush Script MT',cursive;
  margin: 40px;
  color: #333;
  font-size: 30px;
}
.name{
  position: absolute;
  left: 200px;
  top:200px;
}
.back{
  font-family: Tahoma,sans-serif;
  color: #333;
  text-align: center;
  margin: 30px;
  outline-color: #333;
  outline-style: dotted;
}
.spin{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #333;
}
.container{
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .spinBtn{
  position: absolute;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.1em;
  user-select: none;
  cursor: pointer;
  border: 4px solid rgba(0, 0, 0, 0.75);
}
.container .spinBtn::before{
  content: "";
  position: absolute;
  top: -28px;
  width: 20px;
  height: 30px;
  background: #f00;
  clip-path: polygon(50% 0%,15% 100%,85% 100%);
}
.container .wheel{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #333,0 0 0 15px #fff,0 0 0 18px #111;
  transition: transform 5s ease-in-out;
  overflow: hidden;
}
.container .wheel .number{
  position: absolute;
  width: 50%;
  height: 50%;
  background: var(--clr);
  transform-origin: bottom right;
  transform: rotate(calc(45deg * var(--i)));
  clip-path: polygon(0 0, 60% 0, 100% 100%,0 56%); 
  /* clip-path: polygon(-80% 180%, 50% 50%, 180% 180%, -80% 180%); */
  
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  cursor: pointer;
}
.container .wheel .number span{
  position: relative;
  transform: rotate(45deg);
  font-size: 1em;
  color: #fff;
  text-shadow: 3px 5px 2x rgba(0,0,0,0.15);

}
.container .wheel .number span::after{
  content: '';
  position: absolute;
  font-size: 0.75em;

}
.message{
  color: white;
  
    position: absolute;
    top: -50px; /* Adjust the distance from the wheel */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;

}
/* .video{
  display: flex;
  align-items: center;
  justify-content: center;
}
video{
  width: auto;
} */
@media(max-width:768px) {

  .second-sec{
    flex-direction: column;
    align-items: center;
    justify-content: center;
   } 
   .link{
    margin-bottom: 60px;
    margin-left: 0;
    padding: 150px;
   }
}

@media(max-width:920px){
 .second-sec{
  flex-direction: column;
  align-items: center;
  justify-content: center;
 } 
 .link{
  margin-bottom: 60px;
  margin-left: 0;
  height: 200px; 
 
  padding: 170px;
  width: 180px;
 }

 .card{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  background: #ec6f78;

}


.birthdayCard{
  position: relative;
  width: 350px;
  height:550px;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: perspective(2500px);
}
.birthdayCard:hover{
  transform: perspective(2500px) rotate(5deg);
  box-shadow: inset  100px 20px 100px rgba(0, 0, 0, 0.4), 0px 10px 100px rgba(0, 0, 0, 0.4);
}
.birthdayCard:hover .cardFront{
  transform: rotateY(-160deg);
}
.birthdayCard:hover .happy{
  visibility: hidden;
}
.cardFront{
  position: relative;
  background: #fff;
  width: 350px;
  height:550px;
  overflow: hidden;
  transform-origin: left;
  box-shadow: inset  100px 20px 100px rgba(0, 0, 0, 0.4), 0px 10px 100px rgba(0, 0, 0, 0.4);
  transition: 0.6s;
}
.happy{
  font-family: Tahoma, sans-serif;
  text-align: center;
  margin: 30px;
  background-image: linear-gradient(120deg, #ffd856 4%, #f98c6e 96%);
  transition: 0.1s;
}
.balloons{
  position: absolute;
}
.balloon-1,.balloon-3,.balloon-2,.balloon-4{
  position: absolute;
  width: 120px;
  height: 130px;
  border-radius: 50%;
}
.balloon-1{
  background-color: rgba(236, 52, 61, 0.5);
  left: 110px;
  top: 40px;
}
.balloon-2{
  background-color: rgba(115, 108, 223,0.6);
  left: -5px;
  top: 60px;
}
.balloon-3{
  background-color: rgba(47, 247, 130, 0.7);
  left: 200px;
  top: 70px;
}
.balloon-4{
  background-color: rgba(204, 221, 55, 0.7);
  left: 280px;
  top: 80px;
}
.balloon-1::before,.balloon-2::before,.balloon-3::before,.balloon-4::before{
content: "";
position: absolute;
width: 2px;
height: 180px;
background:rgb(236, 53, 61);
top: 130px;
left: 60px;
}
.balloon-3::before{
  content: "";
position: absolute;
width: 2px;
height: 180px;
background:rgb(47, 247, 130);
top: 130px;
left: 60px;
}
.balloon-2::before{
  content: "";
position: absolute;
width: 2px;
height: 180px;
background:rgb(115, 108, 223);
top: 130px;
left: 60px;
}
.balloon-4::before{
  content: "";
position: absolute;
width: 2px;
height: 180px;
background:rgb(204, 221, 55, 0.7);
top: 130px;
left: 60px;
}

.balloon-1::after,.balloon-2::after,.balloon-3::after,.balloon-4::after{
  content: "";
  position: absolute;
  border-right:  9px  solid transparent;
  border-left:  9px  solid transparent;
  top: 126px;
  left: 53px;
}
.balloon-1::after{
border-bottom:15px solid rgba(236, 52, 61, 1);
}
.balloon-2::after{
  border-bottom:15px solid rgba(115, 108, 223,1);
}
.balloon-3::after{
 border-bottom:15px solid rgba(47, 247, 130, 1); 
}
.balloon-4::after{
 border-bottom:15px solid rgba(204, 221, 55, 1); 
}
.cardInside{
  position: absolute;
  background: #fff;
  width: 350px;
  height:550px;

  box-shadow: inset  100px 20px 100px rgba(0, 0, 0, 0.2);
  z-index: -1;
  left: 0;
  top: 0;
}
p{
  font-family: 'Brush Script MT',cursive;
  margin: 40px;
  color: #333;
  font-size: 30px;
}
.name{
  position: absolute;
  left: 200px;
  top:200px;
}
.hold{
  padding-bottom: 20px;
  color: white;
  display: block;
}
.back{
  font-family: Tahoma,sans-serif;
  color: #333;
  text-align: center;
  margin: 30px;
  outline-color: #333;
  outline-style: dotted;
}
.video{
}
video{
width:auto;

}
.top-view {
  height: 500px; /* Allow height to adjust based on content */
  margin-top: 600px; /* Add some top padding */
  position: relative; /* Position relative to contain absolute positioned elements */
}


.curved img {
  position: absolute; /* Reset position to static */
  max-width: 80%; /* Adjust image width */
  top: -900px; /* Add some bottom margin */
  left: -20%;
}

.float {
  position: absolute; /* Position the SVG absolutely */
  top: -900px; /* Adjust the top position to be above .top-view */
   /* Center horizontally */
  transform: translateX(-50%);
  left: -16%;
  ; /* Ensure SVG is above other content */
}

.steffy {
display: flex;

align-items: center;
justify-content: center;
text-align: center;
  /* justify-content: center; */
  position: static;
}


.steffy h1 {
 font-size: 60px;
 text-align: center;
 width: fit-content;

}
}
/* @media(max-width:920px) {
  

  .curved img {
    position: absolute; /* Reset position to static 
    max-width: 80%;  Adjust image width 
    top: -900px;  Add some bottom margin
  left: 25%;
  }
  
  .float {
    position: absolute; /* Position the SVG absolutely 
    top: -900px; /* Adjust the top position to be above .top-view 
      Center horizontally 
    transform: translateX(-50%);
    left: 25%;
    ; /* Ensure SVG is above other content 
  }
    
  } */
