#wpadminbar {
    display: none !important;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('../assets/RobotoMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Roboto Mono';
    src: url('../assets/RobotoMono-Bold.woff2') format('woff2'),
        url('../assets/RobotoMono-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('../assets/RobotoMono-Italic.woff2') format('woff2'),
        url('../assets/RobotoMono-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('../assets/RobotoMono-BoldItalic.woff2') format('woff2'),
        url('../assets/RobotoMono-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('../assets/RobotoMono-Medium.woff2') format('woff2'),
        url('../assets/RobotoMono-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('../assets/RobotoMono-MediumItalic.woff2') format('woff2'),
        url('../assets/RobotoMono-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

  @font-face {
    font-family: 'Helvetica Neue Bold';
    src: url('../assets/Helvetica\ Neue\ LT\ Std\ 75\ Bold.woff') format('woff');
    font-weight: 400;
    font-stretch: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Helvetica Neue Medium';
    src: url('../assets/Helvetica\ Neue\ LT\ Std\ 65\ Medium.woff') format('woff');
    font-weight: 400;
    font-stretch: normal;
    font-display: swap;
  }

  :root {
    --culture: #1F1A38;
    --education: #C54824;
    --lifestyle: #A9CBB7;
    --events: #DE9292;
  }

  html {
    scroll-behavior: smooth;
    margin-top: 0 !important;
  }

  body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    letter-spacing: 0.02rem;
    line-height: 1.4;

    font-family: 'Roboto Mono', Arial, Helvetica, sans-serif;
  }

  img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  img:is([sizes="auto" i], [sizes^="auto," i]) {
    contain-intrinsic-size: unset;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue Bold', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.2;
  }

  a {
    color: inherit;
  }

  .site-branding {
    position: fixed;
    bottom: 15px;
    top: unset;
    left: 15px;
    background-color: white;
    padding: 15px;
    border: 1px solid black;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: 100;
  }

  #logo-animation {
    width: 100px;
  }

  footer #logo-animation {
    width: auto;
    height: 60px;
  }

  #masthead {
    font-family: 'Helvetica Neue Medium', Arial, Helvetica, sans-serif;
    line-height: 1;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
  }

  #masthead li,
  #masthead ul {
     list-style: none;
     padding: 0;
     margin: 0;
   }

   #site-navigation {
    width: calc(100vw - 30px);
    display: flex;
   }

   #primary-menu > li a {
     text-decoration: none;
     color: inherit;
     padding: 10px 8px 8px;
     border: 1px solid;
     box-sizing: border-box;
     display: inline-block;
     background-color: white;
   }

   #primary-menu > li > a {
    border-right: 0;
  }

   #primary-menu > li:last-of-type > a {
    border-right: 1px solid;
  }

   #primary-menu {
    display: flex;
    display: -webkit-box;
    /* Older Webkit browsers */
    display: -moz-box;
    /* Older Firefox versions */
    display: -ms-flexbox;
    /* Internet Explorer */
    display: -webkit-flex;
    /* Webkit browsers */
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    width: 100%;
    z-index: 1000;
    align-items: flex-start;
  }

  .sub-menu {
    display: none;
    position: absolute;
  }

  .sub-menu a {
    transform: translateY(-1px);
    display: block;
  }

  .menu-toggle {
    display: none;
}

#searchdrop {
    width: calc(100%);
    border: 1px solid;
    box-sizing: border-box;
    padding: 60px 15px;
    background-color: white;
    z-index: 100;
    position: fixed;
    margin: 0;
    z-index: 1000;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

#searchdrop > form {
    background-color: white;
    padding: 15px;
    border: 1px solid;
}

#searchdrop-mobile {
    width: calc(100% - 30px);
    border: 1px solid;
    box-sizing: border-box;
    padding: 10px;
    background-color: white;
    z-index: 100;
    position: fixed;
    margin: 15px;
    top: 65px;
    display: none;
}

#searchdrop input,
#searchdrop-mobile input {
    border: 0px solid;
    color: black;
    padding-left: 10px;
    font-family: 'Roboto Mono', Arial, Helvetica, sans-serif;
    min-width: 200px;
    border-bottom: 1px solid;
}

button {
    border: 1px solid black;
    background-color: black;
    color: white;
    font-family: 'Helvetica Neue Medium', Arial, Helvetica, sans-serif;
    line-height: 1;
    padding: 5px 5px 2px 5px;
}

.button {
    border: 1px solid black;
    background-color: black;
    color: white;
    padding: 10px;
    display: inline-block;
}

.home .button {
    font-weight: 500;
}


  /* Show submenu on desktop hover */
@media (hover: hover) and (pointer: fine) {
    .menu-item-has-children:hover>.sub-menu {
      display: block;
    }

    .menu-toggle {
        display: none;
    }

}

  #mailsearch {
    padding: 3px 2px 0 2px;
    background-color: white;
    border: 1px solid;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000;
    box-sizing: border-box;
    height: 34px;
    display: flex;
    gap: 5px;
    cursor: pointer;
  }

  .icon { display: inline-block; }
.hidden { display: none; }

main {
  min-height: calc(100vh - 220px);
}

/* FOOTER */

  footer.site-footer {
    padding: 60px 15px 20px;
    box-sizing: border-box;
    border-top: 1px solid;
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  footer.site-footer .logo-animation {
    width: 100px;
  }

  footer.site-footer span {
    max-width: 350px;
    display: block;
    margin-left: 155px;
  }

  footer li, footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    row-gap: 30px;
  }

  footer .contactdetails,
  footer .menu-menu-2-container {
    width: calc(50% - 15px);
  }

  footer .credit {
    width: 100%;
    font-size: 12px;
    text-align: right;
  }

  footer p {
    margin: 0;
    padding: 0 0 3px;
  }

  /* CONTENT */

  .single .entry-content p,
  .single .wp-block-list,
  .single .wp-block-heading {
    max-width: 640px;
    margin: 15px auto;
  }

    .wp-block-pullquote {
        padding: 20px 0;
    }

  .single .wp-block-quote p,
  .wp-block-pullquote.has-large-font-size {
    max-width: 740px;
    margin: 15px auto;
    font-size: 22px;
  }
  
    .wp-block-pullquote.has-large-font-size {
    font-size: 24px !important;
  }

  .single .wp-block-gallery {
    width: 840px;
    margin: 0 auto;
  }
  
  .single .wp-block-image.size-full {
    max-width: 840px;
    margin: 15px auto;
  }

  .single .entry-header {
    border-top: 1px solid;
    border-bottom: 1px solid;
    margin: 48px 0;
  }

  .single .site-main .entry-header .content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }

  .single .site-main .entry-header img {
    display: block;
    border-left: 1px solid;
    border-right: 1px solid;
    box-sizing: border-box;
  }

  .single .site-main .entry-meta {
    border: 1px solid black;
    background-color: white;
    padding: 8px;
    font-size: 12px;
    display: block;
    position: absolute;
    top: 30%;
    right: 0;
    transform: translateX(100px);
  }

  .single .site-main .entry-title {
    border: 1px solid black;
    background-color: white;
    padding: 15px 15px 5px 15px;
    font-size: 26px;
    line-height: 1.2;
    display: block;
    position: absolute;
    max-width: 500px;
    left: 0;
    top: 5%;
    transform: translateX(-100px);
  }

  .single .entry-excerpt {
    border: 1px solid black;
    background-color: white;
    padding: 15px;
    line-height: 1.2;
    display: block;
    position: absolute;
    max-width: 500px;
    left: 0;
    top: 50%;
    transform: translate(-100px, -50%);
  }

  .single .entry-excerpt p {
    padding: 0;
    margin: 0;
  }

  .wp-block-quote {
    font-family: 'Helvetica Neue Medium', Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid;
    max-width: 840px;
    margin: 30px auto;
  }

  .entry-footer {
    text-align: center;
    margin-bottom: 40px;
  }

  .navigation.post-navigation {
    display: none;
  }

  .tags-links {
    display: block;
    padding: 20px 0;
  }

  .cat-links a,
  .tags-links a {
    border: 1px solid;
    display: inline-block;
    padding: 5px;
    font-family: 'Helvetica Neue Medium', Arial, Helvetica, sans-serif;
    text-transform: capitalize;
    margin: 0 0 10px;
  }

  .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: white;
    border: 1px solid;
    color: black;
    padding: 10px;
    text-shadow: none;
    font-size: 12px;
    position: relative;
    bottom: unset;
    left: unset;
    max-height: unset;
  }

  .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    all: unset;
  }

  .wp-block-gallery.has-nested-images figcaption {
    flex-basis: unset;
    flex-grow: unset;
  }
  
  .single .instagram-media {
      margin: 0 auto !important;
  }
  
    .wp-block-group__inner-container,
    .wp-block-image.size-large,
    .wp-block-columns {
        max-width: 840px;
        margin: 0 auto;
    }
    
    .wp-block-image img {
        margin: 0 auto;
    }
    

  /* SINGLE PROJECT */

  .single-project .entry-header .content .info {
    padding: 15px;
    box-sizing: border-box;
    max-width: 400px;
    border: 1px solid;
    position: absolute;
    top: 30%;
    background: white;
    right: 0;
    transform: translateX(100px);
  }

  .single-project .entry-content {
    margin-bottom: 30px;
  }

  .single-project .site-main .related-posts-grid .entry-title {
    all: unset;
  }

  .single-project .related-posts-grid .entry-home img {
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
  }

  /* HOME */

  .home section.first,
  .home section.second {
    display: flex;
    justify-content: space-between;
    position: relative;
  }

  .home section.first {
    border-bottom: 1px solid;
  }

.home .entry-featured {
    width: 50vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    position: sticky;
    top: 0;
    right: 0;
    border-left: 1px solid;
}

.home .entry-featured .content {
    border: 1px solid;
    background-color: white;
    max-width: 60%;
    position: absolute;
    bottom: 30px;
    left: 30px;
    padding: 15px;
    box-sizing: border-box;
}

.home .posts {
    display: flex;
    flex-wrap: wrap;
    width: 50vw;
    gap: 15px;
    padding: 15px;
    box-sizing: border-box;
    margin-top: 60px;
}

.related-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px 0 15px 15px;
  box-sizing: border-box;
  margin-top: 30px;
}

.related-posts-grid .entry-home {
  border: 1px solid;
  width: calc(20% - 15px);
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 5px;
}

.entry-home {
    border: 1px solid;
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    position: relative;
    margin-top: 5px;
  }


  .row-insert {
    width: 100%;
    border: 1px solid;
  }

  .row-insert .one,
  .row-insert .three {
    padding: 15px;
    box-sizing: border-box;
  }

  .row-insert .two {
    padding: 15px; box-sizing: border-box;
    box-sizing: border-box;
  }

  .row-insert .marquee {
    font-family: 'Helvetica Neue Medium', Arial, Helvetica, sans-serif;
    font-size: 18px;
    background-color: black;
    color: white;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 10px 0 8px;
  }

  .marquee-inner {
    display: inline-flex;
    gap: 20px;
    /* animation: marquee 30s linear infinite; */
  }

  /* @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  } */

  .entry-home .content {
    padding: 10px;
    box-sizing: border-box;
    border-top: 1px solid;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .entry-home .content .entry-title {
    font-size: 16px;
    margin: 0;
    padding: 0;
  }

  .entry-meta {
    font-size: 12px;
    padding-top: 2px;
  }

  .entry-excerpt p {
    margin: 0;
    padding: 0;
    padding-top: 5px;
  }

  .entry-category {
    text-transform: capitalize;
  }

  .entry-home .entry-category,
  .entry-featured .entry-category {
    border: 1px solid black;
    background-color: white;
    padding: 5px 5px 3px 5px;
    box-sizing: border-box;
    display: inline-block;
    font-family: 'Helvetica Neue Medium', Arial, Helvetica, sans-serif;
    font-size: 12px;
    position: absolute;
    top:0;
    left: 50%;
    transform: translate(-50%,-50%);
  }

  .entry-home .entry-category a {
    text-decoration: none;
  }

  /* Category-specific styles */
.entry-category.category-lifestyle,
.category.category-lifestyle,
.category.category-lifestyle .page-header,
.category-lifestyle .category-info {
    background-color: var(--lifestyle);
  }

  .entry-category.category-general-education,
  .category.category-general-education,
  .category.category-general-education .page-header,
.category-general-education .category-info {
    background-color: var(--education);
  }

  .entry-category.category-culture,
  /*.category.category-culture,*/
  .category.category-culture .page-header,
.category-culture .category-info {
    background-color: var(--culture);
    color: white;
  }

  .entry-category.category-events,
  .category.category.category-events,
  .category.category.category-events .page-header,
.category-events .category-info {
    background-color: var(--events);
  }
  
    .entry-category.category-amsterdam,
  .category.category.category-amsterdam .page-header,
.category-amsterdam .category-info {
    background-color: #A30000;
    color: white;
  }
  
  .category-amsterdam .category-info {
      border: 1px solid black;
  }

  .category {
    background-color: white !important;
  }

  .entry-category:hover {
    background-color: black;
    color: white;
    border: 1px solid black;
    cursor: pointer;
  }

  .home .post-thumbnail img {
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
  }

  .home section.second .news {
    background-color: black;
    color: white;
    padding: 15px;
    box-sizing: border-box;
    max-width: 25vw;
  }

  .home .news-post {
    display: flex;
    gap: 15px;
  }

  .home .news h2 {
    padding: 15px 0;
  }

  .home .news-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .home .news-post a {
    max-width: 60%;
  }

  .home .news-post span {
    max-width: 40%;
  }

  .home .news-post img {
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
  }

  h3.news-title {
    font-size: 15px;
  }

  .news-date {
    font-size: 12px;
  }

  .extra-posts {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    margin-top: 5px;
    position: sticky;
    top: 0;
    left: 0;
    height: fit-content;
  }

  .extra-posts-list {
    display: grid;
    grid-template-columns: 2fr 1fr; /* left wider than right */
    grid-template-rows: 1fr 1fr;    /* two rows for stacking */
    gap: 15px;
  }

  .extra-posts-list .entry-home:first-child {
    grid-row: 1 / span 2; /* big post spans both rows */
  }

  .extra-posts-list .entry-home {
    background: #fff;
    display: flex;
    flex-direction: column;
  }

  .extra-posts-list img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .extra-posts-list .entry-home {
    width: 100% !important;
  }

  .third {
    padding: 15px 0 15px 15px;
    box-sizing: border-box;
  }

  .category-section {
    display: flex;
    flex-direction: row;
    /* gap: 15px; */
  }

  .category-info {
    width: 25%;
    margin: 15px 15px 15px 0;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid;
  }

  .category-section .entry-home {
    width: 25%;
    margin: 15px 15px 15px 0;
  }

  .category-section:nth-of-type(even) {
    flex-direction: row-reverse;
  }

  .category-section .entry-category {
    display: none;
  }

  .category-section .more {
    border: 1px solid black;
    padding: 4px 5px 5px;
    box-sizing: border-box;
    display: inline-block;
  }

  .home .info {
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid;
    margin: 15px;
    margin-top: 0;
    display: flex;
    gap: 30px;
  }

  .home .info .spotify {
    width: 50%;
  }
  
  .spotify iframe {
      height: 100%;
  }

  .home .info .seo {
    width: 50%;
    font-size: 12px;
  }

  .extra-posts-two.container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    padding: 15px;
    justify-content: flex-start;
  }

  .extra-posts-two.container .entry-home {
    width: calc(25% - 14px);
  }

  /* ARCHIVE */

  .archive .entry-home {
    width: unset;
    margin-top: 0;
  }

  .archive .site-main {
    padding: 15px;
    box-sizing: border-box;
    margin-top: 60px;
  }

  .category .page-header,
  .tag .page-header,
  .archive .page-header {
    border: 1px solid black;
    padding: 15px;
    box-sizing: border-box;
  }

  .category .page-header img,
  .tag .page-header img,
  .archive .page-header img {
    aspect-ratio: unset !important;
    object-fit: unset !important;
  }

  .archive .posts,
  .search .posts {
    display: flex;
    flex-wrap: wrap;
   gap: 30px 15px;
    margin-top: 15px;
  }

  .archive .posts img {
    aspect-ratio: 4 / 5;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .archive p {
    margin: 0;
    padding: 0;
  }

    .icons {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 30px;
  }

  .icons img {
    max-width: calc(100% / 15);
    aspect-ratio: unset;
    object-fit: unset;
  }
  
  .category-culture .icons img {
      filter: invert(1);
  }

  .archive .posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto); /* at least 150px, but grows */
    gap: 23px 15px;
  }
  .page-header {
    grid-column: 1 / span 2; /* spans columns 1-2 */
    grid-row: 1;
  }

  .archive .entry-home:nth-of-type(1) {
    grid-column: 3; /* sits top right */
    grid-row: 1;
  }

  .archive .entry-home:nth-of-type(2) {
    grid-column: 4; /* next to it */
    grid-row: 1;
  }

  .archive .entry-home:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .archive .entry-home:nth-of-type(4) {
    grid-column: 2;
    grid-row: 2;
  }

  /* large square spanning 2x2 */
  .archive .entry-home:nth-of-type(5) {
    grid-column: 3 / span 2; /* spans cols 3-4 */
    grid-row: 2 / span 2;
  }

  /* bottom left smaller blocks */
  .archive .entry-home:nth-of-type(6) {
    grid-column: 1;
    grid-row: 3;
  }
  .archive .entry-home:nth-of-type(7) {
    grid-column: 2;
    grid-row: 3;
  }
  .archive .entry-home:nth-of-type(8) {
    grid-column: 1;
    grid-row: 4;
  }
  .archive .entry-home:nth-of-type(9) {
    grid-column: 2;
    grid-row: 4;
  }

  .navigation.posts-navigation {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .archive .page-header .page-title {
    text-transform: capitalize;
  }

/* SEARCH*/

.search .page-header {
    border: 1px solid black;
    padding: 15px;
    box-sizing: border-box;
    width: calc(50% - 15px);
}

.search #page {
    margin-top: 60px;
}

.search .posts {
    padding: 15px;
    margin-bottom: 20px;
}

.search .entry-home {
    width: calc(25% - 15px);
}

.search header > h1 > span {
    text-decoration: underline;
    text-transform: capitalize;
}

  /* PAGE */

  .page article {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center;
    align-self: center; */
  }

  .page article .content {
    width: 50%;
    padding: 30px;
    box-sizing: border-box;
    margin-top: 60px;
  }

  .page .background {
    height: 100vh;
    width: 50vw;
    background-position: center;
    background-size: cover;
    padding: 0;
    display: block;
    position: sticky;
    top: 0;
  }

/* 404 */

.error-404.not-found {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  box-sizing: border-box;
  flex-wrap: wrap;
  flex-direction: column;
}

.error404 .page-title {
  font-size: 64px;
}

.error-404 form {
  display: flex;
  width:100%;
}

.error-404 form input {
  width: 90%;
}

.error-404 form button {
  width: 10%;
}

/* ABOUT */

section.about {
  position: relative;
  width: 100%;
}

section.about .hero {
  height: auto;
  max-width: 70vw;
  margin: 0 auto;
  z-index: -1;
  position: relative;
}

section.about:nth-child(1) {
  margin-top: 60px;
  padding: 15px;
  box-sizing: border-box;
}

section.about .entry-header {
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid;
  text-decoration: underline;
  display: inline-block;
  position: absolute;
  top: 10%;
  left: 20%;
}

section.about h1.entry-title {
  line-height: 1;
  margin-bottom: 0;
  padding-bottom: 0;
}

.text_content {
  max-width: 420px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid;
  position: relative;
  background-color: white;
  box-sizing: border-box;
}

.text_content p:only-of-type,
.text_content p:last-of-type {
  margin-top: 0;
  margin-bottom: 0;
}

.text_content:nth-child(2) {
  position: absolute;
  top: 20%;
  right: 10%;
}

.text_content:nth-child(4) {
  margin: 0 0 0 15%;
  transform: translate(0, -50px);
}

.text_content h2:first-of-type {
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid;
  display: block;
  line-height: 1;
  padding-bottom: 5px;
  position: absolute;
  top: -53px;
  background-color: white;
  left: 0;
}

section.team {
  position: relative;
}

section.team .images {
  display: flex;
  width: 100%;
  position: relative;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

section.team .text_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%)
}

section.team img {
  max-width: 20%;
  height: auto;
}

.text_content h3:first-of-type {
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid;
  display: block;
  line-height: 1;
  padding-bottom: 5px;
  position: absolute;
  bottom: -53px;
  background-color: white;
  left: 0;
  transform: translate(50%, 0);
}

section.collaborations {
  width: 100%;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}


section.collaborations .text_content {
  padding-top: 20px;
}

section.collaborations .text_content h2:first-of-type {
  top: -32px;
  left: -25%;
}

section.media {
  width: 100%;
  padding: 100px 0 0 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
}

section.media .text_content {
  transform: translate(25%,0);
}

section.projects {
  width: 100%;
  padding: 50px 0 0 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
}

section.projects #media-projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
  box-sizing: border-box;
}

section.projects #media-projects a {
  width: calc(33.3333% - 12px);
  /* height: auto; */
  aspect-ratio: 4 / 5;
    border: 1px solid;
    position: relative;
}

section.projects #media-projects .project-inner {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.project-inner h4 {
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid;
  display: block;
  line-height: 1;
  padding-bottom: 5px;
  display: inline-block;
  margin: 10px;
  background-color: white;
  max-width: 60%;
}

section.projects .more {
  background-color: black;
  color: white;
  padding: 10px;
  display: inline-block;
  margin: 0 auto 20px;
  box-sizing: border-box;
}

section.media .text_content h2:first-of-type {
  left: unset;
  right: -25%;
  top: -32px;
}

section.projects .text_content h2:first-of-type {
  top: -32px;
  left: -25%;
}

#media-projects > div:nth-child(4) {
  display: none;
}

/* MEDIA PROJECTS */

.media-project-image img {
  width: 100%;
  height: auto;
  display: block;
}

.media-project-overlay {
  position: absolute;
  top: 50%;
  right: 25%;
  padding: 15px;
  background-color: white;
  border: 1px solid;
  /* opacity: 0;
  transition: opacity .3s ease; */

  padding: 10px;
  box-sizing: border-box;
  border: 1px solid;
  display: block;
  line-height: 1;
  padding-bottom: 5px;
  display: inline-block;
  margin: 10px;
  background-color: white;
}
.media-projects-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  transform: translate(0, -15%);
  z-index: -1;
}

.marquee-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.media-project-item {
  flex: 0 0 33.333%;
  display: block;
  position: relative;
}

section.image {
  background-position: center;
  background-size: contain;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  margin: -200px 0;
  position: relative;
  z-index: -1;
}

.about-content {
  overflow-x: hidden;
  margin-bottom: 40px;
}

/* INFINITE LOADER */

.infinite-loader {
  font-family: inherit;
  font-size: 16px;
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

.infinite-loader::after {
  content: 'Loading';
  animation: loadingDots 1s infinite steps(4);
}

@keyframes loadingDots {
  0%   { content: "Loading"; }
  25%  { content: "Loading."; }
  50%  { content: "Loading.."; }
  75%  { content: "Loading..."; }
  100% { content: "Loading"; }
}
