/*!
Theme Name: ecommerce
*
*	Стили для firstscr первого экрана 
* 
* 
* 
*/

.firstscr {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	height: 65vh;
	text-transform: uppercase;
}

.firstscr__bgimg {
	width: 100%;
    height: 80vh;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    z-index: -20;
}

.radial-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 80vh;
	background: radial-gradient(
	circle at center,
	rgba(0, 0, 0, 0.1) 0%,
	rgba(0, 0, 0, 1) 100%
	);
	z-index: -10;
}

.firstscr__textblock {
	align-self: flex-start;
	padding: 0 20px 0 100px;
}

.firstscr__textblock > * {
	padding-bottom: 1em;
}

.firstscr__header-1text {
	/*text-align: center;*/
	font-size: var(--h1);
    font-weight: 800;
    width: 60vw;
}


.firstscr__header-2text {
	/*text-align: center;*/
	font-size:  var(--h3);
    font-weight: 700;
    width: 60vw;
}

.firstscr__quot {
	display: flex;
	flex-direction: row;
	gap: 2em;
    background: #ffffff87;
    backdrop-filter: blur(5px);
}

.firstscr__quot-pict {
	width: 300px;
	height: 200px;
	background: var(--dark-blue);
}

.firstscr__quot-textblock {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 30vw;
}

.firstscr__quot-textblock-1text {
	background: #203551aa;
	font-size: var(--h2);
	font-weight: 800;
	width: 100%;
	color: var(--main-bg-color);
	text-align: center;
}

.firstscr__quot-textblock-2text {
	font-size: var(--h3);
	font-weight: 700;
	width: 100%;
	text-align: center;
	padding: 20px 0;
}

.firstscr__quot-textblock-3text {
	font-size: var(--h5);
	font-weight: 300;
	width: 100%;
	text-align: center;
}

.firstscr__quot-button {
	background: var(--green);
	font-size: var(--h3);
	font-weight: 700;
	width: 100%;
	text-align: center;
}

.firstscr__modal-ac {
	display: none;
	flex-direction: column;
	justify-content: center;
	padding: 20px;
	background: #ffffff87;
    backdrop-filter: blur(5px);
}

.firstscr__modal-button {
	background: var(--green);
	font-size: var(--h3);
	font-weight: 700;
	text-align: center;
	text-align: center;
    padding: 0.3em 3em;
}

.firstscr__modal-ac-text {
	padding: 0.4em 3em;
    align-self: center;
    font-size: var(--h2);
}

.nodisplay {
  	display: none;
}

div.display {
	display: flex;
}

.modal-left {
	align-self: flex-start;
	padding: 20px 20px 20px 100px;

}

.modal-right {
	align-self: flex-end;
	padding: 20px 100px 20px 20px;

}

.modal-center {
	align-self: center;
	padding: 20px 20px 20px 20px;

}

/**********************/
.firstscr__promo {
	align-self: flex-end;
	padding: 20px 0;
	display: flex;
    flex-direction: column;
	/*max-width: 50%;*/
}

.firstscr__promo > * {
	display: flex;
	width: fit-content;
}

.firstscr__promo-header {
	/*text-align: center;*/
	font-size: var(--h4);
    font-weight: 600;
}


.firstscr__promo-textarea {
	/*text-align: center;*/
	font-size: var(--h5);
    font-weight: 500;
    padding: 20px 0;
}
/**********************/

@media (max-width: 980px) {

	.firstscr {
		/*height: 55vh;*/
	}

	.firstscr__header-1text, .firstscr__promo-header {
		font-size: 1.8em;
	}

	.firstscr__header-2text, .firstscr__promo-textarea {
		font-size: 1.2em;
	}

	.firstscr__promo-header {
		text-align: center;
		font-size: 2em;
	    font-weight: 800;
	}


	.firstscr__promo-textarea {
		text-align: center;
		font-size: 1.5em;
	    font-weight: 700;
	}

	.firstscr__textblock, .firstscr__promo {
		align-self: center;
		padding: 20px 0;
		width: 80vw;
		max-width: 100%;
	}

	.firstscr__modal-ac {
	display: flex;
	}

	div.display {
	display: none;
	}

}

@media (max-width: 600px) {

	.firstscr {
		height: 55vh;
	}

	.firstscr__header-1text, .firstscr__promo-header {
	font-size: 1.2em;
	}


	.firstscr__header-2text, .firstscr__promo-textarea {
		font-size: 0.8em;
	}

}