/*!
Theme Name: ecommerce
*
*	Стили для txtblock
* 
* 
* 
*/

.txtblock {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-bottom: 2rem;
}

.txtblock__header {
	font-size: var(--h2);
    align-self: center;
}

.txtblock__maintext {
	/*font-size: var(--h4);*/
    align-self: center;
    line-height: 2em;
    font-weight: 400;    
    text-align: justify;
}

@-webkit-keyframes blick {
  0% {
    left: -80%;
  }
  100% {
    left: 160%;
  }
}
@keyframes blick {
  0% {
    left: -80%;
  }
  100% {
    left: 160%;
  }
}

.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;
}

.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: 600px) {

.txtblock__header {
	font-size: var(--h4);
}

.txtblock__maintext {
	/*font-size: 0.8em;*/
	/*line-height: inherit;*/
	padding: 0;
}

.buttoncb {
	font-size: 1em;
}

}