html, body {
    position: relative;
    width: 100%;
    height: 100%;
}

* {
    box-sizing: border-box;
}

sub {
    font-size: 70%;
}

.input-block.select {
    margin-bottom: 20px;
}

.drawing {
    background-size: cover;
    background-position: top;
    height: 190px;
    width: 100%;
}

.drawing.one {
    background-image: url(./img/happy.png);
}

input[type="range"] {
    transform: scale(1.2);
    position: relative;
    left: 20px;
}


.drawing.two {
    background-image: url(./img/mpng.png);
}

.drawing.three {
    background-image: url(./img/um.png);
}

img {
    width: 100%;
    max-width: 100%;
}

body {
    color: rgb(14, 14, 14);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

::selection {
    background-color: #111;
    color: rgb(243, 198, 0);
}

table {
    font-size: 80%;
}


p {
    line-height: 160%;
}
select, option {
    -webkit-appearance: none;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 15px;
}

h1, h2, h3, h4, h5 {
    font-family: "Roboto Slab", serif;
}

.input-block {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    position: relative;
}

.input-block.select:after {
    content: "";
    color: black;
    right: 14px;
    top: 40px;
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #111
}

.input-block.check label {
    padding-bottom: 0;
}

input[type="checkbox"] {
    width: 35px;
}

.inputs {
    display: flex;
    flex-wrap: wrap;
}

.input-block {
    width: 30%;
    margin-right: 20px;
}

@media screen and (max-width: 800px) {
    .input-block {
        width: 100%;
    }
}

label {
    font-size: 14px;
    padding-bottom: 5px;
}

select {
    font-size: 18px;
}

.flight {
    background: #eee;
    padding: 8px 20px;
    width: 300px;
}

.flight p,
.flight h4{
    margin: 0;
}

input {
    height: 40px;
    font-size: 18px;
    text-indent: 5px;
    margin-top: 0;
    margin-bottom: 15px;
    margin-right: 5px;
    width: auto;
    border: 2px solid #111;
}

input:focus,
select:focus{
    border: 3px solid rgb(145, 0, 0);
    outline: 0;
}

article {
    margin-bottom: 3rem;
}

.input-block.check {
    height: 30px;
    width: 80px;
    margin: 10px 30px 0 0;
    background: transparent;
    border-radius: 50px;
    position: relative;
}

.input-block.check p {
    font-size: 12px;
    margin-top: 20px;
}

.input-block.check:after {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    height: 2px;
    width: 56px;
    border-radius: 50px;
    background: #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
}

.input-block.check label {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50px;
    transition: all .4s ease;
    cursor: pointer;
    position: absolute;
    top: 4px;
    z-index: 1;
    left: 4px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
    background: #fcfff4;
    background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
}

.input-block.check label:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background: #333;
    left: 6px;
    top: 6px;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 1), 0px 1px 0px rgba(255, 255, 255, 0.9);
}

.input-block.check input[type=checkbox]:checked + label {
    left: 54px;
}

.input-block.check input[type=checkbox]:checked + label:after {
    background: #00bf00;
}

input[type=checkbox] {
    visibility: hidden;
}

select {
    border: 2px solid black;
    padding: 10px 5px;
}

.inputs {
    margin-bottom: 2rem;
}
