html{ font-size: 16px; overflow-x: hidden; }
body{ margin:0; font-family: "Comfortaa", sans-serif; font-size: 1rem; overflow-x: hidden; }
img{ max-width: 100%; border:0; }
input:focus, textarea:focus, select:focus{ outline:none; }
input::-moz-focus-inner, select::-moz-focus-inner{ border:0; }
input{ padding:0; margin:0; border:0; }
a{ text-decoration: underline; color: inherit; }
a:hover{ text-decoration: none; color: inherit; }
ul{ padding-left: 1rem; }
ul li{ margin-bottom: .5rem; }
ul li:last-child{ margin-bottom: 0; }

ul.unstyled{ margin: 0; padding: 0; list-style: none; }

.content{ position: relative; }
.content .container{ padding-top: 1rem; padding-bottom: 1rem; }
.container{ position: relative; max-width: 100%; }

.title{ font-size: 1.5rem; margin-bottom: 30px; }
.main-text{ padding: 1rem 0; font-size: 1rem; line-height: 1.25; margin-right: auto; width: 100%; }

.header{position: relative;}
.header a{ padding: 10px 0; display: block; background-color: #4c3e3d; text-align: center; }
.header__erid{position: absolute;top: 5px; right: 5px; font-size: 0.4rem; color: #ccc; opacity: 0.3;}

.top-picture{ min-height: 100vh; height: 100vh; background-position: center center; background-repeat: no-repeat; -webkit-background-size: cover; background-size: cover; background-attachment: fixed; overflow: hidden; }
.top-picture .top-picture_inner{ position: absolute; width: 100%; height: 100%; left: 0; top: 0; background-position: center center; background-repeat: no-repeat; -webkit-background-size: cover; background-size: cover; background-attachment: fixed; z-index: 10; }
.top-picture.big-picture{ height: 150vh; padding: 3rem 0; }
.top-picture .container{ position: relative; height: 100%; z-index: 20; padding-right: 15px; }
.picture-mobile{ display: none; }

h1{ position: relative; top: 67vh; background: rgba(255,255,255,.75); font-size: 2.8rem; margin: 0; line-height: 1.1; font-weight: normal; padding: .75rem 0 2rem; }
h1:before{ content:''; display: block; position: absolute; background: rgba(255,255,255,.75); width: 100%; left: -100%; top: 0; height: 100%; }
h1 span{ font-size: 10rem; line-height: 1; }
h2, h3{ font-size: 1.55rem; margin-bottom: 1rem; }

.photo{ display: block; height: 0; padding-bottom: 70%; background-position: center center; background-repeat: no-repeat; background-size: cover; }
.photos{ display: flex; align-items: stretch; }
.photos img{ display: block; width: 100%; height: 100%; object-fit: cover; }

@keyframes shake-left{
    0%, 80%, 100%{ transform: translateY(-50%) translateX(0); }
    85%{ transform: translateY(-50%) translateX(-5px); }
    90%{ transform: translateY(-50%) translateX(5px); }
    95%{ transform: translateY(-50%) translateX(-3px); }
}

@keyframes shake-right{
    0%, 80%, 100%{ transform: translateY(-50%) translateX(0); }
    85%{ transform: translateY(-50%) translateX(5px); }
    90%{ transform: translateY(-50%) translateX(-5px); }
    95%{ transform: translateY(-50%) translateX(3px); }
}

.glide__arrow{ background: transparent; border: none; padding: 0; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; transition: opacity 0.3s ease; width: 150px; height: 120px; }
.glide__arrow--left{  left: 10px; animation: shake-left 3s ease-in-out infinite;}
.glide__arrow--right{ right: 10px; animation: shake-right 3s ease-in-out infinite;}

/*Слайдер дат v2*/
.date-slider_2.glide{ max-width: 1100px; margin: 0 auto; }

.date-slider_2 .glide__slide{ display: flex; justify-content: center; overflow: hidden;}
.date-slider_2 .glide__slide img{ width: auto; max-width: 100%; height: 750px; object-fit: contain; margin: 0 auto; display: block; }

.date-slider_2 .glide__bullets{ display: flex; justify-content: center; align-items: flex-end; margin-bottom: 30px; }
.date-slider_2 .bullet-item{ display: flex; flex-direction: column; align-items: center; position: relative; flex: 1;  width: 150px; }
.date-slider_2 .bullet-item:after{ content: ""; position: absolute; height: 2px; background: #000000; width: 100%; left: 50%; bottom: 15px; z-index: 1; }
.date-slider_2 .bullet-item .label{ color: #676767; transition: color .2s, font-weight .2s; font-size: 18px;}
.date-slider_2 .icon-wrapper{ position: relative; z-index: 2; background: #fff; padding: 0; transition: transform .2s; }
.date-slider_2 .bullet-icon{ width: 30px; height: 30px; display: block; transition: transform .2s; }
.date-slider_2 .glide__bullet{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 3; }

.date-slider_2 .bullet-item:last-child:after{ display: none; }
.date-slider_2 .bullet-item--active .label{ font-weight: bold; color: #000; }
.date-slider_2 .bullet-item--active .icon-wrapper{ transform: scale(1.3); }
/**/

.footer{ position: relative; background-color: #4d3e3d; color: #fff; font-size: 15px; }

@media (min-width: 768px){
	.container{ padding-left: 30px; padding-right: 300px; }
	.container.bg-pattern:after{ content:''; display: block; position: absolute; height: 100%; width: 300px; top: 0; right: 0; background-repeat: repeat-y; background-position: top left; background-image: url('../img/bg-main.jpg'); background-size: 100% auto; }

	.mobile-only-arrows{ display: none; }

	.footer{ margin-top: -9px; }
	.footer .container{ padding: 18px 0 0 0; }
	.footer .container:before,
	.footer .container:after{ content:''; display: block; position: absolute; height: 100%; width: 100%; background-color: #4d3e3d; border-top: 5px solid #fff; top: 0; }
	.footer .container:before{ right: 100%; }
	.footer .container:after{ left: 100%; }
}

@media (min-width: 1200px){
	.container{ padding-left: 40px; padding-right: 350px; }
	.container.bg-pattern:after{ width: 350px; }

	h1{ max-width:80%; }
}

@media (min-width: 1450px){
	.container{ padding-left: 80px; padding-right: 380px; }
	.container.bg-pattern:after{ width: 380px; }
}

@media (min-width: 1600px){
	.container{ padding-left: 120px; padding-right: 550px; }
	.container.bg-pattern:after{ width: 550px; }

	.container{ padding-left: 100px; padding-right: 450px; }
	.container.bg-pattern:after{ width: 450px; }
}

@media (max-width: 1350px){
	.scroll-top{ margin-left: 0; left: 30px; bottom: 30px; }

	h1{ font-size: 1.8rem; }
}

@media (max-width: 1200px){
	html{ font-size: 20px; }
	.header__erid{font-size: 0.5rem;}
}

@media (max-width: 992px){
	.sub-head{ font-size: 1.7rem; }

	.date-slider_2 .glide__slide img{ width: auto; height: 600px; }
    .date-slider_2 .glide__bullets{ transform: scale(0.8); transform-origin: center; width: 125%; margin-left: -12.5%; }
	.date-slider_2 .bullet-item .label{ font-size: 14px; }

	.glide__arrow{ width: 80px; height: 80px; }
}

@media (max-width: 767px){
	html{ font-size: 18px; }

	.main-head{ font-size: 3rem; }
	.main-head span{ font-size: 7rem; }
	.h3, h3{ font-size: 1.5rem; }

	.main-text{ padding: .75rem 0; }
	.header__erid{ top: 1px; right: 2px; }

	.date-slider_2 .glide__slide img{ width: auto; height: 500px; max-width: 100%;}

	.mobile-only-arrows{ display: flex; justify-content: space-between; }
	
	.footer{ background: #4d3e3d; }
}

@media (max-width: 576px){
	html{ font-size: 16px; }

	.main-head{ font-size: 2.5rem; }
	.main-head span{ font-size: 5rem; }

	.sub-head{ padding-left: 15px; padding-right: 15px; }

	.top-picture,
	.top-picture .top-picture_inner{ background-attachment: unset; }
	.top-picture.big-picture{ height: 104vh; }
	.picture-desktop{ display: none; }
	.picture-mobile{ display: block; }

	.date-slider_2 .glide__slide img{ height: 400px; }
	.date-slider_2 .bullet-item .label{ font-size: 12px; }
	.date-slider_2 .bullet-icon{ width: 15px; height: 15px; }
	.date-slider_2 .bullet-item:after{bottom: 7.5px;}	
}

@media (max-width: 500px){
	.glide__arrow{ width: 50px; height: 40px; }
	.date-slider_2 .glide__slide img{ height: 360px; }
	.date-slider_2 .bullet-item .label{ font-size: 10px; }
}