/* МОБІЛЬНЕ МЕНЮ */
/* Main menu positionning */
.main-nav {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    text-align: center;
    background: #343434;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transition: all .375s;
}

.main-nav.is-open {
    opacity: 1;
    z-index: 100;
    visibility: visible;
}

/* Yellow band effect */
.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -15px;
    background: #50735F;
    transform-origin: 0 0;
	transform: skew(-14deg) translateX(-120%);
    transition: all .275s .1s;
}

.main-nav.is-open::before {
    transform: skew(-14deg) translateX(0);
}

/* Skewing effect on menu links */
.main-nav ul {
    display: inline-flex;
    flex-direction: column;
    height: 93%; /* Should be 100%, but we have a notice message :D */
    align-items: flex-end;
    justify-content: center;
    transform: translateX(-18%) skew(-16deg);
}

.main-nav li {
    display: block;
    margin: .5rem 0;
    text-align: right;
    transform: skew(16deg);
}

/* Apparition effect on links */
.main-nav a {
    opacity: 0;
    transform: translateY(-10px);
}

.main-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
}
.main-nav li:nth-child(1) a {
	transition: all 275ms 175ms
}
.main-nav li:nth-child(2) a {
	transition: all 275ms 225ms
}
.main-nav li:nth-child(3) a {
	transition: all 275ms 275ms
}
.main-nav li:nth-child(4) a {
	transition: all 275ms 325ms
}
.main-nav li:nth-child(5) a {
	transition: all 275ms 375ms
}


/* Decoration */
.main-nav ul,
.main-nav li {
	list-style: none;
	padding: 0;
}
.main-nav a {
    display: block;
    padding: 12px 0;
    color: #fffeff;
    font-size: 1.4em;
    text-decoration: none;
    font-weight: bold;
}

/* Burger Style: @see: https://codepen.io/CreativeJuiz/full/oMZNXy */
.open-main-nav {
	position: absolute;
	top: 75px;
	padding-top: 20px;
	right: 15px;
	z-index: 1000;
	background: none;
	border: 0;
	cursor: pointer;
}
.open-main-nav:focus {
	outline: none;
}
.burger {
    position: relative;
    display: block;
    width: 28px;
    height: 4px;
    margin: 0 auto;
    background: #ffffff;
    transform: skew(5deg);
    transition: all .275s;
}

.burger:after,
.burger:before {
	content: '';
    display: block;
    height: 100%;
    background: #ffffff;
    transition: all .275s;
}

.burger:after {
	transform: translateY(-12px) translateX(-2px) skew(-20deg);
}

.burger:before {
	transform: translateY(-16px) skew(-10deg);
}

/* Toggle State part */
.is-open .burger {
	transform: skew(5deg) translateY(-8px) rotate(-45deg);
}

.is-open .burger:before {
	transform: translateY(0px) skew(-10deg) rotate(75deg);
}

.is-open .burger:after {
	transform: translateY(-12px) translateX(10px) skew(-20deg);
    opacity: 0;
}

/* MENU Text part */

.burger-text {
    display: block;
    font-size: .675rem;
    letter-spacing: .05em;
    margin-top: .5em;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
}


/* Slow motion button */
[id="slowmo"] {
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 10px;
	border: 0;
	font-size: 1rem;
	background: #FEDC2A;
	color: #5A3B5D;
	font-weight: bold;
	cursor: pointer;
	transition: all .275s;
}

[id="slowmo"] span {
	display: block;
	font-weight: normal;
}

[id="slowmo"]:hover,
[id="slowmo"]:focus {
	background: #5A3B5D;
	color: #FEDC2A;
}

[id="slowmo"].is-slowmo span:after {
	content: 'Activated';
	display: block;
	font-weight: bold;
}

/* When slowmotion is activated */

.is-slowmo + .device .open-main-nav .burger,
.is-slowmo + .device .open-main-nav .burger:before,
.is-slowmo + .device .open-main-nav .burger:after,
.is-slowmo + .device .main-nav,
.is-slowmo + .device .main-nav::before,
.is-slowmo + .device .main-nav a {
	transition-duration: 3s;
}
.is-slowmo + .device .main-nav li:nth-child(1) a {
	transition-delay: 1750ms
}
.is-slowmo + .device .main-nav li:nth-child(2) a {
	transition-delay: 2250ms
}
.is-slowmo + .device .main-nav li:nth-child(3) a {
	transition-delay: 2750ms
}
.is-slowmo + .device .main-nav li:nth-child(4) a {
	transition-delay: 3250ms
}
.is-slowmo + .device .main-nav li:nth-child(5) a {
	transition-delay: 3750ms
}

/* Notice */
.notice {
	position: absolute;
	bottom: -15px;
	left: 0; right: 0;
	padding: 20px;
	background: #F2F2F2;
	color: #5A3B5D;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	z-index: 100;
	text-align: center;
}
.notice strong {
	font-weight: 700;
}
.notice a {
	padding: 2px 3px;
	background: #FEDC2A;
	text-decoration: none;
}




/* СКРОЛ ВСЮДИ */
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #f5f5f5; 
  border-radius: 0;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #50735f; 
  border-radius: 0;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #50735f; 
}

/* СКРОЛ БЛОКУ MATCH */
/* width */
#match ::-webkit-scrollbar {
  width: 6px;
  height: 5px;
}

/* Track */
#match ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 0;
}
 
/* Handle */
#match ::-webkit-scrollbar-thumb {
  background: #50735f;
  border-radius: 0;
}

/* Handle on hover */
#match ::-webkit-scrollbar-thumb:hover {
  background: black; 
}


/* ======================================= Шрифты ================================================= */
/* @font-face {
      font-family:"Epilogue-Bold";
      src: url("../fonts/Epilogue-Bold.ttf");
}*/
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Bold.eot');
    src: local('Oswald Bold'), local('Oswald-Bold'),
        url('../fonts/Oswald-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-Bold.woff') format('woff'),
        url('../fonts/Oswald-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Regular.eot');
    src: local('Oswald Regular'), local('Oswald-Regular'),
        url('../fonts/Oswald-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-Regular.woff') format('woff'),
        url('../fonts/Oswald-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face{
	font-family: 'Northwell';
    src: url('../fonts/Bachelorette.otf');
    src: local('Bachelorette'), local('Bachelorette'),
        url('../fonts/Bachelorette.otf?#iefix') format('embedded-opentype'),
    font-weight: normal;
    font-style: normal;
}
@font-face {
      font-family:"Epilogue";
      src: url("../fonts/Epilogue-Regular.ttf");
}
/* ======================================= Обнуление ================================================= */
* { 
	box-sizing: border-box;
    padding: 0; 
    margin: 0;  
  } 
fieldset, img, abbr { 
    border: 0; 
  } 
address, caption, cite, code, dfn, em,  
h1, h2, h3, h4, h5, h6, strong, th, var { 
  font-weight: normal; 
  font-style: normal; 
  } 
ul { 
  list-style: none; 
  } 
caption, th { 
  text-align: left; 
  } 
h1, h2, h3, h4, h5, h6 { 
  font-size: 1.0em; 
  } 
q:before, q:after { 
  content: ''; 
  } 
a, ins { 
  text-decoration: none; 
  }
/* ======================================= Основные стили ================================================= */
body{
    font-family:'Epilogue', Helvetica, sans-serif;
    font-size:17px;  
    color:#50735F; 
    background-color:#F5F5F5;
}
a{
    color: #fff;
	font-size: 17px;
}
/* a:hover{             
    text-decoration: underline;
} */
p{
	line-height: 28px;
	color: #949494;
	margin: 8px 0 10px 0;
}
h4{
	font-family: 'Linotype Didot Std';
    font-size: 100px;
    line-height: 91px;
	margin: 2px 0 10px 0;
}
h1{
	font-family: 'Linotype Didot Std';
	font-style: normal;
    font-size: 56px;
    line-height: 91px;
	font-weight: bold;
	margin: 2px 0 10px 0;
}
h2{
	font-family: 'Linotype Didot Std';
	font-style: normal;
	text-align: center;
    font-size: 48px; 
    line-height: 51px; 
	margin: 2px 0 10px 0;
}
h3{
    font-size: 30px;
    line-height: 54px; 
	margin: 2px 0 10px 0;
}
/* h4{
    font-size: 24px;
    line-height: 33px; 
	margin: 2px 0 10px 0;
} */
h5{
    font-size: 17px;
    line-height: 25px; 
	margin: 2px 0 10px 0;
}
img{
	width:100%;
}

/* ======================БИБЛИОТЕКА========================== */
.width_1230{
    width: 1230px;
    margin: 0 auto; 
}
.width_100{
	width:100%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_80{
	width:80%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_66{
	width:66.66666%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_60{
	width:60%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_50{
	width:50%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_40{
	width:40%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_35{
	width:35%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_33{
	width:33.33333333%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_30{
	width:30%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_25{
	width:25%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_23{
	width:23%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_20{
	width:20%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_15{
	width:15%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_16{
	width:16.333333%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_12{
	width:12%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_8{
	width:8.666666%;
	padding:0 12px;
	box-sizing:border-box;
}
.width_5{
	width:5%;
	padding:0 12px;
	box-sizing:border-box;
}
.d_flex{
	display:flex;
	flex-wrap:wrap;
}
.d_nflex{
	display:flex;
	flex-wrap: nowrap;
}
.d_nnflex{
	display:flex;
	flex-wrap: wrap;
}
.d_flex_between{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.d_flex_between_center{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	align-items: center;
}
.d_flex_around{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-around;
}
.d_flex_around_center{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-around;
	align-items: center;
}
.d_flex_around_n{
	display:flex;
	flex-wrap:nowrap;
	justify-content:space-around;
}
.d_none{
	display:none;
}
.text_center{
	text-align: center;
}
/*=====================================СТИЛИ ГЛАВНОЙ==========================*/
.logo{
	width: 40%;
}
.fon{
	background: url(../img/5fon.png) no-repeat center center;
	margin-top: -5px;
    padding: 8px
}
.green{
	color: #50735F;
}
.orange{
	color: #C58A46;
    width: 113px;
    height: 38.06px;
    display: inline-block;
}
.dumb_font{
	font-family:'Northwell';
}
.knopka{
	background-color: #C58A46;
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    padding: 15px;
}
.shop{
	display: flex;
    align-items: center;
}
.knopka1{
	text-align: center;
    border: 2px solid #50735F;
    border-radius: 80px;
	color: #50735F;
	width: 50px;
	height: 50px;
	padding: 15px;
	
}
#treehouse span{
	text-align: center;
    border: 2px solid #50735F;
    border-radius: 80px;
	color: #50735F;
	width: 169px;
	background-color: #F5F5F5;
	padding: 12px;
	display: inline-block;
}
#preview h5 span{
	background-color: #C58A46;
    color: #FFFFFF;
    width: 169px;
    display: inline-block;
    text-align: center;
    border-radius: 50px;
    padding: 12px;
}
#collection span{
	background-color: #C58A46;
    color: #FFFFFF;
    width: 169px;
    display: inline-block;
    text-align: center;
    border-radius: 50px;
	padding: 12px;
}
#transparency span{
	background-color: #C58A46;
    color: #FFFFFF;
    width: 169px;
    display: inline-block;
    text-align: center;
    border-radius: 50px;
	padding: 12px;
}
#glavnaya{
	background-color: #50735F;
	color: #FFFFFF;
	height: 46px;
}
#glavnaya h5{
	text-align: center;
    padding: 10px 0 0 0;
}
#preview{
	background: url(../img/1fon.png) no-repeat center center;
	color: #fff;
	padding: 30px 20px;
	background-size: cover;
}
#preview .width_16{
	font-size: 20px;
}
#preview .width_30{
	margin-top: 50px;
}
#preview h1 span{
	position: relative;
    right: 60px;
}
header ul li{
	margin-right: 25px;
}
.bottom{
	margin-bottom: 5%;
	margin-top: 10%;
}
#treehouse{
	padding: 173px 21px;
}
#treehouse .width_50{
	position: relative;
}
#treehouse .width_20 h2{
	text-align: left;
}
.devochka_2{
	position: absolute;
    z-index: 30;
    bottom: -75px;
    left: 38px;
	width: 28%;
}
.leaf_2{
	position: absolute;
    z-index: 20;
    left: 169px;
	width: 59%;
}
.listik_2{
	width: 38%;
}
#treehouse .width_50 .dumb_font{
	position: relative;
    z-index: 50;
    font-size: 45px;
    bottom: -179px;
    right: 119px;
    transform: rotate(-19deg);
}
#care{
	padding: 10px 20px;
}
#care h3 span{
	font-family: cursive;
    font-size: 41px;
}
#care .width_40 h2{
	text-align: left;
    font-size: 51px;
    margin-bottom: 34px;
}
.family_3{
	width: 90%;
}
.kartinka_3 {
    position: relative;
    bottom: 572px;
    left: 471px;
    width: 20%;
}
#quality{
	padding: 100px 20px;
	position: relative;
}
#quality h3 span{
	font-family: cursive;
    font-size: 41px;
}
#quality .width_40{
	position: relative;
}
.devochka_4{
	position: absolute;
    z-index: 1;
    left: 104px;
	width: 42%;
}
.family_4{
	position: absolute;
    z-index: 2;
	left: 262px;
	width: 45%;
}
#shopping{
	padding: 50px 20px;
}
#shopping .width_10 h5{
	text-align: center;
}
#shopping .width_70{
	margin-bottom: 50px;
}
#shopping .al_center{
	text-align: center;
}
#shopping img{
	margin-bottom: 20px;
	width: 99%;
}
#shopping li a{
	padding: 10px;
}
#collection{
	padding: 20px 0;
}
#collection .width_20 {
	text-align: center;
    color: #fff;
    padding: 80px 0;
}
#collection .width_20 img{
	width: 45%;
}
#collection .width_50{
	background: url(../img/6family.png) no-repeat center center;
	background-size: cover;
}
#malchik{
	text-align: center;
	padding: 150px 20px;
}
#malchik img{
	margin-bottom: -23px;
	width: 14%;
}
#match img{
	width: 99%
}
#match h2{
	text-align: left;
}
#match .width_30{
	margin-right: 10px;
	padding: 10px 10px;
}
#transparency{
	padding: 90px 20px;
	background: url(../img/9kite.png) no-repeat center center;
	background-size: contain;
}
#transparency .width_10 h5{
	text-align: center;
}
#transparency .width_25{
	position: relative;
}
.play_9{
	position: absolute;
    bottom: 4px;
	left: 45px;
	width: 62%;
}
#transparency .t_center{
	text-align: center;
	margin-top: 40px;
}
#transparency .width_50 .dumb_font{
	position: relative;
    top: 67px;
    font-size: 56px;
    right: 57px;
    transform: rotate(-20deg);
}
#match {
  padding: 30px 20px;
  background: linear-gradient(to top, #D9C7BB 50%, #F5F5F5 50%);
}
.hover_k :hover{
	background: url(../img/9hover1.png);
	
}
.left{
	margin-left: 780px;
}
.right{
	margin-right: -10px;
}
.card {
  min-width: 100%;
  min-height: 200px;
  display: flex;
  overflow-x: auto;
}
.card--content {
  min-width: 390px;
}
.blue{
	background-color: #ADBBC4;
}
footer{
	background-color: #50735F;
	color: #FFFFFF;
	padding: 10px 20px;
}
footer .width_40 form{
	margin-bottom: 20%;
}
footer input[type='email']{
	width: 319px;
	height: 54px;
	border: 1px solid #FFFFFF;
	border-radius: 8px 0px 0px 8px;
	background-color: #50735F;
	color: #fff;
	padding: 10px;
}
.orange_button:hover{
	background-color: #9F7647;
	cursor: pointer;
	color: #fff;
}
footer .orange_button{
	background: #C58A46;
	border-radius: 0px 8px 8px 0px;
	width: 131px;
	height: 54px;
	color: #fff;
	margin-left: -4px;
	border: none;
}
footer input[type='email']::placeholder{
	color: #fff;
}
footer .m_top{
	margin-top: 30px;
}
footer .width_12 ul li {
	margin-bottom: 8px;
}
#up{
	position: fixed;
    right: 42px;
    bottom: 47px;
}
#up a{
	color: #8fc4a6;
}
#absolute{
	position: relative;
}
.listik_91{
	position: absolute;
    bottom: 239px;
    left: -20px;
	width: 8%;
}
.listik_92{
	position: absolute;
    right: -19px;
    bottom: 122px;
	width: 8%;
}
.listik_93{
    position: absolute;
    left: calc(50% - 150px);
    bottom: -10px;
    width: 300px;
}
/* =============================================knopka======================================= */

/* ======================================thanks==================================== */




/*=================================АДАПТИВКА=========================*/
@media screen and (max-width: 1024px){
	.width_1230{
		width: 100%;
	}
	footer input[type='email']{
		width: 150px;
	}
	#preview h1 span {
		position: relative;
		right: 0px;
	}
	h1 {
		font-size: 44px;
		line-height: 68px;
	}
	.devochka_2 {
		position: absolute;
		z-index: 30;
		bottom: 69px;
		left: 51px;
		width: 28%;
	}
}
@media screen and (max-width: 768px){
	footer input[type='email'] {
		width: 134px;
	}
	footer .orange_button{
		width: 94px;
	}
	h1 {
		font-size: 32px;
		line-height: 57px;
	}
	#glavnaya h5{
		font-size: 14px;
	}
	#preview h5 span{
		width: 138px;
	}
	#treehouse span{
		width: 138px;
	}
	#collection span{
		width: 138px;
	}
	#malchik h4{
		font-size: 45px;
	}
}
@media screen and (max-width: 426px){
	.d_none{
		display:block;
	}
	.m_none{
		display:none;
	}
	#glavnaya h5 {
		font-size: 9px;
		line-height: 16px;
	}
	.width_40 {
		width: 100%;
	}
	.width_35 {
		width: 100%;
	}
	.width_30 {
		width: 100%;
	}
	.width_20 {
		width: 100%;
	}
	.width_12 {
		width: 50%;
	}
	label[for="ham-menu"] {
		top: 84px;
		left: 349px;
	}
	#malchik img {
		margin-bottom: -36px;
		width: 34%;
	}
	#transparency .width_50{
		width: 95%;
	}
	#treehouse .width_50 .dumb_font {
		position: relative;
		z-index: 50;
		font-size: 28px;
		bottom: -181px;
		right: 28px;
		transform: rotate(-19deg);
	}
	#transparency .width_50 .dumb_font {
		position: relative;
		top: 51px;
		font-size: 31px;
		right: 35px;
		transform: rotate(-20deg);
	}
	.play_9 {
		position: absolute;
		bottom: -32px;
		left: 136px;
		width: 126%;
	}
	#quality{
		display: none;
	}
	.devochka_2{
		display: none;
	}
	.listik_2{
		display: none;
	}
	.leaf_2 {
		left: 89px;
		width: 81%;
		top: -135px;
	}
	.kartinka_3 {
		display: none;
	}
	#treehouse .width_50 .dumb_font {
		bottom: 32px;
		right: 0px;
	}
	.play_9 {
		display: none;
	}
	#shopping .al_center {
		line-height: 24px;
	}
	#care .width_50 {
		width: 100%;
	}
	#care .img{
		width: 100%;
	}
	#preview .width_16{
		display: none;
	}
	.listik_91{
		display: none;
	}
	.listik_92{
		display: none;
	}
	.listik_93{
		display: none;
	}
	#collection .width_20 {
		text-align: center;
		color: #fff;
		padding: 33px 0;
	}
@media screen and (max-width: 376px){
	label[for="ham-menu"] {
		top: 89px;
		left: 300px;
	}
}
@media screen and (max-width: 321px){
	label[for="ham-menu"] {
		top: 74px;
		left: 245px
	}
}