
.dz {
    background-color: #1a1a1a;
    padding: 0;
    margin: 0;
    top: 0;
    color: #fff;
    font: 13px "Source Sans Pro", Arial, Helvetica, sans-serif;
    /*line-height: 1.5em;*/
    text-align: center;
    position: relative;
    height: 100%
}

@media (max-width: 480px) {
.compositions {
    font-size: 10px
}
}
a {
    text-decoration: none;
    color: inherit
}
.menu {
    transform: translateZ(100px);
    top: 12px;
    left: 10px
}
.nav {
    transform: translateZ(100px)
}
.header {
    padding: 20px 0
}
.header-title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #9ba5b5;
    cursor: default
}
.header-title .letter {
    display: inline-block;
    transform-origin: 50% 50%
}

@media (max-width: 480px) {
.header-title {
    font-size: 11px
}
}
.header-link {
    position: absolute;
    top: 17px;
    right: 15px
}
.twitter-icon-svg {
    height: 22px;
    width: 30px;
    fill: #676d77
}
.compositions {
    display: flex;
    flex-flow: row wrap
}
.composition {
    color: #fff;
    flex: 1 50%;
    height: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer
}
.composition h1 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0.5em;
    left: 0;
    margin: auto;
    height: 1em;
	font-family: "微软雅黑" ;
}
.composition:hover .composition-hint {
    opacity: 1
}

@media (max-width: 940px) {
.composition {
    flex: 1 100%
}
}

@media (max-height: 570px) {
.composition {
    height: 250px
}
}

@media screen and (max-width: 570px) and (min-width: 350px) {
    .composition {
    height: 250px
}
}


.composition-hint {
    font-weight: 400;
    padding-bottom: 20px;
    display: inline-block;
    opacity: 0;
    transform: translateZ(0);
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0
}
.composition-hint-arrows {
    vertical-align: middle;
    position: relative;
    top: -1px
}
.composition-wrapper {
    transform: translateZ(0);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0
}
.composition-active {
    width: 50%;
    right: auto;
    left: 0;
    z-index: 3000;
    position: fixed
}

@media (max-width: 940px) {
.composition-active {
    width: 100%;
    height: 480px
}
}
.compositions-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0;
    z-index: 2000;
    display: none
}
.composition-source {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 3001;
    display: none;
    text-align: left;
    color: #000;
    box-sizing: border-box;
    overflow-y: scroll;
    padding-left: 50%
}

@media (max-width: 480px) {
.composition-source {
    -webkit-overflow-scrolling: touch
}
}

@media (max-width: 940px) {
.composition-source {
    padding-left: 0;
    padding-top: 500px;
    margin-top: 0
}
}

@media (max-height: 570px) and (max-width: 940px) {
.composition-source {
    padding-top: 430px
}
}
.composition-source-container {
    background-color: #fff;
    transform-origin: 100% 0;
    padding-bottom: 20px;
    overflow-x: hidden;
    padding-top: 120px;
    margin-top: -120px
}

@media (max-width: 940px) {
.composition-source-container {
    padding-top: 0;
    margin-top: 0
}
}

@media (max-width: 480px) {
.composition-source-container {
    padding-top: 20px
}
}
.composition-source-header {
    font-size: 86px;
    font-weight: 800;
    padding-top: 100px;
    padding-bottom: 100px;
    line-height: 1em;
    padding-left: 40px
}

@media (max-width: 940px) {
.composition-source-header {
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 54px
}
}

@media (max-width: 480px) {
.composition-source-header {
    display: none
}
}
.composition-source-subheader {
    font-size: 13px;
    letter-spacing: 0.2em;
    color: #adadad;
    text-transform: uppercase;
    padding-left: 40px
}
.composition-source-code {
    border: 0;
    cursor: text;
    font: 14px Consolas, "Courier New", Courier, monospace;
    outline: 0;
    resize: none
}
.color-overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 2001;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none
}
.highlight {
    background-color: #f4f4f6;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 2em 2em 2em 40px;
    position: relative;
    width: 100%;
    overflow-x: scroll;
    margin-bottom: 2em;
    line-height: 1.5em;
    box-sizing: border-box
}

@media (max-width: 480px) {
.highlight {
    overflow-x: auto;
    overflow-wrap: break-word
}
}
.hidden {
    display: none
}
.composition-back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 3002;
    display: none
}

@media (max-width: 940px) {
.composition-back-button {
    position: absolute
}
}
.collection-inline-header {
    font-weight: 200
}

@media (max-width: 420px) {
.collection-inline-header {
    text-align: center
}
}
