/*
Assignment 10
Author: Matt Lindsey

Color Guide
-----------
#f4f7f9 - White
#111821 - Black
#4e6180 - Blue
#f0f3f5 - Light Grey

Typography Guide
----------------
Muncie - Main

----------------------
0. Universal Styles
1. Header/Navigation Styles
2. Main Section Styles
3. Contact Styles
4. Footer Styles
5. Responsive Styles
----------------------
*/

/*
0. Universal Styles
*/

@font-face {
    font-family: 'muncie';
    src: url('fonts/muncie-webfont.eot');
    src: url('fonts/muncie-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/muncie-webfont.woff2') format('woff2'),
         url('fonts/muncie-webfont.woff') format('woff'),
         url('fonts/muncie-webfont.ttf') format('truetype'),
         url('fonts/muncie-webfont.svg#muncieregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body{
	text-align: center;
    background: repeating-linear-gradient(
        45deg,
        #f4f7f9,
        #f4f7f9 100px,
        #f0f3f5 100px,
        #f0f3f5 200px
    );
    font-family: helvetica, arial sans-serif;
}

/*
1. Header/Navigation Styles
*/

header{
    font-family: muncie, sans-serif;
    font-size: 2.5em;
    width: 100%;
    margin: 60px 0;
}

header div{
    width: 1040px;
    margin: 0 auto;
}

header img{
    display: block;
    width: 150px;
    margin: 0 auto;
}

header h1{
    color: #111821;
    display: inline-block;
    margin-top: 20px;
}

header h2{
    color: #4e6180;
    display: inline-block;
    margin-top: 20px;
}

/*
2. Main Section Styles
*/

section{
	width: 1040px;
	margin: 0 auto;
    clear: both;
}

section div#web{
    width: 1040px;
    height: 260px;
}

section div#graphic{
    width: 1040px;
    height: 1040px;
    margin-top: 40px;
    clear: both;
}

section figure, section img{
	width: 260px;
    height: 260px;
	float: left;
}

section figure figcaption{
	display: none;
    opacity: 0.95;
}

.titleText{
    width: 200px;
    height: 32px;
    padding:  114px 30px;
    opacity: 0;
    background-color: #111821;
    color: white;
    position: absolute;
    z-index: 1;
    font-family: muncie, sans-serif;
    font-size: 2em;
    transition: 1s;
}

.titleText a{
    color: white;
    text-decoration: none;
    display: block;
    width: 260px;
    height: 146px;
    margin: -114px 0px 0 -30px;
    padding-top: 114px;
}

.title:hover .titleText{
    display: block;
}

.titleText:hover{
    opacity: 0.95;
    transition: 0.5s;
}

/*
3. Contact Styles
*/

section h3{
    font-weight: bold;
    margin: 0 auto 25px;
}

section p{
    width: 520px;
    margin: 0 auto;
    text-align: left;
}

form{
    width: 520px;
    margin: 50px auto 0;
}

form label{
    display: block;
    width: 260px;
    margin: 0 auto;
    text-align: left;
}

form input{
    display: block;
    width: 260px;
    margin: 5px auto 0;
}

form input[name='submit']{
    margin-top: 25px;
}

form label[name='subject']{
    margin-top: 15px;
}

form textarea{
    width: 520px;
    height: 260px;
    margin-top: 25px;
}


/*
4. Footer Styles
*/

footer{
    width: 100%;
    margin: 60px 0;
}

footer img{
    width: 150px;
}

/*
5. Responsive Styles
*/

@media screen and (max-width: 1140px){
    header div{
        width: 520px;
    }

    header img{
        display: block;
        float: none;
        margin: 0 auto;
    }

    header h1{
        display: block;
    }

    header h2{
        display: block;
        margin-top: 5px;
    }

    section{
        width: 520px;
    }

    section div#web{
        width: 520px;
        height: 520px;
    }

    section div#graphic{
        width: 520px;
        height: 1560px;
    }
}

@media screen and (max-width: 620px){
    header div{
        width: 260px;
    }

    header img{
        width: 100px;
    }

    header h1, header h2{
        font-size: 0.8em;
    }

    section{
        width: 260px;
    }

    section div#web{
        width: 260px;
        height: 1040px;
    }

    section div#graphic{
        width: 260px;
        height: 3120px;
    }

    footer img{
        width: 100px;
    }
}