/* 
Theme Name: Westbahnhofstrasse Screen
Author: Portalworks
Version: 1.0
*/

:root {
  --darker-col: #3d3d3d;
  --medium-col: #565656;
  --lighter-col: #6c6c6c;
  --light-col: #898988;
  --main-font: "Inter", sans-serif;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_24pt-ExtraLight.ttf");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_24pt-Light.ttf");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_24pt-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_24pt-Medium.ttf");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter_28pt-Bold.ttf");
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: var(--main-font);
}

.portrait .screen-wrapper {
  height: 7680px;          /* total height is fixed */
  display: flex;
  flex-direction: column;
}

.portrait .big-screen-part {
  flex-shrink: 0;          /* don’t shrink, let it grow */
}

.portrait .small-screen-part {
  flex: 1;                 /* take the remaining space */
  overflow: hidden;        /* cut extra if big-screen grows too much */
  display: flex;
  flex-direction: column;
}

.portrait {
  width: 2160px;
  background-color: var(--medium-col);
}

.portrait .big-screen-part {
  min-height: 3840px;
  width: 100%;
}

.portrait .title {
  background-color: var(--darker-col);
}

.portrait .title h1 {
  font-size: 144px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
/*   padding: 120px 50px 112px; */
  padding: 90px 50px 84px;
}

.portrait .flat-part {
  flex: 1;
}

.portrait .flat-part .first-flat {
  background-color: var(--medium-col);
  border-bottom: 135px solid var(--medium-col);
}

.portrait .flat-part .first-flat .floor-part {
/*   width: 290px; */
  width: 195px;
  padding-top: 90px;
}

.portrait .flat-part .first-flat .floor-part h2 {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-size: 90px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.portrait .info-part {
  flex: 1;
  background-color: var(--lighter-col);
}

.portrait .info-row {
  min-height: 130px;
  padding-left: 53px;
  padding-right: 35px;
  border-bottom: 5px solid var(--light-col);
}

.portrait .info-part > div:last-child:not(:has(.under-info)) .info-row {
  border-bottom: 0;
}

.portrait .info-part > .under-info:last-child {
  border-bottom: 0;
}

.portrait .info-row h4 {
  font-size: 60px;
  line-height: 1;
  font-weight: 500;
  color: #e9e9e9;
  padding: 25px 0;
}

.portrait .info-row .subtitle {
  font-size: 48px;
  font-weight: 200;
  color: #e9e9e9;
  line-height: 1;
  text-align: end;
  padding: 15px 0;
  max-width: 750px;
}

.portrait .under-info {
  border-bottom: 3px solid var(--light-col);
}

.portrait .under-info .under-info-row {
	padding: 0 35px 0 150px;
  	border-bottom: 2px solid var(--light-col);
}

.portrait .under-info .under-info-row:last-child {
	border-bottom: 0;
}

.portrait .under-info p {
  margin: 35px 0;
  font-size: 48px;
  color: #e9e9e9;
  font-weight: 200;
  line-height: 1;
}

.portrait .under-info .name p {
  font-weight: 300;
  font-size: 60px;
}

.portrait .small-screen-part {
  max-height: 3840px;
}

.portrait .small-screen-part .floor-part {
  width: 260px;
  background-color: var(--medium-col);
  padding-top: 95px;
}

.portrait .small-screen-part .floor-part h2 {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-size: 100px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.portrait .small-screen-part .info-part {
  background-color: var(--lighter-col);
}

.portrait .small-screen-part .smaller-flat {
  border-bottom: 135px solid var(--medium-col);
}

.portrait .small-screen-part .smaller-flat:last-child {
  border-bottom: 0;
}

.under-info:has(.under-info-row.no-border) {
	border-bottom: 0;
}

.no-border {
	border-bottom: 0;
}
