h1 {
    font-family: playfair-display, serif;
    font-weight: 700;
    font-style: normal;
    font-size: 64px;
}

h4 {
    font-family: 'astoria-sans';
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    text-transform: uppercase;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-family: playfair-display, serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    margin: 0;

}

.project-name {
    padding-top: 12em;
}


.project-name p {
    font-size: 24px;
    font-weight: 400;
}

.project-name img {
    width: 30%;

}

.casestudy-frame-img {
    max-width: 40%;
    max-height: 40%;
}

.casestudy-hero-img {
    max-width: 80%;
    position: relative;
    padding-top: 10%;
    z-index: 1;
}


.hero-shot-img {
    width: 100%;
}

.title p {
    font-family: playfair-display, serif;
    font-weight: 700;
    margin: 10% 0 0 0;
}

/*.title p:first-child {
    color: var(--color-travelwiser);
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin-bottom: 0;
    padding: 0;
}

.title p:nth-child(2) {
    color: var(--color-travelwiser);
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin-top: -20px;
    padding: 0;
}*/

.title p:first-child {
    color: var(--color-travelwiser);
    font-size: 32px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin-bottom: 0;
    padding: 0;
    margin-top: 0;
}

.title p:nth-child(2) {
    color: var(--color-travelwiser);
    font-size: 32px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin-top: -10px;
    padding: 0;
}

.title-white p:first-child {
    color: white;
    font-size: 32px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.title-white p:nth-child(2) {
    color: white;
    font-size: 32px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin-top: -20px;
    padding: 0;
}


/*.title-white p:first-child {
    color: white;
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.title-white p:nth-child(2) {
    color: white;
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin-top: -20px;
    padding: 0;
}*/

.card {
    -webkit-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
    -moz-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
    box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
    transition: 0.5s;
    width: 100%;
    padding: 3em;
    border-radius: 2px;
}

.card2 {
    -webkit-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
    -moz-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
    box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
    transition: 0.5s;
    width: 100%;
    padding: 2em 3em;
    border-radius: 2px;
}

.card img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card-gap {
    column-gap: 6.25%;
}

.card-gap-2 {
    column-gap: 9.67697%;
}

/*.how-might-we {
    background: var(--color-travelwiser);
    color: white;
    clip-path: polygon(0 15%, 100% 0, 100% 80%, 0 95%);
    padding: 15rem 15% 23rem 15%;
    position: relative;
    font-family: playfair-display, serif;
    font-weight: 700;
}
*/
.text-align-center {
    text-align: center;
}

.bg-how-might-we {
    background: var(--color-travelwiser);
    color: white;
    font-family: playfair-display, serif;
    font-weight: 700;
    font-size: 64px;
    padding: 120px 15% 120px 15%;
}

.bg-how-might-we span {
    font-size: 180px;
    position: absolute;
    z-index: 1;
    margin-top: -5%;
}

.bg-how-might-we span:nth-child(5) {
    right: 15%;
    top: 75%;
}



/*.how-might-we span {
    font-size: 180px;
    position: absolute;
    z-index: 1;
    margin-top: -5%;
}

.how-might-we div {
    font-size: 64px;
    margin-top: 0.7em;
}

.how-might-we span:nth-child(5) {
    right: 15%;
}
*/

.hifi-proto-gif video {
    width: 70%;
}

.hifi-proto-gif-re video {
    width: 70%;
    float:right;
}

.hifi-proto-content {
    margin-top: 0;
}

.hifi-proto-content-re {
    margin-top: 0;
}

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

/*.number {
    color: var(--color-travelwiser);
    font-size: 96px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.number-re {
    color: var(--color-travelwiser);
    font-size: 96px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin: 0;
    padding: 0;
}*/

.number {
    color: var(--color-travelwiser);
    font-size: 72px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.number-re {
    color: var(--color-travelwiser);
    font-size: 72px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.hifi-proto-content p:nth-child(2) {
    font-size: 24px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin: 3% 0 0 0;
}


.hifi-proto-content-re p:nth-child(2) {
    font-size: 24px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin: 3% 0 0 0;
}

.bg-light {
    background-color: #F0EDE9 !important;
    padding: 120px 15% 120px 15%;
    width: 100%;
}

/*.diagonal-bg {
    background: var(--color-travelwiser);
    color: white;
    clip-path: polygon(0 15%, 100% 0, 100% 80%, 0 95%);
    padding: 15rem 15% 15rem 15%;
    width: 100%;
}
*/
.subtitle p {
    font-family: playfair-display, serif;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
}

.pie-chart {
    width: 100%;
    padding: 0 10% 0 10%;
}

.pie-chart-intro {
    padding: 0 8%;
    margin-top: 10%;
    text-align: center;
}

.pie-chart-intro p {
    font-family: astoria-sans, sans-serif;
    font-weight: 500;
    font-style: normal;
}

.research-synthesis img {
    margin-top: 1.125em;
}

.title-user-testing p {
    color: var(--color-travelwiser);
    font-size: 64px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.research-synthesis img {
    width: 100%;
    /*margin-top: 2.5em;*/
}

.enlarge-click-block {
    display: block !important;
}

.enlarge-click {
    color: var(--color-travelwiser);
    float: right;
    font-size: 14px;
}

.no-content {
    height: 120px;
}

.interview {
    margin: 5% 0;
}

.interview-content {
    margin-top: -48px;
}

.interview-content p:nth-child(2) {
    font-size: 24px;
    font-family: playfair-display, serif;
    font-weight: 700;
    margin: 3% 0 0 0;
}

.interview-quotes p:first-child {
    font-family: playfair-display, serif;
    font-weight: 700;
    font-size: 18px;
    margin-top: 36px;
}

.interview-quotes p:nth-child(2) {
    padding: 72px 0 0 0;
    font-family: playfair-display, serif;
    font-weight: 700;
    font-size: 18px;
}

.interview-quotes span {
    font-size: 76px;
    font-family: playfair-display, serif;
    font-weight: 700;
    color: var(--color-travelwiser);
    position: absolute;
    z-index: 1;
    margin-top: -2.5%;
}

.interview-quotes > p > span:first-child {
    margin-top: -15%;
    margin-left: -12%;
}

.interview-quotes > p > span:nth-child(2) {
    margin-top: 0.1%;
    margin-left: 3%;
}

.travelwiser-line {
    width: 3em;
    height: 0.4em;
    /*border-radius: 100px;*/
    background-color: var(--color-travelwiser);
}

.competitive-list ul {
    list-style-type: none;
    font-family: astoria-sans, sans-serif;
    font-weight: 300;
    font-style: normal;
    /*letter-spacing: 0.2%;*/
    margin: 0;
    padding: 0;
    font-size: 18px;
    /*    margin-top: 0.4em;*/
}

.competitive-list li {
    margin-bottom: 0.5em;
}

.competitive-list {
    margin-top: 1em;
}

.person {
    margin-top: 1em;
}

.person-image {
    width: 100%;
    position: relative;
}

.persona-left p {
    font-family: playfair-display, serif;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
}

.person-title {
    /*    float:right;*/
    margin-bottom: 2em;
    font-family: playfair-display, serif;
    font-weight: 700;
    font-size: 28px;
}

.about-left p {
    margin: none;
}

.person-quote {
    margin-top: 24px;
}

.person-quote p {
    font-size: 24px;
    margin-left: 1.6em;
}

.person-quote span {
    font-size: 76px;
    font-family: playfair-display, serif;
    font-weight: 700;
    color: var(--color-travelwiser);
    position: absolute;
    z-index: 1;
    margin-top: -8%;
}

.persona-left > div > span:nth-child(4) {
    margin-left: 90%;
}


.persona-right>div:nth-child(1)>h5 {
    color: var(--color-travelwiser);
    margin-top: 0;
}

.persona-right>div:not(:nth-child(1))>h5 {
    color: var(--color-travelwiser);
    margin-top: 2.5em;
}

.persona-right ul {
    list-style-type: none;
    font-family: astoria-sans, sans-serif;
    font-weight: 300;
    font-style: normal;
    /*letter-spacing: 0.2%;*/
    font-size: 18px;
    margin: 0;
    padding: 0;
}

.persona-right li {
    margin-bottom: 0.5em;
}

.ideation-image img {
    width: 100%;
}

.ideation-para p {
    margin-top: 0;
}

.usertesting-image {
    background: url(../images/travelwiser/usertesting-image.jpg);
    background-size: 490px 650px;
    height: 650px;
    background-repeat: no-repeat;
    position: relative;
}

.ideation-title p {
    font-size: 64px;
    font-family: playfair-display, serif;
    line-height: 1.2;
    font-weight: 700;
    color: white;
    position: absolute;
    padding-right: 15%;
    padding-left: 7.5%;
    margin: 0;
}


.container-ver {
    margin: 0% 15% 3% 15%;
}

.container-ver-re {
    margin: 0% 15% 3% 15%;
}

.ver-title p {
    font-family: playfair-display, serif;
    font-weight: 700;
    font-size: 36px;
    margin-left: -1.8em;
    margin-top: 1.5em;
    transform: rotate(-90deg);
    background: linear-gradient(transparent 70%, var(--color-travelwiser) 30%) no-repeat;
    width: max-content;;
    padding: 0 5%;
}

.ver-title-2 p {
    font-family: playfair-display, serif;
    font-weight: 700;
    font-size: 36px;
    margin-left: -2.8em;
    margin-top: 2.5em;
    transform: rotate(-90deg);
    background: linear-gradient(transparent 70%, var(--color-travelwiser) 30%) no-repeat;
    width: max-content;;
    padding: 0 5%;
}


.sketch-image img {
    width: 100%;
}

.image-intro p {
    font-size:16px;
}

.view-more-link {
    font-size: 1.3vw;
    font-family: astoria-sans, sans-serif;
    font-weight: 400;
    text-decoration: none;
    background: linear-gradient(transparent 40%, var(--color-travelwiser) 60%) no-repeat;
    width: 15vw;
    text-align: center;
    float: right;
}

.ver-title-right p {
    font-family: playfair-display, serif;
    font-weight: 700;
    font-size: 36px;
    transform: rotate(90deg);
    background: linear-gradient(transparent 70%, var(--color-travelwiser) 30%) no-repeat;
    width: fit-content;
    padding: 0 5%;
    margin-left: -10%;
    margin-top: 80%;
}

.user-testing-img img {
    width: 100%;
}

.user-synthesis-img img {
    width: 100%;
}

.user-testing-research {
    background-color: var(--color-travelwiser);
    margin: 0 10%;
}

.user-testing-research p {
    color: white;
    padding: 3% 7%;
}

/*.user-testing-img {
    position: relative;
}

.user-synthesis-img {
    position: absolute;
}*/



.refinement img {
    width: 100%;
    margin-bottom: 24px;
}

.mobile-image {
    display: none;
}

.diagonal-bg-reflection {
    background: var(--color-travelwiser);
    color: white;
    clip-path: polygon(0 15%, 100% 0, 100% 80%, 0 95%);
    padding: 15rem 15% 17rem 15%;
    width: 100%;
}

.mobile-show {
    display:none;
}

.previous-link {
    background: linear-gradient(transparent 50%, #E8DDCE 50%) no-repeat;
    width: max-content;
    padding: 0 2%;
}

.next-link {
    background: linear-gradient(transparent 50%, #A3ABBA 50%) no-repeat;
    width: max-content;
    padding: 0 2%;

}



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

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 16px;
    }

    p {
        font-size: 16px;
    }
    

    .tablet-margin-top {
        margin-top: 24px;
    }

    .tablet-margin-small-top {
        margin-top: 18px;
    }

    .project-role {
        margin: 0%;
    }

    .project-name h1 {
        font-size: 48px;
    }

    .project-name img {
        width: 30%;
    }

    .intro-para p {
        margin-top: 0;
    }

    .project-name {
        padding-top: 20%;
        padding-bottom: 20%;
    }

    .project-name p {
        font-size: 20px;
        font-weight: 400;
    }

    .project-role {
        margin: 0 0 5% 0%;
        padding-left: 0;
    }

    .project-role {
        margin: 0 0 5% 0%;
        padding-left: 0;
    }


    .casestudy-hero-img {
        max-width: 90%;
        position: relative;
        padding-top: 25%;
        z-index: 1;
    }

    .title p:first-child {
        color: var(--color-travelwiser);
        font-size: 28px;
        font-family: playfair-display, serif;
        font-weight: 700;
        margin-bottom: 0;
        padding: 0;
    }

    .title p:nth-child(2) {
        color: var(--color-travelwiser);
        font-size: 28px;
        font-family: playfair-display, serif;
        font-weight: 700;
        padding: 0;
    }

    .title-white p:first-child {
        color: white;
        font-size: 28px;
        font-family: playfair-display, serif;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
    }

    .title-white p:nth-child(2) {
        color: white;
        font-size: 28px;
        font-family: playfair-display, serif;
        font-weight: 700;
        padding: 0;
    }

    .hero-shot-img {
        width: 100%;
    }

    .card img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }

    .card {
        padding: 2.5%;
    }

    .row-margin-card {
        margin: 12px 0 auto 0;
    }

    .bg-how-might-we {
        font-weight: 700;
        font-size: 48px;
        padding: 96px 5% 96px 5%;
    }

    .bg-how-might-we span {
        font-size: 120px;
        position: absolute;
        z-index: 1;
        margin-top: -5%;
    }

    .bg-how-might-we span:nth-child(5) {
        right: 8%;
        /*padding-top: 6%;*/
    }

    .card {
        -webkit-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
        -moz-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
        box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
        transition: 0.5s;
        width: 100%;
        padding: 1.5em;
        border-radius: 2px;
    }

    .card2 {
        -webkit-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
        -moz-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
        box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
        transition: 0.5s;
        width: 100%;
        padding: 1.5em;
        border-radius: 2px;
    }

    .bg-light {
        padding: 96px 5% 96px 5%;
        width: 100%;
    }

    .hifi-proto-gif video {
        width: 80%;
    }

    .hifi-proto-gif-re video {
        width: 80%;
    }

    .hifi-proto-content p:nth-child(2) {
        font-size: 20px;
    }

    .hifi-proto-content-re p:nth-child(2) {
        font-size: 20px;
    }

    .hifi-proto {
        margin-top:24px;
    }

    .hifi-proto-content {
        margin-top: 0;
    }

    .hifi-proto-content-re {
        margin-top: 0;
    }

    .number {
        font-size: 64px
    }

    .number-re {
        font-size: 64px
    }

    .interview-content p:nth-child(2) {
        font-size: 20px;
    }

    .interview-quotes p:first-child {
        font-size: 16px;
    }

    .interview-quotes p:nth-child(2) {
        font-size: 16px;
        padding-top: 48px;
    }

    .interview-quotes > p > span:first-child {
        margin-top: -10%;
        margin-left: -12%;
    }

    .interview-quotes > p > span:nth-child(2) {
        margin-top: 1%;
        margin-left: 5%;
    }

    .interview-quotes span {
        font-size: 48px;
    }

    .persona-right li {
        font-size: 16px;
    }

    .person-quote p:nth-child(3) {
        margin-left: 22%;
        font-size: 18px;
    }

    .person-quote {
        margin-top: 48px;
    }

    .person-quote span {
        margin-top: -10%;
        margin-left: 4%;
        font-size: 72px;
    }

    .person-quote > span:nth-child(6) {
        padding-top: 2.5%;
        margin-left: 85%;
    }

    .person2-quote span {
        font-size: 72px;
        margin-top: -12%;
        /*margin-left: 4%;*/
    }

    .person2-quote {
        margin-top: 48px;
    }

    .person2-quote p:nth-child(3) {
        font-size: 18px;
        margin-left: 1.5em;
    }

    .person2-quote p:nth-child(4) {
        font-size: 18px;
        margin-left: 30%;
    }

    .person2-quote p:nth-child(5) {
        font-size: 18px;
        margin-left: 15%;
    }

    .person2-quote > span:nth-child(6) {
        padding-top: 1%;
        margin-left: 85%;
    }

    .no-content {
        height: 96px;
    }


    .para p{
        margin-top: 24px;
    }





}



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

    .tablet-margin-top {
        margin-top: 0px;
    }

    .project-name {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding: 30% 0 0 0;
    }

    .project-name p {
        font-size: 16px;
        font-weight: 400;
    }

    .project-name h1 {
        font-size: 48px;
    }

    .project-name img {
        width: 30%;
    }

    .project-role {
        margin: 0 0 5% 0%;
        padding-left: 0;
    }

    .casestudy-hero-img {
        max-width: 60%;
        left: 20%;
        margin-top: 48px;
        padding-top: 0;
    }

    .title p:first-child {
        font-size: 24px;
    }

    .title p:nth-child(2) {
        font-size: 24px;
        margin-top: -10px;
    }

    .title-white p:first-child {
        font-size: 24px;
    }

    .title-white p:nth-child(2) {
        font-size: 24px;
        margin-top: -10px;
    }

    .subtitle p {
        font-size: 24px;
    }

    .card {
        -webkit-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
        -moz-box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
        box-shadow: 5px 10px 72px -23px rgba(181, 166, 145, 0.4);
        transition: 0.5s;
        width: 100%;
        padding: 3em;
        border-radius: 2px;
    }

    .card img {
        width: 40%;
    }

    .project-role {
        margin: 0;
        padding-left: 0;
    }

    .bg-how-might-we {
        font-size: 28px;
        padding: 24px 8% 24px 8%;
    }

    .bg-how-might-we span {
        font-size: 76px;
        position: absolute;
        z-index: 1;
        margin-top: -6%;
    }

    .bg-light {
        padding: 72px 8%;
        width: 100%;
    }
    
    .hifi-proto-gif video {
        width: 80%;
        transform: translate(11.5%, 0);
        margin-top: 24px;
    }

    .hifi-proto-gif-re video {
        width: 80%;
        transform: translate(-13%, -0%);
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .hifi-proto-content-re {
        padding-left: 0;
    }

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

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

    .number {
        font-size: 48px;
    }

    .number-re {
        font-size: 48px;
    }

    .hifi-proto-content p:nth-child(2) {
        margin: 1% 0 0 0;
    }

    .hifi-proto-content-re p:nth-child(2) {
        margin: 1% 0 0 0;
    }

    .hifi-proto {
        margin-top: 0;
    }

    .pie-chart {
        padding: 0 20% 0 20%;
        margin-top: 24px;
    }

    .pie-chart-intro {
        padding: 0 8%;
        margin-top: 12px;
        text-align: center;
    }

    .interview-content p:nth-child(2) {
        margin: 1% 0 0 0;
    }

    .interview-content {
        margin-top: 0;
    }

    .interview-quotes p:first-child {
        font-size: 16px;
        margin-top: 24px;
    }

    .interview-quotes p:nth-child(2) {
        font-size: 16px;
        padding-top: 24px;
    }

    .interview-quotes > p > span:first-child {
        margin-top: -13%;
        margin-left: -1%;
    }

    .interview-quotes > p > span:nth-child(2) {
        margin-left: 5%;
        margin-top:0;
    }

    body > span > div > div.diagonal-bg-light > div:nth-child(4) > div.col-lg-5.col-md-6.col-sm-12.interview-quotes > p:nth-child(2) > span:nth-child(2) {
        margin-left:0;
    }

    .person-quote {
        margin-top: 24px;
    }

    .person-quote p:nth-child(3) {
        margin-left: 12%;
        font-size: 16px;
    }

    .person-quote p:nth-child(4) {
        margin-left: 10%;
        font-size: 24px;
    }

    .person-quote p:nth-child(5) {
        margin-left: 30%;
        font-size: 24px;
    }

    .person-quote span {
        margin-top: -5%;
        margin-left: 4%;
        font-size: 48px;
    }


    .person-quote > span:nth-child(6) {
        padding-top: 2.5%;
        margin-left: 80%;
    }

    .wireframe-all img {
        width: 100%;
    }

    .no-content {
        height: 48px;
    }

    .mobile-card-margin-top {
        margin-top: 16px
    }

    .mobile-margin-top {
        margin-top: 24px;
    }

    .mobile-margin-top-large {
        margin-top: 72px;
    }

    .mobile-nomargin-top {
        margin-top: 0;
    }


    li {
        font-size: 16px;
    }

 /*   .mobile-image {
        display: block;
    }*/

    .web-image {
        display: none;
    }

    .mobile-no-show {
        display: none;
    }


    .mobile-show {
        display: block;
    }

    .next-title {
        font-size: 24px;
        font-family: playfair-display, serif;
        font-weight: 700;
        margin-bottom: 0;
    }

    .next-project-left-img img {
        padding-right: 0;
    }

    .previous-link-mobile {
        background: linear-gradient(transparent 50%, #E8DDCE 50%) no-repeat;
        /*width: max-content;*/
        padding: 0 2%;
        width: fit-content !important;
    }


}


/* Extra small devices (portrait phones, less than 576px) */
/*@media (max-width: 575.98px) {*/
@media (max-width: 767.98px) {
   .mobile-image {
        display: block;
        width: inherit;
    }
}