* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body{
	font-family: "Overpass", sans-serif;
	font-family: "Montserrat Alternates", sans-serif;
	font-family: "Neucha", cursive;
	font-family: "Sofia Sans", sans-serif;
	margin: 0;
	padding: 0;

}

/* Header start */
a{
	color: white;
	font-size: 28px;
	text-decoration: none;
}

.wrapp{
	display: flex;
	gap: 10px;
	margin-top: 5px;
	justify-content: space-around;
}
.header{
	position: fixed;
	display: flex;
	width: 100%;
	justify-content: space-around;
	background-image: url("img/header_top_bg.jpg");
	background-repeat: no-repeat;
	background-position-x: center;
	background-size: cover;
	opacity: 0.95;
	min-height: 100px;
	z-index: 100;
}

.header__nav{
	display: flex;
	gap: 170px;
	margin-top: 20px;
}

.header__nav :hover {
	transform: scale(1.05);
}
.header__nav a{
	transition: all 0.5s;
}

.header__logo__min{
	height: 77px;
	width: 198px;
	margin-top: -20px;
}
/* Header end */

.main {
	height: 100%;
}

.bg__hide {
    background-image: url(img/bg_hide.png);
    height: 590px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 800px;
    bottom: -1px;
    z-index: 0;
    pointer-events: none;
}
.hider {
	background-image: url("img/bg_hide.png");
	
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

/* Section 1 start */
.bg_video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: -100;
/*	background-size: cover;*/
	background-position: center;

}
.section {
	padding: 50px 0;
	background-size: cover;
	min-height: 100vh;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
}
.container {
	max-width: 1520px;
	margin: 0 auto;
	position: relative;
}
.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 860px;
	margin-left: 80px;
	position: relative;
	z-index: 1;
}
.content__logo {
	width: 100%;
	height: 600px;
	margin-left: 45px;
	background-image: url("img/logo.png");
	transition: all 0.5s;
}

.content__logo:hover{
	transform: scale(1.05);
	filter: brightness(120%);
}

.content__button {
	width: 100%;
	height: 220px;
	cursor: pointer;
	position: relative;
  text-align: center;
	transition: all 0.5s;
}
.content__button p {
	position: absolute;
	padding-left: 300px;
	padding-top: 95px;
	color:white;
	font-size: 38px;
}
.content__button:hover {
	transform: scale(1.05);
	filter: brightness(120%);
}
.content__welcome {
	
}
.cont__h1 {
	font-size: 28px;
	color: #995e50;
	margin: 30px;
}
.cont__text {
	font-size: 24px;
	color: #995e50;
	margin: 30px;
}
/* Section 1 end */

.about__server {
	background-image: url("img/body1_bg.jpg");
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.container {
}
.about {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 150px;
}
.about__h2 {
	color: #c76688;
	font-size: 36px;
}
.slider {
	display: flex;
	flex-wrap: wrap;
	padding: 2rem;
	min-height: 359px;
	margin-top: 6rem;
	align-items: center;
	justify-items: stretch;
	grid-gap: 2rem;
	justify-content: center;
}

.slide__text__wrapper {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 0 1rem; 
  z-index: 2; 
}

.slide__img {
	background-image: url("img/slide_frame.png");
	background-repeat: no-repeat;
	min-height: 376px;
	min-width: 507px;
	background-position: center;
	transition: all 0.5s;
}

.slide__box1 {
	background-image: url("img/1.png");
	background-repeat: no-repeat;
	min-height: 376px;
	background-position: center;
	position: relative;
  text-align: center;
	transition: all 0.5s;
}
.slide__box1:hover{
	transform: scale(1.05);
}
.slide__box2 {
	background-image: url("img/2.png");
	background-repeat: no-repeat;
	min-height: 376px;
	background-position: center;
	position: relative;
    text-align: center;
		transition: all 0.5s;
}
.slide__box2:hover{
	transform: scale(1.05);
}
.slide__box3 {
	background-image: url("img/3.png");
	background-repeat: no-repeat;
	min-height: 376px;
	background-position: center;
	position: relative;
    text-align: center;
		transition: all 0.5s;
}
.slide__box3:hover{
	transform: scale(1.05);
}

.slide__text__h1{
    margin: 0.5rem 0;
    color: #c76688;
    font-weight: 600;
		font-size: 28px;
    text-shadow: 0 0 3px #ffd691;
}
.slide__text{
    color: #995e50;
    font-weight: 500;
    text-shadow: 0 0 3px #ffffff;
    margin: 0;
}

.slide__img:hover{
	transform: scale(1.05);
	filter: brightness(120%);
}

.about__btn{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6rem;
	padding-bottom: 6rem;
}
.about__button{
	display: flex;
	cursor: pointer;
	justify-content: center;
	align-items: center;
	transition: all 0.5s;
}
.about__button p{
	position: absolute;
	text-align: center;
	color:white;
	font-size: 38px;
}
.about__button:hover{
	transform: scale(1.05);
	filter: brightness(120%);
}

.footer {
	position: relative;
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("img/footer_bg.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 50px;
	padding-top: 60px;
	z-index: 100;
}
.footer__logo{
	
}
.content__footer {
	padding: 20px;
}
.cont__h1-f {
	font-size: 18px;
	color: #995e50;
}
.cont__text-f {
	font-size: 18px;
	color: #c0a193;
}
.footer__nav {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.footer__block-link {
	display: flex;
	flex-direction: column;
	row-gap: 1.1rem;
}
.footer__block-link a{
	color: #995e50;
	padding-right: 2rem;
	font-size: 22px;
}
.footer__block-link a:hover{
	color: #c69488;
}


.leaf {
      position: fixed;
      top: -100px;
      width: 40px;
      height: auto;
      pointer-events: none;
      opacity: 1;
      will-change: transform, opacity;
    }

@keyframes fall {
      0% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
      }
      100% {
        transform: translateX(var(--sway)) translateY(110vh) rotate(var(--rotation));
        opacity: 0;
      }
    }

.leaf-container {
    position: fixed; /* Фиксированное положение, чтобы листья всегда были видны */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Чтобы контейнер не блокировал клики */
}

/* для адаптации под мобильные устройства */
		@media (max-width: 1024px) {
			.header__nav {
				gap: 40px;
				flex-wrap: wrap;
				justify-content: center;
			}
			.content__button p {
				padding-left: 300px;
				padding-top: 96px;
				font-size: 38px;
			}
		}

		@media (max-width: 768px) {
			.header {
				background-color: #8b85ab;
				opacity: 100;
				padding-bottom: 20px;
				background-image: none;
				justify-content: flex-start;
			}
			.wrapp {
				flex-direction: column;
				align-items: center;
				gap: 5px;
			}
			.header__nav {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
		background-color: #8b85ab;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
    z-index: 150;
  }

	 .header__nav.active {
    display: flex;
  }

			.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 200;
    margin-top: 28px;
  }

  .burger span {
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  .wrapp {
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }

			.main {
				height: 100%;
				width: 768px;
			}
			.bg__hide {
				background-image: none;
			}
			.bg_video {
				width: 768px;
				top: 80px;
			}
			.section {
				padding: 180px 0;
			}

			.container {
				max-width: 768px;
			}
			.content {
				gap: 40px;
    		max-width: 800px;
    	 margin-left: 0px;
			}
			.header__logo__min {
				margin-top: 0;
				height: auto;
			}
			.content__logo {
				height: 400px;
				margin-left: 35px;
				background-size: contain;
				background-position: center;
				background-repeat: no-repeat;
			}

			.content__button {
				height: 150px;
        display: flex
;
        cursor: pointer;
        justify-content: center;
        align-items: center;
			}

			.content__button p {
				padding-left: 520px;
				margin-left: 115px;
				text-align: center;
				transform: translateX(-50%);
				padding-top: 25px;
				font-size: 24px;
			}
			.content__welcome {
				padding: 30px;
    		text-align: center;
			}
			.cont__text, .cont__h1 {
				font-size: 26px;
				text-align: center;
			}
			.container {
				max-width: 768px;
    	margin: 0 auto;
    	position: relative;
			}
			.about {
				padding-top: 120px;
			}
			.about__h2 {
				font-size: 28px;
				text-align: center;
			}
			.slider {
				flex-direction: column;
				gap: 2rem;
				margin: 0;
    		margin-top: 0;
			}
			.slide__img, .slide__box1, .slide__box2, .slide__box3 {
				min-width: auto;
				width: 100%;
				background-size: contain;
				min-height: 600px;
			}
			.about__button p {
				font-size: 24px;
			}
			.footer {
				padding: 20px;
				width: 768px;
			}
			.footer__nav {
				flex-direction: column;
				align-items: center;
				gap: 2rem;
			}

		.footer__block-link {
			flex-direction: row;
		}
			.footer__block-link a {
				font-size: 20px;
			}
			.cont__text-f, .cont__h1-f {
				text-align: center;
			}
		}

		@media (max-width: 480px) {
			a {
				font-size: 28px;
			}
			.content__button {
				height: 150px;
			}
			.content__button p {
			
				font-size: 32px;
			}
			.cont__text, .cont__h1 {
				font-size: 26px;
			}
			.about__button p {
				font-size: 20px;
			}
			.footer {
				padding: 20px;
			}
		}