


.container .video-container{
	display: flex;
	flex-wrap: wrap;
	gap: 60px 15px;
	justify-content: center;
	padding: 0px;
}
.container .video-container .video{
	height: 280px;
	width: 350px;
	border: 5px solid #fff;
	border-radius: 5px;
	box-shadow: 0 5px 15px rgba(0,0,0,.7);
	cursor: pointer;
	overflow: hidden;
}

.container .video-container .video video{
	height: 80%; /* this has been changed from 100% so that a heading can fit */
	width: 100%;
	object-fit: cover;
	transition: .2s linear;
}
.container .video-container .video:hover video{
	transform: scale(1.1);
}
.container .popup-video{
	position: fixed;
	top:0; left:0;
	z-index: 100;
	background: rgba(0,0,0,.8);
	height: 100%;
	width: 100%;
	display: none;
}

.container .popup-video video{
	position: absolute;
	top:50%; left:50%;
	transform: translate(-50%, -50%);
	width: 750px;
	border-radius: 5px;
	border: 3px solid #fff;
	object-fit: cover;
}
.container .popup-video span{
	position: absolute;
	top:70px; right: 30px; /* this has been changed from top:10px; right: 30px;  */
	font-size: 50px;
	color: #fff;
	font-weight: 400;
	z-index: 100;
	cursor: pointer;
}

.video video {
  loading: lazy; /* Fallback—modern browsers eat HTML attr */
}

@media (max-width:768px){
	.container .popup-video video{
		width: 95%;
	}
}
