@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

.swiper {
  max-width: 800px;
  overflow-x: hidden;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-button-next, .swiper-button-prev {
    color: rgba(0,0,0,0.5) !important;
        border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 25px !important;
 
}

.swiper-pagination-bullet-active {
    background: rgba(0,0,0,0.5) !important;
}

a {
    color:#000000;
    text-decoration: none;
}

p, ul, img {
    margin: 0;
    padding: 0;
}

img {
    display: block;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    overflow-anchor: none;
    overflow-y: scroll;
    
}
/* 
html {
    scroll-behavior: smooth;
} */

ul {
    list-style: none;
    padding: 0;
    margin: 0; 
}

img {
    display: block;
}
body::-webkit-scrollbar {
    width: 6px;               /* ширина scrollbar */
  }
  body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);        /* цвет дорожки */
  }
  body::-webkit-scrollbar-thumb {
    background-color: black;    /* цвет плашки */
    border-radius: 0;       /* закругления плашки */
    border: none;  /* padding вокруг плашки */
  }
.container__404 {
    width: 100%;
    height: calc(100vh - 90px);
    display: flex;
    justify-content: center;
    align-items: center;
}


.html-404 {
    font-size: 44px;
    margin-right: 20px;
}

.page-not-found {
    font-size: 44px;
}


.btn {
    padding: 15px 25px;
    background-color: #000000;
    font-size: 14px;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 830px;
    margin: 0 auto;
    padding: 0 15px;
}



.intro { 
    background-color: #fff;
    height: 100vh;
}
.header { 
    background-color: #fff;
    width: 100%; 
    z-index: 5;
    position: fixed; 
    top: 0;
    
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}

.header__shadow {
    box-shadow: 0 1px 5px rgba(0,0,0,0.1)
}

.header__container {
    width: 100%;
    padding: 11px 15px;
}

.header__logo { 
    display: block;
    font-size: 36px;
    font-weight: 900;
    max-width: 499px;
    margin: 0 auto;
    text-align: center; 
    cursor: pointer;
    line-height: 34px;
    margin-bottom: 12px;
}

/* .header::after {
    content: "";
    position: absolute;
    width: 100%;
    bottom: 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    height: 100%;
    pointer-events: none;
} */

.header__logo--small-screen {
    font-size: 36px;
    font-weight: 900;
    max-width: 499px;
    margin: 0 auto;
    text-align: center;
    height: 40px;
}

.header__logo:hover .header__word--architectural {
    width: 240px;
}
.header__logo:hover .header__word--bureau {
    width: 123.27px;
}

.header__word--architectural {
    width: 0;
}

.header__word--bureau {
    width: 0;
}

.header__word--architectural,
.header__word--bureau,
.header__letter--a,
.header__letter--b,
.header__word--eta { 
    overflow: hidden;
    display: inline-block;
    position: relative;
}

.header__word--architectural,
.header__word--bureau { 
    transition: width 1s  ;
}



.width_100 {
    width:  100%;
}

.header__navigation {
    font-size: 14px;
    opacity: 0;
    height: 18px;
}
 
.header__navigation--with-appointments {
    height: 38px;
}

.burger { 
    
    position: absolute;
    left: 15px;
    
    z-index: 4;
}


.sidebar ,
.search__sidebar,
.filter-sidebar { 
    transition: all .2s ease-in-out;
    opacity: 0;
    position: fixed;
    font-size: 14px;
    color: #969696;
    text-transform: uppercase; 
    z-index: 3;
    height: 100vh;
    padding-left: 15px;
    padding-right: 15px;
    background: #fff;
    width: 200px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}


.sidebar {
    left: -200px;
    padding-top: 10px;
}

.search__sidebar { 
    z-index: 5;
    right: -200px;
    padding-top: 10px;
}

.filter-sidebar { 
    right: -200px;
    padding-top: 20px;
    top: 0;
}

.header__search-img {
    width: 15px;
}

.sidebar__list,
.search__matches  {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.search__match {
    cursor: pointer;
}
 
.sidebar__item {
    cursor: pointer;
}

.sidebar__item a {
    color: #969696;
}

.show_sidebar {
    opacity: 1;
    display: block;
    left: 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.show_filter_bar {
    opacity: 1;
    display: block;
    right: 0;
}

.show_search_sidebar {
    opacity: 1;
    display: block;
    right: 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}
 

#nav-icon4 {
    width: 30px;
    height: 18px;
    position: relative; 
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
  }
  
#nav-icon4 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000000; 
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
  }

#nav-icon4 span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
  top: 6px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
  top: 12px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}


#nav-icon4.open {
    height: 37px;
}

#nav-icon4.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg); 
}

#nav-icon4.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 21.5px; 
}

.filter-bar {
    display: none;
    position: absolute;
    right: 15px;
    top: 21px;
    z-index: 4;
}

#filter-bar-icon {
    width: 30px;
    height: 18px;
    position: relative; 
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
  }
  
#filter-bar-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000000; 
    opacity: 1;
    right: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all .1 ease-in-out;
    -moz-transition: all .1 ease-in-out;
    -o-transition: all .1 ease-in-out;
    transition: all .1s ease-in-out;
  }

#filter-bar-icon span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  width: 100%;
}

#filter-bar-icon span:nth-child(2) {
  top: 6px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  width: 70%;
}

#filter-bar-icon span:nth-child(3) {
  top: 12px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  width: 40%;
}

#filter-bar-icon.open span{
    width: 15%;
}

#filter-bar-icon.open span:nth-child(1) {

}

#filter-bar-icon.open span:nth-child(2) {

}

#filter-bar-icon.open span:nth-child(3) {

}

input:focus::placeholder {
    color: transparent;
}

.header__navigation > .navigation__links {
    font-size: 14px;
    display: flex;
    justify-content: center;
    position: absolute;
    right: 50%;
    transform: translateX(51.5%);
    cursor: pointer;
    gap: 60px;
}

.filter-sidebar .navigation__links {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 10px;
}

/* .filter-sidebar .appointments__list {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 10px;

} */


.navigation__link {

    flex-grow: 1;
}

.navigation__links,
.search__text,
.logout__text {
    font-style: 12px;
    color: #969696;
    text-transform: uppercase;
    text-decoration: none;
    
}

.category_name.navigation__link--click {
    color:#000000;
    font-weight: 500;
}

.appointments__item {
    font-weight: 200;
}

.appointments__item.navigation__link--click {
    color:#000000;
    font-weight: 500;
}

.logout__text {
    cursor: pointer;
}

.search__text {
    width: 171px;
    border: none;
    outline: none;
}

.header__search,
.header__logout {
    display: flex;
    gap: 3px; 
    position: absolute;
    right: 15px;
    cursor: pointer;
}

.filter-sidebar .header__search {
    position: static;
    margin-bottom: 31px;
}

.header__search img {
    height: 100%;
    margin: auto 0;
}

.language_select {
    position: fixed;
    bottom: 52px;
    right: 95px;
    font-size: 15px;
    display: flex;
    gap: 15px;
}

.post {
    width: 800px;
    margin: 0 auto;
    margin-top: 30px;
}

.post__name {
    font-size: 12px;
    font-weight: 700; 
}

.post__text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 11px;
    text-transform: uppercase;
}

.post__text-right {
    width: 50%;
}

.post__text-left {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 50%;
}

.post__image  {
    width: 800px;
}

.post__image  img {
    width: 100%;
}

.header__logo--small-screen {
    display: none;
}



.project__name {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    margin-top: 5px;
}

.project__location {
    line-height: 14px;
}

.project__year {
    margin-bottom: 5px;
}

.project__year, .project__square {
    line-height: 14px;
}

.project__image {
    padding-top: 0.5px;
    padding-bottom: 0.5px;
}

.project__image-caption {
    font-size: 14px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.project__paragraph {
    font-size: 16px;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.project__info {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 7px;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-top: 20px;
    text-transform: uppercase;
}

.project__info--left {
    width: 50%;
}

.project__info--right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    width: 50%;
}

#main {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
 
.appointments__list {
    height: 20px;
    display: flex;
    font-size: 11px;
    text-transform: uppercase;
    justify-content: center;
    margin-top: 7px; 
    gap: 20px;
    color: #969696;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}  

.footer__inner {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
    font-size: 14px;
    color: #969696;
}

.social__header,
.email__header,
.phone__header {
    text-transform: uppercase;
    margin-bottom: 30px;
} 

.socail__name {
    text-decoration: underline;
}

.social__item a {
    display: flex;
    gap: 5px;
    align-items: end;
}

.social__img {
    width: 14px;
}

.social__list {
    display: flex; 
    gap: 25px;
}
/* .fancybox__container {
    background-color: rgba(0,0,0,0);
} */

.hide {
    display: none !important;
}


@media screen and (max-width: 1224px) {
    .language_select {
        text-transform: none;
        position: fixed;
         
        right: 95px;
    }
}

@media screen and (max-width: 1024px) {
    .header__navigation > .navigation__links,
    .header__navigation > .header__search  {
        display: none;
    }
    .appointments__list  {
        height: auto;
        position: static;
        transform: none;
        flex-direction: column;
        padding-left: 10px;
        border-left: 1px solid;
        gap: 10px;
        font-size: 14px;
    } 
    .filter-bar {
        display: block;
    }
    .burger {
        top: 21px;
    }
    .post {
        width: 100%;
    }
    .post__image {
        width: 100%;
    }
    .header__logo {
        margin-bottom: 0;
    }
    .header__navigation {
        height: 0;
    }

}

@media (max-width: 720px) {
    .header__word--architectural {
        width: 0;
    }
    .filter-bar {
        display: block;
    }
    .header__word--bureau {
        width: 0;
    }
    .burger {
        top: 21px;
    }
    .header__logo {
        margin-bottom: 0;
        width: 136px;
    }
    .header__logo:hover .header__word--architectural {
        width: 0;
    }
    .header__logo:hover .header__word--bureau {
        width: 0;
    }
    .footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .social__header, .email__header, .phone__header {
        margin-bottom: 7px;
    }
}

@media (max-width: 375px) {
    .project__info {
        flex-direction: column;
    }
    .project__info--left {
        width: 100%;
    }
    .project__info--right {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
    }
 
}

