*{
    box-sizing: border-box;
}

html, body, p, h1, h2, h3, div, button, input, label {
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    Background: linear-gradient(#B4646D 12.5%, #E099B6 12.5%, #E099B6 25%, #96bcbb 12.5%, #96BCBB 37.5%, #686959 12.5%, #686959 50%, #D6B86B 12.5%, #D6B86B 62.5%, #684C37 12.5%, #684C37 75%, #81503B 12.5%, #81503B 87.5%, #01B9C3 12.5%, #01B9C3 100%);
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
}

body {
    background-color: rgba(245, 245, 245, 0.8);
    width: 100%;
    min-height: 100vh;
    display: inline-block;
}

main {
    margin: 10vh auto 2vh auto;
    width: 500px;
    padding: 20px;
    background-color: rgba(245, 245, 245, 0.85);
    border: 1px solid #ccc;

}

h1 {
    font-weight: 100;
    margin-bottom: .5rem;
}

h3 {
    text-transform: uppercase;
    margin: .5rem 0;
}

label {
    display: block;
    margin: .5rem 0;
}

input, input[type='date'], input[type='datetime-local'], .radio {
    background-color: whitesmoke;
    min-width: 300px;
    padding: .5rem;
    font-size: 1rem;
    color: #f3437b;
    border: 1px solid #ccc;
}

.radio {
    color: black;
    width: 300px;
}

.req:after {
    content: '*';
    margin-left: .5rem;
    color: red;
}

/* The container */
.container { 
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.container input[type='radio'] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    min-width: 0;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1rem;
    width: 1rem;
    background-color: #ccc;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input[type='radio'] ~ .checkmark {
    background-color: #bbb;
}

/* When the radio button is checked, add a blue background */
.container input[type='radio']:checked ~ .checkmark {
    background-color: #f3437b;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input[type='radio']:checked ~ .checkmark:after {
    display: block;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #ee93af;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #ee93af;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #ee93af;
}

:-moz-placeholder { /* Firefox 18- */
    color: #ee93af;
}

button {
    background-color: #01B9C3;
    padding: .5rem 1rem;
    font-size: .8rem;
    text-transform: uppercase;
    margin-top: 2rem;
    border: 1px solid #ccc;
    cursor: pointer;
    color: white;
    font-weight: 600;
    letter-spacing: .5px;
}

button:hover{
    background-color: #03c7d2;
}

button:active{
    background-color: #01B9C3;
}


@media only screen and (max-width: 600px) {
    html {
        width: 100%;
    }

    body{
        padding: 5px;
        max-width: 100%;
        min-height: 100%;
    }

    main {
        margin: 2vh auto;
        padding: 5px;
        max-width: 100%;
    }

    input, input[type='date'], .radio {
        min-width: auto;
        width: 100%;
    }

}