#content-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

#content-project td {
  vertical-align: top; }

#content-project-left {
  padding-right: 50px;
  white-space: nowrap; }

#content-project {
  padding: 20px 40px;
  max-width: 1450px;
  margin: 0 auto; }

#content-project a {
  color: #440a9e; }

#content-project a:hover {
  color: #1b035d; }

#content-project-right-header,
.content-project-left-title {
  font-size: 24px;
  font-weight: 300;
  color: #1976d2; }

.content-project-left-row {
  padding: 15px 0; }

.content-project-left-text {
  margin-top: 5px;
  color: #404040;
  max-width: 350px;
  overflow: hidden;
  text-overflow: ellipsis; }

.content-project-left-text div {
  margin-top: 5px; }

#content-project-right-media {
  margin-top: 100px; }

#content-project-right-media .header {
  font-size: 24px;
  font-weight: 300;
  color: #1976d2;
  margin-bottom: 10px; }

#content-project-right-media img,
#content-project-right-media video {
  max-width: 100%;
  margin-bottom: 10px;
  cursor: pointer; }

#content-project-right-media video {
  margin-right: 15px; }

#content-project-right-header {
  display: none; }

#media-popup {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s; }

#media-popup[data-active="true"] {
  pointer-events: auto;
  opacity: 1; }

#media-popup-background {
  position: relative;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75); }

#media-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); }

#media-popup-content img,
#media-popup-content video {
  max-width: calc(100vw - 100px);
  max-height: calc(100vh - 100px); }

#media-popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer; }

@media (max-width: 800px) {
  #content-project td {
    display: block;
    padding: 0; }
  #content-project-right-header {
    display: block; }
  #content-project-right-description {
    margin-top: 10px; }
  #content-project-right-media {
    margin-top: 20px; }
  #content-project {
    padding: 20px; }
  #media-popup-content img,
  #media-popup-content video {
    max-width: calc(100vw - 50px);
    max-height: calc(100vh - 50px); } }

#content-project .transition__init {
  transform: translateY(50px) scale(0.99);
  transition: transform 0.5s, opacity 0.5s;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }

#content-project .transition__active {
  transform: translateY(0) scale(1); }
