*{ margin: 0; padding: 0; font-family: sans-serif; } .main{ width: 100%; height: 100vh; position: relative; overflow: hidden; background: linear-gradient(to right, #000000fe, #fff701); } nav{ width: 80%; position: sticky; margin: 20px auto; z-index: 1; display: flex; align-items: center; } .logo{ flex-basis: 20%; } .logo img{ width: 150px; } .nav-links{ flex: 1; text-align: right; } .nav-links ul li{ list-style: none; display: inline-block; margin: 0 20px; } .nav-links ul li a{ color: #fff; text-decoration: none; } .information{ width: 1000px; height: 1000px; position: fixed; top: 50%; left: -10%; transform: translateY(-50%); } #circle{ width: 1000px; height: 1000px; position: absolute; top: 0; left: 0; border-radius: 50%; transform: 0deg; transition: 1s; } .feature img{ width: 70px;; } .feature{ position: absolute; display: flex; color: #fff; } .feature div{ margin-left: 30px; } .feature div p{ margin-top: 8px; } .one{ top: 450px; right: 50px; } .two{ top: 150px; left: 350px; transform: rotate(-90deg); } .three{ bottom: 450px; left: 50px; transform: rotate(-180deg); } .four{ bottom: 150px; right: 350px; transform: rotate(-270deg); } .mobile{ width: 200px; position: absolute; top: 50%; left: 35%; transform: translateY(-50%); z-index: 1; } .controls{ position: absolute; right: -40%; top: 50%; transform: translateY(-50%); } .controls h3{ margin: 20px 0; color: #fff; } #upBtn{ width: 15px; cursor: pointer; } #downBtn{ width: 15px; cursor: pointer; transform: rotate(180deg); } .overlay{ width: 0; height: 0; border-top: 500px solid #fff; border-right: 500px solid transparent; border-bottom: 500px solid #fff; border-left: 500px solid #fff; position: absolute; left: 0; top: 0; }