@font-face {
    font-family: 'ultra_systemsans';
    src: url('ultra-system-sans-webfont.woff2') format('woff2'),
         url('ultra-system-sans-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html,
body {
	background:#151515;
}
video {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	display: inline-block;
}

#title-1 {
	display: flex;
	justify-content: center;
	text-align: center;
    color: #FFF;
    font-family: "Ultra System Sans", sans-serif;
    align-self: normal;
    font-size: 4rem;
    font-style: normal;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: 0.8rem;
	padding: 25px;
}

/* Main CSS */
.grid-wrapper > div {
	display: flex;
	justify-content: center;
	align-items: center;
}
.grid-wrapper > div > video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
	transition: all ease-out 200ms;
}

.grid-wrapper {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
	padding: 15px;

}
.grid-wrapper .wide {
	grid-column: span 2;
}
.grid-wrapper .tall {
	grid-row: span 2;
}
.grid-wrapper .big {
	grid-column: span 2;
	grid-row: span 2;
}

.carousel-video:hover {
	transform: scale(0.95);
	cursor: pointer;
}

.video-fullscreen {
	position: absolute; /* ou 'absolute' selon vos besoins */
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	width: 100%;
	height: 100%;
    z-index: 1000; /* S'assurer qu'elle soit au-dessus des autres éléments */
}

.carousel-video.video-fullscreen:hover {
    transform: none;
    cursor: default;
}

@media screen and (max-width: 480px) {
	#title-1 {
		font-size: 2rem;
        letter-spacing: 0.3rem;
        font-weight: 800;
        line-height: 30px;
	}
}