.comic-font-regular {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
    font-weight: 400;
    font-style: normal;
}

.comic-font-bold {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
    font-weight: 900;
    font-style: normal;
}

body {
    background-color: rgb(211, 211, 211);
    padding: 0px;
    margin: 0px;
    overflow:hidden;
}

#main {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow:hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;

}

#snail {
    width: 80vw;
    max-width: 80vh;
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 1;
}

.moving {
    animation: snailMover 5s ease-in-out 0s infinite alternate;
}

#title {
    margin: 0.5em;
    text-align: center;
    padding-top: 1em;
    z-index: 3;
    position: relative;
    pointer-events: none;
    width: fit-content;
    background-color: #ffffffcf;
    padding: 0.5em;
    border-radius: 0.5em;
    font-size:3vh;
}
p {
    text-align: center;
    z-index:3;
    position: relative;
    pointer-events: none;
    width: fit-content;
    padding: 0.5em;
    background-color: #ffffffcf;
    border-radius: 0.5em;
    margin: 0 0.5em 0.5em 0.5em;
    font-size:2vh;
}

@keyframes snailMover {
    0% {
        padding-bottom: 0px;
    }

    50% {
        padding-bottom: 5px;
    }

    100% {
        padding-bottom: 0px;
    }
}
/* CSS */
.button-24 {
    background: #FF4742;
    border: 4px solid #FF4742;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
    font-size: 3vh;
    font-weight: 800;
    line-height: 3vh;
    outline: 0;
    padding: 1vh;
    text-align: center;
    text-rendering: geometricprecision;
    text-transform: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    margin-bottom: 5px;
}
.button-24:hover,
.button-24:active {
    background-color: initial;
    background-position: 0 0;
    color: #FF4742;
}
.button-24:active {
    opacity: .5;
}
.button-holder {
    display: flex;
    justify-content: center;
    z-index: 3;
    position: relative;
    align-items: center;
    flex-direction: column;
    pointer-events: none;
}
.button-holder button {
    pointer-events: auto;
}
#bottom-text {
    box-sizing: border-box;
    z-index: 3;
    width: fit-content;
    margin:0px 1em 1em 1em;
    text-align:center;
    box-sizing:border-box;
}

#map {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    z-index: 0;
}

@media (max-height: 500px) {
    #title {
        font-size:15px;
    }
    p {
        font-size:10px;
    }
    .button-24 {
        font-size:15px;
        line-height:15px;
        padding:5px;
    }
}