*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}


:root{
    --pre-num:16px;
}


body{
    display: flex;
    justify-content: center;
    padding: 20px 0px;
  font-family: "Outfit", sans-serif;
}
.All-forms{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    width: 90%;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 20px;
}

.heading{
    text-align: center;
}

.title{
    font-size: 20px;
    margin: 10px 0px;

}

    .page1{
        width: 320px;
        height: 500px;
        background: url(./pagees/1.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        object-fit: contain;
            background-position: center;
            border: 1px black solid;

        }

        .page2{
            width: 320px;
            height: 500px;
            background: url(./pagees/2.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            object-fit: contain;
            background-position: center; 
            border: 1px black solid;

        }

        .page3{
            width: 320px;
            height: 500px;
            background: url(./pagees/3.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            object-fit: contain;
            background-position: center;
            border: 1px black solid;
        }

        .page4{
            width: 320px;
            height: 500px;
            background: url(./pagees/4.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            object-fit: contain;
            border: 1px black solid;
        
        }

        .page5{
            width: 320px;
            height: 500px;
            background: url(./pagees/5.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            object-fit: contain;
            border: 1px black solid;
        
        }

        .page1{
            position: relative;
        }

        .page1 h2{
            position: absolute;
            top: 230px;
            left: 0px;
        }

        .page2{
            position:relative;
        }

        #client-reach{
            position: absolute;
            left: 45px;
            top: 200px;
            color: white;
            font-size: var(--pre-num);
        }

        #client-followers{
            position: absolute;
            left: 129px;
            top: 200px;
            color: white;
            font-size: var(--pre-num);            
        }

        #client-content{
            position: absolute;
            left: 230px;
            top: 200px;
            color: white;
            font-size: var(--pre-num);   
        }

        #client-profilevisit{
            position: absolute;
            left: 80px;
            top: 395px;
            color: white;
            font-size: var(--pre-num);             
        }

        #client-newfollowers{
            position: absolute;
            left: 220px;
            top: 395px;
            color: white;
            font-size: var(--pre-num);             
        }

        .page3{
            position: relative;
        }

        #client-post{
            position: absolute;
            left: 45px;
            top: 190px;
            color: white;
            font-size: var(--pre-num); 
        }
        #client-reel{
            position: absolute;
            left: 140px;
            top: 190px;
            color: white;
            font-size: var(--pre-num); 
        }
        #client-story{
            position: absolute;
            left: 225px;
            top: 190px;
            color: white;
            font-size: var(--pre-num); 
        }
        #client-likes{
            position: absolute;
            left: 86px;
            top: 340px;
            color: white;
            font-size: var(--pre-num); 
        }
        #client-comment{
            position: absolute;
            left: 85px;
            top: 415px;
            color: white;
            font-size: var(--pre-num); 
        }
        #client-save{
            position: absolute;
            left: 235px;
            top: 415px;
            color: white;
            font-size: var(--pre-num); 
        }
        #client-share{
            position: absolute;
            left: 235px;
            top: 340px;
            color: white;
            font-size: var(--pre-num); 
        }

        .page4{
            position: relative;
        }

        #client-perfImage1{
            position: absolute;
            top: 140px;
            left: 10px;
            width: 80px;
            height: 90px;
        }


        #client-perfImage2{
            position: absolute;
            top: 140px;
            left: 225px;
            width: 80px;
            height: 90px;
        }


        #client-perfImage3{
            position: absolute;
            top: 310px;
            left: 118px;
            width: 80px;
            height: 90px;
        }

        .page5{
            position: relative;
        }

        #client-insight{
             position: absolute;
            top: 70px;
            left: 95px;
            width: 120px;
            height: 120px;           
        }


        #client-city{
             position: absolute;
            top: 275px;
            left: 30px;
            width: 270px;
            height: 158px;           
        }



        .preview-section {
            display: none;
            gap: 40px;
            flex-wrap: wrap;
            flex-direction: column;
            justify-content: center;

        }

       .preview-part {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
            justify-content: center;
            margin: 20px;
        }

        #client-logo{
            position: absolute;
            top: 280px;
            left: 30px;
        }

        #client-duration{
            position: absolute;
            top: 350px;
            right: 10px;
        }

        .btns{
            display: flex;
            justify-content: center;
            gap: 15px;
        }


        .btns #back,.btns #btn{
            padding: 15px 20px;
            background-color: rgb(79, 102, 201);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;

        }
        .btns #back:hover,.btns #btn:hover{

            background-color: rgb(114, 114, 238);

        }

        .img-part{
            display: flex;
            align-items: center;
        }

    @media (max-width:600px){
        .All-forms{
            flex-wrap: wrap;
        }
        .flex1,.flex2{
            display: flex;
            gap: 10px;
            flex-direction: column;
            width: 95%;
            padding: 50px 60px;

        }
    }



#clientName{
    width: 100%;
}


.input-group{
    position: relative;
}

.input-col div{
    width: 50%;
}

.input-grop input{
    width: 100%;
        padding: 12px 10px;

}

.input-group input{
    padding: 12px 10px;
    width: 100%;
}

.input-group label{
    position: absolute;
    left: 10px;
    top: 10px;
    color: gray;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    position: absolute;
    top: -8px;
    font-size: 12px;
    color: #5c5b5b;
    background-color: white;
} 

input:focus{
    outline-color:gray;
}

.form-page1,.form-page2,.form-page3{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.input-col{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.input-grop,.month-part{
    display: flex;
    justify-content: start;
    flex-direction: column;
    gap: 10px;
}


.input-group-logo{
   display: flex;
    justify-content: start;
    flex-direction: column;
    gap: 5px;    
}


input[type="file"]::file-selector-button{
    height: 38px;
    border-radius: 10px;
    border: none;
    border: 1px solid gray;
}

.img-part img{
    border: none;

}

.perf-imgs{
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.form-page4{
    display: flex;
    justify-content: space-between;
}


.form-page5{
    display: flex;
    gap: 10px;
}

.last-imgs{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.preview-btn{
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.preview-btn #preview{
    padding: 10px 20px;
    background-color: rgb(79, 102, 201);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
}

.preview-btn #preview:hover{
    background-color: rgb(114, 114, 238);
}

.month-part select{
    padding: 12px 10px;
}

input[type="text"],select{
    border-radius: 10px;
    border: none;
    border: 1px solid gray;
}




@media (max-width: 800px){

    .form-page1,
    .form-page2,
    .form-page3 {
        flex-direction: column;
        align-items: stretch;
    }

    .input-col {
        flex-direction: column;
        width: 100%;
    }

    .input-col div {
        width: 100%;
    }

    .input-group,
    .input-grop {
        width: 100%;
    }

    .form-page5{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-page4{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

}


@media(max-width:1050px){
    .form-page4{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
}


@media (max-width:450px){
    #preview{
        width: 100%;
    }

        .img-part{
            display: flex;
            align-items: start;
            flex-direction: column;
            gap: 10px;
        }
}



/* Model */

/* Modal background */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80vh;
}

.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}


