* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: rgb(244, 251, 168);
}

#character{
    width: 200px;
    transition: all 1s linear;
}

.move-right{
    transform: translateX(300px);
}

#hat{
    width: 100px;
    transition: all 0.2s ease-in;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    color: white;
    font-size: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    z-index: 100;
  }