@font-face {
    font-family: "DIN Eng";
    src: url("../fonts/DIN-Eng.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "DIN Mittel";
    src: url("../fonts/DIN-Mittel.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

* {
    box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  background: linear-gradient(180deg, #C96A42 0%, #993626 100%);
  background-color: #993626;
}

body {
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  background: transparent;
  position: relative;
  overflow-x: hidden;
}


body.city-selected::before {
    opacity: 0.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../images/bg-mobile.png") center bottom / cover no-repeat;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Start of Navigation Bar CSS */
header {
    background-color: #0062A3;
}

.site-header {
    position: absolute;
    z-index: 10;
    width: 100%;
}

.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 16px;
}

.navbar__logo {
    height: 44px;
    width: auto;
    display: block;
}

.navbar__burger {
    height: 44px;
    width: 44px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.navbar__links {
    display: none;
}

.navbar__link {
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 22px;
}

/* End of Navigation Bar CSS */

.stage {
    min-height: calc(100vh - 60px);
    padding: 0 16px;
}

.content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
}

.hero-logo {
    width: 280px;
    height: 168px;
    display: block;
    margin: 50px auto 0 auto;
}

/* Start of City Select section */
.city {
    margin-top: 30px;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.city__label {
    font-weight: 600;
    font-size: 25px;
    color: #FFFFFF;
    font-family: "Montserrat", Arial, sans-serif;
}

.city__select {
    width: 280px;
    height: 44px;
    border-radius: 10px;
    border: 0;
    padding-left: 12px;
    padding-right: 40px;
    color: #000000;
    font-size: 18px;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* End of City Select section */

/* Start of City Selected */
.home {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-height: 0;
}

.home__city {
    margin: 0;
    font-size: 40px;
    color: #FFFFFF;
    text-transform: uppercase;
    -webkit-text-stroke: 0.1px #000000;
    display: inline-block;
    position: relative;
    text-decoration: none;
    padding-bottom: 10px;
    font-family: "DIN Mittel", system-ui, Arial, sans-serif;
}

.home__city::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 3px;
    background: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 2px;
}

.home__change {
    margin: 0;
}

.home__change-link {
    color: #fff;
    text-decoration: underline;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-size: 14px;
}

.home__actions {
    margin-top: auto;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

/* End of City Selected */

/* Start of Reusable button component */
.btn {
    width: 250px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #4F8FB8;
    color: #FFFFFF;
    font-size: 16px;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 14px 14px #4E4E4E;
}

.btn__icon {
    width: 20px;
    height: 20px;
    display: block;
}

.btn__text,
.nav-menu__link {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    letter-spacing: 1px;
}

/* End of Reusable button component */

/* Start of Mobile navigation menu */
.nav-menu {
    background-color: #0062A3;
    display: flex;
    flex-direction: column;
    padding: 0 16px 20px 16px;
    gap: 20px;
}

.nav-menu__link {
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.site-footer {
    display: none;
}

.page-title {
    margin-top: 50px;
    text-align: center;
}

.page-title__kicker {
    margin: 0;
    color: #FFFFFF;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-size: 26px;
    font-weight: 600;
}

.page-title__city {
    margin: 6px 0 0 0;
    font-size: 36px;
    color: #FFFFFF;
    text-transform: uppercase;
    -webkit-text-stroke: 0.2px #000000;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: -1px;
    font-family: "DIN Mittel", system-ui, Arial, sans-serif;
}

.page-title__city::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 3px;
    background: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 2px;
}

body.no-bg-image::before {
    display: none;
}

/* End of Mobile navigation menu */

/* Start of Cards */
.cards {
    margin-top: 50px;
    display: grid;
    gap: 18px;
    justify-items: center;
}

.place-card {
    width: 380px;
    height: 140px;
}

.place-card__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    /* shadow: x0 y4 blur4 spread0, black 25% */
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.place-card__media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.place-card__media--nordkraft {
    background-image: url("../images/place-nordkraft.png");
}

.place-card__media--utzon {
    background-image: url("../images/place-utzon.png");
}

.place-card__media--streetart {
    background-image: url("../images/place-streetart.png");
}

.place-card__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 70%;
    background: rgba(217, 217, 217, 0.9);
    padding: 14px 14px 12px 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.place-card__bookmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    color: #000;
}

.place-card__logo {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    display: grid;
    place-items: center;
}

.place-card__logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
}

.place-card__title {
    margin: 0;
    padding-right: 28px;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    font-family: "DIN Eng", system-ui, Arial, sans-serif;
    text-transform: uppercase;
}

.place-card__subtitle {
    margin: 0;
    color: #000;
    font-size: 14px;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
}

.place-card__meta {
    margin: 2px 0 0 0;
    color: #000;
    font-size: 12px;
    line-height: 1.2;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
}

.place-card__more {
    margin: auto 0 0 0;
    text-align: center;
    color: #0b4e7a;
    font-size: 14px;
    font-weight: 500;
    font-family: "DIN Mittel", system-ui, Arial, sans-serif;
}

/* End of Cards */
/* start of pages */
.detail {
    padding-top: 80px;
    min-height: calc(100vh - 60px);
}

.detail-hero {
    position: relative;
    height: 250px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px 16px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.detail-hero--nordkraft {
    background-image: url("../images/nordkraft-hero.png");
}

.detail-hero--utzon {
    background-image: url("../images/utzon-hero.png");
}

.detail-hero--streetart {
    background-image: url("../images/streetart-hero.png");
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.detail-hero__content {
    position: relative;
    z-index: 1;
    max-width: 360px;
}

.detail-hero__title {
    margin: 0;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: "DIN Mittel", system-ui, Arial, sans-serif;
    font-size: 36px;
    -webkit-text-stroke: 1px #000;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    font-weight: 500;
}

.detail-hero__title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 3px;
    background: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 2px;
}

.detail-hero__subtitle {
    margin: 10px 0 0 0;
    color: #FFFFFF;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    width: 260px;
}

.detail-hero__icons {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.detail-hero__icons img {
    width: 25px;
    height: 25px;
    display: block;
}

.detail-hero__bookmark {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.detail-hero__bookmark img {
    width: 49px;
    height: 49px;
    display: block;
}

.detail-info {
    padding-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;

    grid-template-areas:
        "hours facilities"
        "main  main";
}

.detail-info__block--hours {
    grid-area: hours;
}

.detail-info__block--facilities {
    grid-area: facilities;
}

.detail-info__block--main {
    grid-area: main;
}

.detail-info__block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0px;
}

.detail-info__heading {
    margin: 0 0 8px 0;
    color: #FFFFFF;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.75px;
    text-align: center;
}

.detail-info__text {
    margin: 0;
    color: rgba(0, 0, 0, 0.65);
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    width: 150px;
    text-align: center;
    padding-bottom: 10px;
}

#openhours {
    width: 100px;
}

.detail-info__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    text-align: center;
}

.detail-info__list a {
    color: rgba(0, 0, 0, 0.65);
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-size: 16px;
    text-decoration: underline;
    font-style: italic;
}

.detail-body {
    padding: 0 30px 28px;
}

.detail-body__text {
    margin: 0 0 18px 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-align: justify;
    padding: 0 20px;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, 170px);
    justify-content: center;
    gap: 12px;
    margin: 0 0 18px 0;
}

.detail-gallery img {
    width: 170px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.detail-body__link {
    margin: 0;
    text-align: center;
}

.detail-body__link a {
    color: #FFFFFF;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-size: 14px;
    text-decoration: underline;
}

.detail-hero--utzon~.detail-info {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
        "hours   ongoing   facilities"
        "hours   price     facilities"
        "main    main      main";
    row-gap: 6px;
    column-gap: 14px;
}

.detail-hero--utzon~.detail-info .detail-info__block--hours {
    grid-area: hours;
}

.detail-hero--utzon~.detail-info .detail-info__block--ongoing {
    grid-area: ongoing;
}

.detail-hero--utzon~.detail-info .detail-info__block--price {
    grid-area: price;
}

.detail-hero--utzon~.detail-info .detail-info__block--facilities {
    grid-area: facilities;
}

.detail-hero--utzon~.detail-info .detail-info__block--main {
    grid-area: main;
}

.detail-info--streetart {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
        "artist year mural"
        "main   main main";
}

.detail-info--streetart .detail-info__block--artist {
    grid-area: artist;
}

.detail-info--streetart .detail-info__block--year {
    grid-area: year;
}

.detail-info--streetart .detail-info__block--mural {
    grid-area: mural;
}

.detail-info--streetart .detail-info__block--main {
    grid-area: main;
}

.detail-info--streetart .detail-info__text {
    width: auto;
    padding-bottom: 0;
}

.detail-gallery__title {
    margin: 0 0 10px;
    color: #FFFFFF;
    font-family: "Montserrat", system-ui, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.detail-info--404 {
    display: flex;
    justify-content: center;
}

.detail-info--404 .detail-body__text {
    text-align: center;
    max-width: 420px;
    margin-inline: auto;
}

.detail-info--404 .detail-body__link a {
    font-size: 16px;
    font-weight: 600;
}

[hidden] {
    display: none !important;
}

@media (min-width: 480px) {
    body::before {
        background-image: url("../images/bg-desktop.png");
    }

    .site-footer {
        display: block;
        height: 60px;
        background-color: #4F8FB8;
        color: #FFFFFF;
        width: 100%;
    }

    .footer__inner {
        height: 100%;
        margin: 0 auto;
        padding: 0 24px;

        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }

    .footer__col--left {
        text-align: left;
    }

    .footer__col--center {
        text-align: center;
    }

    .footer__col--right {
        text-align: right;
    }

    .footer__link,
    .footer__text {
        color: #FFFFFF;
        font-family: "Montserrat", system-ui, Arial, sans-serif;
        font-size: 16px;
        text-decoration: none;
    }

    .footer__link:hover {
        text-decoration: underline;
    }

    .content {
        min-height: calc(100vh - 80px - 60px);
    }

    .navbar__burger {
        display: none;
    }

    .nav-menu {
        display: none !important;
    }

    .navbar {
        justify-content: flex-start;
        gap: 28px;
    }

    .navbar__links {
        display: flex;
        gap: 48px;
        margin-left: auto;
        padding-right: 16px;
        align-items: center;
    }

    .home__change {
        display: none;
    }

    .hero-logo {
        width: 400px;
        height: 237px;
    }

    .home__city {
        font-size: 50px;
    }

    .btn {
        width: 320px;
        height: 60px;
    }

    .btn__icon {
        width: 25px;
        height: 25px;
    }

    .btn__text {
        font-size: 20px;
    }

    .cards {
        grid-template-columns: repeat(2, 540px);
        justify-content: center;
        gap: 32px;
    }

    .place-card {
        width: 540px;
        height: 200px;
    }

    .place-card__panel {
        width: 370px;
    }

    .place-card__logo {
        width: 114px;
        height: 114px;
        left: 5%;
    }

    .place-card__logo {
        top: 50%;
        transform: translateY(-50%);
    }

    .page-title__kicker {
        font-size: 35px;
    }

    .place-card__panel {
        padding-top: 30px;
        padding-left: 30px;
    }

    .page-title__city {
        font-size: 50px;
    }

    .place-card__title {
        font-size: 32px;
    }

    .place-card__subtitle {
        font-size: 18px;
    }

    .place-card__meta {
        font-size: 16px;
    }

    .place-card__more {
        font-size: 16px;
    }

    .detail-hero {
        height: 320px;
    }

    .detail-hero__title {
        font-size: 50px;
    }

    .detail-hero__subtitle {
        width: auto;
        max-width: 520px;
        font-size: 28px;
    }

    .detail-info__heading {
        font-size: 35px;
    }

    .detail-info {
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-areas: "hours main facilities";
        padding-top: 30px;
    }

    .detail-hero--utzon+.detail-info {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-areas:
            "hours ongoing price facilities"
            ".     main    main  .";
    }

    .detail-info__text {
        font-size: 22px;
        width: 230px;
    }

    .detail-info__list a {
        font-size: 22px;
        width: 250px;
        line-height: 30px;
    }

    .detail-body {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 48px 40px;
    }

    .detail-page-grid {
        max-width: 1440px;
        margin: 0 auto;
    }

    .detail-body__text {
        margin: 30px auto 30px auto;
        font-size: 18px;
    }

    .detail-gallery {
        grid-template-columns: repeat(2, 1fr);
        justify-content: stretch;
        max-width: 760px;
        margin: 18px auto 0;
    }

    .detail-gallery img {
        width: 100%;
        height: 300px;
    }

    .detail-body__link {
        padding-top: 50px;
    }

    .detail-body__link a {
        font-size: 18px;
    }

    .detail-hero__icons img {
        width: 49px;
        height: 49px;
    }

    #openhours {
        width: auto;
    }

    .detail-info.detail-info--streetart {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            "artist year mural"
            "main   main main";
    }

    .detail-info.detail-info--streetart .detail-info__block--artist {
        grid-area: artist;
    }

    .detail-info.detail-info--streetart .detail-info__block--year {
        grid-area: year;
    }

    .detail-info.detail-info--streetart .detail-info__block--mural {
        grid-area: mural;
    }

    .detail-info.detail-info--streetart .detail-info__block--main {
        grid-area: main;
    }

    #mural-body-text {
        margin: 30px 20%;
    }
}