*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
html, body {
  height: 100%;
}

body{
    overflow: hidden;
    background-image:linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)), url(pic/Istanbul.jpg);
    background-position: center;
    background-size: cover;
    min-height: 100vh;
}

.container{
    width: 360px;
    height: 400px;
    margin: 9% auto;
    border-radius: 5px;
    position: relative;
    background: #fff;
    overflow: hidden;
}
@media (max-width:400px) {
    body{
        background-image:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url(pic/Istanbul.jpg);
        
         background-position: center;
    background-size: cover;
        overflow-y: hidden;

    }
    .container{
    width: 300px;
    margin: 30% auto;
    }
}
h3{
    text-align: center;
    margin-bottom: 40px;
    color:#777
}
.container form{
    width: 280px;
    position: absolute;
    top: 100px;
    left: 40px;
    transition: 0.5s;
}

form input{
   width: 100%;
   padding: 10px 1px;
   margin: 5px 0;
   border: 0;
   border-bottom: 1px solid #999;
   outline: none;
   background: transparent;
}
@media (max-width:400px) {
    .container form{
        width: 240px;
    }
    form input{
        width: 93%;
    }
    h3{
        margin-bottom: 30px;
    }
}
::placeholder{
    color:#777;
}
.btn-box{
    width: 100%;
    margin: 30px auto;
    text-align: center;
    display: flex;
}
form button{
    width: 110px;
    height: 35px;
    margin: 0 10px;
    background: linear-gradient(to right, #ff105f,#ffad06);
border-radius: 30px;
border: 0;
outline: none;
color: #fff;
cursor: pointer;
}
@media (max-width:400px) {
    form button{
        width: 100px;
    }
    .btn-box{
        margin-left: -11px;
    }
}
#Form2{
    left: 450px;
}
#Form3{
left: 450px;
}
.step-row{
    width: 360px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    box-shadow: 0 -1px 5px -1px #000;
    position: relative;
}
.step-col{
    width: 120px;
    text-align: center;
    color: #333;
    position:relative; 
}
#progress{
    position: absolute;
    height: 100%;
    width: 120px;
    background: linear-gradient(to right, #ff105f,#ffad06);
    transition: 0.5s;
}
@media (max-width:400px) {
    .step-row{
        width: 300px;
    }
   #progress {
        width: 33.33%; /* Matches one step width */
    }
   }
#progress::after{
    content: '';
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    position: absolute;
    right: -20px;
    top: 0;
    border-left: 20px solid #ffad06;
}
