I am having trouble moving the green big circle and the dice image on top of each other and below. How do I achieve this as shown in this picture? I want to achieve this 
I tried using the position property but the left: 0px could only move the green circle to the middle. Please comment below how do i fix this issue.
My code is below:
'use strict';
const dice = document.getElementById('dice');
const adviceContainer = document.querySelector('#box');
const renderAdvice = function (data) {
const html = `
<h1 class="heading">ADVICE <span class='hash' id="hash">#${data.slip.id}</span></h1>
<p class="advice" id="advice">'${data.slip.advice}' </p>
<img src="/images/pattern-divider-mobile.svg" alt="divider" class="divider">
`;
adviceContainer.innerHTML = html;
};
async function adviceGenerator() {
const res = await fetch('https://api.adviceslip.com/advice');
const data = await res.json();
renderAdvice(data);
}
dice.addEventListener('click', adviceGenerator);
adviceGenerator();
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;800&display=swap');
* {
box-sizing: border-box;
}
body {
font-family: Monrope, 'Arial', 'sans-serif';
background-color: hsl(220, 22%, 16%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#container {
display: flex;
/* flex-direction: column; */
/* min-height: 100vh; */
/* max-width: 350px; */
margin: 100px auto;
background-color: hsl(218, 20%, 24%);
/* overflow: hidden; */
border-radius: 10px;
justify-content: center;
align-items: center;
}
.box {
/* height: min(100vh, 100%);
width: min(100vw, 100%); */
max-width: 350px;
min-height: 150px;
/* overflow: hidden; */
}
.heading {
color: hsl(150, 100%, 66%);
letter-spacing: 3px;
text-align: center;
padding-top: 3em;
font-size: 0.7em;
font-weight: 300;
}
.advice {
color: hsl(203, 33%, 86%);
font-size: 1.75em;
font-weight: 800;
padding: 0.5em;
/* margin-left: 30px; */
/* width: clamp(200px, 50%, 20rem); */
}
.divider {
display: block;
margin-left: auto;
margin-right: auto;
}
.green {
height: 70px;
width: 70px;
border-radius: 50%;
background-color: hsl(150, 100%, 66%);
display: inline-block;
/* position: relative; */
left: 1px;
right: 10px;
top: 45px;
}
.dice {
position: relative;
height: 30px;
width: 30px;
margin-left: 80px;
top: 25px;
left: 5px;
cursor: pointer;
}
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
@media (min-width:768px) {
.box {
max-width: 450px;
}
.green {
height: 70px;
width: 70px;
border-radius: 50%;
background-color: hsl(150, 100%, 66%);
display: inline-block;
position: relative;
left: 175px;
top: 45px;
}
.dice {
position: relative;
height: 30px;
width: 30px;
margin-left: 80px;
top: 25px;
left: 39px;
cursor: pointer;
}
}
/* https://api.adviceslip.com/ */
/*
Colors
Primary
Light Cyan: hsl(193, 38%, 86%)
Neon Green: hsl(150, 100%, 66%)
Neutral
Grayish Blue: hsl(217, 19%, 38%)
Dark Grayish Blue: hsl(217, 19%, 24%)
Typography
Body Copy
Font size (quote): 28px
Font
Family: Manrope
Weights: 800
*/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="style.css">
<title>Frontend Mentor | Advice generator app</title>
</head>
<body>
<section id="container">
<section class="box" id="box">
<!-- <h1 class="heading">ADVICE <span class='hash' id="hash">#</span></h1>
<p class="advice" id="advice">'Lorem ipsum dolor sit amet consectetur adipisicing elit.!' </p> -->
</section>
<span class="green"></span>
<img src="/images/icon-dice.svg" alt="dice" class="dice" id="dice">
</section>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://www.linkedin.com/in/nelson-uprety-951a2b156/">Nelson Uprety</a>.
</div>
<script src="script.js"></script>
</body>
</html>
Thank you for the help.
