#undisciplinedspaces-2024 {
  font-weight: 400;
  font-family: sans-serif;
  font-size: 12px;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: white;
  --us-color-secondary: #b3b3b3;
  --us-color-tertiary: #ffd700;
  --us-color-red: #FF514B;
}

body::selection, 
div::selection, 
p::selection,
a::selection,
i::selection,
img::selection {
  color: black;
  background-color: red;
}


a:link,
a:visited,
a:hover {
  color: black;
}

a:active {
  color: var(--us-color-secondary);
}

#copyrightcontainer {
  position: fixed;
  z-index: 29;
  bottom: 0;
  left: 0;
  width: calc(100% - 40px);
  background: none;
  text-align: center;
  margin: 0 20px;
  margin-bottom: 20px;
}

#cr-left-desktop {
  display: block;
  float: left;
  max-width: 35%;
  text-align: left;
}
#cr-left-mobile {
  display: none;
  float: left;
  max-width: 35%;
  text-align: left;
}

#cr-right {
  float: right;
  max-width: 35%;
  text-align: right;
}

#navigationbar {
  z-index: 500;
  height: 100px;
  width: 100%;
  background-color: none;
  position: fixed;
  top: 0;
  left: 0;
}

#navigationcontainer {
  background-color: none;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: center;
  margin: 20px 0 0 0;
}

.nav-item {
  background-color: none;
  text-align: center;
  margin: 0 20px 20px 20px;
}

.nav-item:first-child {
  margin-left: 20px;
}

.nav-item:last-child {
  margin-right: 20px;
}

@media screen and (max-width: 1100px) {
  .nav-item {
    margin-bottom: 0px;
    margin-top: 5px;
  }
}



.socials {
  text-align: right;
  margin: 0;
  padding: 0;
  line-height: 1.5em;
}

#coloroverlay {
  z-index: 600;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  background: rgb(255,0,0);
}

.content {
  padding-top: 30px;
  overflow: auto;
}


.content-container {
  margin: 20px;
  overflow: auto;
}

.content-section {
  margin-top: 50px;
  float: left;
  width: 100%;
}

.project-section {
  margin-top: 40px;
}

.headline {
  font-size: 1.5em;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
}


.subheadline {
  width: 100%;
  margin-top: 10px;
  text-transform: uppercase;
  font-size: 1.2em;
  text-align: left;
}

.about-photo {
  float: left;
  margin-right: 5%;
}

.about-photo img {
  height: 100%;
  max-height: 500px;
  object-fit: contain;
}

.about-text {
  float: left;
  width: 100%;
  max-width: 800px;
  margin-bottom: 30px;
  margin-top: 100px;
}
.about-text:last-child {
  margin-bottom: 0;
}


.cv-item {
  padding: 7px 0;
  overflow: auto;
}

.cv-headline {
  padding-left: calc(10% + 55px);
}

.cv-year {
  font-style: italic;
  width: 10%;
  float: left;
  min-width: 95px;
  text-align: right;
  position: absolute;
}

@media screen and (max-width: 450px) {
  .cv-year {
    min-width: 0;
    width: 70px;
  }

  .cv-headline {
    padding-left: 0;
  }

  .awaveamouth {
    width: 60px !important;
    padding-left: 10px !important;
  }
}

.arabic {
  direction: rtl;
}

.cv-text {
  width: calc(90% - 75px);
  float: right;
  padding-left: 70px;
  text-indent: -20px;
}
.cv-text p {
  margin: 0;
}

.explainer-text {
  width: 100%;
  margin-bottom: 50px;
  font-size: 0.9em;
  line-height: 1.2em;
}

.info {
  text-transform: uppercase;
}

.project-array {
  display: flex;
  flex-flow: row wrap;
  justify-content: left;
  align-items: flex-end;
}

.image-array {
  display: flex;
  flex-flow: row wrap;
  justify-content: left;
  align-items: flex-start;
  align-content: center;
}

.image-array a {
  text-decoration: none;
}

.image-array:last-child,
.project-array:last-child {
  margin-bottom: 100px;
}

.image-container {
  height: auto;
  margin: 1%;
}

.project-container {
  width: 100%;
  height: auto;
  padding: 10px 0;
  border-bottom: 1px solid black;
  min-height: 200px;
}
.project-container:last-child {
  border-bottom: none;
}

.pr-portrait {
  flex-grow: 1;
}
.pr-landscape {
  flex-grow: 2;
}




.proj-img-container {
  float: right;
  width: 73%;
  height: 200px;
  overflow: auto hidden;
  position: relative;
}

.proj-img-container {
  scrollbar-width: thin;
  scrollbar-color: black rgba(0,0,0,0);
} 

.proj-img-container::-webkit-scrollbar {
  height: 5px;
  width: 5px;
  margin-top: 5px;
}
.proj-img-container::-webkit-scrollbar-track {
  background: rgba(0,0,0,0);
}
.proj-img-container::-webkit-scrollbar-thumb {
  background-color: white;
  border-radius: 5px;
  border: 1px solid black;
}



.proj-img-scrollcontainer {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  position: absolute;
  margin-bottom: 2px;
}

.proj-desktop {
  display: flex;
}

.proj-desktop img {
    background: linear-gradient(135deg, #ddd, #fff);
    background-size: 400% 400%;

    -webkit-animation: AnimationName 3s ease infinite;
    -moz-animation: AnimationName 3s ease infinite;
    animation: AnimationName 3s ease infinite;
}

 @-webkit-keyframes AnimationName {
    0%{background-position:0% 0%}
    50%{background-position:100% 100%}
    100%{background-position:0% 0%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 0%}
    50%{background-position:100% 100%}
    100%{background-position:0% 0%}
}
@keyframes AnimationName {
    0%{background-position:0% 0%}
    50%{background-position:100% 100%}
    100%{background-position:0% 0%}
}




.proj-mobile {
  display: none;
}

.proj-img-scrollcontainer img {
  height: 100%;
  min-width: 90px;
  filter: saturate(0);
  transition: filter 0.2s;
  object-fit: contain;
  margin-right: 20px;
}
.proj-desktop img {
  cursor: zoom-in;
}

.proj-img-scrollcontainer img:hover,
.proj-img-scrollcontainer img:active {
  filter: saturate(1);
}

.project-title {
  display: block;
  float: left;
  width: 9%;
  height: 100%;
  text-transform: uppercase;
  font-size: 1.2em;
  margin-right: 3%;
}

.project-title-mobile {
  display: none;
}


.project-info-container {
  float: left;
  width: 14%;
  height: 100%;
  border-left: 1px solid;
  min-height: 200px;
}
.project-info {
  float: left;
  width: calc(100% - 20px);
  height: auto;
  text-transform: uppercase;
  font-size: 1em;
  color: var(--us-color-secondary);
  padding: 10px;
  padding-top: 5px;
}
.project-info:first-child {
  padding-top: 0;
}

.project-info:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-info a {
  cursor: pointer;
}

.project-info-title {
  color: black;
  font-size: 0.7em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.more-info {
  color: black;
  padding-top: 15px;
  letter-spacing: 3px;
}

.image-container:first-child {
  margin-left: 0;
}
.image-container:last-child {
  margin-right: 0;
}

.sixth-width {
  width: 15%;
}
.quarter-width{
  width: 23.5%;
}
.third-width {
  width: 31.75%;
}
.half-width {
  width: 48.5%;
}
.full-width {
  width: 100%;
}


.sixth-width:nth-child(6n) {
  margin-right: 0 !important;
}
.sixth-width:nth-child(6n+1) {
  margin-left: 0 !important;
}


.quarter-width:nth-child(4n) {
  margin-right: 0 !important;
}
.quarter-width:nth-child(4n+1) {
  margin-left: 0 !important;
}


.third-width:nth-child(3n) {
  margin-right: 0 !important;
}
.third-width:nth-child(3n+1) {
  margin-left: 0 !important;
}




.video-container {
  width: 60vw; 
  height: 33.75vw;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.image-link {
  cursor: pointer;
  border: 1px solid var(--us-color-secondary);
  box-sizing: border-box;
}

.releases img {
  filter: saturate(0);
  transition: filter 0.2s;
}


.releases img:hover,
.releases img:active {
  filter: saturate(1);
}


.image-title {
  margin-top: 10px;
  margin-bottom: 20px;
  width: 100%;
  font-size: 0.9em;
}


.image-title p {
  color: var(--us-color-secondary);
  margin: 0;
}
.image-title p:first-child {
  color: black;
  margin-bottom: 5px;
}



.teaching-section {
  padding: 0 !important;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
  margin-right: 0px !important;

  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */

.teaching-section::-webkit-scrollbar {
  display: none;
}



.academic-year {
  width: 450px;
  max-height: 100vh;
  margin-right: 50px;

  overflow: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.academic-year::-webkit-scrollbar {
  display: none;
}


.academic-year-top-spacer {
  height: 100px;
}


.teaching-headline {
  position: sticky;
  top:100px;
}

.course {
  height: 150px;
  width: 100%;
  margin-bottom: 50px;
}

.course:last-of-type {
  margin-bottom: 100px;
}

.course div {
  float: left;
}


.course-image {
  width: 150px;
  
}

.course-image img {
  height: 100%;
  width: 100%;
}


.course-text {
  margin-left: 15px;
}

.course-text p {
  color: var(--us-color-secondary);
  width: 250px;
}

.course-text p a {
  cursor: pointer;
}

.course-text p:first-child {
  color: black;
  margin-bottom: 5px;
  text-decoration: underline;
}
.course-text p:nth-child(2) {
  color: black;
  font-size: 1.2em;
}
.course-text p:nth-child(3) {
  color: ;
}


.course-info {
  height: 90vh !important;
}



.course-header-cont {
  width: calc(100% - 100px);
  padding: 50px;
  max-height: 35px;
}

.course-textblock {
  max-width: 300px;
  max-height: calc(100% - 160px);
  overflow: scroll;
  float: left;
  margin: 0 50px;
  scrollbar-width: none;
}
.course-textblock::-webkit-scrollbar {
  display: none;
}


.course-textblock p a {
  font-weight: bold;
  margin-top: 20px;
}

.course-textblock p a:hover {
  text-decoration: none;
  color: var(--us-color-tertiary);
  background: black;
}


.course-images {
  position: absolute;
  left: 0;
  height: 650px;
  max-width: calc(100vw - 400px);
  max-height: calc(100% - 160px);
  overflow-x: scroll;
  overflow-y: hidden;
  display: flex;
  scrollbar-width: none;
  padding-left: 400px;
  z-index: -1;
}

.course-images::-webkit-scrollbar {
  display: none;
}


.course-images img {
  height: 100%;
  padding-right: 25px;
}

.course-images .course-images-image-container {
  position: relative;
  padding-right: 25px;
}
.course-images-image-container img {
  padding-right: 0;
}
.course-image-caption {
  margin-top: 5px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  max-width: calc(100% - 55px);
  background: white;
  padding: 5px;
}



@media screen and (max-width: 450px) {
  .course-images {
    display: none;
  }
}

.briefdownload {
  margin-top: 25px;
}



.proj-text-container {
  display: block;
  position: fixed;
  z-index: 700;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  background: var(--us-color-tertiary);
  max-height: 0;
  transition: max-height 1s;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
.proj-text-container::-webkit-scrollbar {
  display: none;
}

.proj-text-cont-cont {
  width: calc(100% - 100px);
  height: auto;
  padding: 50px;
}

.proj-text-container p {
  margin-bottom: 10px;
}

.proj-text-container p:last-child {
  margin-bottom: 0;
}

.proj-text-container .subheadline {
  margin-top: 20px;
}


.proj-text-header {
  width: 100%;
  margin-top: 0;
  position: sticky;
  top: 50px;
}

.proj-text-header .headline {
  margin-top: 0;
}
.proj-text-header .close {
  top: -0.25em;
  right: 0;
}



.proj-modal {
  position: fixed;
  z-index: 1000;
  left: 50px;
  top: 50px;
  width: auto;
  height: 80vh;
  width: 80vw;
  Background: white;
  max-width: 800px;
  max-height: 800px;
  border: 1px solid black;
  box-sizing: border-box;
  transform: scale(0);
  transition: transform 0.3s ease;
  transform-origin: bottom left;
}

.proj-modal-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 0 0 0;
  width: 90%; 
  height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.proj-modal-content .previous,
.proj-modal-content .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -50px;
  color: rgba(0,0,0,1);
  font-weight: 100;
  font-size: 20px;
  transition: 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.proj-modal-content .previous {
  left: -25px;
  margin: 0;
}

.proj-modal-content .next {
  right: -25px;
  margin: 0;
}


.proj-modal-content .slide {
  max-width: none;
  max-height: none;
  box-shadow: none;
  width: 80vw;
  height: 90vh;
  Justify-content: center;
  align-items: center;
}

.proj-modal-content .slide img {
  object-fit: contain;
  background: none;
}

.proj-modal-content .landscape {
  width: 100%;
  height: auto;
  max-height: 100%;
}

.proj-modal-content .portrait {
  height: 100%;
  width: auto;
}

.proj-modal-content .landscape img {
  width: 100%;
  height: initial;
  max-height: 100%;
}
.proj-modal-content .portrait img {
  height: 100%;
  width: initial;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255,255,255,0.9);
  overscroll-behavior: contain;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 0 0 0 0;
  width: 80%;
  max-width: 1200px;
  height: 100%;
}

.slide {
  display: none;
  height: 90%;
  max-height: 90vh;
  max-width: 90vh;
  box-shadow: 10px 10px 50px grey;
}

.landscape {
  height: auto;
}
.portrait img {
  width: auto !important;
  object-fit: initial !important;
}


.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slide {
  width: 100%;
}



.modal-header {
  Position: absolute;
  top: 10px;
  left: 10px;
  height: 33px;
  width: 33px;
  background-image: url("./assets/dragicon.png");
  background-position: center center;
  background-repeat: none;
  background-size: 100% 100%;
  cursor: grab;
}

.close {
  color: rgba(0,0,0,1);
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 30px;
  font-weight: 100;
  transition: 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  z-index: 2;
}

.close:hover,
.close:focus {
  color: rgba(0,0,0,0.2);
  text-decoration: none;
  cursor: pointer;
}

.previous,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -50px;
  color: rgba(0,0,0,1);
  font-weight: 100;
  font-size: 20px;
  transition: 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.previous {
  left: -50px;
}

.next {
  right: -50px;
}

.previous:hover,
.previous:focus,
.next:hover,
.next:focus {
  color: rgba(0,0,0,0.2);
  text-decoration: none;
  cursor: pointer;
}


.buttonpress {
  color: rgba(0,0,0,0.2);
}




@media screen and (max-width: 1100px) {

  .project-title {
    width: 11%;
  }
  .project-info-container {
    width: 16%;
  }
  .proj-img-container {
    width: 68%; 
  }
}




@media screen and (max-width: 800px) {

  #cr-left-desktop {
    display: none;
  }

  #cr-left-mobile {
    display: block;
  }

  .project-section {
    margin-top: 0px;
  }

  .content {
    margin-bottom: 0;
    margin-top: 50px;
  }

  .project-array {
    margin-bottom: 50px;
    margin-top: -25px;
  }

  .about-text {
    margin-top: 0;
  }

  .about-text:last-child {
    margin-bottom: 50px;
  }

  .about-photo {
    width: 55%;
  }
  .about-photo img {
    width: 100%;
  }

  .image-container {
    margin-right: 0.5%;
  }
  .sixth-width {
    width: 31.75%;
  }
  .quarter-width {
    width: 48.5%;
  }

  .sixth-width:nth-child(3n) {
    margin-right: 0 !important;
  }
  .sixth-width:nth-child(3n+1) {
    margin-left: 0 !important;
  }

  .quarter-width:nth-child(2n) {
    margin-right: 0 !important;
  }
  .quarter-width:nth-child(2n+1) {
    margin-left: 0 !important;
  }


  .previous {
    left: 10px;
    margin: 0;
  }

  .next {
    right: 10px;
    margin: 0;
  }

  .project-title {
    display: none;
  }
  .project-info-container {
    width: 100%;
    margin-bottom: 20px;
    height: auto;
    min-height: 0;
  }
  .proj-img-container {
    width: 100%;
    height: auto;
  }

  .project-info {
    width: auto;
    padding: 10px;
  }
  .project-info:first-child {
    padding-top: 10px;
    width: 70%;
  }
  .project-info:nth-child(2) {
    width: 15%;
  }
  .project-info:nth-child(3) {
    width: 100%;
  }
  .project-info:nth-child(4) {
    width: 100%;
  }
  .project-info:last-child {
    padding-bottom: 10px;
  }

  .more-info {

  }

  .proj-img-scrollcontainer-mobile {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .proj-img-scrollcontainer-mobile img {
    width: 41vw;
    Margin: 0 2vw 2vw 0;
  }

  .proj-desktop {
    display: none;
  }
  .proj-mobile {
    display: flex;
  }

  .project-container {
    height: 60px;
    overflow: hidden;
    transition: height 1s ease-in-out;
    padding-top: 30px;
    min-height: 0px;
  }

  .project-title-mobile {
    display: block;
    float: left;
    height: 20px;
    text-transform: uppercase;
    font-size: 1.2em;
    width: calc(100% - 10px);
    margin: 0;
    padding: 0 0 5px 10px;
    cursor: pointer;
    border-left: 1px solid black;

  }

  .proj-text-header .close {
    top: -0.35em;
  }

  .modal-content {
    width: 90%;
  }
  .slide {
    height: auto;
  }
  .slide img {
    width: 100% !important;
    height: 100%;
  }

  .modal-header {
    display: none;
  }

}



