/*@import url("reset.css");*/
/*@import url("normalize.css");*/
/* подключаем шрифт */
@font-face {
    font-family: Vezitsa;
    src: url(ofont.ru_vezitsa.ttf);
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*transition: 0.5s;*/
}



a {
    text-decoration: none;
    color: inherit;
}

ol,
ul,
li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}


body {
    font-family: PT Sans;
    font-size: 14px;
    font-weight: 400;
	background-color: #FFFFFF;
}



/* HEADER */

.header {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 14px 0 80px 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
}



.background-video,
.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: top;
    z-index: -1;
}



.container {
    max-width: 865px;
    height: 100%;
    padding: 0 10px;
    margin: 0 auto;
    z-index: 1;
}

.header__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.header__top {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.header__name {
    width: 211px;
}

.header__name p {
    width: 139px;
    font-weight: 700;
}

.header__menu {
    width: 633px;
    display: flex;
    justify-content: space-between;
}

.menu__list {
    width: 422px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 0;
}

.menu__item {
    width: 211px;
}

.menu__contacts {
    width: 211px;
    text-align: right;
}

.menu__number {
    font-weight: 700;
}

.header__text {
    max-width: 699px;
    font-size: 40px;
    font-family: Vezitsa;
}



.burger-menu {
    margin-top: 5px;
    background-color: transparent;
    display: none;
    position: relative;
    width: 30px;
    height: 19px;
    border: none;
}

.burger-menu__line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    left: 0;
    top: 9px;
}


/* Main */

/* block-1 */

.title {
    font-size: 34px;
    font-family: Vezitsa;
    padding: 65px 0 35px 0;
}

.letter-red {
	color: #CE0000;
}

.main__services-kinds {
   /* padding-top: 35px;*/
    display: flex;
    flex-wrap: wrap;
}

.main__servic{
    width: 422px;
}

.main__servic p {
    max-width: 322px;
}

.main__servic p:not(:last-child) {
    padding-bottom: 10px;
}

.hr {
    max-width: 100%;
    height: 1px;
    background-color: #E0CEC2;
    margin: 65px 50px 0 50px;
}

/* block-2 */

.main__schedule-date{
    display: flex;
    /*padding-top: 45px;*/
}

.main__schedule-date ol {
    width: 211px;
}

.main__schedule-date ol li:not(:last-child) {
    padding-bottom: 22px;
}

.main__schedule-type {
    font-style: italic;
}

.main__schedule-time {
    font-weight: 700;
}

/* block-3 */

.main__adres {
   /* padding-top: 35px;*/
}



.main__number {
    padding-top: 25px;
    font-size: 34px;
    font-family: Vezitsa;
}

/* page-3 */

.header-page {
    height: 275px;
    padding: 14px 0 0 0;
}


.video-page,
.img-page {
    height: 275px;
    object-position: center;
}


.header__text-page {
    display: none;
}

.main__book-content {
    max-width: 632px;
}

.main__book-text {
    overflow: auto;
    /*margin-top: 35px;*/
}


.main__book-text p:not(:last-child) {
    margin-bottom: 20px;
}



/* Footer */

.footer__text {
    padding: 65px 0;
}

.position {
    position: fixed;
}

.none {
    display: none;
}


/* адаптив под планшет */

@media(max-width:865px) {
	

	
	
    .header__top {
        justify-content: start;
    }

    .header__name,
    .menu__contacts,
    .main__schedule-date ol,
    .menu__item {
        width: 196px;
    }
    
    .header__menu {
        width: 588px;
        justify-content: start;
    }

    .header__text {
        max-width: 620px;
        font-size: 37px;
    }

    .main__servic,
    .menu__list{
        width: 392px;
    }
	


	
}

@media(max-width:805px) {
	

	
    .header__top {
        justify-content: start;
    }

    .header__name,
    .menu__contacts,
    .main__schedule-date ol,
    .menu__item {
        width: 176px;
    }

    .menu__adres {
        font-size: 13px;
    }
    
    .header__menu {
        width: 528px;
        justify-content: start;
    }

    .header__text {
        max-width: 620px;
        font-size: 37px;
    }

    .main__servic,
    .menu__list{
        width: 352px;
    }
	
	



}

@media(max-width:725px) {
	
	
	
	
    .container {
        padding: 0px 20px;
    }

    .header__name,
    .menu__contacts,
    .main__schedule-date ol,
    .menu__item {
        width: 156px;
    }
    
    .header__menu {
        width: 468px;
    }

    .header__text {
        max-width: 580px;
        font-size: 32px;
    }

    .menu__list {
        width: 528px;
        grid-template-columns: repeat(3, 1fr);
    }
    

    .main__servic {
        width: 312px;
    }

    .menu__contacts {
        display: none;
    }
	
	

	
}

@media(max-width:665px) {
	
	
    .header__name,
    .menu__contacts,
    .main__schedule-date ol,
    .menu__item {
        width: 176px;
    }

    .header__menu {
        width: 352px;
    }

    .header__text {
        max-width: 500px;
        font-size: 28px;
    }

    .main__servic{
        width: 330px;
    }

    .main__servic:not(:last-child) {
        margin-bottom: 35px;
    }

    .main__servic p {
        max-width: 330px;
    }
    
    .menu__list {
        width: 528px;
        grid-template-columns: repeat(2, 1fr);
    }
	
	

	
}


/* адаптив под мобилок */

@media(max-width: 465px) {

	
	body {
    font-size: 16px;
    }

	
	.header {
        padding: 45px 0 100px 0
    }

    .background-video,
    .background-img {
        object-position: calc(50% + 160px) center; /* Сдвигаем изображение вправо */
    }

    .img-page,
    .video-page {
        object-position: center;
    }

    .container {
        width: 100%;
        padding: 0 40px 0 38px;
    }

    .header__top {
        justify-content: space-between;
    }

    .header__menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        padding: 123px 20px 54px 20px;
        background-color: #FFFFFF;
        color: #000000;
        z-index: 2;
    }

    .menu__contacts {
      height: 49px;
        display: block;
        text-align: left;
        position: absolute;
        bottom: 95px;
    }
    
    .burger-menu {
        display: block;
        z-index: 3;
        cursor: pointer;
    }

    .burger-menu.active {
        position: fixed;
        right: 20px;
    }

    .header__menu.active {
        position: fixed;
        transform: translateX(-100%);
    }

    .header__menu .menu__list{
        font-weight: 700;
        display: block;
    }

    .header__menu .menu__link {
        display: block;
        padding: 10px 0;
    }

    .menu__contacts{
        text-align: left;
    }

    .menu__contacts p:not(:last-child) {
        padding-bottom: 15px;
        line-height: 0;
    }

    .burger-menu.active .burger-menu__line {
        background-color: #000000;
    }

    .burger-menu__line:nth-child(1) {
        transform: translateY(9px)
    }

    .burger-menu__line:nth-child(3) {
        transform: translateY(-9px);
    }

    .burger-menu.active .burger-menu__line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-menu__line:nth-child(1) {
        transform: translateY(0px) rotate(45deg);
    }

    .burger-menu.active .burger-menu__line:nth-child(3) {
        transform: translateY(0px) rotate(-45deg);
    }

    .header__text {
        max-width: 355px;
        font-size: 26px;
    }

    .title {
        padding: 45px 0 25px 0;
    }

    .main__services-title {
        width: 176px;
    }

    .main__servic:not(:last-child) {
        margin-bottom: 35px;
    }

    .main__servic p {
        max-width: 330px;
    }

    .hr {
        margin: 65px 20px 25px 20px;
    }

    .main__schedule-date ol:nth-child(1) {
        max-width: 90px;
        margin-right: 10px;

    }
    
    .main__schedule-date ol:nth-child(2) {
        max-width: 140px;
        margin-right: 10px;

    }

    .main__schedule-date ol:nth-child(3) {
        max-width: 100px;

    }

    .footer__text {
        padding: 45px 0;
    }

    .display-none {
        display: none;
    }
    
    main.display-none {
        display: none;
    }
	
	
	
    
}

@media(max-width: 465px) {
    .container {
        padding: 0 20px 0 18px;
    }
}



@media only screen and (max-width: 850px) and (orientation:landscape) {

  body {
    /* -webkit-text-size-adjust: none;*/
	-webkit-text-size-adjust: 100%;
  }

}

