* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    width: auto;
}

img {
    pointer-events: none;
    user-select: none;
    -moz-user-select: none;
}

.back{
    font-size: 30px;
    margin-left: 900px;
    margin-top: 100px;
    width: 200px;
    height: 100px;
}


.game {
    width: auto;
    height: 100%;
    overflow: hidden;
}

.land {
    position: absolute;
    bottom: 0;
    left: 0;
    min-width: 100%;
    height: 44px;
    border-top: solid 4px black;
}

.tips {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100% - 60px);
    margin: 20px 20px 40px 20px;
}

.title {
    width: 384px;
    margin: 20px;
}

.age {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 384px;
}

.tree {
    position: absolute;
    bottom: 40px;
    width: 200px;
}

#tree-1 {
    left: 600px;
}

#tree-2 {
    left: 1200px;
}

.event {
    position: absolute;
    left: 800px;
    bottom: 40px;
    width: 250px;
    transition: all .5s;
}

.person {
    position: absolute;
    left: 50px;
    bottom: 20px;
    width: 224px;
    transition: all .1s;
}

.card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    background-color: white;
    background-image: url(../image/SVG/close.svg);
}

.text {
    width: 100%;
    max-width: 800px;
    height: 100%;
    overflow: auto;
}

h1 {
    font-size: 52px;
    font-family: serif;
}

h2 {
    font-size: 32px;
    font-family: serif;
}

h3 {
    font-size: 24px;
    font-family: serif;
}

p {
    font-size: 18px;
    font-family: serif;
    line-height: 2;
}

blockquote {
    font-size: 18px;
    font-family: serif;
    line-height: 2;
}

.home {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.home-title {
    height: 200px;
}

.character-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-bar>a:hover{
    transition: all .1s;
    transform: scale(1.2);
}

.character {
    width: 120px;
    margin: 40px;
}

.home-tips {
    font-size: 24px;
}

.demo {
    position: absolute;
    right: 20px;
    top: 0;
    width: 100px;
}