* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-appearance: none;
    -webkit-border-radius:0; 
    border-radius:0;
  }
body {
    background-color: #107faf;
    background-image: linear-gradient(180deg, #107faf 0%, #cafcc0 80%);
    height: 100vh;
    text-align: center;
    font-family: "Raleway", sans-serif;
    margin: 0;
    overflow-x: hidden;
}
.flex-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 100vh;
    max-width: 100vw;
    text-align: center;
    overflow: hidden;
}
.left-corner {
    position: absolute;
    top: 10px;
    left: 5px;
    width: 84px;
    height: 77px;
    opacity: .75;
}
.right-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 53px;
    height: 49px;
    opacity: .75;
}
.container {
    max-width: 100%;
}
.svg-icon-container {
    position: absolute;
    height: 0;
    pointer-events: none;
}
.button-group {
    padding: 0 2rem;
}
.button {
    position: relative;
    z-index: 1000;
    background: #f2fff3;
    border: 0 none;
    color: #063945;
    padding: 1rem 1.5rem;
    font-family: "Raleway", sans-serif;
    font-size: 1.25rem;
    border-radius: 3px;
    outline: none;
    transition: all 100ms ease-in-out;
    cursor: pointer;
    margin-bottom: 1rem;
    width: 100%;
    touch-action: manipulation;
}
.button--add {
    background: #f9a260;
}
.button:hover {
    background: #e6ffeb;
}
.button:active {
    background: #ffffff;
    transform: translateY(2px);
}
.credit {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    color: rgba(6, 57, 69, 0.25);
    z-index: 100;
    transition: all 200ms ease-in-out;
}
.credit:hover {
    color:  rgba(6, 57, 69, 1);
}
#placeholder {
    color: #063945;
    margin-bottom: 2rem;
    padding: 0 1rem;
    font-size: calc(2.5em + 3vw);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: -1px -1px 0 #83cbcb, -2.5px -2px 0 #f79a5c;
    position: relative;
    z-index: 100;
    display: flex;
    min-height: 200px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.history {
    background: #063945;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 9999;
    min-height: 300px;
}
.history__title {
    width: 100%;
    border-bottom: 1px solid #276371;
    display: flex;
    justify-content: center;
    align-items: center;
}
.history h2 {
    padding: 1rem;
    font-size: 1.5rem;
}
#history__list {
    padding: 2rem; 
}
.history__list__name {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.history__list__name span {
    position: relative;
}
/* Hide ships */
.circle-wrap {
    display: none;
}
.ship {
    display: none;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); }}

.spin {
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@media screen and (min-width:768px) {
    body {
        background-image: linear-gradient(180deg, #107faf 0%, #cafcc0 80%, #003945 85%);
    }
    .button {
        background: #2c5158;
        color: #c4e4d4;
    }
    .button:hover, .button:active {
        background: #325c64;
    }
    .button:first-child,
    .button:last-child {
        border-color: #003945;
    }
    .circle-wrap {
        width: 100vw;
        bottom: 45vh;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
    }
    [class*="circle--"] {
        position: absolute;
        width: 80vw;
        height: 80vw;
        min-width: 800px;
        min-height: 800px;
        border: 2px solid #8cd1ba;
        border-radius: 50%;
        background: #003945;
    }
    .circle--1 {
        border: 0 none;
    }
    .circle--2 {
        width: 74vw;
        height: 74vw;
        min-width: 740px;
        min-height: 740px;
    }
    .circle--3 {
        width: 60vw;
        height: 60vw;
        min-width: 600px;
        min-height: 600px;
        /* border: 2px solid #60a195; */
    }
    .circle--4 {
        width: 52vw;
        height: 52vw;
        min-width: 520px;
        min-height: 520px;
        /* border: 2px solid #44837d; */
    }
    .circle--5 {
        width: 37vw;
        height: 37vw;
        min-width: 370px;
        min-height: 370px;
        /* border: 2px solid #1d595e; */
    }
    #placeholder {
        color: #f79a5c;
        font-size: calc(4em + 3vw);
        padding: 0;
        text-shadow: -1px 1px 0 #f5586c, -2px 2px 0 #f5586c, -3px 3px 0 #f5586c, 0 5px 20px #003945, 0 5px 20px #003945;
    }
    #result {
        max-width: 60vw;
    }
    .button {
        width: auto;
        margin-bottom: 0px;
        border-radius: 0px;
        border-right: 2px solid #003945;
    }
    .button:first-child {
        border-radius: 5px 0 0 5px;
    }
    .button:last-child{
        border-right: 0 none;
        border-radius: 0 5px 5px 0;
    }
    .button-group {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px;
    }
    /* Ships */
    .ship {
        position: absolute;
        display: block;
    }
    .ship--l1 {
        top: 250px;
        left: 1vw;
        width: 14vw; 
        fill: #d1ead6;
        z-index: 25;
        opacity: .5;
        transition: 1s opacity ease-in-out;
    }
    .ship--r1 {
        top: 250px;
        right: 1vw;
        width: 10vw;
        fill: #d1ead6;
        z-index: 25;
        opacity: .5;
        transition: 1s opacity ease-in-out;
    }
    .left-corner {
        width: 255px;
        height: 234px;
        left: 0;
    }
    .right-corner {
        width: 163px;
        height: 150px;
    }
    /* Clouds */
    .l1 {
        z-index: 10;
    }
    .l2 {
        z-index: 20;
    }
    .l3 {
        z-index: 30;
    }
    .l4 {
        z-index: 40;
    }
    .l5 {
        z-index: 50;
    }
    .cloud-l {
        background: #f79a5c;
        position: absolute;
        border-radius: 92% 90% 96% 90%;
    }
    .cloud-m {
        background: #f5586c;
        position: absolute;
        border-radius: 90% 95% 92% 95%;
    }
    .cloud-d {
        background: #842652;
        position: absolute;
        border-radius: 97% 92% 95% 98%;
    }
    .cloud--r1 {
        right: 29vw;
        bottom: -6vw;
        width: 12vw;
        height: 12vw;
    }
    .cloud--r2 {
        right: 14vw;
        bottom: -2vw;
        width: 20vw;
        height: 20vw;
    }
    .cloud--r3 {
        right: 9vw;
        bottom: 10vw;
        width: 15vw;
        height: 15vw;
    }
    .cloud--r4 {
        right: 4vw;
        bottom: -3vw;
        width: 23vw;
        height: 23vw;
    }
    .cloud--r5 {
        right: 2vw;
        bottom: 16vw;
        width: 16vw;
        height: 16vw;
    }
    .cloud--r6 {
        right: -1vw;
        bottom: 27vw;
        width: 10vw;
        height: 10vw;
    }
    .cloud--r7 {
        right: -10vw;
        bottom: 10vw;
        width: 20vw;
        height: 20vw;
    }
    .cloud--r8 {
        right: -6vw;
        bottom: 7vw;
        width: 12vw;
        height: 12vw;
    }
    .cloud--r9 {
        right: -4vw;
        bottom: -11vw;
        width: 20vw;
        height: 20vw;
    }
    .cloud--r10 {
        right: -10vw;
        bottom: -12vw;
        width: 20vw;
        height: 20vw;
    }

    .cloud--l1 {
        left: 29vw;
        bottom: -9vw;
        width: 14vw;
        height: 14vw;
    }
    .cloud--l2 {
        left: 17vw;
        bottom: -6vw;
        width: 16vw;
        height: 16vw;
    }
    .cloud--l3 {
        left: 4vw;
        bottom: 9vw;
        width: 18vw;
        height: 18vw;
    }
    .cloud--l4 {
        left: -2vw;
        bottom: 20vw;
        width: 9vw;
        height: 9vw;
    }
    .cloud--l5 {
        left: -5vw;
        bottom: 27vw;
        width: 9vw;
        height: 9vw;
    }
    .cloud--l6 {
        left: 8vw;
        bottom: 2vw;
        width: 20vw;
        height: 20vw;
    }
    .cloud--l7 {
        left: -1vw;
        bottom: 12vw;
        width: 16vw;
        height: 16vw;
    }
    .cloud--l8 {
        left: -18vw;
        bottom: 11vw;
        width: 21vw;
        height: 21vw;
    }
    .cloud--l9 {
        left: 3vw;
        bottom: -8vw;
        width: 18vw;
        height: 18vw;
    }
    .cloud--l10 {
        left: 9.5vw;
        bottom: 7vw;
        width: 10vw;
        height: 10vw;
    }
    .cloud--l11 {
        left: -1.5vw;
        bottom: 3vw;
        width: 14vw;
        height: 14vw;
    }
    .cloud--l12 {
        left: 5vw;
        bottom: -12vw;
        width: 14vw;
        height: 14vw;
    }
    .cloud--l13 {
        left: -2vw;
        bottom: -4vw;
        width: 16vw;
        height: 16vw;
    }
    .cloud--l14 {
        left: -8.5vw;
        bottom: 2vw;
        width: 14vw;
        height: 14vw;
    }
    .cloud-l:after {
        content:' ';
        border-right: .3vw solid #f5586c;
        border-bottom: .2vw solid #f5586c;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 100%;
        width: 96%;
        height: 97%;
    }
    .cloud-l:before {
        content:' ';
        border-right: .15vw solid #f5586c;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 100%;
        width: 93%;
        height: 93%;
    }
    .cloud-m:after {
        content:' ';
        border-right: .3vw solid #f79a5c;
        border-top: .3vw solid #f79a5c;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 100%;
        width: 97%;
        height: 97%;
    }
    .cloud-m:before {
        content:' ';
        border-right: .15vw solid #f79a5c;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 100%;
        width: 94%;
        height: 94%;
    }
    .cloud-m.alt:after {
        border-right: .5vw solid #cafcc0;
        border-top: .25vw solid #cafcc0;
    }
    .cloud-m.alt:before {
        border-right: .15vw solid #cafcc0;
    }
    .cloud-d:after {
        content:' ';
        border-top: .3vw solid #f5586c;
        border-right: .3vw solid #f5586c;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 100%;
        width: 98%;
        height: 98%;
    }
    .cloud-d:before {
        content:' ';
        border-right: .15vw solid #f5586c;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 100%;
        width: 95%;
        height: 95%;
    }
    .no-after:before,
    .no-after:after {
        display: none;
        width: 0;
        height: 0;
        border: 0 none;
    }
    .cloud-m.alt[class*="cloud--r"]:before {
        border-left: .15vw solid #cafcc0;
        border-right: 0 none;
        left: 11px;
        transform: rotate(-20deg);
    } 
    .cloud-m.alt[class*="cloud--r"]:after {
        border-left: .5vw solid #cafcc0;
        border-top: .25vw solid #cafcc0;
        border-right: 0 none;
        left: -1px;
        top: -2px;
    }
}
@media screen and (min-width:1024px) {
    .circle--2 {
        -webkit-animation: spin 150s linear infinite;
        -moz-animation: spin 150s linear infinite;
        animation: spin 150s linear infinite;
    }
    .circle--3 {
        -webkit-animation: spin 100s linear infinite;
        -moz-animation: spin 100s linear infinite;
        animation: spin 100s linear infinite;
    }
    .circle--4 {
        -webkit-animation: spin 80s linear infinite;
        -moz-animation: spin 80s linear infinite;
        animation: spin 80s linear infinite;
    }
    .circle--2:before {
        content: '';
        position: absolute;
        background: #f5586c;
        width: 1.25vw;
        height: 1.25vw;
        border-radius: 50%;
        top: -.75vw;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translate(17vw,4.125vw);
    }
    .circle--3:before {
        content: '';
        position: absolute;
        background: #f5586c;
        width: 3vw;
        height: 3vw;
        border-radius: 50%;
        top: -1.5vw;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translate(-25vw,13.25vw);
    }
    .circle--3:after {
        content: '';
        position: absolute;
        border-top: 3px solid #fff;
        border-left: 5px solid #fff;
        border-right: 5px solid #fff;
        width: 5vw;
        height: 10px;
        border-radius: 50%;
        top: -6px;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translate(-25vw,13.25vw);
    }
    .stacked {
        background: transparent;
        border: 0 none;
    }
    .circle--3.stacked:before {
        content: '';
        position: absolute;
        background: url(../img/planet.png) #f79a5c;
        width: 5vw;
        height: 5vw;
        border-radius: 50%;
        top: -2.5vw;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translate(30vw,30vw);
    }
    .circle--3.stacked:after {
        display: none;
    }
    .circle--4.asteroids:before {
        content: '';
        position: absolute;
        background: url(../img/asteroids.png);
        width: 136px;
        height: 36px;
        border-radius: 50%;
        top: -15px;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translate(100%,70%) rotate(23deg);
    }
    .circle--4:before {
        content: '';
        position: absolute;
        background: #d1ead6;
        width: 1.25vw;
        height: 1.25vw;
        border-radius: 50%;
        top: -.75vw;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translate(-15.25vw,47vw);
    }
    .circle-wrap {
        transform: scale(.9);
    }
    .ship--l1 {
        opacity: .85;
        left: 2vw;
    }
    .ship--r1 {
        opacity: .85;
        right: 2vw;
    }
}
@media screen and (min-width:1440px) {
    .circle-wrap {
        transform: scale(.8);
    }
    #placeholder {
      margin-bottom: 2rem;
      line-height: 1;
    }
    .ship--l1 {
        opacity: .85;
        left: 4vw;
    }
    .ship--r1 {
        opacity: .85;
        right: 4vw;
    }
}

  
  