body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-style: regular;
    color: #435363;
    padding: 0;
    background-color: grey;
    line-height: 20px;
}

.content {
    display: block;
    max-width: 1000px;
    min-width: 640px;
    margin: auto;
    background-color: white;
}

.content a {
    color: inherit;
    text-decoration: inherit;
}

.content p a {
    color: #A0616A;
    text-decoration: inherit;
}

.content p a:hover {
    color: #A0616A;
    text-decoration: underline;
}

.header {
    position: relative;
    text-align: center;
    padding: 20px 20px 20px 20px;
}

.header a {
    color: inherit;
    text-decoration: inherit;
}

.header .name {
    font-size: 20px;
    letter-spacing: 0.25em;
    white-space: nowrap;
}

.header .link {
    position: relative;
    float: right;
    font-size: 13px;
    margin-left: 10px;
    padding: 0px 0px 9px 0px;
    border-bottom: 2px solid white;
}

.header .menu {
    position: relative;
    float: left;
    font-size: 13px;
    margin-right: 10px;
    padding: 0px 0px 9px 0px;
}

.header .mobile {
    display: none !important;
}

.header .popup {
    display: block;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 20px;
    text-align: left;
    border: 1px solid grey;
    background: white;
    padding: 0px;
    z-index: 1000;
}

.header .popup .menuitem {
    display: block;
    padding: 10px;
}

.header .popup .menuitem:hover {
    color: black;
    background-color: rgba(237, 230, 229, 1);
}

.header .menu:hover + .popup {
    visibility: visible;
}

.header .popup:hover {
    visibility: visible;
}

.header .link:hover {
    color: black;
    border-bottom: 2px solid rgba(86, 117, 104, .5);
}

.footer {
    text-align: center;
    background: #7F9172;
    color: white;
    padding: 20px;
}

.footer p {
    padding: 0px;
    margin: 0px;
}

.footer .name {
    font-size: 14px;
}

.footer .role {
    font-size: 11px;
}

.footer a {
    vertical-align: middle;
}

.footer img {
    margin: 8px;
}

.content h1 {
    font-style: extra-bold;
    text-align: center;
}

.content#about h1 {
    font-style: regular;
    font-weight: regular;
    font-size: 24px;
}

.intro-image {
    position: relative;
    text-align: right;
    margin-bottom: 20px;
}

.intro-image img {
    width: 75%;
}

.intro-image p {
    position: absolute;
    left: 0px;
    top: 15px;
    background: rgba(240, 240, 240, .8);
    padding: 20px;
    width: 50%;
}

.section {
    padding: 5px 20px;
    text-align: center;
}

.section p {
    text-align: left;
}

.section ul {
    text-align: left;
}

.section ol {
    text-align: left;
}

.section .title {
    text-align: left;
    font-size: 18px;
}

#about .section .title {
    text-align: center;
    font-size: 20px;
    padding: 20px 0px 12px;
}

.section h2 {
    text-align: left;
    font-weight: bold;
    font-size: 16px;
}

.section img {
    margin: auto;
    display: inline-block;
    object-fit: scale-down;
}

.content#iot .section img {
    margin: 10px;
    display: inline-block;
    object-fit: scale-down;
}

.section img.logo {
    margin: 10px;
}

.section#work {
    background-color: lightgrey;
    overflow: clip;
}

.section#role {
    float: right;
    width: 250px;
    border-left: 1px solid lightgrey;
    padding: 0px 0px 10px 20px;
    margin: 18px 20px 20px 20px;
}

.section#role h2 {
    padding: 0px;
    margin: 0px 0px 12px 0px;
}

.section#role p {
    padding: 0px;
    margin: 0px;
}

.section:not(#role):not(#intro):not(#work):nth-child(odd) {
    background-color: rgba(112, 182, 3, 0.08);
}

.content#end-to-end .section:not(#role):not(#intro):not(#work):nth-child(odd) {
    background-color: rgba(180, 149, 148, 0.15);
}

.content#healthcare .section:not(#role):not(#intro):not(#work):nth-child(odd) {
    background-color: rgba(127, 145, 14, 0.15);
}

.content#mobile .section:not(#role):not(#intro):not(#work):nth-child(odd) {
    background-color: rgba(180, 149, 148, 0.15);
}

.content#iot .section:not(#role):not(#intro):not(#work):nth-child(odd) {
    background-color: rgba(127, 145, 14, 0.15);
}

.card {
    position: relative;
    margin: 20px 20px 40px 20px;
    min-width: 600px;
    background-color: white;
    text-align: left;
    clear: both;
    overflow: auto;
    height: 240px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: transform .2s ease-in-out;
    -webkit-transition: transform .2s ease-in-out;
    -moz-transition:transform .2s ease-in-out;
    -ms-transition:transform .2s ease-in-out;
}

.card .wip {
    display: block;
    position: absolute;
    margin: 80px;
    padding-top: 20px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(243, 243, 243, .7);
    color: #435363;
    font-size: 28px;
    text-align: center;
    visibility: hidden;
}

.card:hover {
    transform: scale(1.02);
    transition: transform .2s ease-in-out;
    -webkit-transition: transform .2s ease-in-out;
    -moz-transition:transform .2s ease-in-out;
    -ms-transition:transform .2s ease-in-out;
}

.card:hover .wip {
    visibility: visible;
}

.card .wip p {
    vertical-align: middle;
}

.card .image {
    width: 40%;
    float: left;
    margin-right: 20px;
    overflow: hidden;
}

.card .image img {
    min-height: 240px;
    object-fit: cover;
}

.card .image#ecomm img {
    min-height: 240px;
    object-fit: contain;
}

.card .title {
    font-size: 20px;
    margin-top: 20px;
}

.card .body {
    padding: 20px;
    text-align: left;
}

.content iframe {
    border: 0px;
    width: 100%;
    height: 750px;
    border-style: none;
}

body.rev2 {
    background-color: white;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
}

.rev2 #content {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-flow: column;
    padding-left: 20px;
    padding-right: 20px;
}

.rev2 .header {
    padding-left: 0px;
    padding-right: 0px;
}

.rev2 .boxes {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    margin-bottom: 60px;
    color: #333333;
}

.rev2 .box {
    display: flex;
    flex: 1 1 40%;
    border-radius: 12px;
    min-width: 400px;
    max-width: 600px;
}

.rev2 .box > div {
    width: 100%;
    height: 0px;
    padding: 45% 0;
    position: relative;
}

.rev2 .box > div > div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-items: center;
    transition: opacity 150ms;
}

.rev2 .box .title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.rev2 .box .default .title {
    position: absolute;
    top: 30px;
    left: 40px;
}

.rev2 .box .default img {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
}

.rev2 .box .default {
    opacity: 1.0;
}

.rev2 .box .hovered {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    opacity: 0.0;
    text-align: center;
    padding: 40px;
}

.rev2 .box:hover .default {
    opacity: 0.0;
}

.rev2 .box:hover .hovered {
    opacity: 1.0;
}

/*************************************** rev3 ***************************************/

body.rev3 {
    background-color: white;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: #333333;
}

.rev3 .header {
    padding-left: 0px;
    padding-right: 0px;
}

.rev3 .footer {
    margin-top: 70px;
}

.rev3 .first .image {
    display: flex;
    flex: 1 1 550px;
    justify-content: center;
}

.rev3 .first .image img {
    width: 100%;
    max-width: 550px;
    min-width: 0px;
    min-height: 0px;
}

.rev3 .first .text {
    display: flex;
    flex: 1 1 400px;
    flex-flow: column;
    justify-content: space-evenly;
}

.rev3 .first .logo {
    display: flex;
    flex-flow: column;
    gap: 20px;
}

.rev3 .first .logo .name {
    white-space: nowrap;
    font-weight: 800;
    font-size: 44px;
    color: #567568;
}

.rev3 .first .logo .ux-text {
    display: flex;
    flex-flow: row;
}

.rev3 .first .logo .ux {
    line-height: 128px;
    font-weight: 600;
    font-size: 128px;
    color: #A0616A;
}

.rev3 .first .logo .text {
    display: flex;
    margin-left: 40px;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    font-weight: 300;
    font-size: 28px;
    color: #A0616A;
}

.rev3 .first .paragraph {
    line-height: 32px;
    font-weight: 300;
    font-size: 20px;
    color: #567568;
    text-align: justify;
}

.rev3 #content {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-flow: column;
    padding-left: 20px;
    padding-right: 20px;
    gap: 70px;
}

.rev3 .wrapped-section {
    display: flex;
    flex-flow: row;
    justify-content: center;
    column-gap: 70px;
    row-gap: 20px;
}

.rev3 .wrapped-section .text {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.rev3 .wrapped-section:nth-child(odd) {
    flex-flow: row-reverse;
}

.rev3 .wrapped-section > .title {
    display: none;
}

.rev3 .title {
    font-size: 44px;
    line-height: 44px;
    font-weight: 700;
    margin-bottom: 40px;
    align-self: start;
}

.rev3 .title:hover {
    color: #A0616A;
    border-bottom: .5px solid #A0616A80;
}

.rev3 .wrapped-section:nth-child(odd) .title:hover {
    color: #567568;
    border-bottom: .5px solid #56756880;
}

.rev3 a {
    color: inherit;
    text-decoration: inherit;
    align-self: start;
}

.rev3 .visible-links a:hover {
    color: #A0616A;
    text-decoration: underline;
}

.rev3 .visible-links a{
    color: #A0616A;
}


.rev3 .button {
    margin-top: 24px;
    align-self: start;
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 44px;
    padding: 0px 20px;
    border-radius: 22px;
    background-color: #A0616A;
}

.rev3 .wrapped-section:nth-child(odd) .button {
    background-color: #567568;
}

.rev3 .button:hover {
    background-color: #A0616A80;
}

.rev3 .wrapped-section:nth-child(odd) .button:hover {
    background-color: #56756880;
}

@media screen and (max-width: 900px) {
    .header .mobile {
        display: block !important;
    }

    .header .desktop {
        display: none;
    }

    .rev3 .wrapped-section.first {
        display: flex;
        flex-flow: column-reverse;
        justify-content: center;
        align-items: center;
        margin-top: -40px;
    }

    .rev3 .wrapped-section.first .logo {
        align-self: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .rev3 .wrapped-section.first .logo .name {
        font-size: 36px;
    }

    .rev3 .wrapped-section.first .logo .text {
        font-size: 28px;
        margin-left: 10px;
    }

    .rev3 .wrapped-section {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    .rev3 .wrapped-section:nth-child(odd) {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    .rev3 .title {
        display: none;
    }

    .rev3 .first .image {
        flex: none;
    }

    .rev3 .wrapped-section .image {
        display: flex;
        align-self: center;
    }

    .rev3 .wrapped-section img {
        display: flex;
        align-self: center;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
    }

    .rev3 .wrapped-section > .title {
        display: inline;
        align-self: start;
        margin-bottom: 10px;
        font-size: 32px;
        white-space: nowrap;
    }
}

@media screen and (max-width: 400px) {
    .header .name {
        font-size: 20px;
        letter-spacing: 0em;
        white-space: nowrap;
    }

    .rev3 .wrapped-section.first .logo {
        align-self: center;
        gap: 10px;
    }

    .rev3 .wrapped-section.first .logo .name {
        font-size: 28px;
    }

    .rev3 .wrapped-section.first .logo .ux {
        font-size: 96px;
        line-height: 96px;
    }

    .rev3 .wrapped-section.first .logo .text {
        font-size: 24px;
        margin-left: 10px;
    }
}

div {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
