*{
    padding: 0;
    margin: 0;
}
*,::before,::after{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'poppins';
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #2b2b2b;  
    background-image: url(../images/back.jpg);
    background-size: cover;
}
a{
    text-decoration: none;
    color: inherit;
}
ul{
    list-style: none;
}
h1,h2,h3{
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.5rem;
}

img{
    max-width: 100%;
    vertical-align: middle;
}
.container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1em;
    margin-bottom: 10px;
}
.form-box{
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    border: 8px solid #111111;
    border-radius: 15px;
    background-color: #0f0f0f;
}
/* progress*/
.form-box .progress {
    position: relative;
    padding: 1em;
}

.logo{
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}
.progress .progress-steps ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2em;
}
.progress ul.progress-steps li{
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2em;
}
.progress ul.progress-steps li > span{
    position: relative;
    width: 40px;
    height: 40px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1em;
    border-radius: 50%;
    background-color: #f3f3f3;
    z-index: 1;
}
.progress ul.progress-steps li.active > span{
    color: white;
    background-color: #ff4800;
    border: 4px solid #ffe2cf;
    z-index: 1;
}
.progress ul.progress-steps li p span{
    font-size: 13px;
    color: #b9b9b9;
}
.progress ul.progress-steps li p{
    color: #ffffff;
}
.form-box form{
    width: 100%;
    padding: 2em;
    background-color: white;
    border-radius: 30px 30px 15px 15px;
}
form > div{
    max-width: 100%;
    margin: 0 auto;
}
form > div p{
    color: #7a7a7a;
    margin-bottom: 2em;
}
form > div > div:not(.checkbox) {
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;
}
form :where(input,select) {
    height: 40px;
    padding: 0 1em;
    border-radius: 7px;
    outline-color: #7a7a7a;
    border: 1px solid #d6d6d6;
    background-color: transparent;
    font-family: 'poppins';
}
form label{
    font-size: 13px;
    margin-bottom: 0.5em;
    font-weight: 600;
}

form .checkbox input{
    height: auto;
}

form > div:not(.btn-group) {
    display: none;
    -webkit-animation: fadeIn .6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
    animation: fadeIn .6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        -webkit-transform: translateY(10%);
        transform: translateY(10%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }
}

form > div.active{
    display: block;
}

form > div .bg-svg {
    width: 60px;
    height: 50px;
}
.btn-group{
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 2em;
}
.btn-group [class*="btn-"] {
    background-color: #ff4800;
    color: white;
    padding: .5em 1.5em;
    border: 4px solid #ff7a63;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'poppins';
    font-weight: 600;
    -webkit-transition: background-color .3s, border-color .3s ease-out;
    transition: background-color .3s, border-color .3s ease-out;
}
.btn-group [class*="btn-"]:disabled {
    background-color: #ffa86e;
    border-color: #ffb584;
    cursor: text;
} 
.btn-group [class*="btn-"]:hover:not(:disabled){
    background-color: #ff7a63;
    border-color: #ff4800;
}

.btn-group .btn-submit,
.form-four.active ~ .btn-group .btn-next {
    display: none;
}

.form-four.active ~ .btn-group .btn-submit {
    display: block;
}
.form-four.active ~ .btn-group .btn-submit {
    background-color: #2b2b2b;
    border-color: #181818;
}


.image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
.site{
    margin-top: 1em;
}


@media screen and (min-width: 768px) {
    .container{
        padding: 0 2em;
    }
    .image{
        width: 40%;
    }
    .form-box{
        flex-direction: row;
    }
    .form-box .progress{
        flex: 1 0 35%;
        min-width: 300px;
        padding: 5em;
    }
    .logo{
       margin: -48px -48px 48px; 
    }
    .progress ul.progress-steps{
        flex-direction: row;
        gap: 0;
    }
    .progress ul.progress-steps li:not(:last-child)::before{
        content: '';
        position: absolute;
        left: 20px;
        top: 30px;
        width: 2px;
        height: 65px;
        background-color: #dfdfdf;
    }
    .form{
        padding: 3rem;
        border-radius: 0 15px 15px 0;
    }
    .form-box form{
        padding: 3rem;
    }
}
