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-image: url(../images/waves.webp), url(../images/trees.webp),  linear-gradient(45deg,
     hsl(285deg 70% 76%) 0%,
     hsl(253deg 53% 61%) 5%,
     hsl(222deg 35% 46%) 11%,
     hsl(212deg 46% 54%) 19%,
     hsl(209deg 65% 71%) 28%,
     hsl(177deg 70% 66%) 43%,
     hsl(114deg 59% 42%) 69%,
     hsl(67deg 50% 23%) 83%,
     hsl(67deg 49% 20%) 92%,
     hsl(67deg 47% 17%) 100%
        );
    background-position: bottom left, left, center;
    background-repeat: repeat-x, repeat;
    
}

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

.wrapper {
    border-radius: 10px;
    background: #393B3D;
    margin-top: 20px;
    margin-bottom: 20px;
}

header {
    border-radius: 10px;
    height: 550px;
    margin: 20px;
    background: url(../images/koala-branch.webp) no-repeat -44px 303px / 246px 347px,
                url(../images/koala-sitting.webp) no-repeat 98px 373px / 341px 291px,
                url(../images/koala-sleeping.webp) no-repeat center / cover;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

header h1 {
    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: linear-gradient(45deg,
    hsl(253deg 53% 61%) 5%,
    hsl(222deg 35% 46%) 11%,
    hsl(114deg 59% 42%) 69%,
    hsl(67deg 50% 23%) 83%,
    hsl(67deg 49% 20%) 92%,
    hsl(67deg 47% 17%) 100%
       );
    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;

    background: #b9ffe4 linear-gradient(to bottom, rgba(120, 211, 212, 0.8) 0%, #c7ffe9, rgb(239, 255, 255) 20%);
}

h2 {
    margin: 24px 0 6px;
}

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

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


/*
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: 550px;
            background: url(../images/koala-branch.webp) no-repeat -3px 263px / 250px 320px,
                url(../images/koala-sitting.webp) no-repeat 492px 302px / 371px 338px,
                url(../images/koala-sleeping.webp) no-repeat center / cover;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
    }

    header h1 {
        line-height: 2;
        font-size: 2.75em;
        align-self: flex-end;
    }

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

    .wrapper {
        border-radius: 10px;
        background: #393B3D;
        margin-top: 100px;
        margin-bottom: 100px;
    }    
}