html, body{
    margin: 0px;
    width: 100%;
    height: 100%;
}
body{
    display: flex;
    justify-content: space-between;
    background: black;
    overflow: hidden;
}
#left-bar,
#right-bar {
    padding: 10px;
    vertical-align: top;
    background: orange;
    height: 100%;
    flex-basis: 10%;
    flex-grow: 0;
}
#atom {
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    position: relative;
    background-image: url('img/chaos.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
#atom-orbit {
    background: black;
}
#inner-orbit {
    background: dimgrey;
}
#middle-orbit {
    background: grey;
}
#outer-orbit {
    background: lightgrey;
}
#atom-orbit {
    width: 65%;
    height: 65%;
    top: 17.5%;
    left: 17.5%;
}
#inner-orbit {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
}
#middle-orbit {
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
}
#outer-orbit {
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
}
#scores .score {
    text-align: right;
}
.orbit {
    border-radius: 50%;
    position: relative;
    box-shadow: 0px 0px 4px 6px orange;
}
#atom-container {
    vertical-align: top;
    width: 100vh;
    height: 100vh;
    background: black;
}
.electron {
    border-radius: 50%;
    width: 5vh;
    height: 5vh;
    background-color: rgba(0, 0, 0, .5);
    text-align: center;
    vertical-align: middle;
    background-size: contain;
    background-position: center;
}
.electron-location {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.electron-loc1 {
    margin-top: -20%;
    animation: rot1 4s infinite linear;
}
.electron-loc2 {
    margin-top: -28%;
    animation: rot2 8s infinite linear;
}
.electron-loc3 {
    margin-top: -33%;
    animation: rot3 16s infinite linear;
}
#electron11 {
    animation-delay: 0s;
}
#electron12 {
    animation-delay: -2s;
}

@keyframes rot1 {
    from {
        transform:  rotate(0deg)
                    translate(42%)
                    rotate(0deg);
    }
    to {
        transform:  rotate(360deg)
                    translate(42%)
                    rotate(-360deg);
    }
}
@keyframes rot2 {
    from {
        transform:  rotate(0deg)
                    translate(44%)
                    rotate(0deg);
    }
    to {
        transform:  rotate(360deg)
                    translate(44%)
                    rotate(-360deg);
    }
}
@keyframes rot3 {
    from {
        transform:  rotate(0deg)
                    translate(45.5%)
                    rotate(0deg);
    }
    to {
        transform:  rotate(360deg)
                    translate(45.5%)
                    rotate(-360deg);
    }
}
@media(orientation: portrait) {
    body{
        flex-direction: column;
    }
    #atom-container{
        width: 100vw;
        height: 100vw;
    }
    #left-bar,
    #right-bar {
        width: 100%;
    }
    .electron {
        width: 5vw;
        height: 5vw;
    }
    #scores thead,
    #scores tbody,
    #scores tr {
        display: block;
        float: left;
    }
    #scores th,
    #scores td {
        display: block;
    }
}
