body {
    color: rgba(0,0,0,0.87);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/*NAVBAR*/

#navbar {
    background: #ffffff;
    display: block;
    box-shadow: 6px 6px 57px rgba(0, 0, 0, 0.07);
    position: fixed;
    width: 100%;
}

#nav-items {
    max-width: 1600px;
    margin: auto;
}

h1.logo {
    padding: 24px 40px 12px 40px;
    float: left;
    display: block;
    margin: 0;
}

h1.logo a {
    text-decoration: none;
    color: #121212;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.6;
}

h1.logo a:hover {
    color: #41329c;
}

ul.nav {
    padding: 24px 40px 12px 40px;
    float: right;
    display: block;
    font-size: 18px;
    line-height: 1.8;
    list-style: none;
    margin: 12px 0 0 0;
}

ul.nav li {
    display: inline;
}

a#work {
    margin-right: 40px;
}

@media (max-width: 768px) {
    a#work {
        margin-right: 24px;
    }
}

ul.nav li a {
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    color: #41329c;
}

ul.nav li a:hover {
    text-decoration: underline;
}

@media (max-width: 670px) {
    h1.logo {
        padding: 16px 24px 8px 24px;
    }
    h1.logo a {
        font-size: 20px;
    }
    ul.nav {
        padding: 16px 24px 8px 24px;
        font-size: 16px;
        margin: 12px 0 0 0;
    }
    #ext-link {
        display: none;
    }
}

@media (max-width: 500px) {
    h1.logo {
        padding: 16px 0 8px 16px;
    }
    h1.logo a {
        font-size: 18px;
    }
    ul.nav {
        padding: 20px 16px 8px 0;
        margin: 11px 0 0 0;
    }
    ul.nav li a {
        font-size: 14px;
        margin: 0 0 0 8px;
    }
}


/*BANNER*/

#banner {
    width: 100%;
    height: auto;
    padding-top: 120px;
    margin: auto;
    top: 0;
    left: 0;
    border-bottom: 1px solid #eee;
    background: #EBEAF5;
}

#banner-image {
    max-width: 1000px;
    height: 1;
    margin: auto;
}


img.banner {
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*TITLE SECTION*/

#title {
    max-width: 820px;
    margin:auto;
    padding: 40px 24px 8px 24px;
    border-bottom: 1px solid #66697740;
}

@media (min-width: 768px) {
    #title {
        padding: 80px 40px 0px 40px;
    }
}

#title h4 {
    color: #666977;
    font-size: 13px;
    font-weight: 800;
    margin: 0;
    padding-bottom: 4px;
}

#title-list h4 {
    color: #666977;
    font-size: 13px;
    font-weight: 800;
    margin: 0;
    padding-bottom: 4px;
}

#title h2 {
    color: #121212;
    text-align: left;
    font-weight: 400;
    font-size: 56px;
    margin: 0;
    padding-bottom: 24px;
}

#title-center h2 {
    color: #121212;
    text-align: center;
    font-weight: 400;
    font-size: 24px;
}

#title-copy p {
    text-align: left;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.8 em;
    color: #121212;
    margin: 0;
    padding-bottom: 48px;
}

#title-list p {
    text-align: left;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.8 em;
    color: #121212;
    margin: 0;
    padding-bottom: 16px;
}

#title-list {
    display: flex;
    padding-bottom: 48px;
}

#details-list {
    flex: 50%;
}

@media (max-width: 900px) {
    #title {
        padding: 40px auto 8px auto;
    }
    #title h4 {
        font-size: 12px;
    }
    #title-list h4 {
        font-size: 12px;
    }
    #title h2 {
        font-size: 40px;
        padding-bottom: 16px;
    }
    #title-center h2 {
        font-size: 20px;
    }
    #title-copy p {
        font-size: 16px;
        padding-bottom: 32px;
    }
    #title-list p {
        font-size: 16px;
        padding-bottom: 8px;
    }
    #title-list {
        padding-bottom: 24px;
    }
    #details-list {
        flex: 50%;
    }
}

@media (max-width: 500px) {
    #title {
        padding: 16px 24px;
    }
}

/*PROJECT COPY*/

#project-copy {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #66697740;
}

@media (min-width: 768px) {
    #project-copy {
        padding-bottom: 48px;
    }
}

#project-copy h3 {
    color: #121212;
    font-size: 32px;
    font-weight: 400;
    margin: 80px auto 24px auto;
}

#project-copy h4 {
    color: #121212;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
}

#quote {
    color: #666977;
    text-align: left;
    font-weight: 300;
    font-style: italic;
    max-width: 600px;
    border-left: 8px solid #EFF2FF;
    padding: 0px 24px;
    margin: 24px 0px;
}

#project-image {
    max-width: 1000px;
    margin: 48px auto;
    border-radius: 4px;
}

#project-image-2 {
    max-width: 600px;
    margin: auto;
    margin-top: 40px;
    border-radius: 4px;
}

img.project {
    width: 820px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 1px solid #66697740;*/
    transition: transform 0.25s ease;
    cursor: zoom-in;
    border: 1px solid #66697740;
    border-radius: 4px;
}
  
img.project:active {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    cursor: zoom-out;
    /*border: 8px solid #EFF2FF;*/
    border-radius: 8px;
    box-shadow: 0px 0px 48px 12px #66697748;
  }

#project-copy h2 {
    color: #121212;
    text-align: left;
    font-size: 28px;
}

#project-copy h1 {
    font-size: 22px;
    font-weight: 300;
    color: #121212;
}

#project-copy p {
    text-align: left;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.8 em;
    padding: 24px 0px;
    color: #121212;
}

#project-image p {
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    padding-top: 8px;
    color: #666977;
}


#project-copy ul {
    text-align: left;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.8 em;
    color: #121212;
}

#mini-cards {
    display: flex;
    margin: 48px auto;
}

#card {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    letter-spacing: 0.8 em;
    color: #121212;
    /*background: #EFF2FF;*/
    padding: 24px;
    margin-right: 24px;
    border: 1px solid #666977;
    border-radius: 4px;
}


#project-copy a {
    font-weight: medium;
    text-decoration: none;
    color: #42289c;
} a:hover {
    text-decoration: underline;
}


@media (min-width: 768px) {
    #project-image, #project-image-2 {
        padding: 0;
    }
}

  @media (max-width: 900px) {
    #project-copy {
        padding: 0 40px;
    }
    #project-copy h3 {
        font-size: 24px;
        margin: 56px auto 16px auto;
    }
    #project-copy h4 {
        font-size: 20px;
    }
    #project-copy p {
        font-size: 16px;
        padding: 16px 0px;
    }
    #project-copy h2 {
        font-size: 20px;
    }
    #project-image {
        margin: 24px auto;
    }
    img.project {
        width: 100%;
    }
    #project-image p {
        font-size: 12px;
        padding-top: 0;
    }
    #mini-cards {
        margin: 24px auto;
    }
    #card {
        font-size: 14px;
        line-height: 20px;
        padding: 16px;
        margin-right: 16px;
    }
}

@media (max-width: 500px) {
    #project-copy {
        padding: 0 24px;
    }
}


/*UP NEXT*/

#case-study {
    max-width: 1088px;
    max-height: 480px;
    margin: 40px auto 16px auto;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #66697720;
    box-shadow: 6px 6px 57px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    align-items: center;
} 

#case-study-image {
    width: 100%;
    height: 600px;
    background: #EBEAF5;
    display: flex;
    justify-content: center;
    align-items: center;
}

#case-study img {
    width: 85%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 6px 6px 57px rgba(0, 0, 0, 0.07);
}

#case-study-text {
    padding: 0 64px;
    width: 70%;
}

#case-study-text h2 {
    font-size: 24px;
    margin: 0 0 8px 0;
    font-weight: 400;
}

#case-study-text p {
    text-align: left;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.8 em;
    color: #121212;
    margin: 0 0 24px 0;
}

#case-study-text button {
    background-color: #41329c;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 24px;
    color: #fff;
    border-style: none;
    transition: background-color ease 0.15s;
}

#case-study-text button:hover {
    background-color: #5741e1;
    cursor: pointer;
}

@media (max-width: 1140px) {
    #case-study {
        margin: 0 40px 16px 40px;
    }
}

@media (max-width: 770px) {
    #case-study {
        margin: 0 24px 16px 24px;
        display: block;
        max-height: 880px;
    } 
    #case-study-text {
        padding: 32px;
        width: auto;
    }
    #case-study-image {
        width: 100%;
        height: auto;
        background: #EBEAF5;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #case-study img {
        width: 80%;
        margin: 24px;
    }
}

@media (max-width: 570px) {
    #case-study img {
        width: 90%;
    }
}



/*FOOTER*/

footer {
    padding: 40px;
    margin-top: 80px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 24px;
    }
}


#footer-row {
    display: flex;
    max-width: 1600px;
    margin: auto;
}

#copyright {
    display: block;
    margin: 0;
    width: 50%;
}

@media (max-width: 482px) {
    #copyright {
        width: 60%;
    }
}

footer p {
    color: #121212;
    opacity: 0.8;
    margin: 0;
    line-height: 24px;
    font-size: 18px;
    cursor: default;
    font-weight: 300;
}

@media (max-width: 482px) {
    footer p {
        font-size: 16px;
    }
}

#links {
    width: 50%;
}

@media (max-width: 482px) {
    #links {
        width: 40%;
    }
}

footer ul {
    float: right;
    display: block;
    list-style: none;
    margin: 0;
}

footer li {
    display: inline;
}

footer a {
    display: inline;
    color: white;
    text-align: right;
    padding-left: 24px;
    text-decoration: none;
}

@media (max-width: 482px) {
    footer a {
        padding-left: 8px;
    }
}

footer a svg {
    fill:#42289c;
    fill-opacity: 0.8;
    height: 24px;
    width: auto;
}

@media (max-width: 482px) {
    footer a svg {
        height: 18px;
        width: auto;
    }
}