/*!
Theme Name: ecommerce
*
*	Стили для firstscr первого экрана 
* 
* 
* 
*/

.firstscr {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 80vh;
}

.firstscr__bgimg {
	width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    z-index: -20;
}

.radial-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: radial-gradient(
	circle at center,
	rgba(0, 0, 0, 0.1) 0%,
	rgba(0, 0, 0, 1) 100%
	);
	z-index: -10;
	background-position-y: 200px;
}

.firstscr__textblock {
	align-self: flex-start;
	padding: 0 20px 0 100px;
}

.firstscr__textblock > * {
	padding-bottom: 1em;
}

.firstscr__header-1text {
	font-size: var(--h1);
    font-weight: 700;
    width: 60vw;
}


.firstscr__header-2text {
	font-size:  var(--h3);
    font-weight: 700;
    width: 60vw;
}

.nodisplay {
  	display: none;
}

div.display {
	display: flex;
}

/**********************/
.firstscr__promo {
	align-self: flex-end;
	padding: 20px 0;
	display: flex;
    flex-direction: column;
	/*max-width: 50%;*/
}

.firstscr__promo > * {
	display: flex;
	width: fit-content;
}

/**********************/

.buttoncb {
	font-size: var(--h5);
	padding: 20px 40px;
    align-self: center;
	text-align: center;
	border-radius: 1vw;
	overflow: hidden;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	background: var(--elem_color1);
}

.buttoncb::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 2.8645833333vw;
	height: 300%;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	background-color: #fff;
	-webkit-animation: blick 3s linear infinite;
	animation: blick 3s linear infinite;
	-webkit-transform: rotate(45deg) translateY(-50%);
	transform: rotate(45deg) translateY(-50%);
}

.buttoncb:hover {
	background: var(--hovelem_color1);
}


@media (max-width: 980px) {

	.firstscr {
		height: 90vh;
	}

	.firstscr__header-1text {
		font-size: var(--h1-960);
	}

	.firstscr__header-2text {
		font-size: var(--h3-960);
	}

	.firstscr__textblock, .firstscr__promo {
		align-self: center;
		padding: 20px 0;
		width: 80vw;
		max-width: 100%;
	}

	.buttoncb {
		font-size: var(--h4-960);
	}

	div.display {
	display: none;
	}

}

@media (max-width: 600px) {

	.firstscr {
		height: 80vh;
		padding: 0;
	}

	.firstscr__header-1text {
		font-size: var(--h1-600);
		width: 100%;
	}


	.firstscr__header-2text {
		font-size: var(--h3-600);
	}

	.buttoncb {
		font-size: var(--h3-600);
		padding: 1em;
	}

}