html,
body {
    height: 100%;
    width: 100%;
}

body {
    color: #1c1c1b;
    font-family: 'Montserrat';
}

.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

section {
    border-bottom: 1px solid #e0e6eb;
    padding-top: 50px;
    padding-bottom: 50px;
}

h1 {
    text-align: center;
    font-size: 36px;
    width: 100%;
    margin-bottom: 50px;
    font-weight: 300;
    font-family: 'Open Sans';
}

footer {
    min-height: 56.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #76a1a6;
}

footer p {
    margin-bottom: 0;
    color: #FFF;
}

a {
    text-decoration: none;
    color: #FFF;
    transition: 0.3s;
}

a:hover {
    color: #ffc2b1;
    transition: 0.3s;
}

.header-line p {
    margin-bottom: 0;
}

i {
    margin-right: 10px;
}

.header-line {
    padding-bottom: 15px;
    padding-top: 15px;
    background-color: #76a1a6;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e6eb;
}

.header-block img {
    max-height: 60px;
}

.header-line .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header-block {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-block p {
    color: #1c1c1b !important;
    font-size: 20px;
    transition: 0.3s;
    margin-bottom: 0;
}

.header-block a {
    text-decoration: none;
    color: #1c1c1b !important;
    font-size: 20px;
    transition: 0.3s;
}

.header-block a:hover {
    color: rgb(172, 154, 0) !important;
    transition: 0.3s;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

.bckgrnd {
    z-index: 100;
    min-height: 100vh;
    width: 100%;
    background: url(assets/horse.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}


.services-block {
    border: 1px solid #e0e6eb;
    margin: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px !important;
    border-radius: 5px;
}

.services-img {
    display: flex;
    justify-content: center;
}

.services-img img {
    max-height: 170px;
    object-fit: cover;
    width: 100%;
}

.services-block-bottom {
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services-text {
    text-align: justify;
}

.services-block p {
    margin-bottom: 0;
}

.services-heading {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-heading p {
    text-align: center;
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.services-price {
    margin-top: 20px;
    color: #ff8562;
}

.center {
    display: flex;
    justify-content: center;
}

.nav-item {
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-item a:hover {
    color: #76a1a6 !important;
}

::-webkit-scrollbar {
	width: 20px;
}

::-webkit-scrollbar-track {
	background: #ae9d72;
	background-image: url("https://www.transparenttextures.com/patterns/black-paper.png");
}

::-webkit-scrollbar-thumb {
	background: #ae9d72;
}

::-webkit-scrollbar-thumb:hover {
	background: #8bba98;
}

.background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("https://picsum.photos/id/112/3840/2160");
	background-size: cover;
	background-position: center top;
	z-index: -1;
	filter: blur(10px);
}

.content-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	filter: drop-shadow(5px 5px 25px #a7a7a7);
}

.content {
	position: relative;
	top: 10px;
	background: url("https://i.imgur.com/0kjMcUe.png");
	background-size: 1000px;
	background-position: center right;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
    width: 100%;
	height: auto;
	padding: 30px 80px 50px 80px;
	z-index: 1;
	filter: brightness(0.95) sepia(30%) saturate(80%);
	overflow: auto;
}


@media screen and (max-width: 560px) {
	.content {
		padding: 30px 30px 50px 30px;
		width: 80%;
	}
}

#history h1 {
	font-family: "Yellowtail", cursive;
	font-size: 50px;
	margin: 0;
	font-weight: 1;
	color: #26231e;
	mix-blend-mode: color-burn;
    text-align: center;
    margin-bottom: 40px;
}

@media screen and (max-width: 1071px) {
	#history h1 {
		font-size: 60pt;
	}
}

@media screen and (max-width: 756px) {
	#history h1 {
		font-size: 46pt;
		line-height: 46pt;
		padding: 20px 0px;
	}
}

@media screen and (max-width: 370px) {
	#history h1 {
		font-size: 40pt;
	}
}

hr {
	width: 80%;
	opacity: 0.7;
	margin-top: 20px;
	margin-bottom: -60px;
	border-radius: 50px;
	padding: 40px;
}

#history h2 {
	font-size: 30pt;
	font-weight: 300;
	color: #35312b;
	text-shadow: 0.3px 0.3px 2px Sienna;
}

#history h3 {
	text-decoration: 1px dashed underline #888;
	letter-spacing: 2px;
	font-size: 20pt;
	font-weight: 300;
	font-style: italic;
	color: #35312b;
	margin-bottom: 40px;
	text-shadow: 0.6px 0.6px 1px Sienna;
}

@media screen and (max-width: 700px) {
	#history h3 {
		margin-bottom: 70px;
	}
}

#history p {
	font-size: 16pt;
	font-weight: 400;
	line-height: 28pt;
	color: #565046;
	letter-spacing: 0.5px;
	word-spacing: 3px;
	text-shadow: 0.2px 0.2px 1.3px Sienna;
}


#history p span {
	font-family: "Sassy Frass", cursive;
	font-size: 600%;
	font-weight: 1;
	opacity: 0.8;
}

@media screen and (max-width: 600px) {
	#history p {
		font-size: 14pt;
	}
}

.history-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-top: 1px solid #cfcfcf;
}

.history-block-img {
    max-height: 350px;
    margin-right: 40px;
    box-shadow: 4px 4px 20px 0px #575757;;
}

.history-block-text {
    font-size: 20px;
    padding: 30px;
    margin-bottom: 0;
}

.history-block-text-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#history-next {
    border-top: 1px solid #e0e6eb;
    border-bottom: 1px solid #e0e6eb;
    background-color: rgb(240, 240, 240);
}

#services h1, h5 {
    text-align: center;
    font-weight: 300;
    margin-bottom: 20px;
}

#services h5 {
    width: 70%;
}

.services-heading {
    display: flex;
    flex-direction: column;
}

.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .swiper-button-next, .swiper-button-prev {
    color: #FFF !important;
  }

  #reviews .swiper {
    max-width: 80vw;
    height: 500px;
  }

  #reviews .swiper-slide{
    background: #76a1a6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    flex-direction: row;
  }

  #reviews .swiper-slide img {
    flex-basis: 30%;
    border-right: 10px solid #FFF;
    min-height: 350px;
  }

  #reviews .swiper-slide p {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 400;
  }

  .swiper-slide-text {
    flex-basis: 70%;
    text-align: start;
    padding: 3%;
  }

  .swiper-pagination-bullet-active {
    background: #FFF !important;
  }

.map {
    border: 1px solid #e0e6eb;
}

.contacts a {
    color: #1c1c1b !important;
    margin-bottom: 20px;
    font-size: 16px;
    transition: 0.3s;
}

.contacts a:hover {
    transition: 0.3s;
    color: rgb(172, 154, 0) !important;
}

.contacts {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.contacts p {
    margin-bottom: 20px;
    font-size: 16px;
}

@media screen and (max-width: 991px) {
    section {
        padding-top: 25px;
        padding-bottom: 25px;
    }

	.header-line .container {
        flex-direction: column;
        align-items: start;
    }

    .header-line a {
        margin-bottom: 10px;
    }

    .navbar-toggler {
        font-size: 2rem;
    }

    .header-block img {
        display: none;
    }

    .header-block {
        justify-content: center;
        padding: 0;
        align-items: center;
    }

    .navbar {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .navbar-toggler-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggler-icon i {
        margin-right: 0;
    }

    #services h5 {
        width: 100%;
    }

    .content {
        width: 100%;
        padding: 5px;
    }

    .history-block {
        flex-direction: column;
        justify-content: center;
    }

    .history-block-img {
        margin-right: 0;
    }

    .history-block-text {
        padding: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }



    #reviews .swiper {
        max-width: 90%;
        height: 100vh;
        border-radius: 0;
    }

    #reviews .swiper-slide {
        flex-direction: column;
    }

    #contacts .col-lg-3, .col-lg-6 {
        margin-bottom: 20px;
    }

    #contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #reviews .swiper-slide img {
        border-right: 0;
    }

    #reviews .swiper-slide p {
        font-size: 14px;
    }

    .history-block {
        padding-top: 35px;
    }

    h1 {
        margin-bottom: 25px;
        font-size: 30px;
    }

    .links-adr, .links-vk {
        display: none;
    }

    .links-phone {
        margin-bottom: 0 !important;
    }

    .header-line .container {
        align-items: center;
    }

    .nav-link {
        margin-top: 3px;
        margin-bottom: 3px;
    }

    .navbar {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.element-animation {
    opacity: 0;
    transform: translateY(0%);
  }
  
  .element-animation.element-show {
    opacity: 1;
    transition: all 1.25s;
    transform: translateY(0%);
  }

img, h1 {
    -moz-user-select: -moz-none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}