* {
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

body {
    margin: 0;
    font-family: 'David Libre', serif;
    font-weight: 300;
    background: #a09d9d url(Backgrounds/tileable-wood-colored.png);
    color: #000;
}

a {
    color: #1894d6;
    text-decoration: none;
}

a:hover {
    color: #FFF;
    text-decoration: underline;
}

header {
    background: #333 url(Backgrounds/carbon-fibre.png);
    min-height: 100px;
    color: #FFF;
}

header h1 {
    font-family: 'Lora', serif;
    margin: 0 4%;
    font-size: 3em;
    font-weight: 600;
    line-height: 2em;
}

header nav ul {
    padding: 0;
    margin: 0 4%;
}

header nav li {
    list-style: none;
    margin: 0 1% 10px 0;
    display: inline-block;
    text-align: center;
}

header nav li a {
    background: #454545;
    padding: 3px 12px;
}

header nav li a:hover {
    text-decoration: none;
    background: #fff;
    color: #333;
}

section {
    overflow: hidden;
    padding-top: 2%;
    padding-bottom: 2%;
}

section article h2 {
    font-size: 2em;
    font-family: 'David Libre', serif;
    font-weight: 300;
}

section.homeimage article img {
    min-height: 150px;
    width: 95%;
    margin: 2% 2.5% 0 2.5%;
    align-content: center;
    box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
}

section.whole article {
    min-height: 150px;
    width: 95%;
    margin: 2% 2.5% 0 2.5%;
    float: left;
    background: #1894d6 url(Backgrounds/45-degree-fabric-light.png);
    box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
    border-radius: 5px;
}

section.whole article h1 {
    text-align: center;
    font-size: 3em;
}

section.whole article h1 p {
    text-align: center;
}

section.whole article ol {
    margin-left: 3%;
}

section.whole article h2 {
    font-size: 3em;
}

section.whole article h2, section.whole article p {
    margin: 3%;
}

section.thirds article img {
    width: 100%;
}

section.ones article {
    background: #E6E6E6;
    min-height: 150px;
    width: 28%;
    margin: 2% 2.66%;
    float: left;
    background: #e55f18 url(Backgrounds/back-pattern.png);
    box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
    border-radius: 5px;
}

section.ones article h2 {
    margin-left: 3%;
}

section.ones article p {
    margin-left: 3%;
}

section.halves article {
    padding: 1%;
    background: #CCC;
    min-height: 100px;
    width: 40%;
    margin: 2% 5% 2% 5%; 
    float: left;
    border-radius: 5px;
}

section.fourths article {
    background: #e55f18 url(Backgrounds/back-pattern.png);
    min-height: 150px;
    width: 20%;
    margin: 0% 2.5% 2% 2.5%; 
    float: left;
    border-radius: 5px;
    box-shadow: 0 2px 5px 2px rgba(0,0,0,.6);
}

section.fourths article h2 {
    text-align: center;
}

section.fourths article img {
    opacity: 0.5;
    filter: alpha(opacity=50);
    margin: 0%;
    width: 100%;
    max-width: 700px;
    min-width: 50px;
}

section.fourths article img:hover {
    opacity: 1.0;
}

@media screen and (min-width: 961px) {
    section.thirds article {
        background: #E6E6E6;
        min-height: 150px;
        width: 28%;
        margin: 2% 2.66%;
        float: left;
        background: #e55f18 url(Backgrounds/back-pattern.png);
        box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
        border-radius: 5px;
    }
    body header img {
        width: 100%;
    }
    section.halves article {
        text-align: center;
        padding: 1%;
        background: #CCC;
        min-height: 100px;
        width: 40%;
        margin: 2% 4% 2% 4%; 
        float: left;
        border-radius: 5px;
        background: #e55f18 url(Backgrounds/back-pattern.png);
        box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
    }
    section.fourths article {
    background: #e55f18 url(Backgrounds/back-pattern.png);
    min-height: 150px;
    width: 20%;
    margin: 0% 2.5% 1% 2.5% ; 
    float: left; 
    border-radius: 5px;
    }
}

@media screen and (max-width: 960px) {
    section.thirds article {
        background: #E6E6E6;
        min-height: 150px;
        width: 45%;
        margin: 2% 2.5%;
        float: left;
        background: #e55f18 url(Backgrounds/back-pattern.png);
        box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
        border-radius: 5px;
    }
    header nav ul {
    padding: 0;
    margin: 0 4%;
    }
    header nav li {
        list-style: none;
        margin: 0 1% 10px 0;
        display: inline-block;
        text-align: center;
    }
    header nav li a {
        background: #454545;
        padding: 3px 8px;
    }
    body header img {
        width: 100%;
    }
    section.halves article {
        text-align: center;
        padding: 1%;
        background: #CCC;
        min-height: 100px;
        width: 38%;
        margin: 2% 5% 2% 5%; 
        float: left;
        border-radius: 5px;
        background: #e55f18 url(Backgrounds/back-pattern.png);
        box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
    }
    section.thirds article h2 {
        font-size: 100%;
    }
    section.fourths article {
    background: #e55f18 url(Backgrounds/back-pattern.png);
    min-height: 150px;
    width: 45%;
    margin: 2% 2.5% 1% 2.5%; 
    float: left; 
    border-radius: 5px;
    }
    section.fourths article h2 {
    font-size: 100%;
    }
}

section.thirds article h2, section.thirds article p {
    margin: 10%;
}

@media screen and (max-width: 480px) {
    section.thirds article {
        background: #E6E6E6;
        min-height: 150px;
        width: 95%;
        margin: 2% 2.5% 0 2.5%;
        float: left;
        background: #e55f18 url(Backgrounds/back-pattern.png);
        box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
        border-radius: 5px;
    }
    section.thirds article h2, section.thirds article p {
    margin: 3%;
    }
    body header img {
        width: 100%;
    }
    header h1 {
        font-size: 2.5em;
        font-weight: 600;
        line-height: 2.5em;
    }
    header nav ul {
        margin: 0;
    }
    header nav li {
        width: 100%;
        margin: 1px 0 0 0;
        text-align: left;
    }
    header nav li a {
        display: block;
        width: 100%;
        padding-left: 6%;
    }
    section.halves article {
        text-align: center;
        padding: 1%;
        background: #CCC;
        min-height: 100px;
        width: 90%;
        margin: 2% 5% 2% 5%; 
        float: left;
        border-radius: 5px;
        background: #e55f18 url(Backgrounds/back-pattern.png);
        box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
    }
    section.fourths article {
    background: #e55f18 url(Backgrounds/back-pattern.png);
    min-height: 150px;
    width: 90%;
    margin: 5%; 
    float: left; 
    border-radius: 5px;
    }
    section.ones article {
    background: #E6E6E6;
    min-height: 150px;
    width: 95%;
    margin: 2% 2.66%;
    float: left;
    background: #e55f18 url(Backgrounds/back-pattern.png);
    box-shadow: 0 5px 10px 2px rgba(0,0,0,0.5);
    border-radius: 5px;
    }
}

footer {
    clear: left;
    min-height: 75px;
    background: #6f6d6d url(Backgrounds/carbon-fibre.png);
    color: #fff;
    margin: 2% 0 0 0;
    text-align: center;
}

footer section article h2 {
    padding: 3%;
}

footer section article div {
    padding: 7%;
}

footer li {
    list-style: none;
    line-height: 2em;
}

section.solitary article {
    background: transparent;
}

section.solitary div {
    padding: 1%;
    background: #a09d9d url(Backgrounds/tileable-wood-colored.png);
    min-height: 100px;
    width: 40%;
    margin: 2% 5% 2% 5%; 
    float: left;
    border-radius: 5px;
    margin-left: 28%;
}

/*This is for the links to social media so they are more spread out*/
section.solitary div a{
    margin: 5%;
}

footer section h2 {
    margin: 2% 2% 0 2%;
}