* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: aliceblue;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 500px;
    margin: 1em auto;
    padding: 1em;
}

header {
    margin: 1em 0 2em;
}

h3 {
    margin: 2em 0 0;
}

form input {
    padding: 0.5em 1em;
    width: 100%;
}

form button {
    padding: 0.5em 1em;
    width: 100%;
    cursor: pointer;
}

#buttons {
    display: flex;
    margin: 0.5em 0;
}

#submitBtn {
    background-color: #3cff94;
    border: 2px solid #9bfac6;
    margin-right: 5px;
}

#submitBtn:hover {
    background-color: #1ae073;
}

#clearBtn {
    background-color: #eeeeee;
    border: 2px solid #ececec;
}

#clearBtn:hover {
    background-color: #bcbcbc;
}

.responses-container {
    border: 1px solid #3cff94;
    padding: 1em;
}

.responses-container p {
    color: #5a5a5a;
    text-align: right;
}

#responses {
    list-style-type: none;
    padding: 0 2em 2em;
    overflow-y: scroll;
    height: 300px;
}

@media (min-height: 700px) {
    #responses {
        height: 400px;
    }
}

#responses li {
    position: relative;
    margin: 1em;
}

#responses li.step {
    margin: 2em 0 0;
}

#responses li.step::before {
    content: " ";
    position: absolute;
    margin-left: -2em;
    width: 1em;
    height: 1em;
    background-color: transparent;
    border: 2px solid #3c49ff;
    border-radius: 50%;
    left: 0;
}

#responses li.error::before {
    border: 2px solid #e02441;
}

#responses li.question::before {
    border: 2px solid #1ae073;
}
