:root {
    --white: white;
    --black: black;
}

body {
    color: #333;
    cursor: none;
    font-family:
        Arial,
        Helvetica Neue,
        Helvetica,
        sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    min-height: 100%;
    background-color: #fff;
}

a {
    color: #1d1d1d;
    cursor: none;
    text-decoration: none;
}

a.w--current {
    cursor: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-bottom: 10px;
}
h1 {
  font-size: 38px;
  line-height: 44px;
  margin-top: 20px;
}
h2 {
  font-size: 32px;
  line-height: 36px;
  margin-top: 20px;
}
h3 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 20px;
}
h4 {
  font-size: 18px;
  line-height: 24px;
  margin-top: 10px;
}
h5 {
  font-size: 14px;
  line-height: 20px;
  margin-top: 10px;
}
h6 {
  font-size: 12px;
  line-height: 18px;
  margin-top: 10px;
}
p {
  margin-top: 0;
  margin-bottom: 10px;
}

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

.wrapper {
    width: 100%;
    height: auto;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-size: 100%;
    font-weight: 500;
    line-height: 1.6;
    display: block;
}

.header-main {
    z-index: 999;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    height: 50px;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 500;
    display: flex;
    position: fixed;
    inset: 0 auto auto 0;
}

.header {
    background-color: #fff;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
    height: 50px;
    padding: 10px 15px;
    font-size: 100%;
    line-height: 1.6;
    display: flex;
}

.header_text {
    color: #1d1d1d;
    letter-spacing: 0.025em;
    font-size: 1.25rem;
    font-weight: 500;
}

.header_text.navigation_inactive {
    font-weight: 400;
}

.header_text.navigation_active {
    font-weight: 500;
}

.navigation {
    justify-content: space-between;
    align-items: center;
    width: 150px;
    height: 20px;
    font-size: 1.25rem;
    font-weight: 400;
    display: flex;
}


.front-image-wrapper {
    position: relative;
    width: 100%; /* Responsive image size */
    height: 50vh;/* Maintain aspect ratio */
}

.front-fade-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Responsive image size */
    height: 50vh;/* Maintain aspect ratio */
    margin-bottom: 10px; /* Space below each image */
    opacity: 0;
    transition: opacity 0.2s ease; /* Control the fade duration and style */
    overflow: hidden;
    object-fit: cover;
}

.front-image-normal {
    opacity: 1;
}

.front-image-wrapper:hover .front-image-normal {
    opacity: 0; /* Fade out original image */
}

.front-image-wrapper:hover .front-image-hover {
    opacity: 1; /* Fade in hover image */
}




.footer-main {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    height: 50px;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 500;
    display: flex;
    position: static;
    bottom: 0;
}

.footer_elements {
    justify-content: space-between;
    align-items: center;
    width: auto;
    height: 20px;
    font-size: 1.25rem;
    font-weight: 400;
    display: flex;
}

.footer {
    background-color: #fff;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: none;
    height: 50px;
    padding: 10px 15px;
    font-size: 100%;
    line-height: 1.6;
    display: flex;
}

.footer_text {
    color: #1d1d1d;
    letter-spacing: 0.05em;
    font-size: 1.25rem;
    font-weight: 500;
}

.footer_text.navigation_inactive {
    text-align: right;
    letter-spacing: 0.025em;
    order: 0;
    padding-left: 25px;
    padding-right: 0;
    font-weight: 400;
}

.footer_text.navigation_inactive.footer_active {
    font-weight: 500;
}



@media screen and (min-width: 1920px) {
    .main-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 479px) {
    .header_text {
        font-size: 1.1rem;
    }

    .navigation {
        width: 120px;
    }

    .footer_text.navigation_inactive {
        font-size: 1.1rem;
    }

}

@media screen and (max-width: 991px) {
    body {
        cursor: auto;
    }


    a {
        cursor: auto;
    }

    a.w--current {
        cursor: auto;
    }
}

@media screen and (max-width: 767px) {
    .header_text,
    .header_text.navigation_inactive {
        font-size: 1.1rem;
    }

    .main-content {
        grid-template-columns: 1fr;
    }
    .project-category,
    .footer_text.navigation_inactive {
        font-size: 1.1rem;
    }

    .main-content-subpage {
        grid-template-rows: auto auto auto auto;
        grid-template-columns: 1fr 1fr;
    }
}



