.page {
    padding-top: 0;
}

.header {
    background: transparent!important;
    transition: background-color 0.01s;
}

body {
    transition: color 0.5s linear;
    background: var(--basalt);
}

.logo svg {
    transition: fill 0.5s linear;
}

.section:first-of-type {
    background: var(--pumice);
}

.fp-viewing- {
    color: var(--pumice);
}

.fp-viewing- footer {
    color: var(--scoria);
}

.fp-viewing-projects,
.fp-viewing-projects footer {
    color: var(--scoria);
}

.section:nth-of-type(2n) {
    background: var(--pumice);
    color: var(--scoria);
}


/* .fp-viewing-services .header {
    color: var(--marble)!important;
} */

.fp-viewing-services,
.fp-viewing-services footer {
    color: var(--basalt);
}

.section:nth-of-type(3n) {
    background: var(--marble);
    color: var(--basalt);
}

.fp-viewing-about,
.fp-viewing-about footer {
    color: var(--marble);
}

.section:nth-of-type(4n) {
    background: var(--basalt);
    color: var(--marble);
}

.fp-viewing-contact,
.fp-viewing-contact footer {
    color: var(--basalt);
}

.section:nth-of-type(5n) {
    background: var(--sandstone);
    color: var(--basalt);
}

form {
    background-color: var(--basalt);
}

form * {
    color: var(--sandstone);
    border-bottom-color: var(--sandstone);
}

form *::placeholder {
    color: var(--sandstone);
}

[data-anchor="projects"] .fp-tableCell {
    display: table-cell !important;
}

.fp-tableCell {
    display: block;
}

.footer {
    transition: opacity 0.5s linear;
}

.container {
    padding-top: 20vh;
}

body {
    overflow: hidden;
}

body.pace-done {
    overflow-y: scroll;
}

.logo svg {
    fill: var(--basalt);
}

.pace-done .header {
    opacity: 1;
}

.points {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.point {
    width: calc((100% - 6.4rem) / 3);
}

.section {
    position: relative;
}

.service-block {
    grid-row-end: span 4;
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    position: fixed;
}

.pace .pace-progress {
    background: var(--marble);
    position: fixed;
    z-index: 10;
    top: 0;
    right: 100%;
    width: 100vw;
    height: 100%;
    max-height: 1em;
    opacity: 1;
}

.pace-inactive .pace-progress {
    opacity: 0;
    transition: opacity 3s, transform 1s;
    transform: scaleY(0) translate3d(100%, 0, 0)!important;
}

.image-container {
    position: absolute;
    right: calc(3.2rem + ((100vw - 6.4rem) / 24));
    width: 55vw;
    height: 55vw;
    top: 10.4rem;
    opacity: 0;
    transition: opacity 0.25s ease-in;
    user-select: none;
    pointer-events: none;
}

.image-container img {
    max-height: calc(100vh - 10.4rem);
    object-fit: contain;
}

.service-block li:hover .image-container {
    opacity: 1;
}


/* @media(max-width: )

.image-container img{
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
} */

.thumbs a p,
.thumbs a h4 {
    transition: all 0.3s ease-in-out;
}

.thumbs .thumb-container {
    transition: all 0.3s ease-in-out;
    margin-bottom: 1.2rem;
    filter: grayscale(100%);
    height: 38.680556vw;
    overflow: hidden;
}

.thumbs .thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbs .thumb-container:hover {
    filter: grayscale(0%);
}


/* .thumbs div {
    grid-auto-flow: column;
} */

.thumbs .container-item:nth-child(5n + 1) div {
    grid-column: 3/7;
}

.thumbs .container-item:nth-child(5n + 2) div {
    grid-column: 9/13;
    /* grid-row: 2; */
}

.thumbs .container-item:nth-child(5n + 3) div {
    grid-column: 2/6;
    /* grid-row: 3; */
}

.thumbs .container-item:nth-child(5n + 4) div {
    grid-column: 8/12;
    /* grid-row: 4; */
}

.thumbs .container-item:nth-child(5n + 5) div {
    grid-column: 1/5;
    /* grid-row: 5; */
}

.thumbs p:first-of-type {
    margin-bottom: 1.2rem;
}

.projects {
    padding-bottom: 12.194444vw;
}

@media only screen and (min-width: 0px) and (max-width: 900px) {
    .thumbs .container-item div {
        grid-column: 2/7 !important;
    }
    .projects .m--grid--auto {
        grid-row-gap: 5rem;
    }
}

.iScrollVerticalScrollbar {
    opacity: 0;
    visibility: hidden;
}