| .buttons { |
| display: flex; |
| width: 380px; |
| gap: 10px; |
| --b: 5px; |
| --h: 1.8em; |
| scale: 0.5; |
| } |
| |
| .buttons button { |
| --_c: crimson; |
| flex: calc(1.25 + var(--_s,0)); |
| min-width: 0; |
| font-size: 40px; |
| font-weight: bold; |
| height: var(--h); |
| cursor: pointer; |
| color: var(--_c); |
| border: var(--b) solid var(--_c); |
| background: |
| conic-gradient(at calc(100% - 1.3*var(--b)) 0,var(--_c) 209deg, #0000 211deg) |
| border-box; |
| clip-path: polygon(0 0,100% 0,calc(100% - 0.577*var(--h)) 100%,0 100%); |
| padding: 0 calc(0.288*var(--h)) 0 0; |
| margin: 0 calc(-0.288*var(--h)) 0 0; |
| box-sizing: border-box; |
| transition: flex .4s; |
| } |
| .buttons button + button { |
| --_c: #0092CC; |
| flex: calc(.75 + var(--_s,0)); |
| background: |
| conic-gradient(from -90deg at calc(1.3*var(--b)) 100%,var(--_c) 119deg, #0000 121deg) |
| border-box; |
| clip-path: polygon(calc(0.577*var(--h)) 0,100% 0,100% 100%,0 100%); |
| margin: 0 0 0 calc(-0.288*var(--h)); |
| padding: 0 0 0 calc(0.288*var(--h)); |
| } |
| .buttons button:focus-visible { |
| outline-offset: calc(-2*var(--b)); |
| outline: calc(var(--b)/2) solid #000; |
| background: none; |
| clip-path: none; |
| margin: 0; |
| padding: 0; |
| } |
| .buttons button:focus-visible + button { |
| background: none; |
| clip-path: none; |
| margin: 0; |
| padding: 0; |
| } |
| .buttons button:has(+ button:focus-visible) { |
| background: none; |
| clip-path: none; |
| margin: 0; |
| padding: 0; |
| } |
| button:hover, |
| button:active:not(:focus-visible) { |
| --_s: .75; |
| } |
| button:active { |
| box-shadow: inset 0 0 0 100vmax var(--_c); |
| color: #fff; |
| } |
|
|
| #glow{ |
| text-transform: uppercase; |
| |
| -webkit-box-reflect: below 1px linear-gradient(transparent,#0004); |
| line-height: 0.7rem; |
| outline: none; |
| animation: animate 5s linear infinite; |
| |
| } |
|
|
|
|
| @keyframes animate { |
|
|
| 0%,18%,20%,50.1%,60%,65.1%,80%,90.1%,92%{ |
| color: #0e3742; |
| text-shadow: none; |
| } |
| 18.1%,20.1%,50%,60.1%,65%,80.1%,90%,92.1%,100%{ |
| color: #fff; |
| text-shadow: 0 0 10px #03bcf4, 0 0 20px #03bcf4, 0 0 40px #03bcf4, 0 0 80px #03bcf4, 0 0 160px #03bcf4; |
| } |
|
|
| |
| } |
|
|
| #back{ |
| background-image: url(wallpaperflare.com_wallpaper.jpg); |
| background-size: cover; |
| } |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| #hero-btn { |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| gap: 10px; |
| padding: 0 10px; |
| color: white; |
| text-shadow: 2px 2px rgb(116, 116, 116); |
| text-transform: uppercase; |
| cursor: pointer; |
| border: solid 2px black; |
| letter-spacing: 1px; |
| font-weight: 600; |
| font-size: 17px; |
| background-color: hsl(49deg 98% 60%); |
| border-radius: 50px; |
| position: relative; |
| overflow: hidden; |
| transition: all 0.5s ease; |
| } |
|
|
| #hero-btn:active { |
| transform: scale(0.9); |
| transition: all 100ms ease; |
| } |
|
|
| #hero-btn svg { |
| transition: all 0.5s ease; |
| z-index: 2; |
| } |
|
|
| .play { |
| transition: all 0.5s ease; |
| transition-delay: 300ms; |
| } |
|
|
| #hero-btn:hover svg { |
| transform: scale(3) translate(50%); |
| } |
|
|
| .now { |
| position: absolute; |
| left: 0; |
| transform: translateX(-100%); |
| transition: all 0.5s ease; |
| z-index: 2; |
| } |
|
|
| #hero-btn:hover .now { |
| transform: translateX(10px); |
| transition-delay: 300ms; |
| } |
|
|
| #hero-btn:hover .play { |
| transform: translateX(200%); |
| transition-delay: 300ms; |
| } |
|
|
| @media only screen and (max-width: 600px) { |
|
|
| |
|
|
| |
| |
| } |
|
|