/*  @font-face  */

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

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

/*  Styles  */

html, body {
    height: 100%;
}

body {
    margin: 0; 
    padding: 0;
    font-family: 'mttbwyneat', "Comic Sans MS", "Comic Sans", sans-serif;
    color: black;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 ,h6, .h6 {
    font-family: 'mttbwymessy', "Comic Sans MS", "Comic Sans", sans-serif;
    line-height: 1.4;
    margin: 0;
}

h1, .h1 {
    font-size: 2.5rem;
}

h2, .h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.8rem;
}

h4, .h4 {
    font-size: 1.4rem;
}

p {
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 25rem;
    margin: 0 auto;
    text-align: center;
}

.content {
    padding: 1rem 1.5rem;
}

.charlotte-bertie {
    height: 50vw;
    margin-bottom: 5px;
}

.btn {
    display: inline-block;
    font-size: 1.2rem;
    background-color: #62B5E5;
    color: black;
    border: 3px solid black;
    border-radius: 50px;
    margin: 0.5rem 0 1rem;
    padding: 0.4em 1.2em;
    text-decoration: none;
}

.btn:hover, .btn:focus {
    text-decoration: underline;
}

/*  Media Queries  */

@media screen and ( min-width: 40.0625em ) { /* 641px */

    h1, .h1 {
        font-size: 3.5rem;
    }
    
    h2, .h2 {
        font-size: 2.8rem;
    }
    
    h3, .h3 {
        font-size: 2.2rem;
    }
    
    h4, .h4 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1.8rem;
        margin: 1rem 0;
    }

    .btn {
        font-size: 1.5rem;
        padding: 0.8em 1.2em;
        margin: 0 0 1rem;
    }

    .container {
        max-width: 35.625rem;
    }
}

@media screen and ( min-width: 62em ) { /* 992px */

    body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: url(../images/stars-only-bg.jpg) no-repeat center;
        background-size: contain;
    }

    h1, .h1 {
        font-size: 2.5rem;
    }
    
    h2, .h2 {
        font-size: 2rem;
    }
    
    h3, .h3 {
        font-size: 1.8rem;
    }
    
    h4, .h4 {
        font-size: 1.4rem;
    }
    
    p {
        font-size: 1.2rem;
        line-height: 1.4;
        margin: 0.5rem 0;
    }

    .container {
        top: -5%;
        margin: 0 auto;
        max-width: 25rem;
    }

    .charlotte-bertie {
        height: 20vw;
        margin-bottom: 0;
    }
}

@media screen and ( min-width: 78.125em ) { /* 1250px */

    h1, .h1 {
        font-size: 3.5rem;
    }
    
    h2, .h2 {
        font-size: 2.8rem;
    }
    
    h3, .h3 {
        font-size: 2.2rem;
    }
    
    h4, .h4 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1.8rem;
        margin: 1rem 0;
    }

    .btn {
        font-size: 1.5rem;
        padding: 0.8em 1.2em;
    }

    .container {
        top: -5%;
        padding: 3em 0;
        max-width: 35.625rem;
    }

}