* { --grün: rgb(175,202,11);
    --anthrazit: rgb(40, 39, 39);
    --violett: rgb(80, 30, 112);
    font-size: 16px;
    padding: 0;
    margin: 0;
}

html,body{
    overflow-x: hidden;
}  

body{
    background-color: var(--anthrazit);
    color:white;
    line-height: 150%;
    text-align: center;
}

h1 {
    font-size: 2rem;
    margin: 10px 0px 20px 0px;
}  

h2 {
    margin: 5px;
}


h3 {
    font-size: 1.7rem;
    margin: 5px auto;
    line-height: 125%;
}


p {
    margin: 5px auto;
}

span {
    color: var(--grün);
    font-size: 1.7rem;
}

.container {
    width: 340px;
    height: 80vh;
    max-height: 700px;
    margin: 1% auto;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    overflow-y: scroll;
    border: 1px solid var(--grün);

}

::-webkit-scrollbar {
    width: 0px;
}

.question{
    width: 300px;
    margin-top: 20px;
    position: absolute;
    left: 20px;
    transition: 1.4s;
}


form input[type="radio"]{
    width: 0;
    opacity: 0;
    outline: none;  /*this prevents IE8 from having the line around it even though it's invisible */
}

input[type="radio"]:checked+label{
    background-color: var(--grün);
    color: var(--anthrazit);
    font-weight: 600;
}

input {
    width: 240px;
    padding: 8px;
    margin: 25px 0px 5px 0px;
    border: none;
    border-bottom: 1px solid var(--grün);
    background-color: var(--anthrazit);
}


input::placeholder{
    text-align: center;
}

label{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-wrap: wrap;
    text-align: center;
    min-height: 50px;
    padding:8px 8px;
    border:1px solid var(--grün); 
    cursor:pointer;
    border-radius: 10px;
}

label:hover {
    background-color: var(--grün);
    color: var(--anthrazit);
    border: 2px;
    font-weight: 600;
}

#end label {
    border: none;
}

#end label:hover {
    background-color: var(--anthrazit);
    color: white;
}

#end input{
    color: white;
    text-align: center;
}

/*.focused{
    background-color: hsl(68, 90%, 67%);
    color: var(--anthrazit);
    border: 2px;
}*/

ul{
    list-style-type: none;
    /*border: 1px solid blue;*/
    margin: 0px;
    padding: 0px;
}

li{
    /*border: 1px solid rebeccapurple;*/
    padding: 0px;
    margin-top: -25px;
}

#end li {
    margin-top: 0px;
    margin-bottom: 10px;
}

.scroll{
    overflow: scroll;
}

.btn-box{
    width: 100%;
    margin: 30px auto;
    text-align: center;
}

button {
    background-color: var(--grün);
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    color: var(--anthrazit);
    transition: .5s;
    margin-top: 20px;
}

button:hover {
    transform: scale(1.1);
}


#form1{
    left: 450px;

}

#form2{
    left: 450px;

}

#form3{
    left: 450px;
}

#form4{
    left: 450px;
}

#end{
    left: 450px;
}


.step-row{
    position: sticky;
    top:0;
    z-index: 10;
    width: 340px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    box-shadow: 0 -1px 5px -1px #000 ;
    background-color: hsl(72, 14%, 57%);
    
}
 
.step-col{
    width: 33%;
    text-align: center;
    position: relative;
    color: var(--anthrazit);
    font-weight: 700;
}

#progress{
    position: absolute;
    height: 40px;
    width: 0%;
    background: var(--grün);
    transition: 1.4s;
}

#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 var(--grün);
}
