const useStyles = createStyles((theme, params, getRef) => ({
wrapper: {
padding: '0 100px',
margin: '50px 0',
display: 'flex',
flexDirection: 'column',
gap: 20,
[theme.fn.smallerThan('sm')]: {
margin: '30px 0',
padding: '0 15px',
},
},
carousel: {
controls: {
ref: getRef('controls'),
transition: 'opacity 150ms ease',
opacity: 0,
},
root: {
borderRadius: '8px',
overflow: 'hidden',
'&:hover': {
[`& .${getRef('controls')}`]: {
opacity: 1,
},
},
},
indicator: {
width: 50,
height: 4,
transition: 'width 250ms ease',
'&[data-active]': {
width: 80,
},
},
},
slide: {
'&::after': {
content: `''`,
position: 'absolute',
top: '0',
left: '0',
width: '100%',
height: '100%',
background:
'linear-gradient(90deg, rgba(23, 21, 27, 0.9) 12.5%, rgba(23, 21, 27, 0) 83.85%, rgba(23, 21, 27, 0.3) 100%)',
},
},
slide_image: {
width: '100%',
height: '100%',
objectFit: 'cover',
},
metadata_item_parent: {
position: 'absolute',
color: 'white',
display: 'flex',
flexDirection: 'column',
gap: 3,
lineHeight: '1.25rem',
fontSize: '1.2rem',
bottom: 30,
left: 80,
zIndex: 1,
textShadow: `1px 1px 2px rgba(0,0,0,0.5)`,
// WebkitTextStroke: '1px white',
mixBlendMode: 'normal',
},
metadata_item: {
alignSelf: 'flex-start',
display: 'flex',
background: 'rgba(112, 108, 108, 0.644)',
alignItems: 'center',
justifyContent: 'center',
gap: '4px',
padding: '5px 13px',
fontSize: '14px',
lineHeight: '18px',
borderRadius: '999px',
},
}));