@charset "UTF-8";
/* CSS Document */


/*
RESET START
*/


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
    box-sizing: border-box;
}

/*
RESET END
*/




body {
    font-family: 'Inter', sans-serif;
    background: #ffb6c1;
}



.frame {
    position: relative;
    width: 90%;
    max-width: 1300px;
    margin: 60px auto;
    border: 14px solid #0097ff;
	background-image: url("images/palm2.jpg");
	background-repeat: repeat-y;    
    background-size: 100% auto;       
    background-position: top center;  
}

/*#0097ff*/



.inner {
    position: relative;
    padding: 100px 80px 120px 160px;
}



.vertical-title {
    position: absolute;
    left: -110px;
    top: 720px;
    transform: rotate(-90deg);
    transform-origin: left top;

    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 4px;
    background: #0097ff;
    color: white;
    padding: 10px 20px;
}



.hero {
    height: 650px;
    background-image: url("images/hippo2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-end;
    padding: 30px;
}




.byline {
    font-family: 'Playfair', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
	padding: 10px;
    color: white;
	background: #ffb6c1;
}




h2 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    text-transform: uppercase;
	padding: 20px;
    letter-spacing: 2px;
    margin-bottom: 50px;
    line-height: 1.4;
	color: #0097ff;
	background: white;
}



.text-block {
    position: relative;
    background: white;
    padding: 40px 50px 40px 70px;
    margin-bottom: 80px;
    max-width: 750px;
	border: 14px solid #0097ff;
/*    box-shadow: 0 20px 50px rgba(0,0,0,0.08);*/
}


/* Alternate block widths */

.text-block:nth-child(odd) {
    margin-left: 40px;
}

.text-block:nth-child(even) {
    margin-left: 120px;
}



.text-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1e1e1e;
}



.number {
    position: absolute;
    left: -60px;
    top: 30px;
	padding: 2px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: white;
    letter-spacing: 2px;
	background: #0097ff;
}



@media (max-width: 900px) {

    .inner {
        padding: 60px 30px 80px 30px;
    }

    .vertical-title {
        position: static;
        transform: none;
        font-size: 2.5rem;
        margin-bottom: 40px;
        text-align: center;
    }
	
	.hero {
		height: 400px;
	}

    .text-block {
        margin-left: 0 !important;
		padding: 25px 25px 25px 45px;
        margin-bottom: 50px;
        border-width: 8px; 
    }

    .number {
        left: -40px;
		font-size: 2rem;
    }
}

