import styled from 'styled-components' import { colours } from '../../assets/theme' import CrossSvg from '../Svg/Cross' export const VideoWrapper = styled.div` width: 100vw; height: 100vh; z-index: 2; position: fixed; top: 0; bottom: 0; left: 0; right: 0; pointer-events: none; /* background-color: ${props => (props.$active ? 'red' : 'green')}; */ ` export const Iframe = styled.iframe` z-index: 1; width: 100vw; height: 100vh; position: fixed; top: 0; bottom: 0; left: 0; right: 0; ` export const StyledCrossSvg = styled(CrossSvg)` pointer-events: all; position: fixed; right: 2.5em; top: 2em; width: 64px; height: 64px; cursor: pointer; stroke: ${colours.midnightDarker}; z-index: 12; opacity: ${props => (props.$active ? '1' : '0.2')}; &:hover { opacity: 1; } `