#tours-animations {
	width: 100%;
	max-width: 1320px;
	padding: 0;
	margin: 0;
	--line-offset: calc((10vh + 8px) / 2);
	position: absolute;
}

.container-custom {
	width: 100%;
	height: 85vh;
	display: grid;
	grid-template-rows: 5fr 1fr;
	background: #ffffff;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
	display: flex;
}

.tab {
	width: calc(10vh + 8px);
	height: calc(10vh + 8px);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	clip-path: polygon(0% 50%, 15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%);
	shape-outside: polygon(0% 50%, 15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%);
	z-index: 0;
	transition: width 0.5s;
}

.tab img {
	width: 10vh;
	height: 10vh;
	z-index: 10;
	cursor: pointer;
	clip-path: polygon(0% 50%, 15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%);
	shape-outside: polygon(0% 50%, 15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%);
	transition: width 0.5s;
}

.my-radio {
	display: none;
}

.preview-list {
	background: linear-gradient(#021919, #021919 var(--line-offset), #efefef var(--line-offset));
}

.tab {
	background: linear-gradient(#efefef, #efefef var(--line-offset), #021919 var(--line-offset));
}

.my-radio:checked~label~.content {
	text-align: center;
	z-index: 8;
}

.my-radio:checked~label .tab {
	width: 0;
}

.content {
	position: absolute;
	background: #ffffff;
	top: 1vh;
	left: 0;
	width: 100%;
	height: 70vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	left: 50%;
	transform: translateX(-50%);
}

.content img {
	height: auto;
	width: 100%;
}

#heigth_div {
	height: 500px;
}

#videos-header-text {
	margin-top: -30px;
}

@media (max-width: 400px) {
	.tab {
		width: calc(5vh + 0px);
		height: calc(5vh + 0px);

	}

	.content {
		height: 40vh;
	}

	.container-custom {
		width: 100%;
		height: 52vh;

	}

	#heigth_div {
		height: 390px;
	}

	#videos-header-text {
		margin-top: -19px;
	}
}