#videos h4,
#videos p {
	margin: 0;
}

#videos .video:not(.vertical) h4,
#videos .video p {
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}

#videos .shape {
    position: absolute;
    z-index: -1;
}

#videos .container {
	position: relative;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	background-image: url(../img/videos/bg.png);
	background-repeat: repeat;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	z-index: 2;
}

#videos .video {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

#videos .video.vertical {
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

#videos .video:not(.vertical) {
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

#videos .video .preview {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	cursor: pointer;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

#videos .video.vertical .preview {
	aspect-ratio: 517 / 300;
}

#videos .video:not(.vertical) .preview {
	aspect-ratio: 248 / 137;
}

#videos .left .video .preview {
	-webkit-box-shadow: 5px 5px 0 0 var(--green);
	        box-shadow: 5px 5px 0 0 var(--green);
}

#videos .right .video .preview {
	-webkit-box-shadow: 5px 5px 0 0 var(--pink);
	        box-shadow: 5px 5px 0 0 var(--pink);
}

#videos .video .preview:before {
	position: absolute;
	top: 0;
	left: 0;
	background-color: white;
	content: "";
	height: 100%;
	opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity .3s;
	-o-transition: opacity .3s;
	transition: opacity .3s;
	width: 100%;
	z-index: 10;
}

#videos .video .preview:hover:before {
	opacity: .2;
}

#videos .video:not(.vertical) .content {
	width: 100%;
}

#videos .video .small {
	font-size: .8em;
}

#videos .video p {
	text-align: justify;
}

#videos .video.vertical h4 {
	/*overflow: hidden;*/
	/*-o-text-overflow: ellipsis;*/
	/*text-overflow: ellipsis;*/
	/*white-space: nowrap;*/
}

#videos .video .preview {
	position: relative;
}

@media (min-width: 1440px) {
	#videos .left,
	#videos .right {
		width: calc(50% - 22px);
	}

	#videos .video.vertical .preview,
	#videos .video h4 {
		margin-bottom: 20px;
	}

	#videos {
		padding-top: 34px;
		padding-bottom: 34px;
	}

	#videos .container {
		border-radius: 75px;
		padding: 62px 124px;
	}

	#videos .video:not(:last-child) {
		margin-bottom: 45px;
	}

	#videos .video:not(.vertical) .preview {
	}

	#videos .video:not(.vertical) .preview {
		margin-right: 20px;
		width: 248px;
	}

	#videos .video h4 {
		font-size: 21px;
		line-height: 30px;
	}

	#videos .video p {
		font-size: 15px;
		line-height: 25px;
	}

	#videos .video .content {
		margin-top: 20px;
	}

	#videos .video.vertical .content {
		height: 130px;
	}

	#videos .yellow_circle {
		top: 90px;
		left: -100px;
		width: 350px;
	}

	#videos .green_triangle {
		top: 510px;
		right: -210px;
		width: 400px;
	}

	#videos .orange_circle {
		left: 40px;
		bottom: -110px;
		width: 390px;
	}
}

@media (max-width: 1440px) and (min-width: 751px) {
	#videos .left,
	#videos .right {
		width: calc(50% - (100vw * 22 / 1440));
	}

	#videos .video.vertical .preview,
	#videos .video h4 {
		margin-bottom: calc(100vw * 20 / 1440);
	}

	#videos {
		padding-top: calc(100vw * 34 / 1440);
		padding-bottom: calc(100vw * 34 / 1440);
	}

	#videos .container {
		border-radius: calc(100vw * 75 / 1440);
		padding: calc(100vw * 62 / 1440) calc(100vw * 124 / 1440);
	}

	#videos .video:not(.vertical) .preview {
		margin-right: calc(100vw * 20 / 1440);
		width: calc(100vw * 248 / 1440);
	}

	#videos .video:not(:last-child) {
		margin-bottom: calc(100vw * 45 / 1440);
	}

	#videos .video h4 {
		font-size: calc(100vw * 21 / 1440);
		line-height: calc(100vw * 30 / 1440);
	}

	#videos .video p {
		font-size: calc(100vw * 15 / 1440);
		line-height: calc(100vw * 25 / 1440);
	}

	#videos .video .content {
		margin-top: calc(100vw * 20 / 1440);
	}

	#videos .video.vertical .content {
		height: calc(100vw * 130 / 1440);
	}

	#videos .yellow_circle {
		top: calc(100vw * 90 / 1440);
		left: calc(100vw * -110 / 1440);
		width: calc(100vw * 350 / 1440);
	}

	#videos .green_triangle {
		top: calc(100vw * 510 / 1440);
		right: calc(100vw * -210 / 1440);
		width: calc(100vw * 400 / 1440);
	}

	#videos .orange_circle {
		left: calc(100vw * 40 / 1440);
		bottom: calc(100vw * -110 / 1440);
		width: calc(100vw * 390 / 1440);
	}
}

@media (min-width: 751px) {
	#videos .container {
		background-size: 11px 11px;
	}

	#videos .video:not(.vertical) h4 {
		/*-webkit-line-clamp: 2;*/
		/*line-clamp: 2;*/
	}

	#videos .video p {
		/*-webkit-line-clamp: 3;*/
		/*line-clamp: 3;*/
	}
}

@media (max-width: 750px) {
	#videos .left,
	#videos .right {
		width: 100%;
	}

	#videos {
		padding-top: calc(100vw * 23 / 750);
		padding-bottom: calc(100vw * 23 / 750);
	}

	#videos .container {
		background-size: 20px 20px;
		border-radius: calc(100vw * 75 / 750);
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		padding: calc(100vw * 28 / 750);
	}

	#videos .video:not(.vertical) {
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}

	#videos .video .preview {
		margin-right: calc(100vw * 20 / 750);
	}

	#videos .video.vertical .preview {
		margin-bottom: calc(100vw * 20 / 750);
	}

	#videos .video:not(.vertical) .preview {
		width: calc(100vw * 284 / 750);
	}

	#videos .left {
		margin-bottom: calc(100vw * 60 / 750);
	}

	#videos .video:not(:last-child) {
		margin-bottom: calc(100vw * 26 / 750);
	}

	#videos .video:not(.vertical) h4 {
		font-size: calc(100vw * 28 / 750);
		line-height: calc(100vw * 36 / 750);
	}

	#videos .video:not(.vertical) p {
		font-size: calc(100vw * 22 / 750);
		line-height: calc(100vw * 35 / 750);
	}

	#videos .video.vertical h4 {
		font-size: calc(100vw * 26 / 750);
		line-height: calc(100vw * 40 / 750);
	}

	#videos .video.vertical p {
		font-size: calc(100vw * 22 / 750);
		line-height: calc(100vw * 37 / 750);
	}

	#videos .video:not(.vertical) h4 {
		/*-webkit-line-clamp: 2;*/
		/*line-clamp: 2;*/
	}

	#videos .video p {
		/*-webkit-line-clamp: 2;*/
		/*line-clamp: 2;*/
	}

	#videos .video .content {
		margin-top: calc(100vw * 20 / 750);
	}

	#videos .yellow_circle {
		top: calc(100vw * -90 / 750);
		left: calc(100vw * -100 / 750);
		width: calc(100vw * 250 / 750);
	}

	#videos .green_triangle {
		top: calc(100vw * 810 / 750);
		right: calc(100vw * -100 / 750);
		width: calc(100vw * 300 / 750);
	}

	#videos .orange_circle {
		left: calc(100vw * -60 / 750);
		bottom: calc(100vw * -80 / 750);
		width: calc(100vw * 220 / 750);
	}
}