html {
    scroll-behavior: smooth;    
    overflow-x: hidden;
}
body {
    background-color: #fff;
    color: #0a0a0a;
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 300;
}

h1 {
    font-weight: initial;
}
.color {
    color: #D7E4C0;
}
/* Container */
.container {
    max-width: 1480px;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Header */
header {
    width: 100%;
    position: fixed;
    padding-top: 50px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    left: 50%;
    top: 0; 
    transform: translateX(-50%);
    z-index: 100;
    background-color: #fff;
}
header p {
    position: absolute;
    top: 0;
}
header .container {
    border-top: 1px solid #0a0a0a;
    padding: 0;
}
header .menu {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    float: right;
    margin-top: 10px;
}
header a {
    color: #0a0a0a;
    text-transform: uppercase;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 300;    
    display: inline-block;
}
header a:hover {
    cursor: pointer;
    font-weight: 500;
}

/* Homepage */
#homepage {
    height: calc(100vh - 100px);
    width: 100%;
    margin-top: 100px;
    position: relative;
    margin-bottom: 200px;

}
.homepage__slogan {
    font-family: "IBM Plex Serif", serif;
}
.homepage__slogan h1 {
    font-weight: 100 !important;    
    font-size: 4rem;
    margin: 0;
    line-height: 5rem;
}
.homepage__slogan h1:nth-child(2){
    color: #D7E4C0;
}
.homepage__text {
    max-width: calc(30% - 40px);
    width: 100%;
    left: 0;
    padding-right: 20px;
    margin-top: 100px;
}
.homepage__example {
    position: absolute;
    right: 0px;
    bottom: 0;
    max-width: 70%;
}
.homepage__example div {
    position: relative;
}
.homepage__example p {
    position: absolute;
    color: #f2f2f2;
    left: 20px;
    bottom: 10px;
} 
#homepage a {
    position: absolute;
    bottom: 0;
}

/* What we do */
#whatwedo {
    background-color: #747e61;
    height: 100vh;
    position: relative;
}
#whatwedo h1 {
    font-family: "IBM Plex Serif", serif;
    font-weight: 400 !important;    
    font-size: 7rem;
    text-align: left;
    color: #8f9a7b;
    padding-top: 50px;
    line-height: 6rem;
    position: absolute;
    z-index: 50;
}
#whatwedo .container-samples {
    padding-top: 300px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: flex-start;
}
#whatwedo .whatwedo--type {
    position: relative;
    flex: 1 auto;
}
#whatwedo .whatwedo--type div {
    z-index: 60;
    position: relative;
    width: 280px;
    height: 400px;
    object-fit: contain;
    overflow: hidden;
}
#whatwedo .whatwedo--type h1 {
    /* color: #D7E4C0; */
    color: #fff;
    font-size: 3rem;
    position: absolute;
    bottom: 0px;
    z-index: 70;
    padding-top: 0;
    line-height: 0;
    left: -60px;
    font-weight: 100 !important;   
    font-family: "Poppins", sans-serif;
}
#whatwedo div img {
    width: 300px;
    object-fit: cover;
    /* object-position: -100px;     */
}

/* Projects */
#projects {
    margin-top: 200px;
    margin-bottom: 200px;
}
#projects h1 {
    font-weight: 100 !important;
    text-transform: uppercase;
    font-size: 4rem;
    text-align: center;
}
.projects--grid:after {
    content: '';
    display: block;
    clear: both;
}
.projects--sizer,
.projects--item {
    /* width: calc(25% - 15px); */
    width: calc(33.333% - 13px);
    margin-bottom: 20px;
}
.projects--item img {
    display: block;
    width: 100%;
}

/* Contact */
#contact {
    padding-top: 100px;
    padding-bottom: 200px;
    background-color: #fcf9f9;
    position: relative;
    overflow: hidden;
}
#contact h1 {
    font-weight: 100 !important;    
    text-align: center; 
    text-transform: uppercase;   
    font-size: 4rem;
    z-index: 50;
    position: relative
}
.contact__text {
    max-width: calc(30% - 40px);
    width: 100%;
    left: 0;
    margin-top: 100px;
}
#contact a {
    text-decoration: none;
    color: #747e61;
    padding-left: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #747e61;
}
#contact img {
    position: absolute;
    right: 0px;
    bottom: 0;
    z-index: 40;
    /* height: 400px; */
    max-width: 70%;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 30px;
    position: relative;
}

footer div {
    position: absolute;
    left: 20px;
    padding: 30px 0;
    text-align: left;
}
footer a {
    text-decoration: none;
    color: #0a0a0a;
    display: block;
}
footer a:hover {
    cursor: pointer;
    color: #747e61;
}

@media screen and (max-width: 1270px) {
    .homepage__slogan {
        margin-top: 100px;
    }
    .homepage__text, .contact__text {
        max-width: calc(100% - 40px);
        margin-bottom: 20px;
        margin-top: 50px;
    }
    .homepage__example, #contact img {
        position: relative;
        max-width: 90%;
        overflow: hidden;
    }

    #contact {
        padding-bottom: 0;
    }

    #whatwedo {
        height: 100%;
        padding-bottom: 100px;
    }

    #whatwedo .container-samples {
        gap: 20px;
        max-width: calc(100% - 40px);
    }
    #whatwedo .whatwedo--type {
        margin-top: 20px !important;
        flex: calc(50% - 20px);
        left: calc(25% - 20px);
        transform: translateX(calc(-25% - 20px));        
    }
}

@media screen and (max-width: 760px) {
    #projects {
        margin-top: 100px;
        margin-bottom: 100px;
    }
    .projects--sizer,
    .projects--item {
        /* width: calc(25% - 15px); */
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }    

    header .menu {
        display: none;
    }

    #homepage {
        height: 100%;
        margin-bottom: 0;
    }

    .homepage__slogan h1 {
        line-height: initial;
    }
    
    #whatwedo h1 {
        position: relative;
        font-size: 4rem;
        line-height: 4rem;;
    }
    #whatwedo .container-samples {
        display: inline-block;
        padding-top: 30px;
    }
    #whatwedo .whatwedo--type {
        margin-top: 20px !important;
        left: initial;
        transform: initial;        
        width: fit-content;
        margin: 0 auto;
        display: block;
    }    
	#whatwedo .whatwedo--type h1 {
		left: -40px;	
	}

    h1 {
        margin-top: 0;
        text-align: left !important;
        font-size: 3rem !important;
        line-height: 3.5rem;
    }

    #contact img {
        margin-top: 20px;
    }

    footer {
        margin-top: 20px;
        padding-top: 40px !important;
    }
}