*{
    margin: 0;
    text-align: center;
    font-family: sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1em 2em;
    gap: 4em;
}
header div {
    flex: 1;
}

h1{
    margin: 20px;
    color: white;
}

.msg {
    width: 400px;
    margin: auto;
    color: #cdcdcd;
    font-size: 16px;
    padding: 10px;
    color: #555555;
    justify-content: left;
    background: #c4c4c4bb;
    border: 3px solid #555555;
    border-radius: 1em;
    box-shadow: inset 0 0 10px #555555;
}

.info {
    display: flex;
    flex-direction: column;
    width: 200px;
    padding: 1em 1.5em;
    font-weight: bold;
    color: #555555;
    justify-content: left;
    background: #c4c4c4bb;
    border: 3px solid #555555;
    border-radius: 1em;
    box-shadow: inset 0 0 10px #555555;
}
.info div {
    text-align: left;
}

.game {
    position:inherit;
    width:100%;
    position: fixed;
    top: 0;
    z-index: -1;
    background-image: linear-gradient(#005a8d, #a0aaff);
    overflow: hidden;
}

.Percy {
    position: absolute;
    width:  25px;
    height: 25px;
    margin: 10px 0 0 50px;
    transition: 0.1s;
}

#skycrane {
    width:100%;
    height:18px;
    background-image: radial-gradient(#fff,#baa);
    border-radius: 50px 50px 0 0;
}
#Perseverance {
    height: 7px;
    background-image: radial-gradient(#fff,#baa);
}

.ground {
    width:  100%;
    height: 100px;
    background: #c1440e;
    border-top: 5px dotted black;
}

.target {
    position: absolute;
    width:  50px;
    height: 25px;
    background: green;
    padding-top:10px;
    border-radius: 5px 5px 0 0;
    bottom: 0;
}

#thrust1 {
    display: none;
    position: absolute;
    height: 10px;
    width: 1px;
    transform: rotate(10deg);
    box-shadow: 2px 2px 1px 1px orange;
    margin: 15px -3px;
}
#thrust2 {
    display: none;
    position: absolute;
    height: 10px;
    width: 1px;
    transform: rotate(-10deg);
    box-shadow: 2px 2px 1px 1px orange;
    margin: 15px 22px;
}

#parachute {
    display: none;
    position: absolute;
    width:80px;
    height: 50px;
    background: linear-gradient(
        to bottom, 
        white 0%, white  70%, 
        black 0%, black 80%,
        orange 0%
    );
 
    margin: 10px 0 0 50px;
    transition: 0.1s;
    border-radius:100px 100px 0 0;
}

.score {
    float:right;
    font-size: 19px;
    font-weight: bold;
    color: #707070;
    margin: 10px 0;
}

#reset {
    float:  right;
    margin: 0 5%;
    border-style: none;
    padding: 3px 10px;
    border: 1px solid black;
    border-radius: 5px;
}

#play-button {
    display: none;
}
.play-button-wrapper {
    text-align: right;
}

.play-button-wrapper {
    display: flex;
    justify-content: right;
    gap: 0.5em;
}
.play-icon, #reset, .reset-icon {
    padding: 0.7em;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    display: inline-block;
    background: #c4c4c4bb;
    border: 3px solid #555555;
    border-radius: 1em;
    box-shadow: inset 0 0 10px #555555;
    cursor: pointer;
}
#reset {
    display: none;
    margin: 1em;
}
#reset img {
    width: 20px;
    display: block;
}
.play-icon:hover, #reset:hover {
    transform: scale(1.03);
}
.play-icon::before {
    content: '';
    display: block;
    height: 100%;
    background: url(./assets/play-button.png);
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
}
#play-button:checked + .play-icon::before {
    content: '';
    background: url(./assets/pause-button.png);
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
}
.reset-icon img {
    width: 100%;
}