:root {
    --brass: #8b6f3d;
    --brass-light: #b08a4a;
    --brass-dark: #5e4726;
    --iron: #1a1a1a;
    --steel: #2f2f2f;
    --steel-light: #444;
    --steam: rgba(220,220,220,0.08);
}

.leaflet-overlay-pane svg path {
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(193,154,74,0.7));
}


html {
    scroll-behavior: smooth;
    background: #0d0c0b;
}

body {
    font-family: "Lato", sans-serif;
    color: #e6dcc6;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,140,0,0.08), transparent 50%),
        radial-gradient(circle at 75% 80%, rgba(255,200,120,0.06), transparent 60%),
        linear-gradient(180deg, #1a1816, #0f0e0d 70%, #080706);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.02),
            rgba(255,255,255,0.02) 2px,
            transparent 2px,
            transparent 6px
        );
}

.side-nav {
    position: fixed;
    background: linear-gradient(180deg, #3b2f25, #1a1511);
    border-right: 4px solid var(--brass-dark);
    border-radius: 0 7px 7px 0;
    box-shadow:
        inset 0 2px 10px rgba(0,0,0,0.9),
        8px 14px 40px rgba(0,0,0,0.7);
    z-index: 1000;
}

.side-nav::before,
.side-nav::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #b08a4a 20%, #4d3a1f 80%);
}

.side-nav a {
    display: block;
    color: #e6dcc6;
    background: linear-gradient(90deg, rgba(0,0,0,0.5), rgba(192,160,96,0.08));
    border-left: 4px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight: 800;
}

.side-nav a:hover {
    background: linear-gradient(90deg, rgba(192,160,96,0.35), rgba(192,160,96,0.1));
    transform: translateX(6px);
    text-decoration: none !important;
}

.side-nav ul {
    list-style: none;
}


.gauge {
    position: relative;
    border-radius: 50%;
    border: 6px solid #5e4726;
    background:
        radial-gradient(circle, #1a1410, #000);
    box-shadow:
        inset 0 0 25px rgba(0,0,0,0.9),
        0 0 20px rgba(0,0,0,0.8);
    z-index: 10;
}

.needle {
    position: absolute;
    transform-origin: bottom center;
}

.needle.hour {
    background: #b08a4a;
}

.needle.minute {
    background: #d2b48c;
}

.needle.second {
    background: #8b2e2e;
}

.needle-temp, .needle-wind, .needle-rain {
    position: absolute;
    background: #b08a4a;
    transform-origin: bottom center;
    transform: rotate(-90deg);
}

.gauge-label {
    position: absolute;
    text-align: center;
    color: #cbb88a;
}

.dial-container {
    position: fixed;
    display: flex;
    flex-direction: column;
}

article {
    background:
        linear-gradient(180deg, rgba(40,35,30,0.9), rgba(20,18,15,0.92));
    border: 1px solid rgba(139,111,61,0.35);
    border-radius: 16px;
    box-shadow:
        0 35px 90px rgba(0,0,0,0.9),
        inset 0 2px 4px rgba(255,255,255,0.04),
        inset 0 -6px 12px rgba(0,0,0,0.9);
    position: relative;
    z-index: 1;
}

article::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, transparent 95%, rgba(139,111,61,0.2) 100%),
        linear-gradient(to bottom, transparent 95%, rgba(139,111,61,0.2) 100%);
    opacity: 0.25;
}

article::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow:
        inset 0 0 0 2px rgba(192,160,96,0.2),
        inset 0 0 20px rgba(255,200,120,0.08);
    pointer-events: none;
}

.text {
    position: relative;
    z-index: 1;
}

article .text p{
    font-family: 'EB Garamond', sans-serif;
    font-weight: 600;
}

article .text li{
    font-family: 'EB Garamond', sans-serif;
    font-weight: 700;
}

#transportTitle {
    font-family: "Cormorant Upright", serif;
    background: linear-gradient(
        180deg,
        #f5e6b0,
        #d4af37 40%,
        #8f7425 100%
    );
    -webkit-background-clip: text;
    color: transparent;
    text-shadow:
        0 2px 0 rgba(0,0,0,0.6),
        0 0 12px rgba(212,175,55,0.25);
    border-left: 6px solid #c0a060;
}

.mode {
    color: #d4af37;
    border-bottom: 1px solid rgba(192,160,96,0.5);
    text-shadow: 0 0 8px rgba(255,200,120,0.3);
}

h3 {
    color: #cbb88a;
    border-left: 3px solid #c0a060;
}

.text p{
    color: #d2c4a0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.text ul{
    list-style: none;
}
.text ul li {
    position: relative;
}

.text ul li::before {
    content: "⚙ ";
    color: #c0a060;
}

.hero-map {
    position: relative;
    border: 3px solid #c0a060;
    border-radius: 12px;
    background: #000;
    box-shadow:
        inset 0 0 25px rgba(255,200,120,0.25),
        0 12px 40px rgba(0,0,0,0.8);
    overflow: hidden;
}

.hero-map::before {
    content: "";
    position: absolute;
    inset: 0;
    display: none;
    background:
        radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.6));
    pointer-events: none;
}

.hero-map::after {
    content: "";
    position: absolute;
    inset: 0;
    display: none;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.03),
            rgba(255,255,255,0.03) 2px,
            transparent 2px,
            transparent 4px
        );

    pointer-events: none;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
    font-family: Arial, sans-serif;
}


.leaflet-pane .tram-line {
    z-index: 450 !important;
}

.leaflet-container {
    pointer-events: auto;
}

.tram-arrow {
    color: #c2b280;
    text-shadow: 0 0 3px rgba(0,0,0,0.6);
}

.leaflet-marker-icon {
    transition: transform 0.2s ease;
}

#map {
    border: 3px solid #5e4726;
    border-radius: 12px;
    display: block;
    position: relative;
}

#map-controls-top {
    position: absolute;
    z-index: 1000;
    cursor: grab;
    display: flex;
    user-select: none;
    pointer-events: auto;
    background: linear-gradient(180deg, #3a2c1c, #1f160d);
    border: 2px solid #5e4726;
    border-radius: 8px;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.08),
        0 4px 12px rgba(0,0,0,0.7);
    color: #d2b48c;
}

#map-controls-top label {
    display: flex;
    align-items: center;
}

#map-controls-top input {
    accent-color: #8b6f3d;
    cursor: pointer;
}


.drag-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
    background: linear-gradient(145deg, #3b2f1f, #2a2217);
    border-bottom: 1px solid #c9a86a;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-bar:active {
    cursor: grabbing;
}


.drag-actions {
    font-weight: bold;
    cursor: pointer;
}

.controls-content {
    display: none;
}

.controls-content.open {
    display: block;
}

.controls-content label {
    display: inline-block;
}

.rain-icon {
    color: #5e4726;
    filter:
        sepia(1)
        saturate(3)
        hue-rotate(20deg)
        brightness(0.9);
    opacity: 0.9;
}

.search-row {
    display: flex;
}

#tramSearch {
    background: #1e1a14;
    border: 1px solid #c9a86a;
    color: #e6d3a3;
    border-radius: 6px;
}

#tramSearchBtn {
    background: #c9a86a;
    border: none;
    color: #1e1a14;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

#tramSearchBtn:hover {
    background: #e6d3a3;
}

#tramSearch::placeholder {
    color: #a08c5a;
    font-style: italic;
}

.picture {
    text-align: center;
}

.image {
    border-radius: 10px;
    border: 2px solid #6b5520;
    filter:
        sepia(0.6)
        contrast(1.15)
        brightness(0.85);
    box-shadow:
        0 12px 30px rgba(0,0,0,0.8),
        inset 0 0 10px rgba(255,200,120,0.15);
    transition: all 0.3s ease;
}

.image:hover {
    transform: scale(1.03);
}

.picture figcaption {
    font-style: italic;
    color: #666;
}

article,
.side-nav,
.hero-map {
    background-blend-mode: multiply;
}

a:hover {
    color: #f5e6b0;
    text-shadow: 0 0 6px rgba(255,200,120,0.6);
}

@media screen and (min-width: 1320px){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-size: 1.05rem;
    line-height: 1.7;
    min-height: 665vh;
    margin: 0;
    background-attachment: fixed; 
    padding: 0;
}

.side-nav {
    top: 18%;
    left: 0;
    width: 220px;
    padding: 1.2rem 0;
}

.side-nav::before,
.side-nav::after {
    width: 14px;
    height: 14px;
}

.side-nav::before { top: 12px; right: 12px; }
.side-nav::after { bottom: 12px; right: 12px; }

.side-nav a {
    padding: 1rem 1.2rem;
}

.side-nav ul {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
    padding: 0;
}

.gauge {
    bottom: 40px;
    width: 110px;
    height: 110px;
}

.needle {
    left: 50%;
    bottom: 50%;
}

.needle.hour {
    width: 4px;
    height: 30px;
}

.needle.minute {
    width: 3px;
    height: 45px;
}

.needle.second {
    width: 1px;
    height: 50px;
}

.needle-temp, .needle-wind, .needle-rain {
    width: 3px;
    height: 45px;
    top: 15px;
    left: 50%;
}

.gauge-label {
    bottom: 10px;
    width: 100%;
    font-size: 0.9rem;
}

.dial-container {
    right: 120px;
    top: 35%;
    gap: 30px;
    transform: translateY(-20%);
}

article {
    max-width: 900px;
    margin-left: 260px;
    padding: 2rem 6%;
}

article::before {
    background-size: 120px 120px;
}

#transportTitle {
    font-size: 3.2rem;
    border-left: 6px solid #c0a060;
    padding-left: 1rem;
}

.mode {
    font-size: 2rem;
    letter-spacing: 1px;
}

.text p{
    margin-bottom: 1.2rem;
}

.text ul{
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    font-weight: 400;
}

.text ul li::before {
    margin-right: 8px;
}

.hero-map {
    width: 120%;
    height: 400px;
    margin: 2rem 0 3rem 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

.tram-arrow {
    font-size: 12px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-controls-top {
    top: 5px;
    right: 5px;
    gap: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
}

#map-controls-top label {
    margin: 0;
    font-size: 13px;
    margin-right: 8px;
    gap: 4px;
}

.drag-bar {
    padding: 8px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-title {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.controls-content {
    padding: 10px;
}

.controls-content label {
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.rain-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.search-row {
    margin-top: 6px;
    gap: 6px;
}

#tramSearch {
    padding: 4px 6px;
    width: 120px;
}

#tramSearchBtn {
    padding: 5px 8px;
    margin-left: 5px;
}

.picture {
    margin: 2rem 0;
}

.image {
    width: 100%;
    max-width: 600px;
}

.picture figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}}



@media screen and (min-width: 1180px) and (max-width: 1319px){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-size: 1.05rem;
    line-height: 1.7;
    min-height: 665vh;
    margin: 0;
    background-attachment: fixed; 
    padding: 0;
}

.side-nav {
    top: 18%;
    left: 0;
    width: 220px;
    padding: 1.2rem 0;
}

.side-nav::before,
.side-nav::after {
    width: 14px;
    height: 14px;
}

.side-nav::before { top: 12px; right: 12px; }
.side-nav::after { bottom: 12px; right: 12px; }

.side-nav a {
    padding: 1rem 1.2rem;
}

.side-nav ul {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
    padding: 0;
}

.gauge {
    bottom: 40px;
    width: 110px;
    height: 110px;
}

.needle {
    left: 50%;
    bottom: 50%;
}

.needle.hour {
    width: 4px;
    height: 30px;
}

.needle.minute {
    width: 3px;
    height: 45px;
}

.needle.second {
    width: 1px;
    height: 50px;
}

.needle-temp, .needle-wind, .needle-rain {
    width: 3px;
    height: 45px;
    top: 15px;
    left: 50%;
}

.gauge-label {
    bottom: 10px;
    width: 100%;
    font-size: 0.9rem;
}

.dial-container {
    right: 50px;
    top: 35%;
    gap: 30px;
    transform: translateY(-20%);
}

article {
    max-width: 900px;
    margin-left: 260px;
    padding: 2rem 6%;
}

article::before {
    background-size: 120px 120px;
}

#transportTitle {
    font-size: 3.2rem;
    border-left: 6px solid #c0a060;
    padding-left: 1rem;
}

.mode {
    font-size: 2rem;
    letter-spacing: 1px;
}

.text p{
    margin-bottom: 1.2rem;
}

.text ul{
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    font-weight: 400;
}

.text ul li::before {
    margin-right: 8px;
}

.hero-map {
    width: 100%;
    height: 400px;
    margin: 2rem 0 3rem 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

.tram-arrow {
    font-size: 12px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-controls-top {
    top: 5px;
    right: 5px;
    gap: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
}

#map-controls-top label {
    margin: 0;
    font-size: 13px;
    margin-right: 8px;
    gap: 4px;
}

.drag-bar {
    padding: 8px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-title {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.controls-content {
    padding: 10px;
}

.controls-content label {
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.rain-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.search-row {
    margin-top: 6px;
    gap: 6px;
}

#tramSearch {
    padding: 4px 6px;
    width: 120px;
}

#tramSearchBtn {
    padding: 5px 8px;
    margin-left: 5px;
}

.picture {
    margin: 2rem 0;
}

.image {
    width: 100%;
    max-width: 600px;
}

.picture figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
}

@media screen and (min-width: 1024px) and (max-width: 1180px){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-size: 1.05rem;
    line-height: 1.7;
    min-height: 665vh;
    margin: 0;
    background-attachment: fixed; 
    padding: 0;
}

.side-nav {
    top: 18%;
    left: 0;
    width: 220px;
    padding: 1.2rem 0;
}

.side-nav::before,
.side-nav::after {
    width: 14px;
    height: 14px;
}

.side-nav::before { top: 12px; right: 12px; }
.side-nav::after { bottom: 12px; right: 12px; }

.side-nav a {
    padding: 1rem 1.2rem;
}

.side-nav ul {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
    padding: 0;
}

.gauge {
    bottom: 40px;
    width: 90px;
    height: 90px;
}

.needle {
    left: 50%;
    bottom: 50%;
}

.needle.hour {
    width: 4px;
    height: 25px;
}

.needle.minute {
    width: 3px;
    height: 40px;
}

.needle.second {
    width: 1px;
    height: 45px;
}

.needle-temp, .needle-wind, .needle-rain {
    width: 3px;
    height: 40px;
    top: 15px;
    left: 50%;
}

.gauge-label {
    bottom: 10px;
    width: 100%;
    font-size: 0.9rem;
}

.dial-container {
    right: 50px;
    top: 35%;
    gap: 30px;
    transform: translateY(-20%);
}

article {
    max-width: 900px;
    margin-left: 260px;
    padding: 2rem 6%;
}

article::before {
    background-size: 120px 120px;
}

#transportTitle {
    font-size: 3.2rem;
    border-left: 6px solid #c0a060;
    padding-left: 1rem;
}

.mode {
    font-size: 2rem;
    letter-spacing: 1px;
}

.text p{
    margin-bottom: 1.2rem;
}

.text ul{
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    font-weight: 400;
}

.text ul li::before {
    margin-right: 8px;
}

.hero-map {
    width: 100%;
    height: 400px;
    margin: 2rem 0 3rem 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

.tram-arrow {
    font-size: 12px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-controls-top {
    top: 5px;
    right: 5px;
    gap: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
}

#map-controls-top label {
    margin: 0;
    font-size: 13px;
    margin-right: 8px;
    gap: 4px;
}

.drag-bar {
    padding: 8px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-title {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.controls-content {
    padding: 10px;
}

.controls-content label {
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.rain-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.search-row {
    margin-top: 6px;
    gap: 6px;
}

#tramSearch {
    padding: 4px 6px;
    width: 120px;
}

#tramSearchBtn {
    padding: 5px 8px;
    margin-left: 5px;
}

.picture {
    margin: 2rem 0;
}

.image {
    width: 100%;
    max-width: 600px;
}

.picture figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
}


@media screen and (min-width: 901px) and (max-width: 1023px){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-size: 1.05rem;
    line-height: 1.7;
    min-height: 665vh;
    margin: 0;
    background-attachment: fixed; 
    padding: 0;
}

.side-nav {
    top: 14%;
    left: 0;
    width: 220px;
    padding: 1.2rem 0;
}

.side-nav::before,
.side-nav::after {
    width: 14px;
    height: 14px;
}

.side-nav::before { top: 12px; right: 12px; }
.side-nav::after { bottom: 12px; right: 12px; }

.side-nav a {
    padding: 1rem 1.2rem;
}

.side-nav ul {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
    padding: 0;
}

.gauge {
    bottom: 40px;
    width: 110px;
    height: 110px;
}

.needle {
    left: 50%;
    bottom: 50%;
}

.needle.hour {
    width: 4px;
    height: 30px;
}

.needle.minute {
    width: 3px;
    height: 45px;
}

.needle.second {
    width: 1px;
    height: 50px;
}

.needle-temp, .needle-wind, .needle-rain {
    width: 3px;
    height: 45px;
    top: 15px;
    left: 50%;
}

.gauge-label {
    bottom: 10px;
    width: 100%;
    font-size: 0.9rem;
}

.dial-container {
    left: 50px;
    top: 55%;
    gap: 13px;
    transform: translateY(-20%);
}

article {
    max-width: 900px;
    margin-left: 260px;
    padding: 2rem 6%;
}

article::before {
    background-size: 120px 120px;
}

#transportTitle {
    font-size: 3.2rem;
    border-left: 6px solid #c0a060;
    padding-left: 1rem;
}

.mode {
    font-size: 2rem;
    letter-spacing: 1px;
}

.text p{
    margin-bottom: 1.2rem;
}

.text ul{
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    font-weight: 400;
}

.text ul li::before {
    margin-right: 8px;
}

.hero-map {
    width: 120%;
    height: 400px;
    margin: 2rem 0 3rem 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

.tram-arrow {
    font-size: 12px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-controls-top {
    top: 5px;
    right: 5px;
    gap: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
}

#map-controls-top label {
    margin: 0;
    font-size: 13px;
    margin-right: 8px;
    gap: 4px;
}

.drag-bar {
    padding: 8px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-title {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.controls-content {
    padding: 10px;
}

.controls-content label {
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.rain-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.search-row {
    margin-top: 6px;
    gap: 6px;
}

#tramSearch {
    padding: 4px 6px;
    width: 120px;
}

#tramSearchBtn {
    padding: 5px 8px;
    margin-left: 5px;
}

.picture {
    margin: 2rem 0;
}

.image {
    width: 100%;
    max-width: 600px;
}

.picture figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}}

@media screen and (min-width: 769px) and (max-width: 900px) and (orientation: portrait){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-size: 1.05rem;
    line-height: 1.7;
    min-height: 665vh;
    margin: 0;
    background-attachment: fixed; 
    padding: 0;
}

.side-nav {
    top: 10%;
    left: 0;
    width: 220px;
    padding: 1.2rem 0;
}

.side-nav::before,
.side-nav::after {
    width: 14px;
    height: 14px;
}

.side-nav::before { top: 12px; right: 12px; }
.side-nav::after { bottom: 12px; right: 12px; }

.side-nav a {
    padding: 1rem 1.2rem;
}

.side-nav ul {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
    padding: 0;
}

.gauge {
    bottom: 40px;
    width: 110px;
    height: 110px;
}

.needle {
    left: 50%;
    bottom: 50%;
}

.needle.hour {
    width: 4px;
    height: 30px;
}

.needle.minute {
    width: 3px;
    height: 45px;
}

.needle.second {
    width: 1px;
    height: 50px;
}

.needle-temp, .needle-wind, .needle-rain {
    width: 3px;
    height: 45px;
    top: 15px;
    left: 50%;
}

.gauge-label {
    bottom: 10px;
    width: 100%;
    font-size: 0.9rem;
}

.dial-container {
    left: 50px;
    top: 55%;
    gap: 13px;
    transform: translateY(-20%);
}

article {
    max-width: 900px;
    margin-left: 180px;
    padding: 2rem 6%;
}

article::before {
    background-size: 120px 120px;
}

#transportTitle {
    font-size: 3.2rem;
    border-left: 6px solid #c0a060;
    padding-left: 1rem;
}

.mode {
    font-size: 2rem;
    letter-spacing: 1px;
}

.text p{
    margin-bottom: 1.2rem;
}

.text ul{
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    font-weight: 400;
}

.text ul li::before {
    margin-right: 8px;
}

.hero-map {
    width: 120%;
    height: 400px;
    margin: 2rem 0 3rem 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

.tram-arrow {
    font-size: 12px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-controls-top {
    top: 5px;
    right: 5px;
    gap: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
}

#map-controls-top label {
    margin: 0;
    font-size: 13px;
    margin-right: 8px;
    gap: 4px;
}

.drag-bar {
    padding: 8px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-title {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.controls-content {
    padding: 10px;
}

.controls-content label {
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.rain-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.search-row {
    margin-top: 6px;
    gap: 6px;
}

#tramSearch {
    padding: 4px 6px;
    width: 120px;
}

#tramSearchBtn {
    padding: 5px 8px;
    margin-left: 5px;
}

.picture {
    margin: 2rem 0;
}

.image {
    width: 100%;
    max-width: 600px;
}

.picture figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}}

@media screen and (min-width: 601px) and (max-width: 768px) and (orientation: portrait){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-size: 1.05rem;
    min-height: 665vh;
    margin: 0;
    background-attachment: fixed; 
    padding: 0;
}

.side-nav {
    top: 10%;
    left: 0;
    width: 180px;
    padding: 1.2rem 0;
}

.side-nav::before,
.side-nav::after {
    width: 14px;
    height: 14px;
}

.side-nav::before { top: 12px; right: 12px; }
.side-nav::after { bottom: 12px; right: 12px; }

.side-nav a {
    padding: 1rem 1.2rem;
}

.side-nav ul {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
    padding: 0;
}

.gauge {
    bottom: 40px;
    width: 110px;
    height: 110px;
}

.needle {
    left: 50%;
    bottom: 50%;
}

.needle.hour {
    width: 4px;
    height: 30px;
}

.needle.minute {
    width: 3px;
    height: 45px;
}

.needle.second {
    width: 1px;
    height: 50px;
}

.needle-temp, .needle-wind, .needle-rain {
    width: 3px;
    height: 45px;
    top: 15px;
    left: 50%;
}

.gauge-label {
    bottom: 10px;
    width: 100%;
    font-size: 0.9rem;
}

.dial-container {
    left: 30px;
    top: 55%;
    gap: 13px;
    transform: translateY(-20%);
}

article {
    max-width: 900px;
    margin-left: 150px;
    padding: 2rem 6%;
}

article::before {
    background-size: 120px 120px;
}

#transportTitle {
    font-size: 3.2rem;
    border-left: 6px solid #c0a060;
    padding-left: 1rem;
}

.mode {
    font-size: 2rem;
    letter-spacing: 1px;
}

.text p{
    margin-bottom: 1.2rem;
}

.text ul{
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    font-weight: 400;
}

.text ul li::before {
    margin-right: 8px;
}

.hero-map {
    width: 120%;
    height: 400px;
    margin: 2rem 0 3rem 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

.tram-arrow {
    font-size: 12px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-controls-top {
    top: 5px;
    right: 5px;
    gap: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
}

#map-controls-top label {
    margin: 0;
    font-size: 13px;
    margin-right: 8px;
    gap: 4px;
}

.drag-bar {
    padding: 8px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-title {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.controls-content {
    padding: 10px;
}

.controls-content label {
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.rain-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.search-row {
    margin-top: 6px;
    gap: 6px;
}

#tramSearch {
    padding: 4px 6px;
    width: 120px;
}

#tramSearchBtn {
    padding: 5px 8px;
    margin-left: 5px;
}

.picture {
    margin: 2rem 0;
}

.image {
    width: 100%;
    max-width: 600px;
}

.picture figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}}

@media screen and (min-width: 481px) and (max-width: 600px) and (orientation: portrait){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-size: 1.05rem;
    min-height: 665vh;
    margin: 0;
    background-attachment: fixed; 
    padding: 0;
}

.side-nav {
    top: 15%;
    left: 0;
    width: 160px;
    padding: 1.2rem 0;
}

.side-nav::before,
.side-nav::after {
    width: 14px;
    height: 14px;
}

.side-nav::before { top: 12px; right: 12px; }
.side-nav::after { bottom: 12px; right: 12px; }

.side-nav a {
    padding: 1rem 1.2rem;
}

.side-nav ul {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
    padding: 0;
}

.gauge {
    bottom: 40px;
    width: 110px;
    height: 110px;
}

.needle {
    left: 50%;
    bottom: 50%;
}

.needle.hour {
    width: 4px;
    height: 30px;
}

.needle.minute {
    width: 3px;
    height: 45px;
}

.needle.second {
    width: 1px;
    height: 50px;
}

.needle-temp, .needle-wind, .needle-rain {
    width: 3px;
    height: 45px;
    top: 15px;
    left: 50%;
}

.gauge-label {
    bottom: 10px;
    width: 100%;
    font-size: 0.9rem;
}

.clock-gauge, .wind-gauge{
    display: none;
}

.dial-container {
    left: 30px;
    top: 70%;
    gap: 13px;
    transform: translateY(-20%);
}

article {
    max-width: 900px;
    margin-left: 150px;
    padding: 2rem 6%;
}

article::before {
    background-size: 120px 120px;
}

#transportTitle {
    font-size: 3.2rem;
    border-left: 6px solid #c0a060;
    padding-left: 1rem;
}

.mode {
    font-size: 2rem;
    letter-spacing: 1px;
}

.text p{
    margin-bottom: 1.2rem;
}

.text ul{
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    font-weight: 400;
}

.text ul li::before {
    margin-right: 8px;
}

.hero-map {
    width: 120%;
    height: 400px;
    margin: 2rem 0 3rem 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

.tram-arrow {
    font-size: 12px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-controls-top {
    top: 5px;
    right: 5px;
    gap: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
}

#map-controls-top label {
    margin: 0;
    font-size: 13px;
    margin-right: 8px;
    gap: 4px;
}

.drag-bar {
    padding: 8px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-title {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.controls-content {
    padding: 10px;
}

.controls-content label {
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.rain-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.search-row {
    margin-top: 6px;
    gap: 6px;
}

#tramSearch {
    padding: 4px 6px;
    width: 120px;
}

#tramSearchBtn {
    padding: 5px 8px;
    margin-left: 5px;
}

.picture {
    margin: 2rem 0;
}

.image {
    width: 100%;
    max-width: 600px;
}

.picture figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}}


@media screen and (max-width: 480px) and (orientation: portrait){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-size: 1.05rem;
    margin: 0;
    background-attachment: smooth; 
    padding: 0;
}

.side-nav {
    top: 12%;
    left: 0;
    width: 19%;
    height: 35%;
    padding: 0.5rem 0;
    overflow-y: none;
}

.side-nav::before,
.side-nav::after {
    width: 10px;
    height: 10px;
}

.side-nav::before { top: 6px; right: 6px; }
.side-nav::after { bottom: 6px; right: 6px; }

.side-nav a {
    padding: 0.9rem 0.6rem;
    font-size: 0.7rem;
}

.side-nav ul {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
    padding: 0;
}

.gauge {
    bottom: 40px;
    width: 70px;
    height: 70px;
}

.needle {
    left: 50%;
    bottom: 50%;
}

.needle.hour {
    width: 4px;
    height: 25px;
}

.needle.minute {
    width: 3px;
    height: 30px;
}

.needle.second {
    width: 1px;
    height: 25px;
}

.needle-temp, .needle-wind, .needle-rain {
    width: 3px;
    height: 25px;
    top: 8px;
    left: 50%;
}

.gauge-label {
    bottom: 7px;
    width: 100%;
    font-size: 0.8rem;
}

.clock-gauge, .wind-gauge{
    display: none;
}

.dial-container {
    left: 10px;
    top: 69%;
    gap: 13px;
    transform: translateY(-20%);
}

article {
    max-width: 900px;
    padding: 1rem 6%;
    margin-left: 30px;
}

article::before {
    background-size: 120px 120px;
}

#transportTitle {
    font-size: 3.2rem;
    border-left: 6px solid #c0a060;
    padding-left: 1rem;
}

.mode {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-left: 40px;
}

.text p{
    margin-bottom: 1.2rem;
    margin-left: 30px;
    width: 90%;
}

.text ul{
    margin: 0.5rem 0 0.75rem 0.75rem;
    padding-left: 0.5rem;
    width: 80%;

}

.text ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    font-weight: 400;
    width: 80%;
}

.text ul li::before {
    margin-right: 8px;
}

.hero-map {
    width: 120%;
    height: 400px;
    margin: 2rem 0 3rem 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

.tram-arrow {
    font-size: 12px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-controls-top {
    top: 5px;
    right: 5px;
    gap: 6px;
    padding: 3px 5px;
    font-size: 0.8rem;
}

#map-controls-top label {
    margin: 0;
    font-size: 0.8rem;
    gap: 4px;
}

.drag-bar {
    padding: 8px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-title {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.controls-content {
    padding: 10px;
}

.controls-content label {
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.rain-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.search-row {
    margin-top: 6px;
    gap: 6px;
}

#tramSearch {
    padding: 4px 6px;
    width: 120px;
}

#tramSearchBtn {
    padding: 5px 8px;
    margin-left: 5px;
}

.picture {
    margin: 2rem 0;
}

.image {
    width: 100%;
    max-width: 600px;
}

.picture figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}}

@media screen and (min-width: 345px) and (max-width: 812px) and (orientation: landscape){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-size: 1.05rem;
    margin: 0;
    background-attachment: smooth; 
    padding: 0;
}

.side-nav {
    top: 18%;
    left: 0;
    width: 170px;
    padding: 1.2rem 0;
}

.side-nav::before,
.side-nav::after {
    width: 14px;
    height: 14px;
}

.side-nav::before { top: 12px; right: 12px; }
.side-nav::after { bottom: 12px; right: 12px; }

.side-nav a {
    padding: 0.5rem 0.6rem;
    padding-left: 10px;
    font-size: 0.9rem;
}

.side-nav ul {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
    padding-left: 20px;
}

.gauge {
    bottom: 40px;
    width: 70px;
    height: 70px;
}

.needle {
    left: 50%;
    bottom: 50%;
}

.needle.hour {
    width: 4px;
    height: 25px;
}

.needle.minute {
    width: 3px;
    height: 30px;
}

.needle.second {
    width: 1px;
    height: 25px;
}

.needle-temp, .needle-wind, .needle-rain {
    width: 3px;
    height: 25px;
    top: 8px;
    left: 50%;
}

.gauge-label {
    bottom: 7px;
    width: 100%;
    font-size: 0.8rem;
}

.rain-gauge, .wind-gauge{
    display: none;
}

.dial-container {
    right: 20px;
    top: 45%;
    gap: 30px;
    transform: translateY(-20%);
}

article {
    max-width: 1100px;
    margin-left: 140px;
    padding: 2rem 6%;
}

article::before {
    background-size: 120px 120px;
}

#transportTitle {
    font-size: 3.2rem;
    border-left: 6px solid #c0a060;
    padding-left: 1rem;
}

.mode {
    font-size: 2rem;
    letter-spacing: 1px;
}

.text p{
    margin-bottom: 1.2rem;
}

.text ul{
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    font-weight: 400;
}

.text ul li::before {
    margin-right: 8px;
}

.hero-map {
    width: 120%;
    height: 400px;
    margin: 2rem 0 3rem 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.4;
}

.tram-arrow {
    font-size: 12px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-controls-top {
    top: 5px;
    right: 5px;
    gap: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
}

#map-controls-top label {
    margin: 0;
    font-size: 13px;
    margin-right: 8px;
    gap: 4px;
}

.drag-bar {
    padding: 8px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.drag-title {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.controls-content {
    padding: 10px;
}

.controls-content label {
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.rain-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.search-row {
    margin-top: 6px;
    gap: 6px;
}

#tramSearch {
    padding: 4px 6px;
    width: 120px;
}

#tramSearchBtn {
    padding: 5px 8px;
    margin-left: 5px;
}

.picture {
    margin: 2rem 0;
}

.image {
    width: 100%;
    max-width: 600px;
}

.picture figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}}