@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

:root {}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    outline: 0;
    border: 0;
    transition: 0.4s;
}


/* body {
    font-family: 'PT Sans', sans-serif;
    height: 100vh;
    perspective: 700;
    background: rgb(11, 198, 217);
    background: linear-gradient(90deg, rgba(11, 198, 217, 1) 0%, rgba(33, 241, 236, 1) 58%, rgba(255, 255, 255, 1) 100%);
} */

html {
    box-sizing: border-box;
    font-size: 62.5%;
}
html *, html *:before, html *:after {
    box-sizing: inherit;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-image: url("../images/space.jpg");
    background-position: center; 
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; 
    position: relative;
    
  
}

.system {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding-top: 100%;

}

@media (min-width: 700px) {
    .system {
        padding-top: 700px;
   }
}
.system__sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.system__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    animation: spin infinite linear both;
}
.system__orbit:nth-child(1) {
    width: calc(11%);
    height: calc(11%);
}
.system__orbit:nth-child(2) {
    width: calc(20%);
    height: calc(20%);
}
.system__orbit:nth-child(3) {
    width: calc(30%);
    height: calc(30%);
}
.system__orbit:nth-child(4) {
    width: calc(40%);
    height: calc(40%);
}
.system__orbit:nth-child(5) {
    width: calc(50%);
    height: calc(50%);
}
.system__orbit:nth-child(6) {
    width: calc(60%);
    height: calc(60%);
}
.system__orbit:nth-child(7) {
    width: calc(70%);
    height: calc(70%);
}
.system__orbit:nth-child(8) {
    width: calc(80%);
    height: calc(80%);
}
.system__orbit:nth-child(9) {
    width: calc(90%);
    height: calc(90%);
}
.system__orbit:nth-child(10) {
    width: calc(100%);
    height: calc(100%);
}
.system__orbit--sun {
    border: none;
}
.system__orbit--mercury {
    animation-duration: 1.5s;
}
.system__orbit--venus {
    animation-duration: 3s;
}
.system__orbit--earth {
    animation-duration: 4.5s;
}
.system__orbit--mars {
    animation-duration: 6s;
}
.system__orbit--jupiter {
    animation-duration: 49.8s;
}
.system__orbit--saturn {
    animation-duration: 120.3s;
}
.system__orbit--uranus {
    animation-duration: 348.4s;
}
.system__orbit--neptune {
    animation-duration: 684.4s;
}
.system__orbit--pluto {
    animation-duration: 1028.6s;
}
.system__planet {
    position: absolute;
    top: 50%;
    left: -12px;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    transform: translateY(-50%);
}
.system__icon {
    width: 100%;
    height: 100%;
}
@keyframes spin {
    from {
        transform: translate(-50%, -50%);
   }
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
   }
}
