@font-face {
    font-family: MyriadPro;
    src: url("../fonts/MyriadPro.otf");
}

@font-face {
    font-family: Opale;
    src: url("../fonts/Opale.otf");
}

@font-face {
    font-family: ZurichBT;
    src: url("../fonts/ZurichBT.otf");
}

body { 
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased !important;
}

/* NAV */
#navBarContainer {
    position: fixed;
    padding: 0px 32px;
    display: flex;
    align-items: baseline;
    background-color: #ffffff;
    z-index: 2;
}

#navBarContainer .mainMenuLogo {
    margin: 8px 0px;
    font-family: "Opale";
    font-size: 40px;
    line-height: 48px;
    color: #805F5D;
}

#navBarContainer .mainMenuLogo:hover {
    text-decoration: none;
}

#myNavBar {
    width: 100%;
    background-color: #ffffff;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

#myNavBar .mainMenuLink {
    margin-right: 8px;
    font-family: "ZurichBT";
    font-size: 17px;
    line-height: 27px;
    color: #805F5D;
    background-image: linear-gradient(transparent calc(100% - 1px),#805F5D 10px);
    background-repeat: no-repeat;
    transition: background-size 0.7s;
    background-size: 0 100%;
}

#myNavBar .mainMenuLink:hover {
    text-decoration: none;
    background-size: 100% 100%;
}

#myNavBar .underlinedLink, #myMobileNavBar .underlinedLink  {
    background-image: linear-gradient(transparent calc(100% - 1px),#805F5D 10px);
    background-repeat: no-repeat;
    transition: background-size 0.7s;
    background-size: 100% 100%;
}

#myNavBar .underlinedLink:hover, #myMobileNavBar .underlinedLink:hover {
    background-size: 0 100%;
}

.contactLink {
    cursor: url("../img/mailIcon.png"), auto;	
}

/* CONTACT NAVBAR */
#contactHiddenContainer {
    width: 100%;
    margin-top: 25px;
    padding: 5px 32px 7px;
    position: fixed;
    background-color: #805F5D;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

#contactHiddenContainer a {
    font-family: "ZurichBT";
    font-size: 13px;
    line-height: 26px;
    color: #ffffff;
}

#contactHiddenContainer a:hover {
    text-decoration: none;
}

.contactDetailsContainer {
    display: flex;
    align-items: center;
}

.contactDetailsContainer a {
    padding-right: 8px;
}

#contactHiddenContainer h3 {
    margin-bottom: 0px;
    font-family: "ZurichBT";
    font-size: 13px;
    line-height: 26px;
    color: #ffffff;
}

/* MOBILE NAVBAR */
#myMobileNavBar {
    display: none;
    top: 16px;
}

.nav__toggle {
    display: inline-block;
    position: relative;
    z-index: 10;
    padding: 0;
    border: 0;
    background: transparent;
    outline: 0;
    right: 0px;
    top: 0px;
    cursor: pointer;
}

.nav__menu {
    padding: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    position: absolute;
    margin-left: -10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
    visibility: hidden;
    list-style: none;
}

.navSocialItem {
    padding: 0px 32px;
    justify-content: space-between;
    position: absolute;
    left: 50%;
    bottom: 48px;
    width: 500px;
    opacity: 0;
    transition: all 0.3s ease-in-out 0.3s;
    transform: translate(-50%, -240px);
}

.navSocialItem a {
    font-family: "ZurichBT";
    font-size: 17px;
    line-height: 19px;
    color: #ffffff;
}

.navSocialItem a:hover {
    color: #ffffff;
    text-decoration: none;
}

.mobileMenuSocialContainer {
    display: flex;
    justify-content: space-between;
}

.nav__item {
    opacity: 0;
    transition: all 0.3s ease-in-out 0.3s;
}

.nav__item:nth-child(1) {
    transform: translateY(-40px);
}

.nav__item:nth-child(2) {
    transform: translateY(-80px);
}

.nav__item:nth-child(3) {
    transform: translateY(-120px);
}

.nav__item:nth-child(4) {
    transform: translateY(-160px);
}

.nav__item:nth-child(5) {
    transform: translateY(-200px);
}

.mobileMenuLink {
    width: max-content;
    margin: 24px auto;
    display: block;
    text-decoration: none;
    font-family: "ZurichBT";
    font-size: 22px;
    line-height: 24px;
    color: #ffffff;
}

.mobileMenuLink:hover, .mobileMenuLink:focus {
    outline: unset;
    color: #ffffff;
    text-decoration: none;
}

.menuicon {
    display: block;
    cursor: pointer;
    color: #805F5D;
    transform: rotate(0deg);
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menuicon__bar {
    fill: none;
    stroke: #805F5D;
    stroke-width: 2;
    stroke-linecap: square;
}

.menuicon__bar {
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-in-out;
}

.splash {
    position: fixed;
    top: 64px;
    left: 0px;
    width: 1px;
    height: 1px;
}

.splash::after {
    content: "";
    display: block;
    position: absolute;
    background-color: #805F5D;
    /*background-image: url("../img/homeBridgeBG.png");
    background-position: center;
    background-repeat: no-repeat;*/
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    transform: scale(0);
    transform-origin: 50% 0%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.nav:target > .splash::after, .nav--open > .splash::after {
    transform: scale(1);
}

.nav:target .menuicon, .nav--open .menuicon {
    color: #805F5D;
    transform: rotate(180deg);
}

.nav:target .menuicon__bar:nth-child(1), .nav--open .menuicon__bar:nth-child(1), .nav:target .menuicon__bar:nth-child(4), .nav--open .menuicon__bar:nth-child(4) {
    opacity: 0;
}

.nav:target .menuicon__bar:nth-child(2), .nav--open .menuicon__bar:nth-child(2) {
    transform: rotate(45deg);
}

.nav:target .menuicon__bar:nth-child(3), .nav--open .menuicon__bar:nth-child(3) {
    transform: rotate(-45deg);
}

.nav:target .nav__menu, .nav--open .nav__menu {
    visibility: visible;
}

.nav:target .nav__item, .nav--open .nav__item {
    opacity: 1;
    transform: translateY(0);
}

.nav:target .navSocialItem, .nav--open .navSocialItem {
    opacity: 1;
    transform: translate(-50%,0);
}

.bridgeMobileBG {
    max-width: 500px;
    left: 50vw;
    height: calc(100vh - 88px);
    margin-top: 13px;
    z-index: 400;
    position: absolute;
    transform-origin: 0% 0%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    transform: scale(0) translateX(-50%);
}

.nav:target > .splash img, .nav--open > .splash img {
    transform: scale(1) translateX(-50%);
}

/* MOBILE CONTACT NAVBAR */
.contactMobileHiddenContainer {
    display: flex;
    visibility: hidden;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.contactMobileHiddenContainer.showMobileContact {
    visibility: visible;
    opacity: 1;
}

.contactMobileHiddenContainer a {
    font-family: "ZurichBT";
    font-size: 14px;
    line-height: 22px;
    color: #ffffff;
    text-align: center;
}

.contactMobileHiddenContainer a:hover {
    text-decoration: none;
    color: #ffffff;
}

.contactMobileHiddenContainer h3 {
    font-family: "ZurichBT";
    font-size: 14px;
    line-height: 22px;
    color: #ffffff;
    text-align: center;
}

/* HOME */
#home {
  padding-top: 64px;
}

#home .homeLeftContainer {
    background: #805F5D;
    padding: 16px;
}

.homeBridgeContainer {
    margin: 0px auto;
}

.homeBridgeContainer img {
    width: 100%;
    max-height: calc(100vh - 96px);
}

.homeTopText {
    position: absolute;
    top: 50%;    
    left: 50%;
    transform: translate(-50%,-50%);
}

.homeTopText p {
    width: 430px;
    font-family: "ZurichBT";
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    text-align: center;
}

.homeBottomText {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%,-50%);
}

.homeBottomText p {
    width: 380px;
    margin-bottom: 0px;
    font-family: "ZurichBT";
    font-size: 13px;
    line-height: 16px;
    color: #ffffff;
    text-align: center;
}

#home .homeRightContainer {
    padding: 0px;
}

#home .homeRightContainer .myHomeSlider .slick-slide {
    max-height: calc(100vh - 64px);
    transition: opacity 1s ease-in-out !important;
    object-fit: cover;
}

/* SUSTAINABLE DEVELOPMENT */
#developmentSection1 {
    padding-top: 64px;
}

.developmentTopText {
    max-width: 90vw;
    padding: 64px 0px 48px 16px;
}

#developmentSection1 p {
    margin-bottom: 0px;
    font-family: "Opale";
    font-size: 35px;
    line-height: 44px;
    color: #805F5D;
}

#developmentSection1 p span{
    position: relative;
    bottom: 10px;
    padding-right: 16px;
    font-family: "ZurichBT";
    font-size: 11px;
    line-height: 27px;
    color: #805F5D;
}

#developmentSection2 .developmentMiddleContainer {
    padding: 0px;
}

#developmentSection2 .developmentMiddleContainer img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

#developmentSection3 .developmentLeftContainer {
    background-color: #805F5D;
}

#developmentSection3 .developmentBottomText {
    max-width: 460px;
    padding: 48px 0px 0px 32px;
}

#developmentSection3 .developmentBottomText p {
    font-family: "ZurichBT";
    font-size: 22px;
    line-height: 27px;
    color: #ffffff;
}

#developmentSection3 .developmentBottomText p a {
    color: #ffffff;
    text-decoration: underline;
}

#developmentSection3 .developmentBottomText p a:hover {
    color: #ffffff;
}

.developmentSliderButton {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 1;
    cursor: pointer;
    background-color: unset;
    border: unset;
}

.developmentSliderButton:focus {
    outline: unset;
}

.developmentSliderNextButton {
    left: unset;
    right: 16px;
}

#developmentSection3 .myDevelopmentSlider .slick-slide {
    object-fit: cover;
}

/* SERVICES */
#servicesSection1 {
    padding-top: 64px;
}

#servicesSection1 img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

.servicesTopText {
    max-width: 90vw;
    padding: 64px 0px 48px 16px;
}

.servicesTopText p {
    margin-bottom: 0px;
    font-family: "Opale";
    font-size: 35px;
    line-height: 44px;
    color: #805F5D;
}

.servicesTopText p span{
    position: relative;
    bottom: 10px;
    padding-right: 16px;
    font-family: "ZurichBT";
    font-size: 11px;
    line-height: 27px;
    color: #805F5D;
}

#servicesSection3 .servicesLeftContainer {
    background-color: #DDD4CE;
}

.myServicesSlider .slick-slide {
    object-fit: cover;
}

#servicesSection3 .servicesBottomText {
    max-width: 488px;
    padding: 48px 0px 0px 32px;
}

#servicesSection3 .servicesBottomText p {
    font-family: "ZurichBT";
    font-size: 22px;
    line-height: 27px;
    color: #805F5D;
}

#servicesSection4 {
    background-color: #805F5D;
    padding: 56px 16px 80px;
}

#servicesSection4 h3 {
    margin-bottom: 32px;
    font-family: "Opale";
    font-size: 35px;
    line-height: 45px;
    color: #ffffff;
}

#servicesSection4 h2 {
    margin-bottom: 0px;
    font-family: "ZurichBT";
    font-size: 22px;
    line-height: 30px;
    color: #ffffff;
}

#servicesSection4Mobile {
    display: none;
    background-color: #805F5D;
    padding: 48px 16px;
}

#servicesSection4Mobile h3 {
    margin-bottom: 32px;
    font-family: "Opale";
    font-size: 35px;
    line-height: 45px;
    color: #ffffff;
}

#servicesSection4Mobile h2 {
    margin-bottom: 0px;
    font-family: "ZurichBT";
    font-size: 22px;
    line-height: 30px;
    color: #ffffff;
}

/* TECHNIQUES */
#techniquesSection1 {
    padding-top: 64px;
}

.techniquesTopText {
    max-width: 90vw;
    padding: 64px 0px 48px 16px;
}

#techniquesSection1 p {
    margin-bottom: 0px;
    font-family: "Opale";
    font-size: 35px;
    line-height: 44px;
    color: #805F5D;
}

#techniquesSection1 p span{
    position: relative;
    bottom: 10px;
    padding-right: 16px;
    font-family: "ZurichBT";
    font-size: 11px;
    line-height: 27px;
    color: #805F5D;
}

#techniquesSection2 .techniquesMiddleContainer {
    padding: 0px;
}

#techniquesSection2 .techniquesMiddleContainer img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

#techniquesSection3 p {
    margin: 0px auto;
    padding: 72px 0px;
    max-width: 75vw;
    font-family: "Opale";
    font-size: 31px;
    line-height: 38px;
    color: #805F5D;
    text-align: center;
}

#techniquesSection4 .techniquesLeftContainer {
    background-color: #C0AB99;
}

#techniquesSection4 .techniquesBottomText {
    max-width: 480px;
    padding: 48px 0px 0px 32px;
}

#techniquesSection4 .techniquesBottomText p {
    font-family: "ZurichBT";
    font-size: 22px;
    line-height: 27px;
    color: #ffffff;
}

#techniquesSection4 .techniquesBottomText p a {
    color: #ffffff;
    text-decoration: underline;
}

#techniquesSection4 .techniquesBottomText p a:hover {
    color: #ffffff;
}

.techniquesSliderButton {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 1;
    cursor: pointer;
    background-color: unset;
    border: unset;
}

.techniquesSliderButton:focus {
    outline: unset;
}

.techniquesSliderNextButton {
    left: unset;
    right: 16px;
}

#techniquesSection5 .techniquesImageContainer {
    padding: 56px 16px 56px 8px;
}

#techniquesSection5 .techniquesImageContainer img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

#techniquesSection5 .techniquesInfoContainer {
    height: 100%;
    padding-top: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#techniquesSection5 .techniquesInfoContainer .techniquesTypesContainer h1 {
    margin-bottom: 56px;
    font-family: "Opale";
    font-size: 30px;
    line-height: 45px;
    color: #805F5D;
}

#techniquesSection5 .techniquesInfoContainer .techniquesTypesContainer h2 {
    font-family: "ZurichBT";
    font-size: 23px;
    line-height: 38px;
    color: #805F5D;
    cursor: pointer;
}

#techniquesSection5 .techniquesInfoContainer .techniquesTypesContainer h2.active {
    text-decoration: underline;
}

#techniquesSection5 .techniquesInfoContainer .techniquesDetailsContainer p {
    max-width: 350px;
    padding-bottom: 56px;
    margin-bottom: 0px;
    font-family: "ZurichBT";
    font-size: 12px;
    line-height: 14px;
    color: #805F5D;
}

.techniquesDetailsContainerMobile {
    display: none;
}

#techniquesSection5 .techniquesDetailsContainerMobile p {
    padding: 0px 16px 48px;
    margin-bottom: 0px;
    font-family: "ZurichBT";
    font-size: 22px;
    line-height: 28px;
    color: #805F5D;
}

/* ABOUT MOBILE */
#about {
    padding-top: 64px;
}
  
#about .homeLeftContainer {
    min-height: calc(100vh - 64px);
    background: #805F5D;
    padding: 16px;
}

/* MEDIA QUERIES */
/* for 992px */
@media screen and (max-width: 992px) {
    #navBarContainer {
        justify-content: space-between;
    }
    #myNavBar {
        display: none;
    }
    #myMobileNavBar {
        display: block;
    }
    #contactHiddenContainer {
        display: none;
    }
    #myMobileNavBar .underlinedLink {
        background-image: linear-gradient(transparent calc(100% - 1px),#ffffff 10px);
    }
    .homeBridgeContainer img {
        min-height: 82vh;
        object-fit: contain;
    }
    .homeTopText p {
        font-size: 16px;
        width: 355px;
    }
    #developmentSection3 .developmentBottomText {
        max-width: 355px;
    }
    #servicesSection3 .servicesBottomText {
        max-width: 355px;
    }
    #techniquesSection4 .techniquesBottomText {
        max-width: 355px;
    }
    #techniquesSection5 .techniquesInfoContainer .techniquesTypesContainer h1 {
        margin-bottom: 40px;
    }
}

/* for 767px */
@media screen and (max-width: 767px) {
    #home .homeLeftContainer {
        display: none;
    }
    #home .homeRightContainer .myHomeSlider .slick-slide {
        max-height: calc(100vh - 64px);
        object-fit: cover;
    }
    .developmentTopText {
        padding-top: 48px;
    }
    #developmentSection1 p {
        font-size: 26px;
        line-height: 35px;
    }
    #developmentSection3 .myDevelopmentSlider .slick-slide {
        max-height: calc(100vh - 64px);
    }
    #developmentSection3 .developmentBottomText {
        padding: 48px 48px 28px;
        max-width: unset;
    }
    .servicesTopText {
        max-width: 1027px;
        padding: 48px 0px 48px 16px;
    }
    .servicesTopText p {
        font-size: 26px;
        line-height: 35px;
    }
    #servicesSection3 .servicesBottomText {
        max-width: unset;
        padding: 48px 48px 28px;
    }
   .myServicesSlider .slick-slide {
        max-height: calc(100vh - 64px);
    }
    #servicesSection4 {
        display: none;
    }
    #servicesSection4Mobile {
        display: block;
    }
    .techniquesTopText {
        padding-top: 48px;
    }
    #techniquesSection1 p {
        font-size: 26px;
        line-height: 35px;
    }
    #techniquesSection3 p {
        padding: 48px 32px;
        font-size: 30px;
        line-height: 34px;
    }
    #techniquesSection4 .techniquesBottomText {
        max-width: unset;
        padding: 48px 48px 28px;
    }
    #techniquesSection4 .mytechniquesSlider .slick-slide {
        max-height: calc(100vh - 64px);
        object-fit: cover;
    }
    .techniquesTypesRow {
        flex-direction: column-reverse;
    }
    #techniquesSection5 .techniquesInfoContainer {
        padding: 40px 16px 0px;
    }
    #techniquesSection5 .techniquesInfoContainer .techniquesTypesContainer h1 {
        margin-bottom: 24px;
    }
    .techniquesDetailsContainerDesktop {
        display: none;
    }
    #techniquesSection5 .techniquesInfoContainer .techniquesTypesContainer h2 {
        line-height: 28px;
    }
    .techniquesDetailsContainerMobile {
        display: block;
    }
    #techniquesSection5 .techniquesImageContainer {
        padding: 32px 16px 32px 16px;
    }
}

/* for 576px */
@media screen and (max-width: 576px) {
    .bridgeMobileBG {
        max-width: 95vw;
    }
    .navSocialItem {
        width: 100%;
    }
}

/* for 480px */
@media screen and (max-width: 480px) {
    #navBarContainer {
        padding: 0px 16px;
    }
    .homeTopText p {
        width: 300px;
    }
    .developmentTopText {
        padding: 32px 0px;
    }
    .servicesTopText {
        padding: 32px 0px;
    }
    #servicesSection4Mobile {
        padding: 32px 0px;
    }
    #servicesSection4Mobile h3 {
        margin-bottom: 8px;
    }
    .servicesMobileTopCol {
        padding-left: 0px;
    }
    .servicesMobileLeftCol {
        padding-left: 0px;
    }
    .servicesMobileRightCol {
        padding-right: 0px;
    }
    #servicesSection4Mobile h2 {
        font-size: 18px;
        line-height: 26px;
    }
    .techniquesTopText {
        padding: 32px 0px;
    }
    #techniquesSection3 p {
        padding: 32px 32px;
    }
    #techniquesSection5 .techniquesInfoContainer {
        padding: 32px 0px 16px;
    }
    #techniquesSection5 .techniquesInfoContainer .techniquesTypesContainer h1 {
        margin-bottom: 16px;
        font-size: 28px;
        line-height: 32px;
    }
    #techniquesSection5 .techniquesImageContainer {
        padding: 0px 0px 16px;
    }
    #techniquesSection5 .techniquesDetailsContainerMobile p {
        padding: 0px 8px 32px;
        font-size: 18px;
        line-height: 22px;
    }
}