html { font-family: 'Share Tech', sans-serif; } body{ background-image: url(https://portfolio1.7netic.com/images/codepen-galaxy/bg-1920x1080.jpg); animation: gba 30s infinite; } @keyframes gba { 0% { background-position: 0; } 50% { background-position: 20%; } 100% { background-position: 0; } } #carousel, #carousel2 { height: 650px; } .wrap { position: relative; } .cloud9-item img{ filter: drop-shadow(12px 12px 7px rgba(100, 50, 05, 0.2)); animation: floating 10s infinite; position: absolute; } @keyframes floating { 0% { transform: translatey(0px); } 50% { transform: translatey(-10px); } 100% { transform: translatey(0px); } } #carousel { width: 768px; margin: 0 auto; } #carousel .cloud9-item { cursor: pointer; width: 200px; } #carousel .cloud9-item img { width: 100%; } #carousel .cloud9-item p, #carousel .cloud9-item a { display: block; width: 100%; margin: 0 auto; text-align: center; font-size: 16px; line-height: 1.3em; transition-duration: 0.75s; opacity: 0; color: #69ffe1; /* #391aef; */ } #carousel .cloud9-item a { text-decoration: none; position: absolute; top: 175px; } #carousel .cloud9-item.front a, #carousel .cloud9-item.front p { width: 130%; transform: translateX(-15%); font-size: 22px; line-height: 1.5em; } #carousel .cloud9-item:hover a { opacity: 1; } #carousel .front3 a, #carousel .front3 p { opacity: 1; } #buttons .left, #buttons .right { position: absolute; top: 50%; transform: translateY(-50%); font-size: 100px; color: #333; opacity: 0.3; transition-duration: 0.75s; } #buttons .left:hover, #buttons .right:hover { opacity: 0.9; } #buttons .left { left: 0; } #buttons .right { right: 0; } /* text */ span{ color: white; } ul { margin: 0; list-style: none; font-size: 2vw; transform-style: preserve-3d; animation: three-dimensions-circle 30s linear infinite; } li { position: absolute; top: 50%; left: 50%; } li:nth-child(1) { transform: translate(-50%, -50%) rotate(-15deg) translateY(-260px) rotateX(90deg); } li:nth-child(2) { transform: translate(-50%, -50%) rotate(20deg) translateY(-260px)