/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Island+Moments&family=Playfair+Display+SC&display=swap');

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: "Helvetica Neue", Arial, sans-serif;
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    background: url(images/ghost.png) no-repeat left 5% center / 275px 275px fixed, 
		url(images/tombstone.png) no-repeat right 5% center / 275px 275px fixed,
        #000 linear-gradient(to bottom,  rgba(196,116,74,1) 0%,rgba(51,37,37,1) 100%) fixed;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#c44a54+0,332525+100 */

}

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

.wrapper {
    border: 2px solid white;
    border-radius: 10px;
    background: #393B3D;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

header {
    display: flex;
    border-radius: 10px;
    border: 2px solid gray;
    margin: 20px;
    background: url(images/zombie-hand.png) no-repeat right bottom / 100px 100px,
            url(images/bats.png) no-repeat top 10px left 10px / 50px 50px,
            url(images/halloween-hero-sm.png) no-repeat center center / cover,
        #000 linear-gradient(to bottom,  rgba(196,116,74,1) 0%,rgba(51,37,37,1) 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

header h1 {
    line-height: 5;
    text-align: center;
    flex: 1 0 auto;
    margin: 0;
    color: #fff;
    font-family: "Myriad Pro Regular", sans-serif;
    font-weight: 200;
    letter-spacing: 4px;
    text-shadow: 0 -2px 2px rgba(0, 0, 0, 0.6);
    background: transparent linear-gradient(to bottom, hsl(0deg 62% 80% / 70%) 1px, hsl(21deg 51% 49% / 70%) 2px, hsla(218, 62%, 8%, 1.00));
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

header h1 sup {
    font-size: .6em;
}

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(196, 117, 74, 0.60) 3%, rgba(0, 0, 0, 0.90) 8%);
	color: white;
}

h2 {
    margin: 75px 0 16px;
	font-family: 'Playfair Display SC', serif;
	font-size: 2.25rem;
}

p {
    margin: 24px 0 24px;
    line-height: 1.75;
    text-indent: 12px;
	font-family: 'Island Moments', cursive;
	font-size: 2rem;
}

img {
    width: 100%;
}

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

footer a:first-child {
	color: white;
}

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;
}


/*
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;
    }
    
    .wrapper {
        width: 80%;
        max-width: 1000px;
    }

    header {
        height: 400px;
        background: url(images/zombie-hand.png) no-repeat right bottom / 200px 200px,
            url(images/bats.png) no-repeat top 10px left 10px / 100px 100px,
            url(images/halloween-hero-sm.png) no-repeat center center / cover,
            #000 linear-gradient(to bottom,  rgba(196,74,84,1) 0%,rgba(51,37,37,1) 100%);
    }

    header h1 {
        line-height: 2.5;
        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;
    }
}
