body {
  --grey0: #000000;
  --grey1: #303030;
  --grey2: #604C5D;
  --grey3: #A26675;
  --grey4: #DE8775;
  --grey5: #FFB969;
  --grey6: rgba(249, 248, 113, 1);
  --grey6T: rgba(249, 248, 113, 0);
  width: 100%;
  height: 100%;
  position: absolute;
  margin: 0;
  padding: 0;
}

#scene {
    width: 100%;
    height: 100%;
}

#sky {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, var(--grey0), var(--grey2));
    opacity: 0.5;
    position: absolute;
    top: 0;
}

#landscape {
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    background-color: #000000;
    border-bottom: solid 2px black;
}

#town {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: absolute;
    bottom: 50%;
}

#far-building {
    width: 10%;
    background-color: var(--grey0);
}

.a1 {
    height: 23%;
}

.a2 {
    height: 65%;
}

.a3 {
    height: 44%;
}

.a4 {
    height: 89%;
}

.a5 {
    height: 60%;
}

.a6 {
    height: 13%;
}

.a7 {
    height: 31%;
}

.a8 {
    height: 60%;
}

.a9 {
    height: 100%;
}

.a10 {
    height: 90%;
}

#background {
    width: 100%;
    height: 100%;
    background-color: black; 
}

#live {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    perspective: 12vh;
    perspective-origin: 50% 50%;
    overflow: hidden;
}

#plane {
    position: relative;
    left: 0px; /* Will change with the mouse */
    top: 0px;  /* Will change with the mouse */
    width: 400vw;
    margin-left: -150vw;
    height: 100vh;
    background-repeat: repeat;
    transform-style: preserve-3d;
    transform: translateZ(-50vh) translateY( 50vh ) rotateX( 90deg );
}

#plane-face {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

#fog {
    position: absolute;
    width: 200%;
    margin-left: -50%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 10%, rgba(0,0,0,1) 100%);
}

.vanishing {
    mix-blend-mode: multiply;
}

.road {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.mark {
    width: 10%;
    height: 10%;
    background-color: white;
    opacity: 0.1;
}

#lamp {
    position: absolute;
    width: 2vw;
    height: 130vh;
    transform-origin: top;
    transform: translateX(205vw) translateY(55vh) rotateX(90deg);
    background: linear-gradient(0deg, var(--grey6) 0%, var(--grey1) 40%, var(--grey1) 100%);
}

#glow {
    position: absolute;
    width: 80vw;
    height: 80vw;
    left: 1vw;
    bottom: 0;
    background: radial-gradient(circle at 0px 100%, var(--grey6) 0%, var(--grey6T) 50%);
    opacity: 0.25;
    transform-origin: bottom left;
    transform: rotateZ(-45deg);
    filter: blur(4vw);
    pointer-events: none;
}

#light {
    position: absolute;
    transform: translateX(156vw) translateY(45vh) scale(3);
    width: 100vw;
    height: 20vh;
    opacity: 0.2;
    background: radial-gradient(var(--grey6) 0%, var(--grey6T) 50%);
}

#hroad {
    position: absolute;
    flex-flow: row;
    height: 10vh;
    transform: translateY(65vh);
    width: 800vw;
    left: -250vw;
    background-color: var(--grey1);
}

#vroad {
    position: absolute;
    flex-flow: column;
    height: 65vh;
    transform: translateX(155vw);
    width: 45vw;
    background-color: var(--grey1);
}

#noise {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(./noise.png);
    background-repeat: repeat;
    mix-blend-mode: exclusion;
    opacity: 0.02;
}

.hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    top: -100px;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
}