/* CSS Document */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

ul,
ol {
    padding-left: 0;
    list-style: none;
}

sup {
    line-height: 0;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

html {
    font-family: Tahoma, Arial, sans-serif;
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    background:  url(images/egg-icon.png) repeat, 
		         transparent radial-gradient(
                 hsla(45, 100%, 51%, 0.3) 50%,
                 hsla(14.4, 100%, 57%, 0.4) 70%,
                 hsla(4.1, 90%, 58%, 0.5));
	
}

.container {
    margin: 0 .625rem;
    overflow: hidden;
}

.wrapper {
    border: 5px solid darkgrey;
    border-radius: 10px;
    background: #ff9800;
    margin-top: 10px;
    margin-bottom: 10px;
	box-shadow: 7px 7px 10px black;
}

header {
    display: flex;
    border-radius: 10px;
    border: 2px solid gray;
    margin: 20px;
    background: 
        url(images/cooked-egg.jpg) no-repeat center center / cover,
        #000 linear-gradient(to bottom, rgba(0, 159, 245, 1), rgba(0, 100, 225, 1));
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

header h1 {
    line-height: 3;
    text-align: center;
    flex: 1 0 auto;
    margin: 0;
    color: #fff;
    font-family: "Arial Black", sans-serif;
    font-weight: 200;
    letter-spacing: 4px;
    text-shadow: 3px -4px 4px rgba(0, 0, 0, 0.6);
	
    background: transparent linear-gradient(to bottom,
            #FFC107 15px,
            #FF5722 40px,
            #F44336);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

section {
    overflow: hidden;
    margin: 20px;
    border: 2px solid white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.8);
    background: #fff linear-gradient(to bottom, rgba(0, 0, 0, 0.80) 0%, rgba(255, 255, 255, 0.60) 5%, rgba(255, 255, 255, 1) 20%);
}

h2 {
    margin: 24px 0 6px;
	background-color: gold;
	padding-left: 5%;
	padding-top: 5px;
	padding-bottom: 5px;
	border: darkgrey solid 3px;
	border-radius: 10px;
	margin-bottom: 15px;
}

p {
    margin: 0 0 16px;
    line-height: 1.4;
   
}

img {
    width: 100%;
	
}

footer {
    clear: both;
    overflow: auto;
    margin: 0 20px;
    padding: 0 0 20px;
    color: #fff;
}

footer a[href^=javascript] {
    position: relative;
    color: #000;
    display: block;
    line-height: 2em;
    font-size: 0.625em;
    background-color: #fff;
    border-radius: 3px;
    margin: 0 0 0 10px;
    padding: 0 10px;
    float: right;
    text-decoration: none;
    box-shadow: 0 2px 2px #000;
}

footer a[href^=http]:active {
    top: 2px;
    box-shadow: none;
}
.cc {
	font-style:italic;
	color: grey;
	padding-left: 20px;
}

/*
Start Media Query
    if screen is 48rem or larger (can use px or em)
    rem is based on font size of root element
        (16px * 48 = 768)
    use the following rules
*/

@media (min-width: 48rem) {
    .container {
        width: 96%;
        max-width: 800px;
        margin: 20px auto;
    }

    header {
        height: 400px;
        background:
            url(images/sunrise.png) no-repeat top 30px right -10px / 500px 284px,
		    url(images/eggs.png) no-repeat top 20px right 20px / 250px 216px,
            url(images/cooked-egg.jpg) no-repeat center center / cover,
            #000 linear-gradient(to bottom, rgba(0, 159, 245, 1), rgba(0, 100, 225, 1));
    }

    header h1 {
        line-height: 2;
        font-size: 2.75em;
        align-self: flex-end;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;

    }

    img {
        width: auto;
        float: right;
        margin: 0 0 2px 4px;
    }
}



