@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');

:root {
    --rd: #C00000;
    --bk: #101010;
    --wh: #F8F8F8;
    --gr: #C0C0C0;
    --bg: #F0F0F0;
    --wa: #25D366;
}

* {
    margin: 0px;
    padding: 0px;
    border: none;
    outline: none;
    color: var(--bk);
    font-size: medium;
    box-sizing: border-box;
    font-family: 'Comfortaa';
}

body {
    background: var(--bg);
}

section {
    top: 50%;
    left: 50%;
    width: calc(100% - 64px);
    margin: auto;
    padding: 32px;
    max-width: 640px;
    position: absolute;
    border-radius: 8px;
    background-color: var(--wh);
    border: solid 1px var(--gr);
    transform: translate(-50%, -50%);
    box-shadow: 1px 1px 4px var(--gr);
}

header {
    display: flex;
    margin-bottom: 24px;
    justify-content: space-between;
}

h1 {
    font-weight: bold;
    font-size: 1.6rem;
}

h2 {
    font-weight: bold;
    font-size: 1.0rem;
    line-height: 150%;
    margin-bottom: 12px;
}

p {
    line-height: 150%;
    text-align: justify;
    margin-bottom: 12px;
}

button {
    cursor: pointer;
    margin-top: 24px;
    color: var(--wh);
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 8px;
    background: var(--rd);
}

label {
    width: 100%;
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 4px;
}

input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: solid 1px var(--gr);
}

input[type="radio"] {
    width: auto;
    padding: 0px;
    margin-bottom: 12px;
}

@media only screen and (max-width: 480px) {
    header {
        gap: 24px;
        flex-direction: column-reverse;
    }

    p {
        text-align: left;
    }
}