@import url("https://use.typekit.net/ebi1ciu.css");

html {
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    /* Firefox */
    -webkit-font-smoothing: antialiased;
    /* WebKit  */
    overflow-x: hidden;
}

body {
    width: 100%;
    height: 100%;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    /* Firefox */
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    /* WebKit  */

}

::selection {
    background: hsla(54, 100%, 62%, 0.33);
    color: #212121;
}


.type1 {
    font-family: adelle, serif;
    font-weight: 700;
    font-size: 2.23rem;
    line-height: 50.4px;
    text-align: left;
    color: #212121;
}


.type2 {
    font-family: adelle, serif;
    font-weight: 600;
    font-size: 1.8995rem;
    text-align: left;
    color: #212121;
}

.type3 {
    font-family: adelle, serif;
    font-weight: 400;
    font-size: 1.618rem;
    text-align: left;
    color: #212121;
}

.type4 {
    font-family: pt-sans, sans-serif;
    font-weight: 400;
    font-size: 1.3782rem;
    text-align: left;
    color: #212121;
}

.type5 {
    font-family: pt-sans, sans-serif;
    font-weight: 400;
    font-size: 1.174rem;
    text-align: left;
    color: #212121;
}

.type6 {
    font-family: pt-sans, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.01rem;
    line-height: 1.4;
    text-align: left;
    color: #212121;

}

.type7 {
    font-family: pt-sans, sans-serif;
    font-weight: 400;
    font-size: 0.8518rem;
    letter-spacing: 0.02rem;
    text-align: left;
    color: #212121;

}

.not-in-screen {
    position: absolute !important;
    z-index: 100000 !important;
    left: -999999px !important;
    top: -999999px !important;
}

.blur {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}


.vs-hidden {
    visibility: hidden !important;
}



#fader {
    /* Black background that covers the whole screen */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0);
    opacity: 0;
    z-index: 5;
    /*opacity 0.6 in animation*/
}

.o30 {
    opacity: 0.3;
}



.anchor {
    font-family: pt-sans, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: hsla(0, 0%, 13%, 0.7);
    transition: all 200ms ease-in;
}

.anchor:hover {
    color: hsla(0, 0%, 13%, 1);
    text-decoration: none;
}





#lines {
    position: fixed;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: -1;
    height: 100vh;
    background-image: linear-gradient(90deg, hsla(232, 47%, 43%, 0.06) 1px, #ffffff 1px);
    background-size: calc(25% - 0.4px);
    padding: 0;
}








/* 
*******************
-------------------
    Navigation 
-------------------
*******************
*/


#nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: "Brand Hamburger";
    padding-top: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    transition: opacity 200ms ease-in-out;
}

#brand {
    grid-area: Brand;
    width: 20px;
    z-index: 12;
    align-self: center;
}

#hamburger {
    grid-area: Hamburger;
    -webkit-user-select: none;
    user-select: none;
    z-index: 12;
    align-self: end;
    justify-self: right;
}

/* #nav {
    position: relative;
    margin-top: 2rem;

}

#brand {
    position: absolute;
    width: 20px;
    z-index: 12;
} */


/* Hamburger */
/* #hamburger {
    position: absolute;
    right: 0;
    top: 12px;
    -webkit-user-select: none;
    user-select: none;
    z-index: 12;
} */

#hamburger input[type=checkbox] {
    cursor: pointer;
    display: block;
    position: absolute;

    width: 1.5rem;
    /* height of each span + distance between them */
    height: calc(0.5rem + 2px + 2px + 2px);
    /* hide this */
    opacity: 0;
    /* and place it over the hamburger */
    z-index: 2;

    -webkit-touch-callout: none;
}

#hamburger span {
    display: block;
    width: 1.5rem;
    height: 2px;
    margin-bottom: 0.5rem;

    background: #000;
    border-radius: 1px;
    transform-origin: top right;
    z-index: 1;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
}


#hamburger span:last-child {
    transform-origin: center right !important;
}

#hamburger input:checked~span {
    opacity: 1;
    transform: rotate(-46deg) translate(1px, -5px);
}

#hamburger input:checked~span:last-child {
    opacity: 1;
    transform: rotate(45deg) translate(0px, 3px);
}


/* Overlay Menu */

#menu {
    position: absolute;
    width: 100vw;
    left: calc(-1*(100vw - 100%)/2);
    /*-2rem for right position*/
    top: -50rem;
    z-index: 10;
    background-color: #fff;

}


#menuContainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1auto 1auto 1auto;
    grid-template-areas: "hr hr hr hr""menuLinks menuLinks menuLinks socialLinks""footer footer footer footer";
}

#menu #break {
    grid-area: hr;
    /* 4rem for white space + 24px for hamburger/ logo */
    margin-top: 6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

#menuLinks {
    grid-area: menuLinks;
}

#menu #menuLinks ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menuLinks>ul>li {
    margin-top: 40px;
}

#menuLinks>ul>li>span {
    font-family: pt-sans, sans-serif;
    font-weight: 400;
    font-size: 0.8518rem;
    letter-spacing: 0.02rem;
    text-align: left;
    color: rgba(0, 0, 0, 0.3);
    position: relative;
    top: -25px;
    right: -40px;

}

#menuLinks>ul>li>span::before {
    content: ' — ';
}



.menuLink36 {
    color: #000;
    font-weight: 400;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.menuLink36:hover {
    text-decoration: none;
    color: #000;
}

.menuLink36::before {
    content: ' ';
    position: absolute;
    height: 2.23rem;
    width: 100%;
    top: 5px;
    right: 0;
    /* background: hsla(232, 47%, 43%, 0.5); */
    /* background: #212121; */
    background: hsla(0, 0%, 13%, 0.08);
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}


.menuLink36::after {
    content: attr(data-desc);
    font-family: pt-sans, sans-serif;
    font-weight: 400;
    font-size: 0.8518rem;
    letter-spacing: 0.02rem;
    text-align: left;
    color: rgba(0, 0, 0, 0.3);


}

.menuLink36:hover::before {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}


#socialLinks {
    grid-area: socialLinks;
}

#socialLinks>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 40px;

}

#socialLinks>ul>li {
    margin-bottom: 1.2rem;
}

#socialLinks>ul>li>a {
    color: #000;
}

#footer {
    grid-area: footer;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem;
    margin-top: 4rem;
}

#footer p {
    text-align: center;
    margin: 0;
    padding: 0;
    opacity: 0.4;

}

/* ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ */


.brand {
    float: left;
    margin: 0 !important;
}

.brandImage {
    width: auto;
    height: 22px;
}

.navLinks {
    text-align: right;
    margin-top: 2rem;
}

.navLinks>ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navLinks>ul>li {
    display: inline-block;
    margin-left: 2.5rem;
}




.container {
    padding: 0;
}

h1 {
    font-size: 36px;
    font-family: adelle, serif;
    font-weight: 700;
    font-style: normal;
    color: #212121;
}

p {
    font-family: pt-sans, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.description {
    /* font-size: 1rem; */
    color: hsla(0, 0%, 13%, 0.7);
    max-width: 85%;
    word-wrap: break-word;
}

#mainTitle {
    /* margin-top: calc(40vh - 50px); */
    margin-top: 1rem;
    margin-bottom: 1rem;
}


.tight {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
}


.intro-text {
    grid-area: intro-text;
}

.intro-text>p {
    margin-bottom: 4rem;
}

.intro-img {
    grid-area: intro-img;
    width: 100%;
    max-height: 200px;
    height: 200px;
    background-size: 105% auto;
    background-image: url("../images/me.jpg");
    background-position: top center;
    background-size: cover;
    /* background-position-y: -46px; */
    background-repeat: no-repeat;
}

#mainContentRow {
    /* half viewport height - relative height of block - height of nav - padding top of nav */
    margin-top: calc(50vh - 128px - 24px - 2rem);

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "intro-text intro-text intro-img intro-img";
}


/* a.genericLink {
    display: block;
    color: #212121;
    text-decoration: none;
    position: relative;
}


a.genericLink::after {
    content: "";
    background: white;
    mix-blend-mode: exclusion;
    width: calc(100% + 20px);
    height: 0;
    position: absolute;
    bottom: -4px;
    left: -10px;
    transition: all .3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

a.genericLink:hover::after {
    height: calc(100% + 8px)
} */



a.genericLink {
    position: relative;
    display: inline-block;
    color: hsla(0, 0%, 13%, 0.7);
    overflow: hidden;
}


a.genericLink:hover {
    color: #212121;
    text-decoration: none;
    outline: none;
}

a.genericLink::after {
    content: '';
    position: absolute;
    height: 16px;
    width: 100%;
    top: 50%;
    right: 0;
    margin-top: -8px;
    /* background: hsla(232, 47%, 43%, 0.5); */
    /* background: #212121; */
    background: hsla(0, 0%, 13%, 0.13);
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

a.genericLink:hover::after {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

a.genericLink::before {
    content: attr(data-letters);
    position: absolute;
    z-index: 2;
    overflow: hidden;
    color: #212121;
    white-space: nowrap;
    width: 0%;
    -webkit-transition: width 0.4s 0.3s;
    transition: width 0.4s 0.3s;
}

a.genericLink:hover::before {
    width: 100%;
}



/* Link */
.actionLink {
    font-family: pt-sans, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #212121;
    display: inline-block;
    position: relative;
    left: -8px;
    padding: 8px 0px;
    height: 40px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* .colorBox {
    padding: 4px 12px;
    position: relative;
    left: -12px;
    z-index: -1;
    background-color: #D6DCFF;
} */


.actionLink:hover {
    color: inherit;
    text-decoration: none;
}

.actionLink::after {
    content: ' ';
    width: 40%;
    height: 20px;
    display: block;
    position: relative;
    background-color: #D6DCFF;
    top: -19px;
    float: right;
    z-index: -1;
    right: -8%;
    opacity: 1;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.actionLink::before {
    content: ' ';
    position: relative;
    left: calc(100% - 20px);
    display: inline-block;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    width: 8px;
    height: 8px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border-radius: 1.2px;
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;

}


a:focus {
    outline: none !important;
}

.actionLink:hover:after {
    content: ' ';
    width: 1px;
    height: 20px;
    display: block;
    position: relative;
    background-color: #D6DCFF;
    top: -19px;
    float: right;
    z-index: -1;
    right: calc(100% - 8px);
    opacity: 0;
}


.actionLink:hover:before {
    content: ' ';
    position: relative;
    left: calc(100% + 4px);
    display: inline-block;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    width: 8px;
    height: 8px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border-radius: 1.2px;
    opacity: 1;
}








/**
 * Works.html
 *
 * The main application footer
 * found on all pages.
 */

.project-section {
    width: 100%;
    margin-top: 2rem;
}

.project-section .text {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}


.project-section .description {
    max-width: 380px;
}

.project-section .tags {
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    text-align: left;
    max-width: 380px;
    margin-bottom: 40px;

}

.project-section .tags h3 {
    display: inline;
    margin-right: 1rem;
    color: rgba(33, 33, 33, 0.4);

}

.project-section .tags h3::before {
    content: '#';
    text-transform: uppercase;
    text-align: left;
    color: rgba(33, 33, 33, 0.4);
}

.project-section .project-image {
    text-align: right;
    width: 75%;
    height: calc(100vh - 188px);
    /* background-image: url("../images/Shift.jpg"); */
    background-position: top center;
    background-size: cover;
    background-color: #f5f5f5;
    position: relative;
    left: 25%;
    z-index: -1;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


.abs {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
}

.project-image::after {
    content: ' ';
    position: absolute;
    left: 100%;
    width: 100%;
    height: 100%;
}

.project-image::before {
    content: ' ';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay::after {
    content: ' ';
    position: absolute;
    left: 100%;
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 1.3s ease-in-out;
    transition: -webkit-transform 1.3s ease-in-out;
    transition: transform 1.3s ease-in-out;
    transition: transform 1.3s ease-in-out, -webkit-transform 1.3s ease-in-out;
}

.overlay::before {
    content: ' ';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 1.3s ease-in-out;
    transition: -webkit-transform 1.3s ease-in-out;
    transition: transform 1.3s ease-in-out;
    transition: transform 1.3s ease-in-out, -webkit-transform 1.3s ease-in-out;
}


.project-section .project-image-overlay {
    text-align: right;
    width: 75%;
    height: calc(100vh - 188px);
    background-color: salmon;
    position: relative;
    left: 25%;
    z-index: 10;
}

.projectsList {
    position: relative;
    left: 25%;
    width: 75%;
    margin-top: 0.8rem;
}

.projectsList ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.projectsList ul>li {
    display: inline;
    margin-right: 50px;
}

a.projectListLink {
    color: rgba(33, 33, 33, 0.5);
    -webkit-transition: color 0.1s ease-in;
    transition: color 0.1s ease-in;
}

a.projectListLink.active {
    color: rgba(33, 33, 33, 1);
    font-weight: 700;
}

a.projectListLink:hover {
    text-decoration: none;
    color: rgba(33, 33, 33, 0.7);
}

a.projectListLink.active:hover {
    color: rgba(33, 33, 33, 1);
}




/* Carousel */

.carousel {
    position: relative;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    color: #212121;
}

.carousel>.left {
    height: 1.2rem;
    width: auto;
    margin-right: 1.5rem;
    cursor: pointer;
}

.carousel>.right {
    height: 1.2rem;
    width: auto;
    cursor: pointer;
}

.carousel>.inactive {
    opacity: 0.2;
}

.carousel>#chevron-arrow-left {
    display: inline-block;
    border-right: 4px solid black;
    border-bottom: 4px solid black;
    width: 10px;
    height: 10px;
    -webkit-transform: rotate(-225deg);
    transform: rotate(-225deg);
}

#chevron-arrow-right {
    display: inline-block;
    border-right: 4px solid black;
    border-bottom: 4px solid black;
    width: 10px;
    height: 10px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}



p.extra {
    margin: 0;
    font-size: 0.8rem;
    color: #212121;
    opacity: 0.3;
    position: absolute;
}







/* ----------------------------------------------- */
/* Placeholders for waiting to fill in the content */
/* ----------------------------------------------- */


@-webkit-keyframes placeHolderShimmer {
    0% {
        background-position: -468px 0
    }

    100% {
        background-position: 468px 0
    }
}



@keyframes placeHolderShimmer {
    0% {
        background-position: -468px 0
    }

    100% {
        background-position: 468px 0
    }
}


.placeholder {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: placeHolderShimmer;
    animation-name: placeHolderShimmer;
    animation-direction: reverse;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    background: #f5f5f5;
    background: -webkit-gradient(linear, left top, right top, color-stop(8%, f7f7f7), color-stop(30%, hsl(0, 0%, 93%)), color-stop(80%, f7f7f7)) !important;
    background: linear-gradient(to right, #f7f7f7 8%, hsl(0, 0%, 93%) 30%, #f7f7f7 80%) !important;
    background-size: 20rem 104px;
    position: relative;
}


div.text>.placeholder {
    -webkit-animation-duration: 4s !important;
    animation-duration: 4s !important;
    background-size: 20rem 104px;
    background: -webkit-gradient(linear, left top, right top, color-stop(8%, #eaeaea), color-stop(30%, hsl(0, 0%, 89%)), color-stop(80%, #eaeaea)) !important;
    background: linear-gradient(to right, #eaeaea 8%, hsl(0, 0%, 89%) 30%, #eaeaea 80%) !important;

}

#loadingPlaceholder {
    width: 100%;
    margin-top: 2rem;
}


#loadingPlaceholder>div.text {
    width: 20rem;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    /* opacity: 0; */
}

#loadingPlaceholder>div.text>div.big {
    width: 70%;
    height: 2.5rem;
    background-color: #f5f5f5;
    margin: 1rem 0 1.1rem;
}

#loadingPlaceholder>div.text>div.smallp {
    width: 100%;
    height: 1.2rem;
    background-color: #f5f5f5;
    margin: 0 0 0.3rem;
}

#loadingPlaceholder>div.text>div.smallp:nth-child(3) {
    width: 95%;
}

#loadingPlaceholder>div.text>div.smallp:nth-child(4) {
    width: 60%;
    margin-bottom: 1rem;
}

#loadingPlaceholder>div.text>div.smallt {
    display: inline-block;
    width: 30%;
    height: 1.5rem;
    background-color: #f5f5f5;
    margin: 0 0 0.2rem;
    margin-right: 1rem;
    margin-bottom: 40px;
}

#loadingPlaceholder>div.text>div.smalla {
    width: 35%;
    height: 1.5rem;
    background-color: #f5f5f5;
}

#loadingPlaceholder>div.pimage {
    /* opacity: 0; */
    text-align: right;
    width: 75%;
    height: calc(100vh - 188px);
    /* background-image: url("../images/Shift.jpg"); */
    background-position: top center;
    background-size: cover;
    background-color: #f5f5f5;
    position: relative;
    left: 25%;
    z-index: -1;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}




/**
 * Project Details Page
 *
 * The main application footer
 * found on all pages.
 */

.project-head {
    margin-top: 8rem;
}

.project-title {
    vertical-align: middle;
    padding-bottom: 0.8518rem;
    border-bottom: 1px solid rgba(33, 33, 33, 0.1);
}

.project-title>h1 {
    display: inline;
}

.project-title>a {
    float: right;
    position: relative;
    -webkit-transform: translate(-4px, calc(2.23rem / 6));
    transform: translate(-4px, calc(2.23rem / 6));
}

.project-details {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "project-description project-team project-advisors project-tags";
}

.project-description {
    grid-area: project-description;
    word-break: break-word;
    word-wrap: break-word;
    max-width: 90%;

}

.project-advisors {
    grid-area: project-advisors;
}


.project-description>.description {
    width: 100%;
    max-width: 100%;

}

.project-team {
    grid-area: project-team;
    /* display: inline-block; */
}

.project-tags {
    grid-area: project-tags;
}

.smallHeader {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03rem;
    margin-bottom: 0.75rem;
    color: #212121;

}

.h3Paragraph {
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    max-width: 90%;
    word-wrap: break-word;
    word-break: break-word;
}





.bigImage {
    /* width: calc(100vw - 0.5rem); */
    width: 100vw;
    /* ^^ Not sure why it takes 8px as extra size */
    margin-left: calc(-1 * ((100vw - 100%) / 2));
    margin-top: 5rem;
    margin-bottom: 5rem;
    max-width: 100vw;
}


.bleedBg {
    width: calc(100% + 80px);
    height: 100%;
    background-color: #f7f7f7;
    background-color: hsla(0, 0%, 89%, 0.2);
    padding: 30px 0px 20px 40px;
    margin-left: -40px;
    max-width: 100vw;
}



.summary {
    width: calc(100% - 40px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "challenge challenge outcome outcome";
}

.challenge {
    grid-area: challenge;
}

.outcome {
    grid-area: outcome;
}

h2.type2 {
    margin-bottom: 1.1rem;
    color: #000;
    opacity: 0.87;
}



.project-2-col-img-txt,
.project-2-col-txt-txt {
    margin-bottom: 15rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "section-left section-left section-right section-right";
}


.section-left {
    grid-area: section-left;
}

.section-right {
    grid-area: section-right;
}

.section-right>p.description,
.section-left>p.description {
    max-width: 100%;
    letter-spacing: 0.01em;
    line-height: 1.5;
    text-align: left;
    color: rgba(0, 0, 0, 0.6);
    word-wrap: break-word
}



.project-2-col-img-txt>.section-right {
    padding: 40px 0px 40px 40px;
}


.project-2-col-img-txt>.section-left>img {
    height: 26rem;
    -o-object-fit: cover;
    object-fit: cover;
}

.project-2-col-txt-txt>.section-left>p.description {
    max-width: 92%;
    word-wrap: break-word;
}

.project-2-col-txt-txt>.section-right>p.description {
    max-width: 92%;
    word-wrap: break-word;
}



.img-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "info img img img";
    margin-bottom: 15rem;
}

.info {
    grid-area: info;
}

.info-block>p {
    color: rgba(0, 0, 0, 0.6);
    word-wrap: break-word;
}

.img-showcase {
    grid-area: img;
    max-height: 30rem;
}

.img-showcase>video {
    width: 100%;
}


.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: "col25 col25 col25 col25";
    margin-top: 10rem;
}

.content-row>.mid2 {
    grid-area: col25;
    grid-column: 2/4;
    grid-row: 1;
}

.content-row>.steps-mid {
    grid-row: auto;
}

.content-row>.mid2:not(:first-child) {
    margin-top: 5rem;
    grid-row: auto;
}

.content-row>.mid2>h2 {
    margin-bottom: 1.5rem;
}

.content-row>.mid2>h5 {
    margin-top: 4rem;
    font-weight: 700;
}

.content-row>.mid2>p {
    max-width: 98%;
}

.content-row>.full-image {
    grid-area: col25;
    grid-column: 1/5;
    grid-row: 2;
}

.content-row>.steps-image {
    grid-row: auto;
}


.content-row>.half-image {
    grid-area: col25;
    grid-column: 1/5;
    grid-row: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: ". .";
    margin-top: 1rem;
}

.content-row>.half-image.steps-image>img {
    grid-template-columns: auto;
    margin-top: 0;
}



.content-row>.full-image>img {
    /*1rem will be added from p tag above*/
    margin-top: 4rem;
}

.content-row>.steps-image>img {
    margin-top: 2rem;
}

.content-row>.caption-image>img {
    margin-top: 0rem;
}

.content-row>.multiple-video {
    grid-row: auto;
    margin-top: 0;
}

.content-row>.multiple-video:not(:first-child) {
    margin-top: 2rem;
}


.content-row>.full-image>img:not(:first-child) {
    margin-top: 2rem;
}


.content-row>.full-image>video {
    width: 100%;
}

.carousel-control-next>img,
.carousel-control-prev>img {
    width: 1rem;
}

.carousel-control-next {
    justify-content: flex-end;
}

.carousel-control-prev {
    justify-content: flex-start;
}

.carousel-indicators li {
    background-color: #212121;
}

.content-row>#carouselExampleIndicators {
    grid-area: col25;
    grid-row: auto;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.content-row>.caption {
    grid-area: col25;
    grid-column: 2/4;
    border-left: 0.6rem solid #f7f7f7;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.content-row>.caption>p {
    text-align: left;
    max-width: 100%;
    margin: 0;
}

.content-row>.otherarticleLinks {
    grid-area: col25;
    margin-bottom: 10rem;
}

.content-row>.otherarticleLinks>ul {
    /* width: 75%; */
    /* word-wrap: break-word; */
    text-align: center;
    margin: 0 auto;
    padding: 0;

}

.content-row>.otherarticleLinks>ul>li {
    display: inline-block;
    margin-bottom: 1rem;
    margin-right: 2.5rem;
}



.content-row>.palette {
    grid-area: col25;
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: column;
}

.content-row>.palette>.color-group {
    position: relative;
}

.content-row>.palette>.color-group>.color {
    height: 300px;
    margin-top: 2rem;
}

.content-row>.palette>.color-group>.hex {
    margin: 0;
    padding: 1rem;
    text-align: center;
}

.shift-primary {
    background-color: #413EA7;
}

.shift-light {
    background-color: #DCDCF8;
}

.shift-bg {
    background-color: #f9f9f9;
}

.shift-text {
    background-color: #272526;
}

.articleLinks {
    font-weight: 400;
    color: rgba(0, 0, 0, 0.3);
    transition: all 150ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

.articleLinks.active {
    font-weight: 700;
    color: rgba(0, 0, 0, 1);
}

.articleLinks:hover {
    color: rgba(0, 0, 0, 1);
    text-decoration: none;
}



/**
 * About Page
 *
 * The main application footer
 * found on all pages.
 */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: ". about-content about-content ."". otherLinks otherLinks .";
}

.about-content {
    grid-area: about-content;
}

.about-content h1 {
    margin-top: 8rem;
    margin-bottom: 0;
}

.about-content p {
    margin-top: 2rem;
    max-width: 100%;
    margin-bottom: 0;
    word-wrap: break-word;
    line-height: 1.5;
}

.about-content a {
    margin-top: 3rem;
    margin-bottom: 0;
}

.otherLinks {
    grid-area: otherLinks;
    margin-top: 5rem;
}

.otherLinks ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.otherLinks>ul>li {
    display: inline;
    margin-right: 40px;
}



/* ------- Modal CSS -------- */
.dialog__top,
.dialog__bottom {
    /* background-color: #f7f7f7; */
    padding: 20px 20px 25px;
    border-bottom: 1px solid #f3f3f3;
}

label.label {
    font-size: 0.8em;
    color: #292929;
    opacity: 0.4;
    padding-left: 1px;
}

input#email {
    padding: 4px 12px 6px;
    border-radius: 4px;
    border: 1px solid #eee;
    font-size: 1em;
    width: 200px;
}

button.button.button--small {
    padding: 5px 16px 7px;
    background-color: #DCDCF8;
    border: none;
    border-radius: 4px;
    color: hsla(240, 72%, 55%, 1);
    width: 130px;
    transition: all 375ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

button.button.button--small:hover {
    color: #DCDCF8;
    background-color: hsla(240, 72%, 55%, 1);
    cursor: pointer;
}

button.button.button--small:focus {
    outline: none;
}


.custom-select {
    padding: 4px 12px 6px;
    border-radius: 4px;
    border: 1px solid #eee;
    width: 200px;
}

a.button.button--small.js-client-open {
    opacity: 1;
    padding: 6px 16px 8px;
    background-color: #DCDCF8;
    border: none;
    border-radius: 4px;
    color: hsla(240, 72%, 55%, 1);
    position: absolute;
    margin-left: 3px;
    width: 130px;
    text-align: center;
    transition: all 375ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

a.button.button--small.js-client-open:hover {
    color: #DCDCF8;
    background-color: hsla(240, 72%, 55%, 1);
    text-decoration: none;
}


.modal-mySize {
    width: 380px;
    border-radius: 8px;
    margin: 1em auto !important;
}

.dialog_close {
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8em;
    background-color: #f7f7f7;
    border-radius: 8px;
}

a.closelink {
    font-weight: 700;
}

a.closelink:hover {
    text-decoration: none;
}








/* Media Queries for Different Devices and responsive design */
/* Mobile */

@media(max-height: 580px) {
    .project-section {
        grid-template-rows: 35vh auto !important;
    }

    .project-section .project-image {
        height: 35vh !important;
    }
}

@media (max-width: 338px) {
    #menuContainer {
        grid-template-rows: 44px auto 114px 62px !important;
    }

    .menuLink36 {
        font-size: 1.8rem !important;
        font-weight: 600 !important;
    }

    #menuLinks>ul>li>span {
        bottom: -8px !important;
    }

    .workHtml {
        grid-template-rows: auto 120px !important;
    }

}


@media (max-width:575px) and (min-height:680px) {
    #menu {
        height: initial !important;
    }

    #menuContainer {
        height: 80vh !important;
    }
}

@media (max-width: 575px) {


    html,
    body {
        font-size: 14px;
    }

    .container {
        max-width: 100%;
        padding: 0 1rem;
    }


    /* ----------------------------------------------- */
    /*                 Navigation Bar                  */
    /* ----------------------------------------------- */

    #nav {
        padding-top: 1rem;
    }

    .brandImage {
        height: 16px;
    }

    #hamburger {
        align-self: center;
    }

    #hamburger span:last-child {
        margin-bottom: 0;
    }

    #menu {
        height: 100vh;
    }

    #menuContainer {
        display: grid;
        height: 100vh;
        grid-template-columns: 1fr;
        grid-template-rows: 44px auto 114px 46px;
        grid-template-areas: "hr""menuLinks""socialLinks""footer";
    }

    #menu #break {
        margin-top: 3.7rem;
        margin-bottom: 0;
        margin: 0;
        position: absolute;
        top: 3.7rem;
        left: 0;
        right: 0;
    }

    #menuLinks {
        align-self: center;
    }

    #menuLinks>ul>li {
        position: relative;
        margin-top: 2.5rem;
        /* text-align: center; */
    }

    #menuLinks>h5 {
        display: none;
    }

    /* #menuLinks>ul>li:first-child {
        margin-top: 2rem;
    } */

    #menuLinks>ul>li>span {
        position: absolute;
        bottom: -10px;
        left: 1px;
        top: auto;
        right: 0;
        /* text-align: center; */
    }



    .menuLink36::after,
    .menuLink36::before {
        content: none;
    }

    #menuLinks>ul>li>span::before {
        content: none;
    }


    #menuLinks>ul>li:last-child {
        margin-bottom: 2.5rem;
    }

    #socialLinks {
        background-color: #f7f7f7;
        margin: 0;
        margin-left: -1rem;
        width: 100vw;
        height: 100%;
    }

    #socialLinks>h5 {
        display: none;
    }

    #socialLinks>ul {
        margin-top: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
        grid-template-areas: ". . .";
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #socialLinks>ul>li {
        display: inline-block;
        margin: 1rem 1.5rem;
        grid-auto-flow: column;
        align-self: center;

    }


    #footer {
        margin-top: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }



    /* ----------------------------------------------- */
    /*                   Index.html                    */
    /* ----------------------------------------------- */

    #mainContentRow {
        height: calc(100vh - 50px);
        margin-top: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 180px;
        grid-template-areas: "intro-text""intro-img";
    }


    .intro-text {
        grid-column: 1/5;
        grid-row: 1;
        align-self: flex-end;
        margin-bottom: 2rem;
    }

    #mainTitle {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .intro-img {
        grid-column: 1/5;
        grid-row: 2;
        max-height: 152px;
        align-self: center;
    }

    .intro-text>p {
        margin-bottom: 2rem;
        max-width: 98%;
    }




    /* ----------------------------------------------- */
    /*                   Works.html                    */
    /* ----------------------------------------------- */

    .workBody {
        overflow-y: hidden;
    }

    .workHtml {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: calc(100vh - 3.5rem - 120px) 120px;
        grid-template-areas: "project-here""link-carousel";
        overflow-y: hidden;
    }

    #projects-here {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: "project-section";
        grid-area: project-here;
    }

    .project-section {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 40vh auto;
        grid-template-areas: "p-image""p-text";
        grid-area: project-section;
        margin-top: 0;
    }

    .link-carousel {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 68px 52px;
        grid-template-areas: "p-carousel""p-link";
        grid-area: link-carousel;
    }

    .project-section .project-image {
        grid-area: p-image;
        height: 40vh;
        width: 100vw;
        margin-left: -1rem;
        position: initial;
        background-position: center center !important;
    }

    .project-section .text {
        grid-area: p-text;
        position: initial;
        transform: none;
        max-width: calc(100% - 1rem);

    }

    #mainTitle {
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
        font-size: 1.8rem;
        font-weight: 600;
    }



    .project-section .tags {
        margin-bottom: 1.5rem;
    }

    .carousel {
        grid-area: p-carousel;
        transform: none;
        position: initial;
        /* 2px for visual balance */
        margin-top: calc(1.3rem);
        margin-bottom: 1rem;
        /* justify-self: center; */
    }

    .carousel>.left {
        margin-right: 6rem;
    }

    .projectsList {
        grid-area: p-link;
        position: initial;
        left: 0;
        width: 100vw;
        background-color: #f7f7f7;
        margin-left: -1rem;
        padding: 0 1rem;
        margin-top: 0;
        overflow: auto;
        white-space: nowrap;

    }


    .projectsList ul>li {
        display: inline-block;
        margin-top: 1rem;
        margin-right: 1.5rem;
    }

    .projectsList ul>li>a::before,
    .projectsList ul>li>a::after {
        content: none;
    }

    .project-section .description {
        max-width: calc(100% - 0.5rem);
    }


    /* ----------------------------------------------- */
    /*                   About.html                    */
    /* ----------------------------------------------- */
    .about {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-template-areas: ". about-content ."". otherLinks .";
        height: calc(100vh - 2.5rem);
        overflow-y: scroll;
    }


    .about-content h1 {
        margin-top: 4rem;
        font-size: 1.8rem;
        font-weight: 600;
    }

    .about-content p {
        margin-top: 1rem;
    }

    .about-content a {
        margin-top: 2rem;
    }

    .otherLinks {
        margin: 3rem 0;
    }

    .otherLinks>ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
        grid-template-areas: ". . .";
    }

    .otherLinks>ul>li {
        grid-auto-flow: column;
        align-self: center;
        margin-bottom: 1rem;
    }

    .otherLinks>ul>li>a {
        font-size: 1rem;
    }



    /* ----------------------------------------------- */
    /*                   Shift.html                    */
    /* ----------------------------------------------- */

    /* Project description at top */
    .project-head {
        margin-top: 4rem;
    }

    .project-title {
        padding-bottom: 1rem;
    }

    .project-title>h1 {
        font-size: 1.8rem;
        font-weight: 600;
    }

    .project-title>a {
        transform: translate(-4px, calc(2.23rem / 6));
    }

    .project-details {
        margin-top: 1rem;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas: "project-description""project-tags""project-team""project-advisors";
    }

    .project-description {
        max-width: calc(100% - 0.5rem);
    }

    .project-description,
    .project-tags {
        margin-top: 0.5rem;
    }

    .project-team,
    .project-advisors {
        margin-top: 1rem;
    }

    .bigImage {
        margin-bottom: 0;
        margin-top: 2rem;
    }

    /* Challenge Outcome */
    .bleedBg {
        width: 100vw;
        margin-left: -1rem;
        padding: 3rem 0px 3rem 2rem;
    }

    .summary {
        width: calc(100vw - 4rem);
        grid-template-columns: auto 280px auto;
        grid-template-rows: auto auto;
        grid-template-areas: ". challenge ."". outcome .";
    }

    .outcome {
        margin-top: 2rem;
    }

    .h3Paragraph {
        max-width: 100%;
    }


    /* Content Row */
    .content-row {
        grid-template-columns: auto 280px auto;
        grid-template-rows: auto auto;
        grid-template-areas: "col25 col25 col25";
        margin-top: 6rem;

    }

    .content-row>.mid2 {
        grid-column: 2/3;
    }

    .content-row>.full-image {
        grid-column: 1/4;
        width: 100vw;
        margin-left: -1rem;
    }


    .content-row>.full-image>img {
        margin-top: 2rem;
    }

    .content-row>.caption-image>img {
        margin-top: 0rem;
    }

    .content-row>.caption-image>img {
        margin-top: 0rem;
    }

    .content-row>.mid2>p {
        margin-bottom: 0;
    }

    .content-row>.caption {
        grid-column: 2/3;
        margin-left: -10px;
    }


    .content-row>.otherarticleLinks {
        margin-bottom: 6rem;
        grid-column: 2/3;
    }

    .content-row>.otherarticleLinks>ul {

        text-align: left;
    }


    .content-row>.otherarticleLinks>ul>li {
        display: block;
        margin: 2rem 0;
        font-size: 1.8rem;
        font-weight: 600;

    }

    .carousel-indicators {
        transform: translateY(3rem);
    }

    /* ----------------------------------------------- */
    /*                   Ponyu.html                    */
    /* ----------------------------------------------- */


    .content-row>.half-image {
        display: grid;
        grid-template-columns: 100vw;
        grid-template-rows: auto;
        grid-template-areas: ".";
        margin-top: 1rem;
        margin-left: -1rem;
    }

    .content-row>.half-image.steps-image>img {
        margin-top: 1rem;
    }

    .content-row>.steps-mid:not(:first-child) {
        margin-top: 0;
    }
}

/* Big mobiles */
@media(min-width: 576px) and (max-width: 768px) {

    /* ----------------------------------------------- */
    /*                      Global                     */
    /* ----------------------------------------------- */

    .container {
        max-width: 100%;
        padding: 0 2rem;
    }

    /* ----------------------------------------------- */
    /*                 Navigation Bar                  */
    /* ----------------------------------------------- */
    #menuLinks>ul>li {
        position: relative;
    }

    #menuLinks>ul>li>span {
        position: absolute;
        bottom: -5px;
        left: 1px;
        top: auto;
        right: auto;
    }

    #menuLinks>ul>li>span::before {
        content: none;
    }

    #socialLinks {
        margin-left: -30px;
    }


    /* ----------------------------------------------- */
    /*                   Index.html                    */
    /* ----------------------------------------------- */

    #mainContentRow {
        height: calc(100vh - 24px - 2rem);
        margin-top: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 20rem;
        grid-template-areas: "intro-text""intro-img";
    }

    .intro-text {
        grid-column: 1/5;
        grid-row: 1;
        align-self: flex-end;
        margin-bottom: 4rem;
    }

    .intro-img {
        grid-column: 1/5;
        grid-row: 2;
        max-height: 16rem;
        height: 300px;
        align-self: center;

    }


    /* ----------------------------------------------- */
    /*                   Shift.html                    */
    /* ----------------------------------------------- */

    /* Project description at top */
    .project-head {
        margin-top: 6rem;
    }

    .project-title {
        padding-bottom: 1rem;
    }

    .project-details {
        margin-top: 1rem;
        grid-template-columns: 1.2fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas: "project-description project-tags""project-team project-advisors";
    }

    .project-description,
    .project-tags {
        margin-top: 0.5rem;
    }

    .project-team,
    .project-advisors {
        margin-top: 1rem;
    }

    .bigImage {
        margin-bottom: 0;
    }

    /* Challenge Outcome */
    .bleedBg {
        width: 100vw;
        margin-left: -2rem;
        padding: 3rem 0px 3rem 2rem;
    }

    .summary {
        width: calc(100vw - 4rem);
        grid-template-columns: auto 480px auto;
        grid-template-rows: auto auto;
        grid-template-areas: ". challenge ."". outcome .";
    }

    .outcome {
        margin-top: 2rem;
    }

    .h3Paragraph {
        max-width: 100%;
    }


    /* Content Row */
    .content-row {
        grid-template-columns: auto 480px auto;
        grid-template-rows: auto auto;
        grid-template-areas: "col25 col25 col25";
        margin-top: 8rem;

    }

    .content-row>.mid2 {
        grid-column: 2/3;
    }

    .content-row>.full-image {
        grid-column: 1/4;
    }


    .content-row>.full-image>img {
        margin-top: 3rem;
    }

    .content-row>.mid2>p {
        margin-bottom: 0;
    }

    .content-row>.caption {
        grid-column: 2/3;
    }


    .content-row>.otherarticleLinks {
        margin-bottom: 8rem;
    }

    .content-row>.otherarticleLinks>ul>li {
        margin: 1rem 1.25rem;
    }


    /* ----------------------------------------------- */
    /*                   Works.html                    */
    /* ----------------------------------------------- */


    .workHtml {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 46vh calc(64vh - 81px - 2rem);
        grid-template-areas: "project project""project project";
        padding-top: 2rem;
    }

    #projects-here {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 46vh calc(64vh - 81px - 4rem);
        grid-area: project;
    }

    .project-section {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        grid-template-rows: 46vh calc(64vh - 81px - 4rem);
        grid-template-areas: "p-image p-image""p-text .";
        grid-area: 1 / 1 / 3 / 3;
        margin-top: 0;
    }

    .link-carousel {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 73px auto;
        grid-template-areas: "p-carousel""p-link";
        grid-area: 2 / 2 / 3 / 3;
    }

    .project-section .project-image {
        grid-area: p-image;
        height: 46vh;
        width: 100%;
        position: initial;
        background-position: center center !important;
    }

    .project-section .text {
        grid-area: p-text;
        position: initial;
        transform: none;
        grid-column: 1/2;
    }

    #mainTitle {
        margin-top: 2rem;
        margin-bottom: 0.8rem;
    }



    .project-section .tags {
        margin-bottom: 1rem;
    }

    .carousel {
        grid-area: p-carousel;
        transform: none;
        position: initial;
        /* 2px for visual balance */
        margin-top: calc(2rem + 2px);
        margin-bottom: 1rem;

    }

    .projectsList {
        grid-area: p-link;
        position: initial;
        left: 0;
        width: 100%;

    }


    .projectsList ul>li {
        display: block;
        margin-top: 4px;
        margin-right: 0;
    }




    /* ----------------------------------------------- */
    /*                   About.html                    */
    /* ----------------------------------------------- */
    .about {
        display: grid;
        grid-template-columns: 1fr 480px 1fr;
        grid-template-rows: auto auto;
        grid-template-areas: ". about-content ."". otherLinks .";
    }



    /* ----------------------------------------------- */
    /*                   Ponyu.html                    */
    /* ----------------------------------------------- */


    .content-row>.half-image {
        grid-area: col25;
        grid-column: 1/4;
        grid-row: auto;
    }

    .content-row>.half-image.steps-image>img {
        margin-top: 2rem;
        grid-column: 1/4;
    }

}

/* Tablets */
@media(min-width: 769px) and (max-width: 991px) {

    /* ----------------------------------------------- */
    /*                   Index.html                    */
    /* ----------------------------------------------- */
    #mainContentRow {
        margin-top: calc(50vh - 50% + 24px);
    }

    .intro-text {
        grid-column: 1/5;
        grid-row: 1;
        margin-bottom: 5rem;
    }

    .intro-img {
        grid-column: 1/5;
        grid-row: 2;
        max-height: 16.5rem;
        height: 300px;
    }


    /* ----------------------------------------------- */
    /*                   Works.html                    */
    /* ----------------------------------------------- */
    .project-section .description {
        max-width: 240px;
    }

    .projectsList ul>li {
        margin-right: 21px;
    }


    /* ----------------------------------------------- */
    /*                   About.html                    */
    /* ----------------------------------------------- */
    .about {
        display: grid;
        grid-template-columns: 1fr 480px 1fr;
        grid-template-rows: auto auto;
        grid-template-areas: ". about-content ."". otherLinks .";
    }

}

/* Large Screens */

@media(min-width: 992px) and (max-width: 1199px) {
    .intro-img {
        background-position: center;
    }

    .project-section .description {
        max-width: 310px;
    }


}