/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    main section#skills, main section#people, main section#references { border-left: none;
              border-right: none; }
    main section#references .logos-grid img {
          width: 64px;
      }

}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .hide-mobile { display:none; }
    html .hide-desktop { display:unset; }
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    body {
      font-size: 1.4rem;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}

.hide-desktop { display:none; }

.email b { display: none;}

main {

}

section {
    padding: 5rem;
    position: relative;
}

.section-title {
    margin-top: 2rem;
    max-width: 16rem;
    color: var(--dark-font-color);
    font-size: 8rem;
    word-break: break-all;
    line-height: 4.6rem;
    font-weight: bold;
    display: inline-block; }

.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

#color-proof > span {
    float: right;
    height: 1.2rem;
    width: 1.2rem;
}
#color-proof > span:nth-child(1) {
    background-color: #fff;
}
#color-proof > span:nth-child(2) {
    background-color: #000;
}
#color-proof > span:nth-child(3) {
    background-color: var(--color-1);
}
#color-proof > span:nth-child(4) {
    background-color: var(--color-2);
}
#color-proof > span:nth-child(5) {
    background-color: var(--color-3);
}
#color-proof > span:nth-child(6) {
    background-color: var(--gray-2);
}

li {
    list-style: square;
}


/* Background
-----------------------------------------------------*/
.background {
    background: var(--gray-1);
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
    .background #splash-image {
        position: absolute;
        opacity: 0.2;
        width: 100%;
    }

    @media (max-width: 1300px) {
        .background #splash-image {
            right: -400px;
            width: 1700px;
        }
    }
    @media (max-width: 767.98px) {
        .background #splash-image {
            right: -700px;
            width: 1700px;
        }
    }


    .background .skew {
      position: absolute;
      top: 0rem;
      bottom: 0rem;
      width: 100%;
      -webkit-transform: skew(-15deg);
      -moz-transform: skew(-40deg);
      -o-transform: skew(-40deg);
      overflow: hidden;
    }

    .background .skew-1 {
        background: var(--color-3);
        -webkit-transform: skew(-35deg);
        left: -85%; }

    .background .skew-2 {
        background: var(--color-2);
        /*background: darkcyan;*/
        mix-blend-mode: difference;
        left: 60%;
        width: 200%;
    }


/* Splash
-----------------------------------------------------*/
section#splash {
    /*background: var(--gray-1);*/
    /*background: var(--gray-1) url('../assets/artsy.jpg') -100px;*/
    position: relative;
    min-height: 80rem;
    overflow: hidden;
    margin-top: 1.2rem;
    /*mix-blend-mode: darken;*/
}

    section#splash #company-logo {
        width: 25rem;
        margin: 5rem 0;
        /*filter: invert(0%) sepia(100%) saturate(1000%) hue-rotate(90deg) brightness(70%) contrast(100%)*/
    }

    section#splash nav {}

    section#splash nav a {
        color: #fff;
        margin-right: 2rem;
    }

    section#splash nav a:hover {
        border-bottom: 0.4rem solid white;
    }

    section#splash h1 {
        margin-top: 5rem;
        color: #fff;
    }


    section#splash a.button {
        border: 1px solid #fff;
        background: none;
        padding: 1rem 6rem;
    }

    #color-proof {
        position: relative;
        width:100%;
        height:1.2rem;
    }



/* Skills
-----------------------------------------------------*/
section#skills {
    background: #ffffffee;
    border-left: 1.2rem solid var(--color-2); }

/*
    section#skills .title-span {
        border-bottom: 1.2rem solid var(--color-2); }
*/

    section#skills .illustration {
        margin: 5rem 0;
        width:15rem; }

/* Tech
-----------------------------------------------------*/
section#tech {
    background: var(--gray-1); }

    section#tech .tech-icon {
    }

/* People
-----------------------------------------------------*/
section#people {
    background: var(--gray-2);
    color: var(--light-font-color);
    border-right: 1.2rem solid var(--color-3); }

/*
    section#people .title-span {
        border-bottom: 1.2rem solid var(--color-3); }
*/

    section#people .person-tile {
        position: relative;
        width: 100%;
        min-height: 250px;
        text-align: center;
        background: var(--gray-3); }

        section#people .person-tile > img {
            width: 100%;
            height: 100%;
        }

        section#people .person-tile > .description {
            position: absolute;
            width: 100%;
            top: 50%;
            -ms-transform: translateY(-50%);
            transform: translateY(-50%);
            display: none;
        }

        section#people .person-tile:hover > .description {
            display: block;
            animation: fadeIn 0.2s;
        }
        section#people .person-tile:hover > img {
            animation: fadeOut 0.2s;
            opacity: 0.2;
        }

        @keyframes fadeIn {
          0% { opacity: 0.2; }
          100% { opacity: 1; }
        }

        @keyframes fadeOut {
          0% { opacity: 1; }
          100% { opacity: 0.2; }
        }

/* References
-----------------------------------------------------*/
section#references {
    background: #fff;
    border-left: 1.2rem solid var(--color-1); }

    section#references .logos-grid {
        margin-top: 5rem; }

    section#references .logos-grid img {
        width: 128px;
    }



/* Contact
-----------------------------------------------------*/
section#contact {
    background: var(--gray-4); }

/* Map
-----------------------------------------------------*/
#map {
    height: 40rem;
}