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

body {
    font-family: 'Special Elite', 'American typewriter', sans-serif;
    font-size: 24px;
    background-image: url(../images/note.png), url(../images/linedpaper.png);
    background-repeat: no-repeat, repeat;
    background-size: 800px, auto;
    background-position-x: 50%;
    background-position-y: 180px;
}

header {
    height: 100px;
    text-align: center;
    margin: 50px;
}

form {
    margin-top: 20px;
}

form p {
    margin-bottom: 10px;
}

form span {
    margin-left: 10px;
}

button {
    border-radius: 20px;
    padding: 10px 30px;
    margin: 20px 0;
    font-weight: bold;
    font-size: 24px;
    outline: none;
}

button:hover {
    background-color: #eee;
    transition: linear 100ms;
    border-style: outset;
}

button:active {
    background-color: #f00;
    border-style: inset;
}

button.submit {
    position: absolute;
    vertical-align: bottom;
    top: 220px;
}

#logo {
    display: inline-block;
    height: 100%;
}

#logo text {
    font-size: 50px;
    height: 100%;
}

#container {
    width: 600px;
    margin: 0 auto;
}

#content {
    width: 100%;
    height: 400px;
    padding: 30px;
}

#timer {
    font-size: 24px;
}

#title {
    text-align: center;
    padding: 50px 0;
}

.block {
    display: block;
}

.form-radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    position: relative;
    background-color: #f1f1f1;
    color: #666;
    top: 10px;
    height: 30px;
    width: 30px;
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    margin-right: 7px;
    outline: none;
}

.form-radio:checked::before {
    position: absolute;
    font: 13px 'Open Sans', sans-serif;
    left: 11px;
    top: 7px;
    font-weight: bold;
    content: '\02143';
    transform: rotate(40deg);
}

.form-radio:hover {
    background-color: #f7f7f7;
}

.form-radio:checked {
    background-color: #f1f1f1;
}

@media screen and (max-width: 900px) {
    #logo {
        display: block;
        margin: 0 auto;
    }

    #container {
        padding-top: 50px;
    }

    body {
        background-position-y: 250px;
    }
}

@media screen and (max-width: 650px) {
    body {
        background-position-y: 180px;
        font-size: 18px;
        width: 100%;
        height: 100%;
    }

    header {
        margin: 20px 0;
        padding: 0;
    }

    h2 {
        font-size: 1.3em;
    }

    #logo {
        width: 100%;
        height: auto;
        text-align: center;
        padding: 0 20px;
    }

    #container {
        width: 100%;
        margin-top: 50px;
    }

    #content {
        padding: 10px;
    }

    #title {
        text-align: center;
        width: 100%;
        margin-top: 50px;
    }
}