@keyframes marquee1 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee2 {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

body {
    background-color: rgb(247, 240, 229);
}

.heroRow {
    height: 85vh;
    padding-top: 15vh;
}

.heroFirstRow {
    display: flex;
    flex-direction: row;
    background-color: rgb(247, 240, 229);
    height: 80%;
    padding: 0 100px;
}

.heroText {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 0;
    box-sizing: border-box;
}

.heroImage {
    width: 50%;
}

.heroImage img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.heroText h2 {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 2.5em;
    color: rgb(83, 61, 52);
}

span.greenText {
    color: rgb(103, 113, 87);
}

.heroText p {
    margin: 0;
    width: 50%;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1.1em;
    color: rgb(51, 50, 50);
}

.heroSecondRow {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background-color: rgb(230, 215, 199);
    position: relative;
}

.heroMarquee1, .heroMarquee2 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.heroMarquee1 {
    animation: marquee1 30s linear infinite;
}

.heroMarquee2 {
    animation: marquee2 30s linear infinite;
}

.heroTextButtons a {
    text-decoration: none;
}

.projectsButton {
    margin-right: 50px;
    background-color: rgb(115, 99, 119);
    color: rgb(247, 240, 229);
    display: block;
    padding: 15px 25px;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1em;
    transition: all 0.25s ease-in-out;
}

.projectsButton:hover {
    transform: scale(1.1);
}

.heroTextButtons {
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.contactButton {
    position: relative;
    display: block;
    color: rgb(83, 61, 52);
    font-family: 'Din Pro';
    font-size: 1em;
    font-weight: 500;
}

.contactButton::after {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: rgb(83, 61, 52);
    content: '';
    top: 100%;
    left: 0;
}

.heroTextButtons a {
    text-decoration: none;
}

.projectsButton {
    margin-right: 50px;
    background-color: rgb(115, 99, 119);
    color: rgb(247, 240, 229);
    display: block;
    padding: 15px 25px;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1em;
}

.heroTextButtons {
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.contactButton {
    position: relative;
    display: block;
    color: rgb(83, 61, 52);
    font-family: 'Din Pro';
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
}

.contactButton::after {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: rgb(83, 61, 52);
    content: '';
    top: 100%;
    left: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: all 0.25s ease-in-out;
}

.contactButton:hover::after {
    transform: scaleX(1);
}

.heroSecondRowBlockImg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.heroSecondRowBlockImg {
    width: 50px;
    height: 50px;
}

.heroSecondRowBlock {
    width: calc(25vw - 30px);
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 40px;
}

.heroSecondRowBlockText {
    width: 100%;
    margin-left: 25px;
}

.heroSecondRowBlock:first-of-type {
    margin-left: 0;
}

.heroSecondRowBlock:last-of-type {
    margin-right: 0;
}

.heroSecondRowBlockText h3 {
    margin: 0;
    font-family: 'Din Pro';
    font-size: 1.3em;
    font-weight: 500;
    color: rgb(83, 61, 52);
    line-height: 100%;
    margin-bottom: 15px;
}

.heroSecondRowBlockText p {
    margin: 0;
    font-family: 'Din Pro';
    font-size: 0.8em;
    font-weight: 700;
    color: rgb(83, 61, 52);
    line-height: 120%;
}

.secondRow {
    padding: 40px 100px;
    background-color: white;
}

.secondRowTitle {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 90px;
}

.secondRowTitleLeft {
    width: 50%;
}

.secondRowTitleRight {
    width: 450px;
}

.secondRowTitleLeft h3 {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1em;
    color: rgb(83, 61, 52);
    margin-bottom: 25px;
}

.secondRowTitleLeft h2 {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 2.5em;
    color: rgb(83, 61, 52);
}

.secondRowTitleRight p {
    margin: 0;
    margin-bottom: 20px;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1em;
    color: rgb(83, 61, 52);
}

.secondRowTitleLeft h3 {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1em;
    color: rgb(83, 61, 52);
    margin-bottom: 25px;
}

.secondRowTitleLeft h2 {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 2.5em;
    color: rgb(83, 61, 52);
}

.secondRowTitleRight p {
    margin: 0;
    margin-bottom: 20px;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1em;
    color: rgb(83, 61, 52);
}

.secondRowProjects {
    display: flex;
    flex-direction: row;
}

.r2Project {
    width: calc(33.3% - 30px);
    margin-right: 45px;
    height: 450px;
    display: block;
    text-decoration: none;
}

.r2Project:last-of-type {
    margin-right: 0;
}

.r2ProjectImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.r2ProjectImg {
    height: 65%;
}

.r2ProjectText {
    height: auto;
    background-color: rgb(247, 240, 229);
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

.r2ProjectText h3 {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1em;
    color: rgb(83, 61, 52);
    margin-bottom: 10px;
}

.r2ProjectText p {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 700;
    font-size: 0.8em;
    color: rgb(83, 61, 52);
}

.arrowProject {
    width: 40px;
    height: 14px;
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translate(-160%, -40px);
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.arrowProject:hover {
    transform: translate(-160%, -40px) scale(1.1);
}

.arrowProject svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.thirdRowContent {
    display: flex;
    flex-direction: row;
    height: 450px;
}

.r3ContentBlock {
    width: 50%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    position: relative;
}

.r3ContentBlock.services {
    background-color: rgb(191, 198, 208);
}

.r3ContentBlock.philosophy {
    background-color: rgb(103, 113, 87);
}

.r3ContentBlockText {
    width: 60%;
    height: 100%;
    padding-left: 100px;
    padding-top: 80px;
    box-sizing: border-box;
    padding-bottom: 80px;
    flex-direction: column;
    display: flex;
    justify-content: space-between;
}

.r3ContentImg {
    width: 40%;
    height: 100%;
}

.r3ContentImg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.r3ContentBlockImg {
    height: 100%;
    width: 40%;
}

.r3ContentBlockImg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.r3ContentBlockText h3 {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1.1em;
    color: white;
    margin-bottom: 30px;
}

.r3ContentBlockText h2 {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 2.5em;
    color: white;
    line-height: 110%;
    margin-bottom: 20px;
}

.r3ContentBlockText p {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1em;
    color: white;
    margin-bottom: 40px;
    width: 380px;
}

.philosophy .contactButton {
    color: white;
}

.philosophy .contactButton::after {
    background-color: white;
}

.services :is(h3, h2, p) {
    color: rgb(83, 61, 52);
}

.philosophy .r3ContentBlockImg {
    height: 270px;
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translate(-100%, -100%);
}

.r3ContentBlockImg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.thirdRowProposal {
    background-color: rgb(115, 99, 119);
    display: flex;
    flex-direction: row;
    padding: 50px 100px;
    justify-content: space-between;
    align-items: center;
}

.r3ProposalTitle {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 70%;
}

.r3ProposalTitle h2 {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 700;
    font-size: 2.2em;
    color: white;
    margin-right: 60px;
}

.proposalSeparator {
    width: 2px;
    height: 60px;
    background-color: white;
    margin-right: 60px;
}

.proposalText p {
    margin: 0;
    font-family: 'Din Pro';
    font-weight: 500;
    color: white;
    font-size: 1em;
}

a.talkButton {
    text-decoration: none;
    color: white;
    font-family: 'Din Pro';
    font-weight: 500;
    font-size: 1em;
    border: 1px solid white;
    padding: 10px 40px;
    transition: all 0.25s ease-in-out;
}

a.talkButton:hover {
    transform: scale(1.1);
}

@media only screen and (max-width: 1600px) {
    .heroFirstRow {
        padding-left: 80px;
    }
    .heroSecondRow {
        padding: 0 80px;
    }
    .secondRow {
        padding: 40px 80px;
    }
    .r2Project {
        width: calc(33.3% - 20px);
        margin-right: 30px;
    }
    .r3ContentBlockText {
        padding-left: 80px;
        padding-top: 60px;
        padding-right: 20px;
        padding-bottom: 60px;
    }
    .r3ContentBlockText p {
        width: auto;
    }
    .r3ContentBlockText h2 {
        font-size: 2em;
    }
    .r3ContentBlockText h3 {
        font-size: 1em;
    }
    .r3ContentBlockText p {
        margin-bottom: 0;
    }
    .thirdRowProposal {
        padding: 50px 80px;
    }
}

@media only screen and (max-width: 1200px) {
    .heroFirstRow {
        padding: 0 60px;
    }
    .heroSecondRow {
        padding: 0 60px;
    }
    .secondRow {
        padding: 40px 60px;
    }
    .r3ContentBlockText {
        padding-left: 60px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .secondRowProjects {
        flex-wrap: wrap;
    }
    .r2Project {
        width: calc(50% - 15px);
        margin-right: 30px;
    }
    .r2Project:nth-child(2n) {
        margin-right: 0;
    }
    .secondRowTitle {
        justify-content: space-between;
    }
    .secondRowTitleRight {
        width: 50%;
    }
    .r3ProposalTitle h2 {
        font-size: 1.7em;
    }
    .proposalText p {
        font-size: 0.9em;
    }
    .thirdRowProposal {
        padding: 50px 60px;
    }
    .heroSecondRowBlockText h3 {
        font-size: 1em;
    }
    .heroSecondRowBlockText p {
        font-size: 0.7em;
    }
    .heroSecondRowBlock {
        width: calc(33.3vw - 20px);
        margin-right: 30px;
    }
}

@media only screen and (max-width: 1000px) {
    .heroFirstRow {
        padding: 0 40px;
    }
    .secondRow {
        padding: 40px 40px;
    }
    .r3ContentBlockText {
        padding-left: 40px;
    }
    .heroText h2 {
        font-size: 2em;
    }
    .heroText p {
        font-size: 1em;
        width: 70%;
    }
    .projectsButton {
        padding: 10px 15px;
        font-size: 0.9em;
        margin-right: 35px;
    }
    .contactButton {
        font-size: 0.9em;
    }
    .secondRowProjects {
        flex-wrap: wrap;
    }
    .r3ContentBlockText h2 {
        font-size: 1.5em;
    }
    .r3ContentBlockText p {
        font-size: 0.9em;
    }
    .thirdRowContent {
        display: flex;
        flex-direction: row;
        height: 380px;
    }
    .philosophy .r3ContentBlockImg {
        height: 200px;
    }
    .contactButton {
        font-size: 0.8em;
    }
    .thirdRowProposal {
        padding: 50px 40px;
    }
}

@media only screen and (max-width: 800px) {
    .heroFirstRow {
        position: relative;
        background-color: unset;
        padding: 0;
    }
    .heroText {
        width: 100%;
        background-color: rgba(247, 240, 229, 0.6);
        padding-left: 40px;
    }
    .heroImage {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        z-index: -1;
    }
    .heroText p {
        width: 400px;
    }
    .r2Project {
        width: 100%;
        margin-right: 0;
        height: 450px;
    }
    .thirdRowContent {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .r3ContentBlock {
        width: 100%;
        height: 300px;
    }
    .r3ContentBlockText h3 {
        margin-bottom: 15px;
    }
    .thirdRowProposal {
        flex-direction: column;
    }
    .r3ProposalTitle {
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }
    .thirdRowProposal {
        padding: 30px 40px;
    }
    .heroSecondRowBlock {
        width: calc(50vw - 10px);
        margin-right: 20px;
        flex-shrink: 0;
    }
}

@media only screen and (max-width: 600px) {
    .heroText {
        padding: 40px 0;
        padding-left: 20px;
    }
    .r3ContentBlockText {
        padding-left: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .secondRowTitle {
        flex-direction: column;
    }
    .secondRowTitleLeft, .secondRowTitleRight {
        width: 100%;
    }
    .secondRowTitleLeft {
        margin-bottom: 30px;
    }
    .secondRow {
        padding: 40px 20px;
    }
    .r3ContentBlockText h3 {
        margin-bottom: 20px;
    }
    .r3ContentBlockText h2 {
        font-size: 1.2em;
    }
    .r3ContentBlockText p {
        font-size: 0.8em;
    }
    .r3ContentBlockText .contactButton {
        font-size: 0.7em;
    }
    .r3ContentBlockText .contactButton::after {
        height: 1px;
        transform: translateY(2px);
    }
    .thirdRowProposal {
        padding: 30px 20px;
    }
    .r3ProposalTitle h2 {
        font-size: 1.3em;
    }
    .proposalText p {
        font-size: 0.8em;
    }
    .r3ProposalTitle h2, .proposalSeparator {
        margin-right: 40px;
    }
    .heroSecondRowBlock {
        width: 100vw;
        margin-right: 0;
        flex-shrink: 0;
    }
}

@media only screen and (max-width: 500px) {
    .heroText p {
        width: 280px;
    }
}