/* main.css    
 *     CSS for CSS3 examples
 *     Date:             2020-08-03
 *     Last revised:     2020-08-03
 *     Description:      Boilerplate CSS for all files
 */ 

* {
    content: '';
    clear: both;
    box-sizing: border-box;
    font-size: 16px;
}

body {
    font-family: sans-serif;
    font-size: 1em;
    margin: 25px;
    background: #fbfbfb;
    color: #444;
    padding-top: 75px;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    font-size: 2.5em;
    font-weight: 200;
    background: #333;
    color: #fbfbfb;
    padding-left: 50px;
}

p {
    font-size: 1.4rem;
    display: inline-block;
    width: 800px;
    margin: 10px 25px;
    background-color: blanchedalmond;
    padding: 20px;
    box-shadow: 3px 3px 3px #aaa;
}

ul {
    display: block;
    margin-left: 100px;
}

li {
    line-height: 2.4rem;
    font-size: 1.5rem;
}

a {
    font-size: 1.6rem;
    text-decoration: none;
}

a:hover {
    transition: .2s;
    color: orangered;
}

#animate,
#reset {
    display: inline-block;
    width: 150px;
    height: 40px;
    padding-top: 5px;
    border-radius: 50px;
    background: #444;
    color: #ddd;
    text-align: center;
    font-size: 1.5rem;
}

#animate:hover,
#reset:hover {
    cursor: pointer;
    opacity: .8;
}

.buttons {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 330px;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    height: auto;
    border: .25px solid #777;
    min-height: 100%;
    padding: 0;
    padding-bottom: 30px;
    margin: 25px auto;
}

.back {
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 3em;
    font-size: 4em;
    font-weight: 100;
    color: cornflowerblue;
}

.back:hover {
    transition: .3s;
    color: orangered;
    cursor: pointer;
}

.ball {
    width: 150px;
    height: 150px;
    color: white;
    position: absolute;
    top: 0;
    background: rgb(142,142,241);
    background: radial-gradient(circle, rgba(142,142,241,1) 0%, rgba(188,188,255,1) 0%, rgba(128,128,246,1) 0%, rgba(85,85,255,1) 64%, rgba(0,0,255,1) 100%);
    border-radius: 150px;
}

.cap {
    color: #fff;
    display: block;
    position: relative;
    top: 50px;
    width: 150px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 100;
    font-style: italic;
}

.upper-left {
    position: relative;
    top: 8px;
    left: -7.7px;
    width: 1em;
    display: block;
    z-index: 1;
    font-size: 2.5rem;
    color: red;
    line-height: 0;
    margin: 0;
}

.upper-left::before {
    content: ' \002A';
}

.point {
    position: relative;
    top: -27px;
    left: -34px;
    line-height: 0;
    margin: 0;
}