/* Reset defaults */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: "ui-sans-serif", "-apple-system", "system-ui", "Segoe UI", "Roboto", "Ubuntu", "Cantarell", "Noto Sans",
        sans-serif, "Helvetica", "Apple Color Emoji", "Arial", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    height: 100vh;
    font-size: x-large;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* Main style */

.main-view {
    display: flex;
    flex-flow: column nowrap;
    height: 100vh;
}

h1, h2, h3 {
    margin: 0;
}

input[type="text"] {
    border: 1px solid gray;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
}

input[type="radio"] {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 0.15em solid currentColor;
    border-radius: 50%;
    display: inline-grid;
    place-content: center;
    transform: translateY(-0.075em);
}

input[type="radio"]::before {
        content: "";
        width: 0.65em;
        height: 0.65em;
        border-radius: 50%;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em rebeccapurple;
}

input[type="radio"]:checked::before {
        transform: scale(1);
}

button {
    background-color: #04AA6D;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    display: inline-block;
    border-radius: 1rem;
}

button:hover {
	background-color: #038052;
}

button:disabled {
	background-color: gray;
}

button:disabled:hover {
	background-color: gray;
}

.progress {
    display: inline-block;
    height: 1rem;
    width: 100px;
    border: none;
    border-radius: 0.25rem;
    background-color: #e9ecef;
    overflow: hidden;
}


.progress .fill {
	height: 100%;
	background-color: #007bff;
}
