@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Regular.woff2') format('woff2'),
        url('fonts/Lato-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Bold.woff2') format('woff2'),
        url('fonts/Lato-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Italic.woff2') format('woff2'),
        url('fonts/Lato-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-BoldItalic.woff2') format('woff2'),
        url('fonts/Lato-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}
:root {
  --hh: 110px;
  --w: 1512;
  --h: 471;
}
* {
	margin: 0;
	padding: 0;
}
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
:root {
  --lightpink: #fff1f0;
  --darkpink: #fec4c3;
  --grey: #545454;
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  font-family: 'Avenir', 'Lato', sans-serif;
  text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    background-color: var(--lightpink);
    color: var(--grey);
    font-size: 19px;
    line-height: 22px;
    margin: 0 auto;
    overflow-x: hidden;
}
html {
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
  scroll-behavior: smooth;
}
.hero-image {
  width: 100%;
  aspect-ratio: var(--w) / var(--h);
  position: fixed;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}
img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}
header {
  text-transform: lowercase;
  padding: 24px 48px;
  padding-right: 48px;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 100;
  background-color: transparent;
  color: var(--grey);
}
.pink-background header {
  background-color: var(--lightpink);
}
.pink-background .hero-image {
  position: sticky;
  top: 0;
}

h1.site-title, h2.site-subtitle {
  font-weight: 500;
  font-size: 28px;
  line-height: 31px;
}
nav.main-menu ul {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
nav.main-menu li {
  list-style-type: none;
  font-size: 18px;
  line-height: 21px;
}
nav.main-menu li:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.txt a:hover {
  color: var(--darkpink);
}
main.container {
  background-color: var(--lightpink);
  margin-top: calc(100vw / var(--w) * var(--h) - var(--hh));
}
.pink-background main.container {
  margin-top: 0;
}

footer {
  background-color: var(--darkpink);
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 22px;
  line-height: 120%;
  width: 100%;
}
.social li {
  padding-top: 5px;
  display: inline-block;
  list-style-type: none;
}
.social a {
  display: block;
  width: 10px;
  margin-left: 5px;
  margin-right: 5px;
  height: 18px;
  background-image: url(img/facebook.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
} 
.social a.ig {
  width: 18px;
  background-image: url(img/instagram.svg);
}
.social a.li {
  width: 18px;
  background-image: url(img/linkedin.svg);
}
.social ul {
  text-align: center;
}
article {
  padding: 80px;
  max-width: 1200px;
  margin: 0 auto;
}
h2.page-title, h2.project-title, p.project-info, .views h2, h2.block-title {
  font-size: 28px;
  line-height: 120%;
  margin-bottom: 50px;
  color: var(--darkpink);
  font-weight: normal;
}
h2.project-title, p.project-info {
  font-size: 22px;
}
.post-block-image figure {
  padding: 25px;
  background-color: white;
}
.post-block.b-top .txt {
  padding-top: 40px;
}
h2.block-title {
  margin-bottom: 25px;
}
h2.project-title, .views h2 {
  margin-bottom: 0;
}
h2.project-title {
  font-weight: bold;
}
.txt p, .txt ol, .txt ul, .text-info h3, .project-info h3 {
  font-size: 18px;
  line-height: 120%;
  font-weight: normal;
}
.single-project .txt p, .single-project .txt ol, .single-project .txt ul, .about .txt p {
  font-size: 14px;
}
.project-info h3, .text-info h3 {
  font-weight: bold;
  padding-bottom: 7px;
}
.text-info a {
  text-transform: uppercase;
  font-weight: bold;
  display: block;
  margin-top: 7px;
}
.txt p+*, .txt ol+*, .txt ul+* {
  margin-top: 22px;
}
.txt p a, .txt ol a, .txt ul a {
  text-decoration: underline;
}
.project-meta p a {
  text-decoration: none;
}
a.read-more {
  color: var(--darkpink);
  display: block;
  margin-right: 0;
  margin-left: auto;
  float: right;
  clear: both;
  transition: transform 0.3s;
  transform: rotate(0);
}
a.read-more.active {
  transform: rotate(180deg);
}
.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.single-project .content {
  grid-template-columns: 1fr;
}
.more {
  display: none;
}
.column-3, .views {
  grid-column: 1 / -1;
  margin-top: 40px;
}
.img figure {
  max-width: 260px;
  margin: 0 auto;
}
.views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.views h2, .views .image:nth-child(2) {
  grid-column: 1 / -1;
}
.big-img figure, .img figure {
  position: relative;
}
.big-img figcaption, .img figcaption {
  position: absolute;
  font-size: 12px;
  line-height: 120%;
  color: white;
  right: 20px;
  bottom: 20px;
  text-align: center;
  margin-top: 10px;
}
.lightbox-caption {
  text-align: center;
  font-size: 12px;
  line-height: 120%;
  margin-top: 10px;
}
.big-img figcaption {
  text-align: right;
  position: static;
  color: var(--grey);
}
.txt .big-img {
  float: right;
  padding-left: 30px;
  width: 40%;
  padding-bottom: 20px;
}

.text-item {
  padding: 50px;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}
.text-spreads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}
.text-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.text-info a {
  font-weight: bold;
  text-decoration: underline;
}
.text-image {
  width: calc(30% - 25px);
}
.text-image img {
  filter: drop-shadow(-2px 6px 10px #adadad);
}
.text-info {
  width: calc(70% - 25px);
}
.text-item+.text-item {
  margin-top: 50px;
}

/* Lightbox (Flickity) */
body.no-scroll {
  overflow: hidden;
}
.lightbox {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--lightpink, #fff1f0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-wrap {
  width: 90vw;
  max-width: 1200px;
  height: 80vh;
}
.lightbox-gallery {
  width: 100%;
  height: 100%;
}
.lightbox-cell {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-cell img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 0;
  font-size: 36px;
  line-height: 1;
  color: var(--darkpink, #545454);
  cursor: pointer;
}
.column-1, .column-2, .column-3, article.about .txt, .post-block-text {
  text-align: justify;
}

.project-item {
  display: flex;
  flex-wrap: wrap;

}
.project-item>a {
  display: contents;
}
.project-item>a:hover {
  color: var(--darkpink);
}
.project-item>a:hover img {
  opacity: 0.7;
}

.project-item+.project-item {
  margin-top: 50px;
}

.project-info {
  width: calc(30% + 25px);
  padding-right: 50px;
}
p.project-info {
  width: 100%;
}
.project-image {
  width: calc(70% - 25px);
}
.post-blocks {
  padding-top: 65px;
}
.post-block {
  padding-top: 65px;
  border-top: 1.5px solid var(--darkpink);
}

.post-block.b-left, .post-block.b-right {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.post-block.b-left .block-title {
  width: 100%;
}
.post-block.b-left .post-block-image, .post-block.b-right .post-block-image {
  width: calc(50% - 20px);
}
.post-block.b-left .post-block-text, .post-block.b-right .post-block-text {
  width: calc(50% - 20px);
}
.post-block.b-right .post-block-image {
  order: 3;
}
.post-block.b-right .post-block-text {
  order: 2;
}
.post-block:not(:last-child) {
  margin-bottom: 65px;
}
.home-quote {
  font-size: 18px;
  max-width: 800px;
  line-height: 120%;
  color: var(--darkpink);
  font-weight: normal;
  margin: 0 auto;
  border-bottom: 1.5px solid var(--darkpink);
  text-align: center;
  padding-bottom: 40px;
}
.home-blocks {
  display: flex;
  
  grid-template-columns: 1fr 1fr;
  gap: 40px;

}
.home-block:hover a {
  color: var(--darkpink);
}
.home-block:hover img {
  opacity: 0.7;
}

footer p {
  font-size: 12px;
}
.home-quote + .home-blocks {
  padding-top: 65px;
}
.home-block {
  margin-bottom: 40px;
  width: calc(50% - 20px);
}
.home-block img {
  padding: 30px;
  margin-bottom: 10px;
  background-color: white;
  width: calc(100%);
}
.home-block.b-col2 {
  grid-column: 1 / -1;
  text-align: center;
  width: 100%;
}

.home-block h2, .home-block h3 {
  font-size: 18px;
  line-height: 120%;
  font-weight: bold;
}
.home-block h2 {
  padding-top: 10px;
}
.home-block h3 {
  font-weight: normal
}
.b-external-video > a:first-child, .b-external-url > a:first-child {
  position: relative;
 }
.b-external-video:hover>a:first-child:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background-image: url(img/play.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

}
@media (max-width: 600px) {
  .home-blocks {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
  }
  .content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .views {
    gap: 25px;
  }
  .home-block {
    width: 100%;
  }
  .home-block img {
    padding: 20px;
  }
  .home-quote {
    padding-bottom: 20px;
  }
  article {
    padding: 30px 15px 80px 15px;
  }
  .txt .big-img {
    float: none;
    padding-left: 0;
    width: 100%;
    padding-bottom: 40px;
  }
  nav.main-menu {
    padding-top: 10px;
  }
  nav.main-menu ul, .text-item {
    column-gap: 20px;
    row-gap: 5px;
    flex-wrap: wrap;
  }
  h2.page-title, .views h2, h2.block-title {
    font-size: 28px;
  }
  h2.project-title, p.project-info {
    font-size: 20px;
  }
  header {
    padding: 15px;
    position: static;
    
  }
  main.container {
    margin-top: 0;
  }
  footer {
    padding: 15px;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
  }
  footer p {
    width: 100%;
  }
  .about .img {
    padding-top: 25px;
  }
  div.social {
    width: 100%;
    padding-top: 10px;
    text-align: center;
  }
  .post-block.b-left .post-block-image, .post-block.b-right .post-block-image, .post-block.b-left .post-block-text, .post-block.b-right .post-block-text {
    width: 100%;
  }
  h1.site-title, h2.site-subtitle {
    font-size: 26px;
    line-height: 1.2;
  }
  .project-info, .project-image, .text-image, .text-info {
    width: 100%;
    padding-right: 0;
  }
  .text-image {
    max-width: 60vw;
    margin: 0 auto;
  }
  .project-item {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .text-item {
    padding: 25px;
  }
  .hero-image {
    position: sticky;
    top: 0;
  }
}