*{
    margin: 0;
    padding: 0;
    text-transform: capitalize;
    box-sizing: border-box;
}
:root{
    --pink--:#e84393;
}
body{
    color: white;
}


body,html{
    overflow-x: hidden;
}



header{
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(image/pngtree-wedding-romantic-pink-background-image_2116917.jpg);
    background-size: cover;
    height: 130vh;
}
.container{
    padding: 20px 70px;
}
.top{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: lowercase;
    font-size: 21px;
    gap: 20px;
    display: flex;
    color: white;
}
.hero-section{
    padding-top: 40px;
    font-size: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    transition: 0.4s;

}
.title p{
    width: 500px;
}
.logo{
    font-size: 30px;
}
li{
    transition: 0.4s;
    padding:10px 20px;
    list-style-type: none;
}
ul{
    gap: 5px;
    display: flex;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.fa-gift{
    color: var(--pink--);
}
li:hover{
    border-radius: 8px;
    background-color: #e84393;
}
.sub{
    border-radius: 8px;
    background-color: #e84393;
}
.main{
    display: flex;
    justify-content: space-between;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 70px 0px;
}
.best,.cou{
    font-size: 60px;
}
.cou{
    color: var(--pink--);
}
.button{
    transition: 0.4s;
    position: relative;
    top: 40px;
    padding: 8px 29px;
    border-radius: 8px;
    border: 1px solid white;
    text-decoration: none;
    color: white;
}
.button:hover{
    background: var(--pink--);
}


.help-text>h1,.help-text>h2{
    color: #000;
}
/* box */

.box>h2,form{
    position: relative;
    top: -30px;
}
.box input{
    margin-bottom: 10px;
}
.box{
    border-radius: 10px;
    background: white;
    width: 450px;
    height: 620px;
    position: absolute;
    top: 25%;
    right: 5%;
    padding: 30px;
}
.box h2{
    color: black;
    font-size: 30px;
    font-weight: 600;
}
input{
    text-transform: capitalize;
    color: gray;
    border: none;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 17px 6px;
    margin: 20px 0px;
    width: 100%;
    display:block;
    outline: none;
}
.box button{
    color: white;
    padding: 20px;
    text-transform: capitalize;
    border: none;
    width: 100%;
    background: var(--pink--);
    transition: 0.4s;
    border-radius: 5px;
}
.box p{
    color: black;
}
.term{
    color: var(--pink--);
}
button:hover{
    opacity: 0.8;
}
.file{
    align-content: center;
    background-color: white;
}
.box p{
    margin-top: 10px;
}

/* slider */

.bc{
    background-color:rgba(233, 175, 89, 0.3);
}



.container-1{
    padding: 20px 70px;
}

.slider-wrapper{
    position: relative;
    width: 490px;
    height: 590px; 
    margin: 0 auto;
}
.slider{
    display: flex;
    aspect-ratio: 9/11;
    overflow-x: auto;
    scroll-snap-type: x smooth;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0,0%, 0%,0.25);
    border-radius: 0.5rem;
    overflow: hidden;
}
.slider img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}
.slider-nav{
    display: flex;
    column-gap:1rem ;
    position: relative;
    bottom: 2.25rem;
    left: 90%;
    transform: translateX(-50%);
    z-index: 1;
}
.slider-nav a{
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background-color: #c0b5b5;
    opacity: 0.75;
    transition: opacity ease 50ms;
}
.slider-nav a:hover{
    background-color: white;
}
.slider img{
    animation-name: slider;
    animation-duration: 16s;
    animation-iteration-count: infinite;
}
@keyframes slider{
    0%{
        transform: translateX(0%);
    }
    25%{
        transform: translateX(0%);
    }
    30%{
        transform: translateX(-100%);
    }
    50%{
        transform: translateX(-100%);
    }
    55%{
        transform: translateX(-200%);
    }
    75%{
        transform: translateX(-200%);
    }
    80%{
        transform: translateX(-300%);
    }
    100%{
        transform: translateX(-300%);
    }
}



/* responsive */

    @media (max-width:608px){
        .slider-wrapper{
            position: relative;
            left: -20px;
        }
    }
    @media (max-width:572px){
        .slider-wrapper{
            position: relative;
            left: -35px;
        }
    }


    @media (max-width:552px){
        .slider-wrapper{
            position: relative;
            left: -45px;
        }
        
    }


    @media (max-width:542px){
        .slider-wrapper{
            position: relative;
            left: -55px;
        }
    }


    @media (max-width:523px){
        .slider-wrapper{
            width: 480px;
            position: relative;
            left: -65px;
        }
    }
    @media (max-width:503px){
        .slider-wrapper{
            width: 460px;
            position: relative;
            left: -65px;
        }
    }
/* slection */
.gender-box{
    position: relative;
    top: 20px;
    align-items: center;
    justify-content: center;
    height: 50vh;
    padding: 10px 50px;
    gap: 60px;
    background-color: #e84393;
    display: flex;
}
option{
    background-color: rgb(167, 133, 199);
    color: #fff;
}
    @media (max-width:875px){
       .gender-box{
        position: relative;
        top: -1px;
       }
    }

select{
    border: 1px solid #e84393;
    border-radius: 8px;
    padding: 7px 30px;
    background-color: rgb(223, 162, 231);
}
.age{
    gap: 20px;
    display: flex;
}
.gender-box h1{
    flex-direction: column;
}
.demands{
    height: 50px;
    background-color: #ff0990;
    top: 110px;   
    color:black;
    z-index: 100;
    /* font-weight: 700; */
    text-align: center;
}


    @media (max-width:974px){
        .gender-box{
            flex-wrap: wrap;
        }
    }

/* help */
.help img{
    width: 100%;
    background-position: center;
    background-size: cover;
    height: 100vh;
    background-repeat: no-repeat;
    filter: blur(3px);
}
.help-text a{
    color: rgb(48, 48, 49);
}
.help-text a:hover{
    text-decoration: none;
    color: #ff0990;
}
.help-text{
    align-content: center;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-repeat: no-repeat;
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-image: url(image/bc.jpeg);
}
.gender-box h1{
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.age h1{
    font-size: 18px;
}
.Search button{
    position: relative;
    top: 13px;
    color: white;
    padding:  10px 20px;
    border: none;
    background: #58a18f;
    transition: 0.4s;
    border-radius: 5px;
}
footer{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    font-weight: 500;
    align-content: center;
    text-align: center;
    height: 60px;
    background-color: var(--pink--);
}

@media (max-width:1137px){
    .title p{
        width: 500px;
    }
    .help-text{
        left: 150px;
    }
}
@media (max-width:1030px){
    .help-text{
        left: 80px;
    }
}
@media (max-width:927px){
    .help-text{
        left: 80px;
        font-size: 15px;
    }
}
@media (max-width:891px){
    .help-text{
        left: 50px;
        font-size: 15px;
    }
}
@media (max-width:816px){
    .help-text{
        left: 24px;
        font-size: 14px;
    }
}
@media (max-width:772px){
    .help-text{
        left: 80px;
        font-size: 12px;
    }
}
@media (max-width:593px){
    .help-text{
        left: -2px;
        font-size: 11px;
    }
}
@media (max-width:731px){
    .help-text{
        left: 40px;
        font-size: 12px;
    }
}
@media (max-width:688px){
    .help-text{
        left: 20px;
        font-size: 12px;
    }
}
@media (max-width:526px){
    .help-text{
        left: -1px;
        font-size: 12px;
    }
}


@media (max-width:1089px){

    .title p{
        width: 460px;
    }
}
@media (max-width:1061px){

    .list ul li{
        margin-right: -17px;
    }
    .sub{
        margin-left: 20px;
    }
}
@media (max-width:1035px){

    .title p{
        width: 420px;
    }
}
@media (max-width:995px){
    .best{
        font-size: 50px;
    }
    .box{
        border-radius: 10px;
        background: white;
        width: 400px;
        height: 570px;
        position: absolute;
        top: 25%;
        right: 5%;
        padding: 30px;
    }
    input{
        text-transform: capitalize;
        color: gray;
        border: none;
        background-color: rgba(0, 0, 0, 0.1);
        padding: 10px 6px;
        margin: 20px 0px;
        width: 100%;
        display:block;
        outline: none;
    }
}

@media (max-width:929px){
    .title p{
        width: 370px;
    }
   
    .list ul li{
        font-size: 1px;
    }
}
@media (max-width:893px){
    .title p{
        width: 300px;
    }
}
@media (max-width:877px){
    .title p{
        width: 360px;
    }
    .box{
        border-radius: 10px;
        background: white;
        width:350px;
        height: 540px;
        position: absolute;
        top: 25%;
        right: 5%;
        padding: 30px;
    }
    .box input{
        border-radius: 4px;
    }
    .file{
        position: relative;
        top: -20px;
        align-content: center;
        /* background-color: white; */
    }
    .box h2,form{
        position: relative;
        top: -10px;
    }
}
@media (max-width:843px){
    .best{
        font-size: 40px;
    }
    .matr{
        font-size: 20px;
    }
    .cou{
        font-size: 40px;
    }
    .title p{
        font-size: 20px;
    }
    .box{
        border-radius: 10px;
        background: white;
        width:350px;
        height: 540px;
        position: absolute;
        top: 29%;
        right: 5%;
        padding: 30px;
    }
}
@media (max-width:832px){
    .main{
        flex-direction: column;
        display: flex;
        /* justify-content: space-between;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        padding: 70px 0px; */
    }
    header{
        background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(image/pngtree-wedding-romantic-pink-background-image_2116917.jpg);
        background-size: cover;
        height: 200vh;
    }
    .help-text{
        top: 2510px;
    }
    .box{
        position: absolute;
        top:680px;
        left: 32%;
    }
    .best{
        font-size: 70px;
    }
    .title p{
        width: 80%;
    }
    .matr{
        font-size: 50px;
    }
    .cou{
        font-size: 60px;
    }
}
@media (max-width:628px){
    .box{
        position: absolute;
        top:700px;
        left: 32%;
    }
    .best{
        font-size: 50px;
    }
    .title p{
        width: 80%;
    }
    .matr{
        font-size: 40px;
    }
    .cou{
        font-size: 60px;
    }   
}

@media (max-width:527px){
    .matr{
        font-size: 30px;
    }   
}
@media (max-width:540px){
    .box{
        position: absolute;
        top:700px;
        left: 12%;
    }
    .matr{
        font-size: 30px;
    }   
}

@media (max-width:572px){
    .box{
        position: absolute;
        top:700px;
        left: 22%;
    }
    .matr{
        font-size: 30px;
    }   
}

@media (max-width:503px){
    .title p{
        width: 400px;
    }
}
@media (max-width:492px){
    .gender-box{
        z-index: 100;
        position: relative;
        top: 20px;
        align-items: center;
        justify-content: center;
        height: 70vh;
        gap: 60px;
        background-color: #e84393;
        display: flex;
    }
    .best{
        font-size: 45px;
    }
    .box{
        left: 15%;
    }
}


@media (max-width:963px){
   .logo{
    font-size: 27px;
   }
}

@media (max-width:947px){
    .logo{
        position: relative;
        top: 10px;
        font-size: 25px;
    }
}

@media (max-width:939px){
    .list ul li{
        font-size: 17px;
    }
}


@media (max-width:864px){
    .logo{
        position: relative;
        top: 10px;
        font-size: 21px;
    }
    .list ul li{
        font-size: 17px;
    }
}


@media (max-width:847px){
    .logo{
        position: relative;
        top: 10px;
        font-size: 20px;
    }
    .list ul li{
        font-size: 16px;
    }
}

@media (max-width:813px){
    .logo{
        position: relative;
        left: -20px;
        top: 10px;
        font-size: 20px;
    }
    .list ul li{
        position: relative;
        right: -20px;
        font-size: 15px;
    }
}

@media (max-width:793px){
    .logo{
        position: relative;
        top: 10px;
        left: -30px;
        font-size: 20px;
    }
    .list ul li{
        position: relative;
        right: -30px;
        font-size: 14px;
    }
}

@media (max-width:764px){
    .logo{
        position: relative;
        top: 10px;
        left: -30px;
        font-size: 20px;
    }
    .list ul li{
        position: relative;
        right: -30px;
        font-size: 12px;
    }
}


@media (max-width:563px){
    .phone{
        font-size: 20px;
    }
}
@media (max-width:557px){
    .email{
        font-size: 16px;
    }
    .phone{
        font-size: 16px;
    }
}

@media (max-width:479px){
    .phone{
        font-size: 12px;
    }
    .email{
        font-size: 12px;
    }
        .top{
        gap: 30px;
     }
}
.checkbtn{
    position: absolute;
    top: 80px;
    right: 50px;
    display: none;
}
#check{
    display: none;
}
.logo-1{
    display: none;
}
@media (max-width:1123px){
    .checkbtn{
        display: block;
    }
    ul{
        display: block;
        z-index: 100;
        position: fixed;
        width: 50%;
        background-color: #2c3e50;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .7s;
    }
    .sub{
        text-align: center;
        width: 90%;
    }
    .list ul li:hover{
        width: 90%;
    }
    .list{
        height: 50px;
    }
    .list ul li{
        display: block;
        margin: 10px 0;
        line-height: 30px;
    }
    #check:checked~ul{
        left: 0;
    }
    label .logo-1{
        font-size: 22px;
    }
}


@media (max-width:988px){
    .list ul li{
        font-size: 19px;
    }
}

@media (max-width:1073px){
    .list ul li{
        font-size: 19px;
    }
}

@media (max-width:935px){
    .list ul li{
        font-size: 18px;
    }
}


@media (max-width:898px){
    .list ul li{
        font-size: 16px;
    }
}


@media (max-width:908px){
    .list ul li{
        font-size: 16px;
    }
}


@media (max-width:964px){
    .list ul li{
        font-size: 18px;
    }
}










@media (max-width:662px){
    header{
        height: 220vh;
    }
    .box{
        position: relative;
        top: 70px;
        left: 0px;
    }
}










@media (max-width:627px){
    .slider-wrapper{
        justify-content: center;
        width: 400px;
        left: 10px;
    }   
}



@media (max-width:515px){
    .slider-wrapper{
        justify-content: center;
        width: 400px;
        left: -10px;
    }   
}








@media (max-width:498px){
    .slider-wrapper{
        justify-content: center;
        width: 400px;
        left: -20px;
    }   
}



@media (max-width:489px){
    .slider-wrapper{
        justify-content: center;
        width: 400px;
        left: -30px;
    }   
}







@media (max-width:477px){
    .slider-wrapper{
        justify-content: center;
        width: 400px;
        left: -40px;
    }   
}








@media (max-width:461px){
    .slider-wrapper{
        justify-content: center;
        width: 400px;
        left: -50px;
    }   
}









@media (max-width:486px){
    .gender-box{
        height:80vh;
    }
}
















/* responsive from 490px */
@media (max-width: 490px) {

  /* header + hero */
  header {
    height: auto;
    padding-bottom: 40px;
  }

  .top {
    flex-direction: column;
    
    gap: 8px;
    font-size: 14px;
  }
  .phone, .email {
    font-size: 14px;
  }

  .hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .logo {
    font-size: 22px;
  }

  /* navigation */
  .checkbtn {
    top: 40px;
    right: 20px;
  }
  ul {
    width: 100%;
    left: -100%;
  }

  /* main section */
  .main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 15px;
  }

  .title h1 {
    font-size: 26px;
  }
  .title p {
    width: 100%;
    font-size: 14px;
  }

  /* box form */
  .box {
    position: static;
    /* width: 100%; */
    max-width: 350px;
    height: auto;
    margin-top: 60px;
    padding: 20px;
  }
  .box h2 {
    font-size:22px;
  }
  .box input,
  .box button {
    font-size: 14px;
    padding: 12px;
  }
  .box p {
    font-size: 12px;
  }

  /* slider */
  .slider-wrapper {
    width: 100%;
    max-width: 330px;
    height: auto;
    left: 0;
  }

  /* gender-box */
  .gender-box {
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 20px;
  }
  .gender-box h1 {
    font-size: 16px;
  }
  select {
    width: 100%;
    padding: 10px;
  }

  /* help section */
  .help-text {
    padding: 20px;
    font-size: 14px;
    height: auto;
  }
  .help-text h1 {
    font-size: 20px;
  }
  .help-text h2 {
    font-size: 14px;
  }

  /* footer */
  footer {
    font-size: 14px;
    padding: 15px;
    height: auto;
  }
}



@media (max-width:362px){
    .box{
        width: 320px;
    }
}



@media (max-width:372px){
    .title>p{
        width: 300px;
        padding: 10px;
    }
}


@media (max-width: 284px){
    .title>p{
        width: 200px;
        padding: 10px;
    }
}



