@charset "utf-8";
/* CSS Document */
@keyframes backgroundChange {
    0% { background-image: url('/img/fon-header-1.jpg'); }
    33% { background-image: url('/img/fon-header-2.jpg'); }
    66% { background-image: url('/img/fon-header-3.jpg'); }
    100% { background-image: url('/img/fon-header-1.jpg'); }
}
.fon-header {
    width: 100%;
    height: 100vh;
	min-height: 600px;
	background-color:  var(--color-fon);
	animation: backgroundChange 15s infinite;
/*
	background-image: url(/img/fon-header-v21.webp);
*/
	background-size: cover;
	background-position: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-base);
}


div.teh-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #fff; /*var(--color-base-teh);*/
	text-align: center;
}

#headerMain {max-width: 1600px; width: 80%; /*background: radial-gradient(190% 40%, var(--color-fon), #ffffff77);*/ border-radius: 12px; margin-top: 40px;}
h1.txtHead {
	font-size: clamp(1.4rem, 4vw, 4rem);
	text-transform: uppercase;
	line-height: 1.35em;
	margin-bottom: 10px;
}
h2.txtHead  {
	font-size: clamp(1.4rem, 4vw, 2.5rem);
	margin-top: 10px;
/*    font-weight: 300;*/
}

.headerBut {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.but-header span {display: block;}
#modA, #telA {
    min-width: 252px;
    margin-top: 2vh;
	margin-bottom: 2vh;
	padding: 1vh;
	border-radius: 1em;
	border: var(--color-base-teh) 2px solid;
}
#modA {
	margin-right: 1%;
    background-color: var(--color-base);
    color: #fff;
}
#modA:hover {
	background-color: var(--color-fon);
	color: var(--color-base);
    transition: 1s;
}
#telA {
	margin-left: 1%;
	background-color: var(--color-fon);
	color: var(--color-base);
}
#telA:hover {
    background-color: var(--color-base);
    color: #fff;
    transition: 1s;
}
.but-header h3 {
	margin: 0;
	text-align: center;
	font-style: normal;
	font-weight: 300;
}
#modDiv h3 {
	font-size: 140%;
	letter-spacing: -.02vw;
}
#telDiv h3 {
	font-size: 100%;
	letter-spacing: -.02vw;
}


/* ----------------- */
.h2big {
    margin: 30px auto 15px auto;
    text-align: center;
    font-size: 170%;;
    color: var(--color-base);
}
.fon-block {
    margin: auto;
    background-color: var(--color-base-lig);
}
.block-header {
    display: flex;
    flex-direction: column;
    align-items: center;   
    width: 23%;
    min-width: 290px;
    padding: 20px;
    border-left: var(--color-base-lig) 2px dashed;
}
.block-header:first-child {
    border-left: none;
}
.block-header img {
    height: 90px;
}
.block-header p {
    padding-top: 15px;
    text-align: center;
	text-indent: 0;
    font-size: 110%;
	color: var(--color-base);
}
@media screen and (max-width: 600px)  {
    .headerBut {flex-direction: column;}
		#modA {margin-right: 0;}
		#telA {margin-left: 0;}

    .block-header{
        width: 90%;
        margin: auto;
        flex-direction: row;
        justify-content: center;
		border-left: none;
    }
    .block-header img {
        height: 70px;
        margin-right: 10px;
    }
}
@media screen and (max-width: 500px) {
	#headerMain {width: 98%;}
}

/* carousel */
.sldr {
    display: flex;
    align-items: center;
    justify-content: center;
}