/* Created by http://freehtml5templates.com */

body {
    /* background: #fff url(../img/bg1.gif) repeat; */
    font-family: 'Poppins', 'Raleway', sans-serif;
    color: #666;
}


/* layout */

.wrapper {
    width: 940px;
    margin: 0 auto;
    -webkit-box-shadow: 2px 2px 7px #555;
    -moz-box-shadow: 2px 2px 7px #555;
}

nav {
    line-height: 70px;
    background: #979797;
    width: 940px;
    margin: 0 auto;
}

header {
    padding: 40px;
    background-color: #c2c2c2;
}

header,
main,
footer {
    display: flex;
    flex-wrap: wrap;
}

main {
    justify-content: space-around;
    padding: 20px;
    background: #ffffff;
    line-height: 1.5;
    margin-top: 20px;
}

.content {
    width: 450px;
    padding: 20px 0;
}

.sidebar1,
.sidebar2 {
    width: 200px;
    padding: 20px 0;
}

footer {
    margin-top: 20px;
}


/* basics */

h1,
h2,
h3,
h4 {
    font-weight: bold;
    color: #333;
}

h1 {
    margin: 20px 0;
}

h3 a:hover,
h3 a:active {
    color: #e0590b;
    text-decoration: underline;
}

a:link,
a:visited {
    color: #333;
}

a:hover,
a:active {
    color: rgb(94, 94, 94);
    text-decoration: underline;
}

article p {
    margin-bottom: 18px;
}

.content a {
    text-decoration: underline;
}

.content a:hover,
.content a:active {
    color: #e0590b;
}


/* nav */

nav .menu {
    font-size: 14px;
    font-weight: bold;
}

nav .menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav .menu a {
    display: block;
    margin-right: 10px;
    padding: 0px 15px;
}

nav .menu a:hover {
    text-decoration: underline;
    color: #e0590b;
}


/** HEADER */

header {
    justify-content: flex-start;
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
}

header h1 a:link,
header h1 a:visited {
    color: rgb(46, 46, 46);
}

header h1 a:hover {
    color: #e0590b;
    text-decoration: none;
}

.shine {
    color: #e0590b;
}

.purple {
    color: #E059F7;
    font-weight: bold;
}

header h2 {
    font-style: italic;
    font-size: 14px;
    color: rgb(0, 0, 0);
}

section.content h2 {
    font-size: 28px;
}


/** ARTICLES **/

article img {
    margin-bottom: 24px;
    -webkit-box-shadow: 3px 3px 7px #777;
    -moz-box-shadow: 3px 3px 7px #777;
}

.content p {
    margin-bottom: 24px;
}

.content h2 {
    color: #333;
    margin: 0 0 20px 0;
    text-shadow: 0px 2px 3px #ddd;
}


/* sidebar and footer widget blocks */

.asidebox {
    width: 180px;
    border: 3px solid #e0590b;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 20px 0px 20px 0px;
}

.asidebox-simple {
    width: 180px;
    margin-bottom: 30px;
    padding: 20px 0px 20px 0px;
}

.asidebox-text {
    width: 180px;
    border: 3px solid #e0590b;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 20px 5px 20px 5px;
}

aside h3 {
    font-size: 18px;
    text-shadow: 0px 2px 3px #ddd;
    text-align: center;
    margin-bottom: 25px;
    color: #777;
}

aside ul {
    margin-top: -15px;
    padding-left: 10px;
}

.asidebox img {
    display: block;
    margin: 0 auto;
}

footer {
    background: #eee;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    line-height: 1.5;
}

.footer-segment {
    width: 300px;
    text-align: center;
}

footer h4 {
    color: #777;
    font-size: 16px;
    text-align: center;
    text-shadow: 0px 2px 3px #ddd;
    padding-bottom: 5px;
}

footer a:link,
footer a:visited {
    color: #577695;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    width: 900px;
    color: #333;
    text-align: center;
    margin: 10px 0;
}