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

html {
    min-height: 100vh;
    display: flex;
}

body {
    flex: 1;
    display: flex;
    flex-direction: row;
    font-family: sans-serif;
    font-size: 16px;
    min-height: calc(100vh - env(safe-area-inset-bottom));
}

aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background-color: #3D4853;
    color: #fff;
    min-width: 240px;
}

aside p {
    font-size: 1.4em;
}

main {
    padding: 32px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%
}

.payout-animation {
    width: 100%;
    max-width: 427px;
    aspect-ratio: 427/240;
}

.payout-animation svg {
    display: block;
}

h1 {
    font-size: 1.4em;
    margin-bottom: 0.5em;
}

button {
    -webkit-appearance: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 0;
    display: flex;
    padding: 16px 12px;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    letter-spacing: 0.02em;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: rgba(255,255,255,0.2);
}

input[type=checkbox] {
    opacity: 0;
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    position: absolute;
}

input[type=checkbox] + label {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

input[type=checkbox] + label::before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: top;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border: 2px solid #bdc8d9;
    border-radius: 4px;
    margin-right: 0.5rem;
  }
  
  input[type=checkbox]:checked + label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='Layer_1' data-name='Layer 1' viewBox='0 0 11.92 8.65'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;stroke:%23ffffff;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Echeckmark%3C/title%3E%3Cpolyline class='cls-1' points='1 3.82 4.59 7.65 10.92 1'/%3E%3C/svg%3E");
    border: 2px solid #2e9975;
    background-color: #2e9975;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
  }
  
  input[type=checkbox] + label:hover:before {
    border: 2px solid #8693a6;
  }

  input[type=checkbox]:checked + label:hover:before {
    border: 2px solid #2e9975;
  }

  input[type=checkbox]:focus-visible + label::before {
    box-shadow: 0 0 0 2px #3D4853, 0 0 0 4px #2e9975;
  }

  @media screen and (max-width: 600px) {

    body {
        flex-direction: column-reverse;
    }

    aside {
        flex-grow: 1;
    }

  }