@font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: normal;
    src: url("BreeSerif-Regular.ttf") format('truetype');
}

body {
    background: #FFEFD3;
    font-family: "Bree Serif", "Arial", serif;
}

main {
    background: #FFF;
    width: 70vw;
    max-width: 980px;
    margin: 50px auto;
    padding: 10px 30px 80px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 2.1em;
    margin: 1em 0 1em 0;
}

p {
    font-size: 1em;
    margin: 1em 0 1em 0.3em;
}

a {
    text-decoration: none;
    font-style: italic;
}

p.description {
    margin-bottom: 2.2em;
}

input, section {
    clear: both;
    padding-top: 10px;
    display: none;
}

label {
    font-size: 1.2em;
    display: block;
    float: left;
    padding: 10px 30px;
    border-top: 2px solid transparent;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    border-bottom: 1px solid #DDD;
}

label:hover {
    cursor: pointer;
    text-decoration: underline;
}

#tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4 {
    display: block;
}

input:checked + label {
    border-top-color: #FFB03D;
    border-right-color: #DDD;
    border-left-color: #DDD;
    border-bottom-color: transparent;
    text-decoration: none;
}