body {
	margin: 0;
	height: 100vh;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	background-image: url(../img/fon-1.jpg);
	background-size: 550px;
	background-repeat: repeat-x;
	font-family: tahoma;
	font-size: 0.9em;
	overflow: hidden;
} 
.telo {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	box-shadow: 0px 0px 10px 1px;
	margin-top: 10vh;
	width: 80%;
	height: fit-content;
}
a {
	color: inherit;
}


/*head*/
header {
	width: 100%;
	padding-block: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #5b5f71;
	color: #ffffff;
	align-self: flex-start;
}
header span {
	margin-left: 10px;
	display: flex;
	align-items: center;
	font-size: 0.9em;
	transition: all 1.5s ease-out;
}
header span:hover {
	color: #8fd7ef;
	transition: all 1.5s ease-out;
	text-shadow: 0px 0px 4px #ffffff;
	cursor: pointer;
}
header span img {
	height: 20px;
	width: 20px;
	transition: all 1.5s ease-out;
	transform: rotate(-45deg);
}
header span img:hover {
	filter: drop-shadow(0px 0px 10px gold);
	transition: all 1.5s ease-out;
	cursor: pointer;
}
.lang img {
	height: 12px;
	width: 20px;
	transform: translate(0px, 1px);
}
.lang {
	display: inline-block;
	height: 15px;
	padding-right: 4px;
	transform: translate(0px, -1px);
	font-size: 0.8em;
}
#ru {
	margin-right: 10px;
	padding-left: 5px;
	border-left: 1px solid;
}


/*underhead*/
#underhead {
	width: 100%;
	padding-block: 5px;
	display: flex;
	justify-content: center;
	background-color: #ffffff;
}
#under {
	width: 90%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
#underhead img {
	width: 330px;
	/* height: 70px; */
	display: inline-block;
	transition: all 5s ease-out;	
}
#underhead img:hover {
	transform: scale(1.1);
}

#ministr {
	display: inline-block;
	width: 200px;
	font-size: 1.1em;

}
#ministr span {
	color: #21a3ce;
	font-weight: bold;
}




/*body*/
#body {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
main {
	width: 100%;
	display: flex;
	flex-direction: column;

}
footer {
	width: 100%;
	padding-block: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #5b5f71;
	background-image: url(../img/uz1.png);
	background-size: 200px;
	align-self: flex-end;
}
footer span {
	margin-inline: 15px;
	font-size: 0.9em;
	color: #ffffff;
}
.fon-2 {
	width: 100%;
	height: 8vh;
	position: relative;
	z-index: -1;
	/* transform: translate(0px, -20px); */
	background-image: url(../img/fon-2.jpg);
	background-repeat: repeat-x;
	background-size: 600px;
	align-self: flex-end;
}
section {
	height: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	gap: 5vh;
}
section::before {
    content: "";
    position: absolute;
	inset: 0;
    background: center no-repeat;
    animation: nature 40s infinite alternate ease-in-out;
}
section p{
	text-align: center;
	width: 40%;	
	color: #ffffff;
	font-size: 16px;
	justify-self: start;
	z-index: 99;
	text-shadow: rgb(0, 0, 0) 2px 0 5px;
}

section div {
	position: relative;
	/* background-color: #21a3ce48; */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}
main button {
	background-color: #21a3ce;
	color: #ffffff;
	padding: 12px;	
	width: 190px;
	border: none;
	margin: 50px;
	font-size: 18px;
	transition: .4s;
}
main button:hover {
	background-color: #5b5f71;
	color: #ffffff;
	cursor: pointer;
	transition: .4s;
}
.offdiv {
	height: 28vh;
	display: none;
	/* background-image: url(img/nature4.jpeg);
	background-size: cover; */
}
.offbutton {
	height: 100%;
	width: 100%;	
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.offbutton:before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	background: url(../img/u.png) 50px 50px;
	opacity: 10%;
	z-index: -10;
} 
.animebtn {
	margin: 0;
}
#an1, #an2{
	margin-right: 50px;
}
.animeparent {
	padding: 20px;
	border: 1px solid transparent;
	transition: all .7s ease-in;
	display: flex;
}
.animeparent:hover {
	/* border: 2px solid #21a3ce; */
	transition: none;
	animation: border .7s alternate infinite ease-in ;
}


@keyframes border {
	0% {
		padding: 20px;
		border: 1px solid transparent;
	}
	50% {
		padding: 10px;
		border: 1px solid #21a3ce;
	}
	100% {
		padding: 0px;
		border: 1px solid transparent;
	}
}
@keyframes nature {
	0% {
        background-image: url('../img/nature12.jpg');
        background-size: 100%;
    }
    25% {
        background-size: 120%;
    }
    50% {
        background-image: url('../img/nature2.jpg');
		background-size: 100%;
    }
    75% {
        background-size: 120%;
    }
    100% {
        background-image: url('../img/nature32.jpg');
        background-size: 100%;
    }
}
.entsearchs {
	display: inline-block;
	background-color: #21a3ce;
	color: #ffffff;
	padding: 7px;
	padding-inline: 14px;
	border: none;
	margin-left: 10px;
	transition: .4s;
}
.entsearchs:hover {
	background-color: #b9c0c3;
	color: dimgray;
	cursor: pointer;
	transition: .4s;
}
.entryes {
	position: fixed;
	top: -250px;
	background-color: #ffffff;
	width: 300px;
	height: 200px;
	border: solid 1px;
	border-radius: 10px;
	box-shadow: 0px 0px 5px 1px;
	visibility: visible;
}
.entryes::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url(../img/u.png);
	background-size: 280px ;
	background-position: top;
	opacity: 30%;
	z-index: -10;
}
.entryes input {
	background: none;
	resize: none;
	border: 1px solid #727475;
	height: 20px;
/*	box-shadow: 0px 0px 4px 1px gray inset;*/;
}
.entryes input:focus{
	outline: none;
}
.entryes div, .entryes button {
	position: relative;
	left: 20%;
	top: 10%;
	margin-block: 5px;
}
input[type='radio'] {
	appearance: none;
	width: 12px;
	height: 12px;
	border: solid 1px;
	border-radius: 4px;
	background-color: #ffffff;
	cursor: pointer;
}
input[type='radio']:checked{
	background-color: #21a3ce;
	border: double;
}
.entryes label {
	cursor: pointer;
	margin-right: 10px;
}
.entryes form {
	margin-top: 10px;
}
.entlabel {
	padding-bottom: 10px;
}
.entryes.show {
	animation: slide 1s ease-out forwards;
	visibility: visible;
}
.entryes.hide {
	animation: offslide 1s ease-out forwards;

}
	@keyframes slide {
		from{
			top: -200px;
		}
		to{
			top: 10px;
		}
	}
	@keyframes offslide {
		from{
			top: 10px;
			opacity: 1;
		}
		to{
			top: -200px;
			opacity: 0;
		}
	}
@media(max-width: 3000px) {
	section {
			height: 540px;
	}
}
@media(max-width: 2000px) {
	#ministr {
		width: auto;
	}
	#under img {
		width: 370px;
	}
}
@media(max-width: 1404px) {
	#ministr {
		font-size: 1.2em;
		width: 250px;
	}

}	

@media(max-width: 1187px) {
	section {
		height: 500px;
		gap: 100px;
	}
	section p {
		width: 50%;
	}
}
@media(max-width: 1079px) {
	section {
		height: 450px;
	}
	section p {
		width: 75%;
	}
}
@media(max-width: 972px) {
	section {
		height: 400px;
		gap: 20px;
	}
	section button {
		width: 150px;
		font-size: 14px;
	}
}
@media(max-width: 864px) {
	section {
		height: 350px;
		gap: 10px;
	}
	#ministr {
		width: auto;
	}
}
@media (max-height: 800px) {
	body {
		overflow: scroll;
	}
}
@media(max-width: 756px) {
	section {
		height: 300px;
	}
	section button {
		width: 120px;
		font-size: 12px;
		padding: 10px;
		margin: 15px;
	}
	section p {
		font-size: 14px;
	}
}
@media(max-width: 737px) {
	footer span {
		font-size: .8em;
	}
	#ministr {
		font-size: 1em;
	}
}
@media(max-width: 650px) {
	.telo {
		width: 90%;
	}
	footer {
		margin-top: 0;
	}
	section button {
		display: none;
	}
	.offdiv {
		display: block;
	}
	section p {
		font-size: 18px;
	}
	
@media(max-width: 576px) {
	.telo {
		width: 100%;
	}
	.fon-2 {
		display: none;
	}
	#ministr {
		font-size: 16px;
	}
	
}
}
@media(max-width: 520px) {
	section {
		height: 250px;
	}
	section p {
		font-size: 15px;
	}
	.animebtn {
		padding: 5px;
		width: 150px;
	}
	footer span {
		font-size: .7em;
	}
}
@media(max-width: 432px) {
	section {
		height: 200px;
	}
	section p {
		font-size: 13px;
	}
}
@media(max-width: 382px) {
	.animeparent {
		padding: 15px;
		flex-wrap: wrap;
		gap: 30px;
		justify-content: center;
	}
	#an2 {
		margin: 0;
	}
	#underhead img {
		width: 300px;
	}
	section p {
		font-size: 12px;
	}
	footer span {
		font-size: .6em;
	}
}
@media(max-width: 315px) {
	#underhead img {
		width: 250px;
	}
	section {
		height: 150px;
	}
	section p {
		font-size: 8px;
	}
}

.modal-error-message {
	position: fixed;
	padding: 30px 50px;
	margin-top: 20px;
	border-radius: 10px;
	box-shadow: 0px 0px 5px 1px;
	background: linear-gradient(to bottom, #ff4d4f, #8b0000);
	z-index: 1000;
	display: none;
}
.modal-error-message p {
	font-size: larger;

  	background-clip: text;
  	-webkit-text-fill-color: transparent;

}