I'm having trouble moving the top circle to the center, while the bottom three circles are displaying correctly. I need to adjust the text and icon placement in the circles to be centered. Additionally, I want the layout to be responsive across different screen sizes including tablets, mobile devices, and laptops. I've attempted to edit it using percentages for the top/right position within the navigation/container but nothing seems to work. How can I fix this issue?
.container1 {
max-width: 1000px;
width: 100%;
}
.circle1 p {
font-weight: bold;
font-family: 'Lato';font-size: 28px;
}
.circle2 p{
font-weight: bold;
font-family: 'Lato';font-size: 28px;
}
.circle3 p {
font-weight: bold;
font-family: 'Lato';font-size: 28px;
}
.navigation {
position:relative;
border: 2px solid rgb(211,211,211);
width: 300px;
border-radius: 100%;
height: 300px;
background: white;
}
.navigation ul {
margin: 0;
padding: 0;
text-align: center;
list-style-type: none;
}
.navigation li {
font-weight: 100;
letter-spacing: 2px;
font-size: 35px;
font-family: 'Roboto', sans-serif;
}
.circle1{
margin: 0 auto;
position: relative;
border: 2px solid rgb(211,211,211);
width: 210px;
border-radius: 100%;
height: 200px;
background:rgb(211,211,211);
}
.circle2{
margin: 0 auto;
position: relative;
border: 2px solid rgb(211,211,211);
width: 210px;
border-radius: 100%;
height: 200px;
background:rgb(211,211,211);
}
.circle3{
margin: 0 auto;
position: relative;
border: 2px solid rgb(211,211,211);
width: 210px;
border-radius: 100%;
height: 200px;
background:rgb(211,211,211);
}
.border-circle li{
list-style-type: none;
text-decoration: none;
}
.border-circle{
min-width: 1349px;
width: 100%;
top: 70%;
display: flex;
}
.fa-10x{
opacity: 0.3;
font-size:7em !important;
position: relative;
text-decoration: none;
color: inherit;
}
.fa-9x{
position: relative;
font-size:7em !important;
opacity: 0.3;
color: inherit;
text-decoration: none;
}
.fa-8x{
position: relative;
font-size:7em !important;
transform: translate(10rem, 10rem);
opacity: 0.3;
color: inherit;
text-decoration: none;
}
a {
color: inherit;
}
.circle {
display: flex;
justify-content: center;
align-items: center;
}
<!DOCTYPE html>
<html>
<jsp:include page="../head.html" />
<body style="height: 130vh;">
<!-- navigation bar -->
<div class="container1">
<nav class="navigation">
<ul>
<li style="font-size:80px">Circle</li>
<li>in</li>
</ul>
</nav>
</div>
<div class="border-circle">
<div class="circle1 circle">
<a href="#"> <li><span class="fa fa-gamepad fa-9x"></span></li> </a>
<p> Circle1</p>
</div>
<div class="circle2 circle">
<a href="#"> <li><span class= " fa fa-thumbs-up fa-10x"></span></li></a>
<p> Circle2 </p>
</div>
<div class="circle3 circle">
<a href="#"><li><span class="fa fa-gift fa-8x"></span></li></a>
<p> Circle3 </p>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2d5d425d5d485f03475e6d1c031c1b031d">[email protected]</a>/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
</body>
</html>