body {
    margin: 0;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    width: 100%;
}

canvas {
    max-width: 100vw;
    max-height: 100vh;
    margin: auto;
    display: block;
}

button:hover {
    cursor: pointer;
}

.main-menu-container {
    max-width: 1280px;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 12rem 0;
    box-sizing: border-box;
}

@media only screen and (max-width: 1280px) {
    .main-menu-container {
        padding: 10vh 0;
    }
}

.main-button {
    min-width: 100px;
    background: #F5D482;
    border: 1px solid black;
    color: black;
    border-radius: 10px;
    padding: .5em;
    font-size: 18px;
}

.main-button:hover {
    cursor: pointer;
}

.modal-container {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 20;
}

.modal {
    min-width: 26rem;
    margin: auto;
    min-height: 400px;
    background-color: white;
    color: black;
    padding: 1em;
    border-radius: 20px;
    border: 4px solid grey;
}

.modal-header {
    font-size: 20px;
}

.modal-close-button {
    float: right;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 12px;
}

.modal-close-button:hover {
    cursor: pointer;
}


.failure-scene-container {
    max-width: 1280px;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    align-items: flex-start;
    justify-content: space-evenly;
    padding: 8rem 10rem;
    box-sizing: border-box;
}

.failure-scene-button {
    min-width: 100px;
    background: #F5D482;
    border: 2px solid black;
    color: black;
    border-radius: 10px;
    padding: 1em;
    font-size: 18px;
}

.stage-clear-scene-container, .stage-clear-scene-container img {
    max-width: 1280px;
    width: 100%;
    overflow: hidden;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    align-items: flex-end;
    justify-content: space-evenly;
    // padding: 8rem 10rem;
    box-sizing: border-box;
    overflow: hidden;
}

.star_image {
    animation: pulse-size 3s infinite;
}

@keyframes pulse-size {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.2);
  }
  100% {
      transform: scale(1);
  }
}

.stage-clear-button {
    min-width: 100px;
    background: #F5D482;
    border: 2px solid black;
    color: black;
    border-radius: 10px;
    padding: 1em;
    font-size: 18px;

    margin-bottom: 50px;
    z-index: 20;
}
