:root {
    --ring-diameter: 100;
    --page-gutter: 32px;
}

body {
    margin: 0px;
    background: rgba(0,3,74,1);
    color: rgb(219, 255, 254);
    font-family:monospace;
    font-size: 14px;
    text-wrap: pretty;
    line-height: 1.4;
}

a {
    color: #FAC0FF;
}

p {
    /* resets */
    padding: 0;
    margin: 0;
}

h1 {
    margin-top: 0px;
}

h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

ol {
    margin-top: 0px;
    padding: 0px 24px;
}

ul {
    margin-top: 0px;
}

li {
    margin-bottom: 4px;
}

section {
    padding-bottom: 10px;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    padding: var(--page-gutter);
    box-sizing: border-box;
}

.conversation-container {
    margin-bottom: 50vh;
    width: 60%;
}

.conversation-container p {
    margin-bottom: 20px;
}

/* Lots of borrowing from: https://codepen.io/alandunning/pen/bNNRvQ */
.spin {
    width: calc(var(--ring-diameter)*1vw);
    height: calc(var(--ring-diameter)*1vw);
    padding: 0;
    position: fixed;
    bottom: calc((var(--ring-diameter)*.9)*-1vw);
    background: radial-gradient(84.11% 84.11% at 89.41% 25.69%, #FAC0FF 0%, #553CBB 100%);
    border-radius: 100%;
    margin-top: 60px;
}

.spinner-bg {
    background: linear-gradient(rgba(255,255,255,0) 0%, rgba(0,3,74,1) 12%);
    width: calc(var(--ring-diameter)* 1vw);
    height: calc(var(--ring-diameter) * 1vw);
    padding: 0;
    position: fixed;
    bottom: calc((var(--ring-diameter)*.7)*-1vw);
    left: 0;
    pointer-events: none;
}

/* these are the spinning elements */
.spin .ring {
    position: absolute;
    top: 120px;
    left: 0;
    width: calc(var(--ring-diameter)*1vw);
    height: calc(var(--ring-diameter)*1vw);
    border-radius: 100%;
    transform: rotate(-30deg);
    -webkit-animation: spin-right 100s linear infinite;
    animation: spin-right 100s linear infinite;
    pointer-events: auto;
}

.spin .listing {
    position: absolute;
    top: -70px;
    left: 125px;
    height: 30px;
    width: 150px;
    list-style: none;
}

.listing a {
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 1em 2em 2em 2em;
    margin: -2em;
    box-sizing: content-box;
}

.list {
    padding: 5px;
    list-style: none;
}

.list li::before {
    content: '📝 ';
}

.list .listing {
    margin-left: 0px;
}

/* ---------- Animation ---------- */
@-webkit-keyframes spin-right {
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

  @media only screen and (max-width: 1000px) {
    .spin .ring {
        top: 25px;
    }
  }


  @media only screen and (max-width: 800px) {
    .conversation-container {
        margin-bottom: 40vh;
        width: 100%;
    }

    .spin {
        bottom: calc((var(--ring-diameter)*.8)*-1vw);
        left: 0;
    }

    .spin .ring {
        transform: rotate(-78deg);
        top: -15px;
    }

    .spinner-bg {
        background: linear-gradient(rgba(255,255,255,0) 0%, rgba(0,3,74,1) 32%);
        height: 32vh;
        bottom: -10px;
    }
  }