@font-face {
    font-family: sketchHandwriting;
    src: url(../fonts/sketchHandwriting.otf);
}

@font-face {
    font-family: moonFlower;
    src: url(../fonts/moonFlower.ttf);
}

@font-face {
    font-family: moonFlower;
    src: url(../fonts/moonFlowerBold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: typewriter;
    src: url(../fonts/aTypewriterForMe.ttf);
}

* {
    box-sizing: border-box;
}

body {
    background-image: url(../images/riso-darkpink.png);
}

h1 {
    color: darkgreen;
    font-family: sketchHandwriting, cursive, serif;
    font-size: 80px;
    font-weight: 100;
    margin: 0px;
    padding: 0;
    display: inline-block;

}

#container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

main {
    z-index: 0;
    position: relative;
}

#chat {
    position: relative;
    top: 110px;
}

#bookTitle {
    position: absolute;
    top: 30px; 
    left: 40px;
    height: 200px;
    transform: rotate(-10deg);
    background-image: url(/images/paper8.png);
    background-size: cover;
    background-repeat:no-repeat;
    width: 450px;
    text-align: center;
}

#chatBook {
/*    background-image: url(/images/paper19.png);
    background-size: contain;
    background-repeat: no-repeat;*/
    width: 900px;
    height: 900px
}

#homeButton {
    position: absolute;
    top: 80px;
    right: 40px;
    width: 400px;
    height: 50px;
    transform: rotate(10deg);
    background-image: url(../images/crayon2.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 4;
    
    color: black;
    font-family: typewriter, monospace;
    font-size: 22px;
}

#homeButton:hover {
    transform: rotate(15deg);
}

.left {
    float: left;
}

.right {
    float: right;
}

.shadow {
    filter: drop-shadow(6px 8px 7px rgba(51, 0, 16, 0.5));
}