/* Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

  body {
    padding: 16px;
  }
  
  main {
    padding-top: 80px;
  }

  .mobile-only {
    display: block;
  }

  /* General Styles */
  h2 {
    font-family: 'Antikor Mono', monospace;
    font-size: 28px;
    margin-bottom: 40px;
  }

  /* Header */
  .site-header {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    padding: 18px;
    display: flex;
    align-items: baseline;
    overflow: hidden;
    z-index: 99999;
  }

  .open-menu {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    border: 1px solid #000;
    transition: background-color .6s ease;
    -webkit-transition: background-color .6s ease;
    cursor: pointer;
  }

  .open-menu.is-open {
    background-color: #000;
  }

  .language-selector {
    display: none;
  }

  .main-navigation {
    flex-basis: auto;
    display: none;
  }

  .main-navigation ul {
    list-style: none;
    display: flex;
  }

  .main-navigation ul li {
    margin-right: 18px;
  }


  .logo {
    width: 180px;
    height: 100%;
    flex-basis: auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .language-selector {
    flex-basis: auto;
    text-align: right;
  }

  /* Menu Mobile */
  .menu-overlay {
    background-color: #e7e7e7;
    color: #000;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transition: transform .6s ease;
    -webkit-transition: transform .6s ease;
    z-index: 9999;

  }

  .menu-overlay.slide {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -webkit-transition: transform .6s ease;
  }

  .overlay-content {
    width: max-content;
    height: max-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 36px;
    text-align: center;
  }

  .menu-overlay nav ul {
    list-style: none;
  }

  .language-selector__mobile {
    display: block;
    color: #000;
    font-size: 18px;
    margin-top: 40px;
  }

  /* Homepage */
  .page-id-23 footer {
    display: block;
  }


  .site-main {
    padding-top: 80px;
  }

  .overview {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 0;
  }

  .first-scroll,
  .second-scroll {
    width: 100%;
    position: static;
  }


  .first-scroll {
    margin-right: 0;
  }

  .second-scroll {
    margin-left: 0;
  }

  .project-wrapper {
      animation: none;
  }

  .filter-gray {
    filter: none!important;
    opacity: 1!important;
  }


.first-scroll .project-wrapper,
.second-scroll .project-wrapper {
  display: none;
}

.first-scroll .project-wrapper:first-child,
.second-scroll .project-wrapper:first-child {
  display: block;
}



  #smoothFirst {
    width: 100%;
  }

  #smoothSecond {
    width: 100%;
  }

  .scroll-project {
    width: 100%;
    padding-bottom: 28px;
    position: relative;
  }

  .scroll-project:not(:first-child) {
    margin-top: 10px;
  }

  .first-scroll .scroll-project {
    padding-top: 0;
    padding-right: 0;
  }

  .second-scroll .scroll-project {
    padding-top: 0;
    padding-left: 0;
  }

  .size-small {
    width: 60%;
  }

  .size-medium {
    width: 80%;
  }

  .size-big {
    width: 100%;
  }

  .project-number {
    position: absolute;
    top: auto;
    bottom: 0;
    z-index: 99;
    font-family: 'Antikor Mono', monospace;
    font-size: 11px;
  }

  .project-number::after,
  .single-info span::after {
    content: ".";
    display: inline-block;
  }

  .first-scroll .project-number {
    right: auto;
    left: 0;
  }

  .second-scroll .project-number {
    left: 0;
    right: auto;
  }




  /* Single Project */

  .single-post {
    /* padding-left: 40px;
    padding-right: 40px; */
  }

  .single-post h2 {
    margin-top: 0;
    margin-bottom: 40px;
  }


  .project-info {
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .project-summary {
    float: none;
    max-width: 100%;
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .centered-image {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .full-image {
    width: 100%;
    margin-bottom: 40px;
  }


  .split-screen {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
  }

  .split-screen__left {
    width: 100%;
    margin-right: 0;
  }

  .split-screen__right {
    width: 100%;
    margin-left: 0;
  }

  .left-image,
  .right-image {
    width: 100%;
    display: block;
    margin-bottom: 40px;
  }

  .blank {
    display: none;
  }

  .left-text {
    max-width: 100%;
    display: block;
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .right-text {
    max-width: 100%;
    float: none;
    display: block;
    margin-bottom: 40px;
    padding: 0 20px;
  }


  .left-slider {
    display: flex;
    flex-direction: column;
    display: block;
    margin-bottom: 40px;
  }

  .left-slider .swiper-pagination {
    margin-top: 10px;
    margin-left: 0;
  }

  .right-slider {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    display: block;
    margin-bottom: 40px;
  }

  .right-slider .right {
    order: 0;
  }

  .right-slider .swiper-pagination {
    margin-right: 0;
    text-align: left;
    order: 1;
    margin-bottom: 10px;
  }


  .slider {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 40px;
  }

  .slider .swiper-pagination {
    margin-left: 0;
    margin-top: 10px;
  }



  /* About */
  .introduction {
    font-size: 18px;
    line-height: 1.3;
    max-width: 100%!important;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 56px;
    text-align: left;
  }

  /* Team */
  .about-team {
    margin: 80px 0 80px 0;
    width: 100%;
    font-size: 14px;
  }

  .team-columns {
    display: block;
  }

  .team-columns > div {
    margin-bottom: 26px;
  }

  .team-job {
    margin-bottom: 16px;
  }

  /* Press */
  .about-press {
    margin-bottom: 80px;
  }

  .press-half {
    display: flex;
    flex-direction: column;
  }

  .press-list {
    width: 100%;
    padding-left: 0;
    list-style: none;
  }

  /* Clients */
  .about-clients {
    width: 100%;
    font-size: 14px;
  }

  .client-columns div {
    margin-bottom: 2px;
  }

  .client-columns {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 18px;
  }

  /* Slider */
  .swiper-container {
    display: block;
    width: 100%;
  }

  .swiper-slide img {
    width: 100%;
  }

  .swiper-pagination {
    width: 100%;
    text-align: left;
  }

  .press-half .swiper-pagination {
    margin-top: 10px;
    text-align: left;
    width: 100%;
    font-size: 11px;
  }

  /* Slider Press */
  .swiper-container.slider-press {
    max-width: 100%;
    margin-bottom: 40px;
    display: block;
  }

  .slider-press .swiper-pagination {
    margin-left: 0;
  }

  /* Contact Overlay */
  .contact-overlay div {
    font-size: 18px;
    line-height: 1.3;
  }

}

@media (max-width: 764.98px) {

  /* Projects Archive */
  .projects-archive {
    display: block;
    margin-bottom: 50px;
  }

  .frame-square {
    width: 100%;
    padding-top: 0;
    height: 100%;
    overflow: hidden;
    position: static;
  }

  .single-project.horizontal .frame-square {
    padding-top: 0;
}

  .frame-square img {
    position: static;
  }

  .single-project.two .frame-square {
    padding-top: 0;
  }

  .single-info {
    display: block;
    height: 100%;
    position: relative;
    width: 100%;
    margin-top: 14px;
    margin-bottom: 18px;
  }

  .single-info h3 {
    position: static;
    display: block;
    left: 0;
    transform: none;
    text-align: center;
    line-height: auto;
    width: auto;
  }

  /* Footer */
  .site-footer {
    width: 100vw;
    margin: 120px -16px 0 -16px;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 20px 16px;
  }

  .site-footer div {
    margin-right: 0;
  }

  .footer-contact {
    order: 0;
  }

  .footer-social {
    order: 1;
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .footer-newsletter {
    order: 2;
  }

  .copyright {
    position: absolute;
    left: 16px;
    bottom: 20px;
    order: 3;
  }

  .logo-footer {
    order: 4;
  }

  .footer-social {
    margin-bottom: 16px;
  }


  .footer-contact p {
    margin-bottom: 20px;
  }

  .logo-footer {
    width: 80px;
    position: static;
    display: block;
    margin-top: 40px;
    margin-left: auto;
  }

}

/* Single project in small screens */
@media (min-width: 575.99px) and (max-width: 949.98px) {

  /* Single Project */

  .left-text {
    max-width: 90%;
  }

  .right-text {
    max-width: 90%;
  }

}

/* About in small screens */
@media (max-width: 999.98px) {

  .introduction {
    max-width: 70vw;
  }

}

@media (min-width: 575.99px) and (max-width: 1199.98px) {

  .team-columns {
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 40px;
  }

  .client-columns {
      grid-template-columns: repeat(4, 1fr);
      grid-row-gap: 0;
  }

}

/* Limit content in big screens */
@media (min-width: 2000px) {

  .about section {
    max-width: 60vw;
    margin-left: auto;
    margin-right: auto;
  }

  .about .swiper-container  {
    margin-left: auto;
    margin-right: auto;
    width: 60vw;
  }


}

/* Type sizes */
@media (min-width: 1024px) and (max-width: 1680px) {

  :root {
    font-size: 15px;
  }

}

@media (min-width: 1680px) and (max-width: 1920px) {

  :root {
    font-size: 18px;
  }

  .project-number,
  .single-info span,
  .swiper-pagination {
    font-size: 13px;
  }

  .project-info,
  .about-team,
  .about-clients,
  .site-footer {
    font-size: 16px;
  }


}

@media (min-width: 1920px) {

  :root {
    font-size: 20px;
  }

  .project-number,
  .single-info span,
  .swiper-pagination {
    font-size: 13px;
  }

  .project-info,
  .about-team,
  .about-clients,
  .site-footer {
    font-size: 18px;
  }


}
