| body { | |
| padding: 2rem; | |
| font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif; | |
| } | |
| .video-container { | |
| position: relative; | |
| border-radius: 0.5rem; | |
| overflow: hidden; | |
| transition: all 0.3s ease; | |
| transform: translateZ(0); | |
| } | |
| .video-overlay { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| opacity: 1; | |
| transition: opacity 0.3s ease; | |
| z-index: 2; | |
| } | |
| .video-container:hover .video-overlay { | |
| opacity: 0; | |
| } | |
| .video-container video { | |
| display: block; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .ripple-canvas { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| z-index: 3; | |
| opacity: 0; | |
| transition: opacity 0.3s ease; | |
| } | |
| .ripple-effect:hover .ripple-canvas { | |
| opacity: 1; | |
| } | |
| h1 { | |
| font-size: 16px; | |
| margin-top: 0; | |
| } | |
| p { | |
| color: rgb(107, 114, 128); | |
| font-size: 15px; | |
| margin-bottom: 10px; | |
| margin-top: 5px; | |
| } | |
| .card { | |
| max-width: 620px; | |
| margin: 0 auto; | |
| padding: 16px; | |
| border: 1px solid lightgray; | |
| border-radius: 16px; | |
| } | |
| .card p:last-child { | |
| margin-bottom: 0; | |
| } | |