@import url(https://use.fontawesome.com/releases/v5.0.6/css/all.css);

:root {
    --color-main: #4d5864;
    --color-secondary: #ddb8ab;
    --color-main-light: #F3EAD1;
    --color-travelwiser: #B5A691;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: playfair-display, serif;
    color: #000000;
}

a {
    text-decoration: none;
}

.fa,
.fas {
    -webkit-text-stroke: 1px white;
}

/* Large devices (desktops) */

.navbar-font {
    font-family: astoria-sans, sans-serif;
    font-weight: 400;
    color: var(--color-main);
    font-size: 120%;
}

.navbar-custom {
    background-color: white;
    padding: 1% 7% !important;
    /* font-size: 1.25vw; */

    transition: top 0.5s;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.navbar-custom>ul {
    bottom: 10px;
    position: relative;
}

nav>ul>li:nth-child(2) {
    margin-left: 5vw;
}

/* Navigation button */
.nav-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    right: -10%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    /* background: white; */
    /* border-radius: 50%; */
    border: none;
    outline: none;
    z-index: 2000;
}

#nav-btn-2 {
    background: var(--color-main);
    top: 30px;
}

/* #nav-btn-2 span {
    color: white;
} */

.nav-btn span {
    position: absolute;
    width: 30px;
    height: 4px;
    top: 50%;
    left: 50%;
    background: #262626;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s linear;
}

.nav-btn span::before {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    background: gray;
    transition: all 0.3s linear;
}

.nav-btn span:nth-child(1) {
    animation: span-first-off 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

.nav-btn span:nth-child(2) {
    animation: span-second-off 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

.nav-btn span:nth-child(3) {
    animation: span-third-off 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

#nav-btn-2 span {
    background-color: white;
}

.nav-btn.on:hover span::before {
    width: 100%;
    transition: all 0.3s linear;
}

.nav-btn.on span:nth-child(1) {
    animation: span-first-on 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

.nav-btn.on span:nth-child(2) {
    animation: span-second-on 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

.nav-btn.on span:nth-child(3) {
    animation: span-third-on 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes span-first-on {
    0% {
        transform: translate(-50%, -300%);
    }

    30% {
        transform: translate(-50%, -50%);
    }

    100% {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
}

@keyframes span-first-off {
    0% {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    30% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -300%);
    }
}

@keyframes span-second-on {
    0% {
        transform: translate(-50%, -50%);
    }

    25% {
        background: gray;
    }

    50% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-150%, -50%) scale(0);
    }
}

@keyframes span-second-off {
    0% {
        transform: translate(-150%, -50%) scale(0);
    }

    25% {
        background: gray;
    }

    50% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes span-third-on {
    0% {
        transform: translate(-50%, 200%);
    }

    30% {
        transform: translate(-50%, -50%);
    }

    100% {
        transform: translate(-50%, -50%) rotate(45deg);
    }
}

@keyframes span-third-off {
    0% {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    30% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, 200%);
    }
}

/* Navbar project menu */

.navimage {
    width: 30%;
    max-width: 100%;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

#nav-project-menu {
    padding: 0 100px;
    display: none;
    position: fixed;
    background: white;
    z-index: 100;
    margin-top: 10px;
}

.nav-project {
    padding: 20px;
}

.nav-menu-title {
    font-family: astoria-sans, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.nav-menu-desc {
    font-family: astoria-sans, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
}


/* End Navbar project menu */


/* End navigation button */



.hero {
    margin-top: 180px;
    margin-bottom: 180px;
}

.container-custom {
    position: relative;
    /* padding-left: 8%; */
}

.profileintro p {
    font-size: 28px;
    font-family: playfair-display, serif;
    font-weight: 700;
    text-align: left;
    margin-top: 24px;
}

.myname p {
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    background: linear-gradient(transparent 70%, var(--color-secondary) 30%) no-repeat;
    margin: 0;
    /*padding: 0 1%;*/
    width: max-content;
}

.flex-parent {
    display: -webkit-flex;
    display: flex;
}

.image-zoom {
    /* transition: transform .8s;
    
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;

    will-change:transform; */

    -webkit-transition: all .7s;
    -moz-transition: all .7s;
    transition: all .7s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transform-origin: 0 0;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.image-zoom:hover {
    /* -ms-transform: scale(1.08);
    -webkit-transform: scale(1.08);
    transform: scale(1.08); */

    transform: scale3d(1.06, 1.06, 1.06);
    -webkit-transform: scale3d(1.06, 1.06, 1.06);
    -moz-transform: scale3d(1.06, 1.06, 1.06);
}

.project-desc-font h1 {
    font-size: 36px;
    font-family: astoria-sans, sans-serif;
    font-weight: 500;
    font-style: normal;
}

.project-desc-font h3 {
    font-size: 24px;
    font-family: astoria-sans, sans-serif;
    font-weight: 400;
    font-style: normal;
}

/*.row-left {
    padding-left: 7%;
}*/

/*.row-right {
    padding-right: calc(8% - 15px + .5rem);
}*/

/* Case 1 */

.case-study-bg-left {
    background-color: #F3EAD1;
    width: 40.8vw;
    height: 33.5vw;
}

.case-study-img-left {
    height: inherit;
}

.project-title-left p {
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    z-index: 2;
    margin: 0;
}

.move-in-frame-left {
    /*top: 12vw;
    left: -18.5vw;*/
}

/*.row-margin-case1 {
    margin-bottom: 12vw;
}*/

.project-desc-right {
    /*top: 16vw;
    position: absolute;*/
    /*left: -7.5vw;*/
    margin-top: 120px;
}

.project-desc-right h3 {
    /*width: 28vw;*/
}

.project-link-right {
    margin-top: 120px;
    font-size: 18px;
    font-family: astoria-sans, sans-serif;
    font-weight: 400;
    text-decoration: none;
    background: linear-gradient(transparent 50%, var(--color-main-light) 0%) no-repeat;
    width: max-content;
    padding: 0 1%;
}

/* Case 2 */

.homepage-frame-right img {
    width: 18vw;
    margin-top: 30%;
    float: right;
}

.case-study-bg-right {
    background-color: #E8DDCE;
    width: 35vw;
    height: 40.8vw;
}

.case-study-img-right {
    max-width: 100%;
    /*height: 80%;*/
    padding-top: 10vw;
}

.project-title-right {
    /*top: 6vw;*/
    /*left: -5.5vw;*/
    text-align: right;
}

.project-title-right p {
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    z-index: 2;
    margin: 0;
}

.move-in-frame-right {
    /*top: 9.5vw;*/
    /*left: 6vw;*/
}

/*.row-margin-case2 {
    margin-bottom: 9.5vw;
}*/

.project-desc-left {
    top: 14vw;
    /*position: absolute;*/
    /*left: 11vw;*/
    /*text-align: right;*/
    z-index: 2;
    margin-top: 120px;
}

/*.project-desc-left h3 {
    width: 37.3vw;
    position: relative;
    right: -18%;
}*/

.project-link-left {
    margin-top: 120px;
    font-size: 18px;
    font-family: astoria-sans, sans-serif;
    font-weight: 400;
    text-decoration: none;
    background: linear-gradient(transparent 50%, #E8DDCE 0%) no-repeat;
    width: max-content;
    padding: 0 1%;
}


/* Case 3 */

.homepage-frame-left-case3 img {
    width: 26.3vw;
    margin-top: 30%;
}

.case-study-bg-left-case3 {
    background-color: #C0C9C1;
    width: 33.5vw;
    height: 40.8vw;
}

.case-study-img-left-case3 {
    max-width: 100%;
    height: 85%;
    padding-top: 7vw;
}

.project-title-left-case3 p {
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    z-index: 2;
    margin: 0;
}

.project-link-right-case3 {
    margin-top: 120px;
    font-size: 18px;
    font-family: astoria-sans, sans-serif;
    font-weight: 400;
    text-decoration: none;
    background: linear-gradient(transparent 50%, #C0C9C1 0%) no-repeat;
    width: max-content;
    padding: 0 1%;
}

/* Case 4 */

.homepage-frame-right-case4 img {
    width: 24.5vw;
    margin-top: 30%;
    float: right;
    height: 30.9vw;
}

.case-study-bg-right-case4 {
    background-color: #9fABC2;
    width: 40.8vw;
    height: 33.5vw;
}

.case-study-img-right-case4 {
    max-width: 100%;
    height: 95%;
    padding-top: 4vw;
    padding-left: 6vw;
}

.project-title-right-case4 {
    text-align: right;
}

.project-title-right-case4 p {
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    z-index: 2;
    margin: 0;
}

.project-desc-left-case4 {
    margin-top: 120px;
}

/*.move-in-frame-right-case4 {
    top: 12.5vw;
    left: -6vw;
}
*/
.row-margin-case4 {
    margin-bottom: 120px;
}

/*.project-desc-left-case4 {
    top: 16.5vw;
    position: absolute;
    /*left: 9vw;*/
    /*text-align: right;
    z-index: 2;
}

project-desc-left-case4 h3 {
    width: 37.3vw;
}*/

.project-link-left-case4 {
    margin-top: 120px;
    font-size: 18px;
    font-family: astoria-sans, sans-serif;
    font-weight: 400;
    text-decoration: none;
    background: linear-gradient(transparent 50%, #9fABC2 0%) no-repeat;
    width: max-content;
    padding: 0 1%;
}


/* footer */
.footer {
    background-color: var(--color-main);
    text-align: center;
    color: white;
    padding: 1.5%;
    margin-top: 120px;
}

.footer-logo p {
    font-size: 24px;
    font-family: playfair-display, serif;
    font-weight: 700;
}

.footer img {
    width: 4.17vw;
    margin: auto;
    margin-top: 48px;
}

.footer-info>p:nth-child(1) {
    font-family: astoria-sans, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
}

.footer-info>a {
    font-family: astoria-sans, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    text-decoration: underline;
    text-decoration-color: #ffffff;
    color: white;
}

.footer-info>a:hover {
    color: var(--color-secondary);
}

.tag {
    font-family: astoria-sans, sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 14px;
    margin-top: 24px;
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

    .navbar-custom {
    padding: 1% 5% !important;
    }

    /* TODO Fix navigation */

    .hero {
        margin-top: 150px;
        margin-bottom: 120px;
    }

    .myname p {
        font-size: 48px;
    }

    .profileintro p {
        font-size: 28px;
    }

    /*case1*/

    .case-study-bg-left {
        width: 52.5vw;
        height: 43.1vw;
    }

    .project-title-left p {
        font-size: 48px;
    }

    .project-desc-font h1 {
        font-size: 24px;
    }

    .project-desc-font h3 {
        font-size: 18px;
    }

    .project-desc-right {
        margin-top: 96px;
    }

    .project-link-right {
        margin-top: 48px;
    }

    /*case 2*/

    .case-study-bg-right {
        /*width: 43.1vw;*/
        width: 100%;
        height: 52.5vw;
    }

    .project-title-right p {
        font-size: 48px;
    }

    .project-desc-left {
        margin-top: 96px;
    }

   .project-link-left {
        margin-top: 48px;
    }

    /*case 3*/

    .case-study-bg-left-case3 {
        /*width: 43.1vw;*/
        width: 100%;
        height: 52.5vw;
    }

    .project-title-left-case3 p {
        font-size: 48px;
    }

    .project-link-right-case3 {
        margin-top: 48px;
    }

    /*case 4*/

    .case-study-bg-right-case4 {
        width: 52.5vw;
        height: 43.1vw;
    }

    .project-title-right-case4 p {
        font-size: 48px;
    }

    .project-link-left-case4 {
        margin-top: 48px;
    }


    /*

    .project-desc-left {
        left: 22vw;
    }

    .project-desc-right-case3 {
        left: -14.5vw;
    }

    .project-title-left-case3 {
         left: -14vw; 
    }*/

    .homepage-image-bg {
        background: linear-gradient(to left, var(--color-main) 27vw, transparent 0) no-repeat;
    }

    .footer img {
        width: 8vw;
        margin: auto;
        margin-top: 24px;
    }

    .footer-info>p:nth-child(1) {
        font-size: 20px;
        margin-top: 0;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

    .hero {
        margin-top: 120px;
        margin-bottom: 66px;
    }

    .myname p {
        font-size: 28px;
    }

    .profileintro p {
        font-size: 18px;
    }

    .flex-parent {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .flex-parent-reverse {
        flex-direction: column-reverse;
    }


    /*case1*/

    .case-study-bg-left {
        width: 100%;
        height: 70vw;
    }

    .project-title-left p {
        font-size: 28px;
    }

    .project-desc-font h1 {
        font-size: 20px;
    }

    .project-desc-font h3 {
        font-size: 18px;
    }

    .project-desc-right {
        margin-top: 24px;
    }

    .project-link-right {
        margin-top: 48px;
    }

    /*case 2*/

    .case-study-bg-right {
        /*width: 43.1vw;*/
        width: 100%;
        height: 70vw;
    }

    .case-study-img-right {
        padding-top: 6vw;
    }

    .project-desc-left {
        margin-top: 24px;
    }

    .project-title-right p {
        font-size: 28px;
    }

   .project-link-left {
        margin-top: 48px;
    }

    /*case 3*/

    .case-study-bg-left-case3 {
        /*width: 43.1vw;*/
        width: 100%;
        height: 70vw;
    }

    .case-study-img-left-case3 {
        max-width: 100%;
    }

    .project-title-left-case3 p {
        font-size: 28px;
    }

    .project-link-right-case3 {
        margin-top: 48px;
    }

    /*case 4*/

    .case-study-bg-right-case4 {
        width: 100%;
        height: 70vw;
    }

    .project-title-right-case4 p {
        font-size: 28px;
    }

    .project-desc-left-case4 {
        margin-top: 24px;
    }

    .project-link-left-case4 {
        margin-top: 48px;
    }

    .project-desc-left-case4 {
        margin-top: 24px;
    }

    .row-margin-case4 {
        margin-bottom: 0;
    }

    .footer img {
        margin-top: 24px;
        width: 12vw;
    }

    .footer-info>p:nth-child(1) {
        font-size: 18px;
        margin: 0 4% 24px 4%;
    }

    .footer-logo p {
        font-size: 18px;
    }

    .footer-info>a {
        font-size: 16px;
    }

    .footer-info>p:nth-child(4) {
        font-size: 12px;
    }

    .tag {
        font-size: 12px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* #navbarToggler {
        /* padding: 1% 8%;
        transition: top 0.5s;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10; */

    /*height: 100vh;
        background-color: var(--color-main);
    } */

    body {
        overflow-x: hidden;
        /* overflow-y: scroll; */
    }

    .phone-plane {
        background-color: var(--color-main);
        height: 100vh;
        /* display: none; */
    }

    .phone-plane>div:nth-child(2) {
        margin: 50% 0;
    }

    .phone-plane div:nth-child(2)>a {
        font-size: 32px;
        color: white;
        text-align: center;
        margin: 5% auto;
    }

    .phone-plane>div:nth-child(3)>a {
        font-size: 18px;
        color: white;
        text-align: center;
        margin: 2% auto;
    }

    .phone-plane p {
        font-size: 28px;
        color: white;
        text-align: center;
        margin: 2% auto;
    }



    /* .phone-plane > div:nth-child(3) {
        margin-top: 50px;
    } */

    /*.profileintro p {
        left: -2vw;
        top: 12vw;
        font-size: 6.35vw;
    }*/

    /*.myname {
        position: inherit;
        font-size: 24px;
        margin: 5% 0 30px 0;
    }
*/

    /* Case 1 */
    /*.proje
    .case-study-bg-left {
        width: 75vw;
        height: 63.5vw;
    }

    .homepage-frame-left img {
        width: 18vw;
        margin-top: 240px;
    }

    .move-in-frame-left {
        top: 21vw;
        left: -34vw;
    }

    .project-title-left {
        font-size: 64px;
        top: 14vw;
        left: -16vw;
    }

    .project-desc-font h1 {
        font-size: 18px;
    }

    .project-desc-right h3 {
        font-size: 16px;
        width: 70vw;
    }

    .project-desc-right {
        top: 16vw;
        position: relative;
    }

    .project-link-right {
        font-size: 16px;
        width: fit-content;
        bottom: -5vw;
        left: 0;
        height: 6vw;
    }*/

    /* Case 2 */
    /*.case-study-bg-right {
        width: 75vw;
        height: 63.5vw;
    }

    .row-margin-case2 {
        margin-bottom: 0vw;
        margin-top: 10vw;
    }

    .homepage-frame-right img {
        width: 30vw;
    }

    .move-in-frame-right {
        top: 16vw;
        left: 4vw;
    }

    .project-title-right {
        font-size: 2em;
        top: 12.5vw;
        left: -8vw;
    }

    .project-desc-left h3 {
        font-size: 16px;
        width: 70vw;
    }

    .project-desc-left {
        top: 16vw;
        position: relative;
        text-align: left;
        left: 12vw;
    }

    .project-link-left {
        font-size: 16px;
        width: fit-content;
        bottom: -5vw;
        left: 0;
        height: 6vw;
    }*/

    /* Case 3 */
    /*.row-margin-case3 {
        margin-top: 25vw;
    }

    .case-study-bg-left-case3 {
        width: 75vw;
        height: 63.5vw;
    }

    .homepage-frame-left-case3 img {
        width: 30vw;
    }

    .move-in-frame-left-case3 {
        top: 16vw;
        left: -34vw;
    }

    .project-title-left-case3 {
        font-size: 2em;
        top: 10vw;
        left: -16vw;
    }

    .project-desc-right-case3 h3 {
        font-size: 16px;
        width: 70vw;
    }

    .project-desc-right-case3 {
        top: -12vw;
        position: relative;
        left: 12.5vw;
    }

    .project-link-right-case3 {
        font-size: 16px;
        width: fit-content;
        bottom: -5vw;
        left: 0;
        height: 6vw;
    }*/

    /* Case 4 */
    /*.case-study-bg-right-case4 {
        width: 75vw;
        height: 63.5vw;
    }

    .row-margin-case4 {
        margin-bottom: 0vw;
        margin-top: -15vw;
    }

    .homepage-frame-right-case4 img {
        width: 30vw;
    }

    .move-in-frame-right-case4 {
        top: 19vw;
        left: 6vw;
    }

    .project-title-right-case4 {
        font-size: 2em;
        top: 12vw;
        left: 10.5vw;
    }

    .project-desc-left-case4 h3 {
        font-size: 16px;
        width: 70vw;
    }

    .project-desc-left-case4 {
        top: 42vw;
        position: relative;
        text-align: left;
        left: 16vw;
        margin-bottom: 30vw;
    }

    .project-link-left-case4 {
        font-size: 16px;
        width: fit-content;
        bottom: -5vw;
        left: 0;
        height: 6vw;
    }
*/
    /* Case 5 */
    /*.row-margin-case5 {
        margin-top: 50vw;
    }

    .case-study-bg-left-case5 {
        width: 75vw;
        height: 63.5vw;
    }

    .homepage-frame-left-case5 img {
        width: 30vw;
        height: 30vw;
    }

    .move-in-frame-left-case5 {
        top: 24vw;
        left: -24vw;
    }

    .project-title-left-case5 {
        font-size: 2em;
        top: -8vw;
        left: 1vw;
    }

    .project-desc-right-case5 h3 {
        font-size: 16px;
        width: 70vw;
    }

    .project-desc-right-case5 {
        top: -30vw;
        position: relative;
        left: 12vw;
    }

    .project-link-right-case5 {
        font-size: 16px;
        width: fit-content;
        bottom: -5vw;
        left: 0;
        height: 6vw;
    }*/

    /* Case 6 */
    /*.case-study-bg-right-case6 {
        width: 75vw;
        height: 63.5vw;
    }

    .row-margin-case6 {
        margin-bottom: 40vw;
        margin-top: -35vw;
    }

    .homepage-frame-right-case6 img {
        width: 30vw;
        height: 30vw;
    }

    .move-in-frame-right-case6 {
        top: 19vw;
        left: 6vw;
    }

    .project-title-right-case6 {
        font-size: 2em;
        top: 20vw;
        left: 31vw;
    }

    .project-desc-left-case6 h3 {
        font-size: 16px;
        width: 70vw;
    }

    .project-desc-left-case6 {
        top: 12vw;
        position: relative;
        text-align: left;
        left: 16vw;
    }

    .project-link-left-case6 {
        font-size: 16px;
        width: fit-content;
        bottom: -5vw;
        left: 0;
        height: 6vw;
    }

    */

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Extra large devices (large desktops, 1440px and up) */
@media (min-width: 1441px) {
    /*.homepage-image-bg {
        height: 90vh;
        background: linear-gradient(to left, var(--color-main) 20vw, transparent 0) no-repeat;
    }

    .homepage-image img {
        width: 45vh;
        margin-top: 13.36vh;
        height: 63vh;
        right: 45%;
    }

    .myname {
        font-size:64px;
        margin-right: 8%;
    }

    .profileintro p {
        font-size: 32px;
        margin-bottom: 96px;
    }

    .homepage-frame-left img {
        width: 17.4vw;
        margin-top: 5vw;
    }
}*/