body {
	background-image: url(../images/abons/fon_copy.png);
	background-size: 150%;
	background-position: top;
}

.content-box {
	width: 100%;
	display: flex;
	flex-direction: column;
	margin: auto;
	margin-top: 0;
}

.content-box-element {
	display: flex;
	position: relative;
	background-color: black;
	color: silver;
	width: 80%;
	margin: auto;
	margin-top: 30px;
	margin-bottom: 30px;
	filter: drop-shadow(53px -33px 35px #000);
	border-radius: 20px;
	height: fit-content;
}

.content-box-element:before,
.content-box-element:after {
	content: '';
	position: absolute;
	left: -2px;
	top: -2px;
	background-size: 400%;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	border-radius: 50px;
	z-index: -1;
	animation: steam 20s linear infinite;
}

@keyframes steam {
	0% {
		background-position: 0 0;
	}

	50% {
		background-position: 400% 0;
	}

	100% {
		background-position: 0 0;
	}
}

.content-box-element:after {
	filter: blur(50px);
}

.pic-element {
	width: 60%;
	height: auto;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.text-element {
	width: 60%;
	display: flex;
	flex-direction: column;
	padding: 20px 0;
}

.text-element .head-text {
	font-size: 30px;
	margin-top: 20px;
	margin-bottom: 30px;
	letter-spacing: normal;
	transform: scaleX(1.5) skewX(4deg);
	font-family: 'Downcome';
	text-shadow: 
	1px -1px 5px #171717, 
	2px -2px 5px #212121, 
	3px -3px 5px #2b2b2b;
	font-style: italic;
	text-align: center;
}

.decsription {
	text-align: justify;
	width: 70%;
	margin: auto;
	font-size: 12px;
	line-height: 2;
}

.content-box-element:nth-child(odd) img {
	width: 100%;
	display: flex;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	height: 380px;
}

.content-box-element:nth-child(even) img {
	width: 100%;
	display: flex;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	height: 380px;
}

.modal-window {
	position: fixed;
	width: 90%;
	left: 5%;
	top: 15%;
	height: fit-content;
	background-color: black;
	border: 3px solid white;
	border-radius: 10px;
	z-index: 1;
}

button {
	text-align: center;
	margin: auto;
	width: fit-content;
	background: transparent;
	color: white;
	font-weight: bold;
	font-size: 20px;
	padding-top: 10px;
}

@media only screen and (max-width: 600px) {
	.modal-window {
		width: 90%;
		left: 5%;
		top: 5%;
		border-radius: 20px;
	}

	.content-box-element {
		display: flex;
		flex-direction: column;
		width: 90%;
	}

	.pic-element {
		width: 100%;
	}

	.text-element {
		width: 100%;
		display: flex;
		flex-direction: column;
		padding-bottom: 20px;
	}

	.content-box-element:nth-child(odd) img {
		border-radius: 20px 20px 0 0 !important;
	}

	.content-box-element:nth-child(even) img {
		border-radius: 20px 20px 0 0 !important;
	}

	.text-element .head-text {
		font-size: 25px;
		margin: auto;
		margin-top: 10px;
		margin-bottom: 15px;
		width: fit-content;
	}

	.decsription {
		width: 80%;
		font-size: 15px;
		line-height: 1.6 !important;
	}
}

.pic-element img {
    width: 100% !important;
	object-fit: cover;
}


@media only screen and (min-width: 600px) {
	.pic-element:nth-child(odd) img {
		-webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
		-moz-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
	}
	.pic-element:nth-child(even) img {
		-webkit-mask-image: -webkit-gradient(linear, right top, left top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
		-moz-mask-image: -webkit-gradient(linear, right top, left top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
	}
}

@media only screen and (max-width: 600px) {
	.content-box-element:nth-child(even) {
		flex-direction: column-reverse;
	}
}