body {
    background-color: #292929;
    margin: 0;
    font-family: 'Titillium Web', sans-serif;
}

header {
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #292929;
    position: sticky;
    z-index: 1000;
    padding: 1rem;
}

h1, h2, h3, h4, h5 {
    display: flex;
    justify-content: center;
    align-self: center;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.5rem;
    padding-top: 1rem;
    margin-block-start: 0;
    margin-block-end: 0;
    color: #E4E8A7;
}

@media screen and (max-width: 768px) {
    h1, h2, h3, h4, h5 {
        font-size: 1.6rem;
    }

    h6 {
        font-size: 1.2rem;
    }
}

h6 {
    display: flex;
    justify-content: center;
    align-self: center;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 0.8rem;
    padding-bottom: 1rem;
    color: white;
}


p, a {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 500;
    font-style: normal;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#header-logo {
    max-height: 30%;
    max-width: 30%;
}

@media screen and (max-width: 768px) {
    #header-logo {
        max-height: 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 480px) {
    #header-logo {
        max-height: 70%;
        max-width: 70%;
    }
}

#hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

#hamburger-menu span {
    display: block;
    width: 1.563rem;
    height: 0.1875rem;
    background-color: white;
    margin: 0.3125rem 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

#main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #292929;
    transform-origin: top;
}

#main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
}

#main-nav li {
    text-align: center;
}

#main-nav a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

#main-nav.open {
    display: block;
    animation: slideDown 0.5s ease-in-out forwards;
}

#main-nav.close {
    animation: slideUp 0.5s ease-in-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: scaleY(1);
    }
    to {
        opacity: 0;
        transform: scaleY(0);
    }
}

#hamburger-menu.open span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

#hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

#hamburger-menu.open span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}


#hero {
    min-width: 100%;
}

.image-container {
    display: flex;
    width: 100%;
    min-height: 699px;
    background-image: url("/images/projects/green-decorations-hero-image.webp");
    background-size: cover;
    background-position: 50%;
    justify-content: center;
    overflow: hidden;
}

@media screen and (max-width: 1024px) {
    .image-container {
        min-height: 500px;
        aspect-ratio: auto;
    }
}

@media screen and (max-width: 768px) {
    .image-container {
        min-height: 400px;
        aspect-ratio: auto;
    }
}

@media screen and (max-width: 480px) {
    .image-container {
        min-height: 300px;
    }
}

#clients {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #292929;
}


@keyframes slideLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }

}

.marquee-container {
    width: 100%;
}

.marquee-top-row {
    overflow: hidden;
    padding-top: 1.25rem;
    white-space: nowrap;
    position: relative;

}

.marquee-top-row:before, .marquee-top-row:after {
    position: absolute;
    top: 0;
    width: 25vw;
    height: 100%;
    content: "";
    z-index: 2;
}

.marquee-top-row:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #292929);
}

.marquee-top-row:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #292929);
}

.marquee-top-row-slide {
    display: inline-block;
    animation: 30s slideLeft infinite linear;
    animation-direction: reverse;
}

.marquee-top-row-slide img {
    height: 96px;
    margin: 0 2vw;
    object-fit: contain;
}

.StGeorge {
    height: 84px;
}

.Vinci {
    height: 84px;
}

.SDC {
    height: 84px;
}

.marquee-bottom-row-slide img {
    height: 32px;
    margin: 0 2vw;
    object-fit: contain;
}

.Marlow {
    height: 14px;
}

.ThomasSinden {
    height: 16px;
}

.marquee-bottom-row {
    overflow: hidden;
    padding-top: 1.25rem;
    white-space: nowrap;
    position: relative;
}

.marquee-bottom-row:before, .marquee-bottom-row:after {
    position: absolute;
    top: 0;
    width: 25vw;
    height: 100%;
    content: "";
    z-index: 2;
}

.marquee-bottom-row:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #292929);
}

.marquee-bottom-row:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #292929);
}

.marquee-bottom-row-slide {
    display: inline-block;
    animation: 30s slideLeft infinite linear;
}

@media screen and (max-width: 480px) {
    .marquee-top-row-slide img {
        height: 56px;
        margin: 0 2vw;
        object-fit: contain;
    }

    .marquee-bottom-row-slide img {
        height: 20px;
        margin: 0 2vw;
        object-fit: contain;
    }

    .Marlow {
        height: 10px;
    }

    .ThomasSinden {
        height: 10px;
    }
}

.bento-grid {
    display: grid;
    gap: 16px;
    width: calc(100% - 32px);
    margin: 16px auto;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: auto;
    grid-template-areas:
        "wide wide wide wide wide wide"
        "img2 img2 img3 img3 img3 img3"
        "img4 img4 img4 img6 img6 img6"
        "img5 img5 img5 img6 img6 img6";
}

.bento-item {
    position: relative;
    overflow: hidden;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.img1 {
    grid-area: wide;
}

.img2 {
    grid-area: img2;
}

.img3 {
    grid-area: img3;
}

.img4 {
    grid-area: img4;
}

.img5 {
    grid-area: img5;
}

.img6 {
    grid-area: img6;
}

.img1 img {
    object-fit: fill;
    width: 100%;
    height: auto;
}

.img6 img {
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "wide wide wide"
            "img2 img3 img3"
            "img4 img6 img6"
            "img5 img6 img6";
    }
}

@media screen and (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "wide"
            "img2"
            "img3"
            "img4"
            "img5"
            "img6";
    }
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    justify-items: center;
    width: 80%;
    margin: 0 auto 20px;
    background-color: #292929;
    padding: 20px;
}

.contact-item:nth-child(1) {
    justify-self: start;
}

.contact-item.email {
    grid-column: 2;
    justify-self: center;
}

.contact-item:nth-child(3) {
    justify-self: end;
}

.contact-item {
    flex: 1;
    max-width: 250px;
    text-align: center;
}

.contact-icon {
    width: 48px;
    height: auto;
    margin-bottom: 10px;
    filter: brightness(0) saturate(100) invert(94%) sepia(15%) saturate(698%) hue-rotate(11deg) brightness(99%) contrast(90%);
}


.contact-descriptor {
    font-size: 1.2rem;
    font-weight: 700;
    color: #E4E8A7;
    margin-bottom: 4px;
    text-align: center;
}

.contact-text {
    font-size: 16px;
    color: #fff;
    text-align: center;
    overflow-wrap: break-word;
}

.contact-text a {
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 125px;
        width: 90%;
        padding: 10px;
    }

    .contact-item {
        width: 100%;
        margin: 10px 0;
    }

    .contact-text {
        font-size: 16px;
        color: #fff;
        text-align: center;
        overflow-wrap: break-word;
    }
}

#footer {
    background-color: #292929;
    padding: 16px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-logo {
    margin-right: 20px;
}

.footer-accreditations {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-grow: 1;
}

.footer-accreditations img {
    max-width: 120px;
    height: auto;
    margin: 0 15px;
}

#footer-logo {
    height: 70px;
}

@media screen and (min-width: 768px) {
    .footer-accreditations img {
        max-width: 150px;
        margin: 0 20px;
    }

    #footer-logo {
        height: 80px;
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        margin: 0 0 10px 0;
        order: 2;
    }

    .footer-accreditations {
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
        order: 1;
    }

    .footer-accreditations img {
        margin: 10px;
    }

    #footer-logo {
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .footer-accreditations img {
        max-width: 100px;
    }

    #footer-logo {
        height: 40px;
    }
}

#copyright-text h6 {
    padding-top: 16px;
    padding-bottom: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}