:root {
    --max-container-width: minmax(0, 1224px);
    --container-width: 1224px;
}

body {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

@media (max-width: 700px) {
    body {
        font-size: 16px;
    }
}

html.fonts-loaded {
    font-family: 'DMSans', serif;
}

/* 1224 */

body.scrolled header {
    box-shadow: 0 0 12px rgba(23, 23, 23, .6);
}

body.scrolled header>div {
    padding: 20px 16px;
}

body.scrolled header .logo img {
    height: 50px;
}

header {
    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
    position: sticky;
    z-index: 990;
    top: 0;
    background: white;
    transition: .5s box-shadow;
}

header>div {
    grid-column: 2;
    padding: 30px 16px;
    transition: .5s padding;
}

header .logo img {
    height: 75px;
    transition: height .5s;
}

header .logo a:hover {
    border-color: transparent;
}

header>div {
    display: flex;
    position: relative;
}

header .logo {
    flex: 1;
    ;
}

header .links {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
}

header a {
    color: rgb(23, 23, 23);
    text-decoration: none;
    border: solid transparent;
    border-width: 0 0 2px 0;
    transition: .2s border-color;
    display: inline-block;
}

header a:hover,
header a.active {
    border-color: rgb(23, 23, 23);
}

header .mobileicons {
    display: none;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
}

header .mobileicons button {
    background: transparent;
    border: 0;
}

header .mobileicons img {
    width: 35px;
    height: 35px;
}

header .mobileicons[data-show="open"] button:last-of-type {
    display: none;
}

header .mobileicons[data-show="close"] button:first-of-type {
    display: none;
}

@media (max-width: 700px) {

    header .mobileicons {
        display: flex;

    }


    header .links {
        visibility: hidden;
        height: 0;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        align-items: flex-end;
        background: white;
        padding: 0 24px 30px 16px;
        box-shadow: 0px 11px 12px -12px rgba(23, 23, 23, .6);
        z-index: 1;
    }

    header .links.show {
        height: 200px;
        visibility: visible;
    }
}


a {
    color: rgb(229, 96, 87);

}

a:hover {
    text-decoration: none;
}

#home .hero {
    background: rgba(120, 186, 54, 0.75);
    color: white;
    padding: 60px 16px;
    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
}

#home .hero>div {
    grid-column: 2;
    display: grid;
    grid-template-columns: .6fr auto;
}


@media (max-width: 700px) {

    #home .hero>div {
        grid-column: 2;
        display: grid;
        grid-template-columns: auto;
    }
}


#home .hero .biggest {
    grid-column: 1;
    font-size: 4.5rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 16px;
}

#home .hero .bigger {
    grid-column: 1;
    font-size: 1.8rem;
}

#home .hero .cta {
    grid-column: 1;
}

#home .hero .cta .button {
    background: white;
    padding: 20px 16px;
    border: 0;
    font-size: 1.4rem;
    text-decoration: none;
    color: #232323;
    transition: .2s background-color, .2s color;
}

#home .hero .cta .button:hover {
    background: rgb(229, 96, 87);
    color: white;
}


@media (max-width: 700px) {

    #home .hero .biggest {

        font-size: 2.5rem;
    }
}

#home .about {
    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
    font-size: 1.3rem;
    padding: 60px 16px;
    background: #f5f5f5;
}

#home .about>div {
    grid-column: 2;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
}



@media (max-width: 700px) {

    #home .about>div {
        grid-template-columns: 1fr;
    }
}


#home .about>div.left {
    grid-column: 1;
}

#home .about .clients {
    display: flex;
    gap: 36px;
    align-items: center;
}

#home .about .left .clients p:last-child {
    font-size: 2rem;
}

#home .about>div .right {
    grid-column: 2;

}



@media (max-width: 700px) {
    #home .about>div .right {
        grid-column: 1;

    }
}


#home .about .right p {
    font-size: 2.5rem;
    margin: 0;
    text-align: right;
}

#home .services {
    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
    font-size: 1.6rem;
    padding: 60px 16px;
}

#home .services>div {
    grid-column: 2;
}

#home .services .images {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
}


@media (max-width: 700px) {
    #home .services .images {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #home .services .images div:first-child {
        display: none;
    }


    #home .services .images div:last-child img {
        width: 100%;
    }
}


#home .services .images image {
    width: 100%;
}

#home .services .images div:first-of-type {
    padding-top: 32px;
}


#home .services .images div:first-of-type img {
    height: 90%;
}

#home .services .whatwedo {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    padding-top: 64px;

}

#home .services .whatwedo .bigger {
    font-size: 1.8em;
}

#home .services .whatwedo ul {
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 1.3em;
}


@media (max-width: 700px) {

    #home .services .whatwedo {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 64px;
    }

    #home .services .whatwedo ul {
        padding-left: 0;
    }
}

#home .projects {
    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
    font-size: 1.6rem;
    padding: 60px 16px;
}

#home .projects>div {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

#home .projects h2 {
    grid-column: 1/4;
    font-weight: normal;
    font-size: 1.8em;
}

#home .projects .project {
    font-size: 1.6em;
}

#home .projects .project .logo {
    width: calc(100% - 64px);
    height: 320px;
    display: flex;
    align-items: center;
}

#home .projects .project img {
    width: 100%;
}

#home .projects .project p {
    margin: 0;
}

#home .projects .project p.title {
    margin-top: 36px;
}

#home .projects .project a {
    font-size: .6em;
}



@media (max-width: 700px) {
    #home .projects>div {
        grid-column: 2;
        display: grid;
        grid-template-columns: 1fr;
    }


    #home .projects h2 {
        grid-column: 1/2;
    }


    #home .projects .project .logo {}

}

#home .bigcta {
    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
    font-size: 3.6rem;
    padding: 60px 16px;
}

#home .bigcta>div {
    grid-column: 2;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 36px;
}

#home .bigcta p {
    grid-column: 1;
    margin: 0;
}

#home .bigcta .button {
    grid-column: 1;
    background: #232323;
    padding: 20px 16px;
    border: 0;
    font-size: 1.4rem;
    color: rgb(251, 244, 244);
    text-decoration: none;
    transition: .2s background-color, .2s color, .2s border-color;
    border: 2px solid transparent;
}

#home .bigcta .button:hover {
    background: rgb(251, 244, 244);
    border-color: #232323;
    ;
    color: #232323;
}

footer {
    background: rgb(13, 13, 13);
    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
}

footer>div {
    grid-column: 2;
    padding: 124px 0;
    font-size: 1.4rem;
    color: white;
    display: grid;
    grid-template-columns: 1fr auto;
}

footer ul {
    margin: 0;
    padding: 0 0 0 32px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    ;
}

footer ul a {
    color: white;
    text-decoration: underline;
}

footer ul a:hover {
    text-decoration: none;
}


@media (min-width: 701px) {}

@media (max-width: 700px) {
    footer>div {
        grid-template-columns: 1fr 1fr;
    }


}


#about {

    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
}

#about>div {
    grid-column: 2;
}

#about .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px 0;
}

#about h1 {
    font-size: 5rem;
    font-weight: normal;
}

#about .about .bio p {
    /* margin: 0; */

}



@media (max-width: 700px) {
    #about .about {
        display: grid;
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 24px 16px;
    }


}




#services {

    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
}

#services>div {
    grid-column: 2;
}

#services .services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px 0;
}

#services h1 {
    font-size: 5rem;
    font-weight: normal;
}

#services .services .bio dt {
    font-size: 2rem;
    padding: 32px 0 16px;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 16px;
    align-items: center;
}

#services .services .bio dt:before {
    display: block;
    content: '';
    width: 30px;
    height: 30px;
    background: var(--background);

    background-size: 30px 30px;
}

#services .services .bio dd {
    padding: 0 0 16px 0;
    margin: 0;
}

#services .cta {
    text-align: center;
}

#services .cta p {
    font-size: 4rem;
}

#services .cta .button {
    grid-column: 1;
    background: black;
    padding: 20px 16px;
    border: 0;
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
    transition: .2s background-color, .2s color, .2s border-color;
    border: 2px solid transparent;
}

#services .cta .button:hover {
    background: rgb(251, 244, 244);
    border-color: #232323;
    ;
    color: #232323;
}

#services .pics {
    display: grid;
    grid-template-columns: 300px 600px 300px;
    gap: 16px;
    align-items: center;
    padding: 96px 0;
}

@media (min-width: 701px) {
    #services .pics div:nth-of-type(1) img {
        width: 300px;
        height: 500px;
    }



    #services .pics div:nth-of-type(2) img {
        width: 600px;
        height: 600px;
    }

    #services .pics div:nth-of-type(3) img {
        width: 300px;
        height: 500px;
    }

    #services .pics img {
        /* width: 100%; */
        /* height: 600px; */
        object-fit: cover;
    }
}



@media (max-width: 700px) {

    #services .services {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 24px 16px;
    }

    #services .pics {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: center;
        padding: 40px 16px;
    }

    #services .pics img {
        width: 100%;
    }

}



#work {

    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
}

#work>div {
    grid-column: 2;
}

#work h1 {
    font-size: 5rem;
    font-weight: normal;
}

#work .works {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 96px;
    padding: 0 0 96px 0;
}

#work .works>div {
    display: flex;
    flex-direction: column;
}


#work .works .logo img {
    width: 100%;
}

#work .works>div p {
    font-size: 2rem;
}

@media (min-width: 701px) {
    #work .works .logo {
        /* width: 600px; */
        height: 320px;
        display: flex;
        align-items: center;
    }

}

@media (max-width: 700px) {

    #work>div {
        padding: 24px 16px;
    }

    #work .works {
        /* display: grid; */
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 24px 16px;
    }

}



#contact {

    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
}

#contact>div {
    grid-column: 2;
}

#contact h1 {
    font-size: 5rem;
    font-weight: normal;
}

#contact .details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    padding-bottom: 96px;
}

#contact .details .email {
    font-size: 2rem;
}

#contact .map {
    width: 100%;
    height: 500px;
}


@media (max-width: 700px) {

    #contact .details {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 24px 16px;
    }


    #contact .map {
        width: calc(100% - 72px);
        height: 300px;
        margin: auto;
    }
}



#project {

    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
}

#project>div {
    grid-column: 2;
}

#project .about {
    display: grid;
    grid-template-columns: auto 400px;
    gap: 96px;
    font-size: 1.5rem;
}

#project .about h1 {
    font-size: 5rem;
    font-weight: normal;
}

#project .objectives {
    width: 70%;
    padding: 36px 0 48px 0;
}

#project .logo {
    display: flex;
    align-items: center;
}

#project .logo img {
    width: 100%;
}





@media (max-width: 700px) {

    #project .about {
        display: grid;
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 24px 16px;
        font-size: 1.5rem;
    }

    #project .about h1 {
        font-size: 4rem;
        font-weight: normal;
    }


    #project .objectives {
        width: auto;
        padding: 36px 24px 48px 24px;
    }
}



#notFound {

    display: grid;
    grid-template-columns: auto var(--max-container-width) auto;
}

#notFound>div {
    grid-column: 2;
}

#notFound .notFound {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px 0;
}

#notFound h1 {
    font-size: 5rem;
    font-weight: normal;
}

#about .about .bio p {
    /* margin: 0; */

}



@media (max-width: 700px) {
    #notFound .notFound {
        display: grid;
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 24px 16px;
    }


}








@font-face {
    font-family: 'DMSans';
    src: url('/assets/fonts/DMSans-Light.woff2') format('woff2'),
        url('/assets/fonts/DMSans-Light.woff') format('woff');
    font-weight: 400;
}

@font-face {
    font-family: 'DMSans';
    src: url('/assets/fonts/DMSans-SemiBold.woff2') format('woff2'),
        url('/assets/fonts/DMSans-SemiBold.woff') format('woff');
    font-weight: 500;
}