@font-face{
    font-family: 'vera';
    src: url('../fonts/Vera-webfont.woff') format('woff');
}
@font-face{
    font-family: 'vera bold';
    src: url('../fonts/Vera-Bold-webfont.woff') format('woff');
}
@font-face{
    font-family: 'vera italic';
    src: url('../fonts/Vera-Italic-webfont.woff') format('woff');
}
@font-face{
    font-family: 'vera bold italic';
    src: url('../fonts/Vera-Bold-Italic-webfont.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    line-height: 1;
    outline: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}

html, body {
    font-family: vera, sans-serif;
    background-color: #cd2047;
    color: #fff;
}
#wrapper {
    width: 768px;
    margin: 0 auto;
}

#header {
    width: 480px;
    text-align: center;
    margin: 20px auto;
}
#header img {
    width: 240px;
}
#header h1 {
    margin-top: 30px;
    font-family: 'vera';
    font-size: 36px;
    line-height: 1.2;
}
#header p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.2;
}

#footer {
    margin-top: 100px;
}
#footer ul {
    margin: 0 -10px;
}
#footer ul li {
    float: left;
    width: 33.333%;
}
#footer ul li div {
    padding: 0 10px;
}
#footer ul li div h3 {
    position: relative;
    font-family: 'vera bold';
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
}
#footer ul li div h3:after {
    position: absolute;
    content: '';
    height: 3px;
    width: 60px;
    background-color: #fecd05;
    bottom: 0;
    left: 0;
}
#footer ul li div p {
    font-size: 16px;
    line-height: 1.5;
}
#footer ul li div p a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted #fff;
}
#footer ul li div p a:hover {
    border-bottom-style: solid;
}

#footer p.copyright {
    padding: 50px 0;
    font-size: 16px;
    text-align: center;
    display: block;
    clear: both;
    line-height: 1.5;
}

@media screen and (max-width: 767px) {
    #wrapper {
        width: 100%;
        padding: 0 20px;
    }
    #header {
        width: 100%;
    }
    #footer ul li {
        float: none;
        width: 100%;
        margin-bottom: 50px;
    }
}
