import { colors, radius } from '@/styles/variables'; import styled, { css } from 'styled-components'; import { IVideo } from './Video.interface'; export const StyledVideo = styled.div` display: block; position: relative; border-radius: ${radius.md}; overflow: hidden; & video { width: 100%; border-radius: inherit; } `; export const StyledVideoMask = styled.div` aspect-ratio: 16/9; background-position: center; background-repeat: no-repeat; background-size: cover; cursor: pointer; `; export const StyledVideoPlay = styled.div` position: absolute; left: 50%; top: 50%; width: 10%; transform: translate(-50%,-50%); z-index: 1; pointer-events: none; & svg { fill: ${colors.white}; width: 100%; height: auto; transition: all 0.4s linear; } `;