section#events {
	--overlay-opacity: 0.7;
	padding-top: 150px;
	padding-bottom: 100px;
}

section#events .background {
	background-image: url(/resources/background2.jpg);
}

section#events article {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

section#events article>* {
	margin-bottom: 20px;
}

section#events article p {
	max-width: 600px;
	line-height: 26px;
}

section#events article .table {
	--items-margin: 80px;
	--center-margin: 30px;
	display: flex;
	flex-direction: column;
	width: 80%;
	margin: 50px 0;
}

section#events article .table .item {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	margin-bottom: 20px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 10px;
	background-color: transparent;
	/* border: 1px groove rgba(128, 128, 128, 0.15); */
	box-shadow: inset 3px 3px 20px -15px rgba(255, 255, 255, 0.25);
	background-image: linear-gradient(320deg, rgba(136, 136, 136, 0.2), transparent);
	/*margin-bottom: calc(var(--items-margin) / 2);*/
	/* padding: calc(var(--items-margin) / 2) 0; */
	padding: 30px;
	transition: background-color .125s;
	-webkit-transition: background-color .125s;
}

section#events article .table .item.active {
	background-color: rgba(var(--main-color-rgb), 0.125);
}

section#events article .table .item .poster {
	width: 50%;
	max-height: 290px;
	text-align: end;
	padding-right: calc(var(--center-margin) / 2);
}

section#events article .table .item .poster img {
	max-height: 100%;
	max-width: 100%;
	border-radius: 5px;
	box-shadow: 0 0 70px rgba(0, 0, 0, .5);
}

section#events article .table .item .content {
	flex: 0 0 50%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: start;
	padding-left: calc(var(--center-margin) / 2);
}

section#events article .table .item .content .buttons {
	margin-top: 25px;
	white-space: nowrap
}

section#events article .table .item .content .buttons a.button.active {
	margin-left: 10px;
}

/* @media screen and (min-width: 1025px) {
	section#events article .table .item:hover {
		background-color: rgba(0, 0, 0, .1);
	}
} */

@media screen and (max-width: 1024px) {
	section#events article .table .item .content .buttons {
		width: 100%;
		display: flex;
		flex-direction: column;
		margin-top: 20px;
	}

	section#events article .table .item .content .buttons a.button.active {
		margin-left: 0px;
		margin-top: 15px;
	}
}

@media screen and (max-width: 768px) {
	section#events article .table {
		width: 100%;
		margin: 20px 0;
	}

	section#events article .table .item {
		flex-direction: column;
		align-items: center;
	}

	section#events article .table .item .poster {
		padding-right: 0;
		padding-bottom: 20px;
		text-align: center;
	}

	section#events article .table .item .content {
		padding-left: 0;
	}
}