* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

:root {
  --darkBg: #4A4A4A;
  --lightBg: #f5f5f5;
  --darkText: #6e6e6e;
  --lightText: #FDFDFD;
  --accent: #4a90e2;
}

.open-sans {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.josefin-sans {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

body {
  background: var(--lightBg);
  color: var(--darkText);
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
 
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
 
::-webkit-scrollbar-thumb {
  background-color: var(--darkBg);
}

.ajax__loader {
  display:none; 
  position:fixed; 
  top:50%; 
  left:50%;
  width: 100%;
  height: 100%;
  background: var(--lightBg);
  transform:translate(-50%, -50%); 
  z-index:1000;
}
.loader__circle {
  border: 6px solid var(--accent); 
  border-top: 6px solid var(--accent); 
  border-radius: 50%; 
  width: 60px; 
  height: 60px; 
  animation: spin 1s linear infinite; 
  margin: 0 auto;
}
.loader__percent {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-size: 40px;
  opacity: .3;
  font-family: "Josefin Sans", sans-serif;
  color: var(--accent);
}

.container {
  position: relative;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

h1,h2,h3,h4,h5,h6 {
  font-family: "Josefin Sans", sans-serif;
  line-break: 1.2;
  margin: 0 0 24px;
  color: var(--darkText);
  text-transform: uppercase;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 16px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 12px;
}
.page__title {
  font-size: 40px;
  margin-bottom: 40px;
}
.section__title {
  font-size: 32px;
  margin-bottom: 40px;
}

img {
  display: block;
}

a {
  color: var(--darkText);
}
a:hover {
  color: var(--accent);
}

p {
  margin: 0 0 8px;
}

.btn {
  position: relative;
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--darkText);
  transition: all .3s ease-in-out;
}
.btn:hover {
  color: var(--accent);
}

/*Header*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0px;
  z-index: 3;
}
header.fixed {
  background: var(--lightBg);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  position: relative;
  z-index: 3;
}
.logo img {
  width: auto;
  height: 80px;
}
.main__nav {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--lightBg);
  transform: translateY(24px);
  transition: all .3s ease-in-out;
  z-index: -1;
}
.main__nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
}
.menu-main-menu-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.main__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 80px;
  text-align: center;
}
.main__nav ul li a {
  position: relative;
  padding: 24px;
  font-size: 48px;
  line-height: 1;
  color: var(--darkText);
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  font-family: "Josefin Sans", sans-serif;
  transition: all .3s ease-in-out;
}
.main__nav ul li.current_page_item a,
.main__nav ul li a:hover {
  color: var(--accent);
}
.menu__btn {
  position: relative;
  width: 64px;
  height: 28px;
  cursor: pointer;
  z-index: 3;
  margin-left: auto;
}
.menu__btn span {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--accent);
  transition: all .3s ease-in-out;
}
.menu__btn span:nth-child(1) {

}
.menu__btn span:nth-child(2) {
  top: 24px;
}
.menu__btn.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}
.menu__btn.active span:nth-child(2) {
  transform: rotate(-45deg);
  top: 50%;
}
.main__nav-footer {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}
/*End Header*/

/*Homepage*/
.big__slider-wrapper {
  position: relative;
}
.big__slider {
  width: 100%;
  height: auto;
  position: relative;
  aspect-ratio: 16 / 9;
}
.big__slider .slick-list,
.big__slider .slick-track,
.big__slider .slick-slide {
  height: 100%;
}
.big__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  transform: translate(-50%, -50%);
  opacity: .5;
}

.page__desc-centered {
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
}
.page__desc-centered p {
  font-size: 18px;
}
.home__about {
  max-width: 730px;
  margin: 0 auto;
  padding: 40px 0 80px;
  text-transform: uppercase;
}
.home__about p {
  margin: 0;
}

.home__news {

}
.home__news-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.home__news-img {
  width: 40%;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
}
.home__news-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.home__news-info {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0;
}
.home__news-inner {
  max-width: 640px;
}
.home__news-date {
  font-size: 16px;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.home__news-title {
  font-size: 24px;
  margin-bottom: 16px;
}
.home__news-item .btn {

}

.contact {
  padding: 80px 0;
}
.contact .container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.contact__info {
  width: 100%;
  text-align: center;
}
.contact__info .section__title {
  margin-bottom: 0;
  color: var(--darkText);
}
.contact__form-open {
  font-family: "Josefin Sans", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease-in-out;
}
.contact__form-open:hover {
  color: var(--accent);
}
.contact__form-close {
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
}
.contact__form-close img {
  width: 40px;
  height: 40px;
}
.contact__form-popup {
  display: none;
 /* position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 4;*/
}
.contact__form-popup form {
  /*position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;*/
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  font-family: "Josefin Sans", sans-serif;
/*  transform: translate(-50%, -50%);*/
}
.contact__form-popup .form__item {
  width: calc(50% - 20px);
}
.contact__form-popup .form__item p {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.form__item label {
  font-size: 16px;
  text-transform: uppercase;
}
.form__item input {
  width: 100%;
  height: 64px;
  padding: 8px 16px;
  border: 1px solid #ddd;
  outline: none;
}
.contact__form-popup .form__item-textarea {
  width: 100%;
}
.contact__form-popup .form__item-textarea textarea {
  width: 100%;
  height: 192px;
  padding: 16px;
  border: 1px solid #ddd;
  outline: none;
}
.form__item input:focus,
.form__item textarea:focus {
  border-color: var(--accent);
}
.contact__form-popup .form__item-submit input {
  position: relative;
  width: 240px;
  height: 64px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  background: none;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--darkText);
  border: 1px solid #ddd;
  cursor: pointer;
}
/*End Homepage*/

/*About Us*/
.about__us {
  width: 100%;
  padding: 192px 0 80px;
}
.about__us .container {
  height: 100%;
  display: flex;
  align-items: center;
}
.about__us .page__content {
  text-transform: uppercase;
}

.team .container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.team__item {
  display: flex;
  flex-direction: column;
}
.team__item-info {
  display: flex;
  gap: 80px;
}
.team__item:nth-child(even) .team__item-desc {
  order: 2;
}
.team__item-name {
  font-size: 32px;
}
.team__item-desc {
  max-width: 480px;
}
.team__item-img {
  margin-top: 68px;
}
.team__item-img img {
  width: 100%;
  object-fit: cover;
}
.team__item:nth-child(even) .team__item-img {
  order: 1;
}
/*End About Us*/

/*Work*/
.work {
  padding: 192px 80px 80px;
}
.filters {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
}
.filter__item {
  display: block;
  font-family: "Josefin Sans", sans-serif;  
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease-in-out;
}
.filter__item:hover,
.filter__item.active {
  color: var(--accent);
}

.work__items {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.work__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  text-decoration: none;
  width: calc(50% - 20px);
}
.work__item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.work__item h2 {
  font-size: 24px;
  margin: 0;
  color: var(--darkText);
  transition: all .3s ease-in-out;
}
.work__item:hover h2 {
  color: var(--accent);
}

.single__work {
  padding: 168px 0px 40px;
}
.single__work-inner {
  padding: 0;
}
.single__post .page__title {
  font-size: 32px;
}
.page__video {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.page__video iframe,
.page__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page__video .big__slider {
  height: 100%;
}
.single__work-content {
  padding: 40px 0;
}
.single__work-content .container {
  display: flex;
  gap: 80px;
}
.single__work-info {
  width: 40%;
}
.single__work-infoinner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--darkBg);
  border-bottom: 1px solid var(--darkBg);
  padding: 24px 0;
  overflow: hidden;
  transition: all .3s ease-in-out;
}
.single__work-infoinner.active {
  overflow: unset;
}
.single__work-info-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.single__work-info-title.active {
  
}
.single__work-info-title h4 {
  margin: 0;
  line-height: 24px;
  color: var(--darkText);
}
.single__work-info-title span {
  width: 32px;
  height: 32px;
  position: relative;
}
.single__work-info-title span:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 24px;
  background: var(--accent);
  transition: all .3s ease-in-out;
  transform: translate(-50%, -50%);
}
.single__work-info-title span:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: all .3s ease-in-out;
  transform: translate(-50%, -50%);
}
.single__work-info-title.active span:before {
  transform: translate(-50%, -50%) rotate(90deg);
}
.single__work-info-data {
  display: none;
}
.single__work-info-data ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.single__work-label {
  display: block;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  font-family: "Josefin Sans", sans-serif;
}
.single__work-label-info {
  line-height: 1;
  text-transform: uppercase;
  font-size: 14px;
}
.single__work-desc {
  width: 60%;
  font-style: italic;
}
.single__work-gallery {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 0 40px;
}
.single__work-gallery img {
  width: auto;
  height: 100%;
  padding: 0 12px;
  object-fit: contain;
}
.single__work-gallery .slick-list,
.single__work-gallery .slick-track {
  height: 100%;
}
.single__work-gallery .slick-arrow {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.single__work-gallery .slick-arrow svg {
  width: 48px;
  height: 48px;
}
.single__work-gallery .next__btn {
  left: auto;
  right: 0;
}
/*End Work*/

/*News*/
.news {
  padding: 192px 80px 80px;
}
.news__items {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.news__item {
  display: flex;
  flex-direction: column;
  gap: 16px;  
  margin-bottom: 40px;
  text-decoration: none;
  width: calc(50% - 20px);
}
.news__item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.news__item-date {
  font-size: 14px;
  line-height: 1;
  padding: 0 24px;
  transition: all .3s ease-in-out;
}
.news__item h2 {
  font-size: 24px;
  margin: 0;
  padding: 0 24px;
  color: var(--darkText);
  transition: all .3s ease-in-out;
}
.news__item:hover h2 {
  color: var(--accent);
}
.single__post {
  padding: 168px 80px 80px;
}
.single__post-content {
  padding: 40px 0;
}
.single__post-info {
  margin-top: 40px;
}
.single__post-info h4 {
  margin: 0 0 8px;
  font-size: 16px;
}
.share__links {
  display: flex;
  gap: 24px;
}
.share__links a {
  text-decoration: none;
}
.share__links img {
  width: 24px;
  height: 24px;
}
.single__post-desc {
  
}

.single__page-nav {
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
}
.single__page-navlink {
  
}
.single__page-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Josefin Sans", sans-serif;
}
.single__page-nav span {
  height: 18px;
}
.single__page-navlink img {

}
/*End News*/

/*Footer*/
footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 0 24px;
}
.footer__copyright p {
  margin: 0;
  font-size: 12px;
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer__social a {
  text-decoration: none;
}
.footer__social img {

}
/*End Footer*/



