html,
body {
  background-color: white;
  font-family: "News Plantin MT";
  font-size: 22px;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) input:focus,
body:not(.user-is-tabbing) select:focus,
body:not(.user-is-tabbing) textarea:focus {
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  background-repeat: repeat-x;
  background-image: linear-gradient(to right,rgba(0,0,0,.84) 100%,rgba(0,0,0,0) 0);
  background-image: linear-gradient(to right,currentColor 100%,currentColor 0);
  background-image: url('data:image/svg+xml;utf8,<svg preserveAspectRatio="none" viewBox="0 0 1 1" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="0" x2="1" y2="1" stroke="currentColor" /></svg>');
  background-position: 0px .9em;
  background-position: 0 calc(1em - 1px);
  background-size: 1px 1px;
}

a:after {
  content: url(../images/lightbox/arrow.svg);
  width: 1rem;
  height: 1rem;
  display: inline-block;
}

.logo {
  width: 7em;
  height: 7em;
  position: fixed;
  z-index: 2;
  left: 1.5em;
  top: 1.5em;
  cursor: pointer;
}

.logo.never {
  left: inherit;
  right: 1.5em;
}

.logo svg {
  width: 100%;
  height: 100%;
}

.logo:hover {
  cursor: pointer; 
}

.logo:hover .rotate {
  animation-duration:10s;
}

.logo span {
  width: 200%;
  position: absolute;
  top: 100%;
  left: -50%;
  text-align: center;
  font-size: 2em;
}

.logo.never span {
  transform: rotateY(180deg);
}

.logo #second {
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  outline: 1px solid transparent;
  background-color: #000;
}

.logo.never #second {
  background-color: #fff;
}

.logo .rotate {
  animation: rotate 180s infinite;
  -webkit-animation-name: rotate;
  -webkit-animation: rotate 180s infinite;
  -moz-transform: rotate 180s infinite;
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(138deg);
            transform: rotate(138deg); }
  25% {
    -webkit-transform: rotate(104deg);
            transform: rotate(104deg); }
  50% {
    -webkit-transform: rotate(138deg);
            transform: rotate(138deg); }
  75% {
    -webkit-transform: rotate(170deg);
            transform: rotate(170deg); }
  100% {
    -webkit-transform: rotate(145deg);
            transform: rotate(145deg); }
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(138deg); }
  25% {
    -webkit-transform: rotate(104deg); }
  50% {
    -webkit-transform: rotate(138deg); }
  75% {
    -webkit-transform: rotate(170deg); }
  100% {
    -webkit-transform: rotate(145deg); }
}

.alt main {
  z-index: 3;
}

.project .title {
  width: 100%;
  height: 1.5em;
  display: table;
  padding: 15px;
  text-align: center;
  opacity: 0;
  color: black;
}

.project .title span {
  display: table-cell;
  vertical-align: middle;
}

.project .title:hover, .project .title.show {
  opacity: 1;
}

.content {
  width: 100%;
  overflow: hidden;
  font-size: .78em;
  line-height: 1.3em;
}

.content .block {
  width: 100%;
  padding: 0 15px 15px 15px;
}

.content .block p {
  margin: 0 0 15px 0;
}

.content .block p:last-child {
  margin-bottom: 0;
}

.content .block.press a:not(:hover) {
  color: black !important;
}


.content .gallery {
  display: flex;
  overflow-y: hidden;
  overflow-x: scroll;
  height: 365px;
  -webkit-overflow-scrolling: touch;
}

.content .gallery img {
  max-height: 100%;
  margin-right: 2px;
}

.content .gallery::-webkit-scrollbar {
  background-color: white !important;
  height: .5rem;
}

.content .gallery::-webkit-scrollbar * {
  background-color: white !important;
}

.content .gallery::-webkit-scrollbar-thumb {
  background-color: white !important;
  border: 1px solid black;
}

main::-webkit-scrollbar {
  background-color: white !important;
  width: .5rem;
}

main::-webkit-scrollbar * {
  background-color: white !important;
}

main::-webkit-scrollbar-thumb {
  background-color: white !important;
  border: 1px solid black;
}

.video {
    position: relative;
    padding-bottom: 60%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: black;
    margin-bottom: 1rem;
}
.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 480px) {
  .logo {
    top: 1.5em;
    left: 50%;
    margin-left: -3.5em;
    z-index: 0;
  }
}
