:root {
    /*Colors*/
    --c1: #94d4f4;
    --c2: #f47721;
    --tc: #0F0F0F;
    --th: #556a83;
    --bg: hsl(0, 0%, 100%);
    --bg1: #4aa3d5;
    --bg2: #1475a9;
    --bg3: #a93724;
    --border_color: #d58839;
    --box_shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --input_box_shadow: inset 0 0 0 1px var(--primary_color);
    --max_width: 1200px;
    --max_sidebar_width: 400px;
    --top_offset: 0px;

    /*Fonsts*/
    --heading_font: 'fieldwork', sans-serif;
    --sub_heading_font: 'fieldwork', sans-serif;
    --paragraph_font: 'fieldwork', sans-serif;
    --body_size: clamp(16px, 1.5vw, 30px);
    --h1_size: 3.8rem;
    --h2_size: 2.6rem;
    --h3_size: 1.73rem;
    --h4_size: 1.6rem;
    --heading_line_height: 1.1em;
    --body_line_height: 1.4em;

    /**/
    --padding: 10px 12px;
    --col_padding: 80px;
    --gap_xl: 2rem;
    --gap: 1.5rem;
    --gap_min: 1rem;
    --radius: 0;
    scroll-padding-top: var(--col_padding);
}

.hidden {
    display: none !important;
}


* {
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: var(--body_size);
    font-family: var(--paragraph_font);
    scroll-behavior: smooth;
}

body {
    font-size: var(--body_size);
    font-weight: 400;
    background-color: var(--c1);
    color: var(--_color);
    position: relative;
    min-height: 100vh;
}

.h1, .h2, .h3, .h4, .h5,
h1, h2, h3, h4, h5 {
    --_color: var(--secondary_color);
    color: var(--_color);
    font-family: var(--heading_font);
    line-height: var(--heading_line_height);
    font-weight: 600;
}

.h1, h1 {
    font-size: var(--h1_size)
}

.h2, h2 {
    font-size: var(--h2_size);
}

.h3, h3 {
    font-size: var(--h3_size);
}

.h4, h4 {
    font-size: var(--h4_size);
}

.h5, h5 {
    font-size: var(--h5_size);
}

.p, p {
    line-height: 1.4em;
    color: var(--_color);
}

.caption {
    display: block;
    font-size: var(--caption_size);
}

.small {
    display: block;
    font-size: var(--small_size);
}

a {
    color: var(--secondary_color);
    -decoration: none;
}

a:focus,
a:hover {
    color: var(--_hover);
}

ul {
    list-style: none;
    color: var(--_color);
}


.cls-1 {
    stroke-width: 2.5px
}

.cls-1, .cls-2 {
    stroke: var(--bg3);
    stroke-miterlimit: 10
}

.cls-1, .cls-2, .cls-3 {
    fill: var(--c2)
}

.cls-2 {
    stroke-width: 2.53px
}

.cls-6 {
    fill: var(--bg3);
}

.cls-4 {
    fill: var(--bg)
}

.pinText {
    fill: var(--bg);
}

body {
    display: grid;
    grid-template-rows: auto max-content auto;
}

/*Scroll bar style*/
body ::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
}

body ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
}

body ::-webkit-scrollbar-track:hover {
    background: rgba(0, 0, 0, 0.06);
}

body ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
}

body ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.09);
}

header {
    color: var(--bg);
    text-align: center;
    padding: var(--gap);
    padding-bottom: var(--gap_min);
    display: flex;
    align-items: flex-end;
}

footer {
    display: flex;
    padding: var(--gap);
    background-color: var(--bg1);
    border-top: 5px solid var(--bg2);
}

header img,
footer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

header img {
    object-position: bottom;
}

footer img {
    object-position: top;
}

/* Map */
#wrapper,
#map,
#pins,
#mapImage {
    width: 100%;
    height: auto;
    aspect-ratio: 1600 / 1819;
}

#wrapper {
    position: relative;
    overflow: hidden;
    background-color: #eef0f2;
}

#map {
    display: grid;
    position: absolute;
}

#pins,
#mapImage {
    grid-area: 1 / 1;
}

#pins {
    z-index: 1;
}

#pins .pin:hover {
    cursor: pointer;
}

#popup {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85vw;
    height: 85vh;
    background-image: linear-gradient(var(--bg1) 80%, var(--bg2));
    border: solid 0.6em var(--bg);
}

#popup::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

#popup .close {
    position: absolute;
    top: 0;
    left: 0;
    padding: var(--gap);
    cursor: pointer;
    z-index: 1;
    color: var(--bg);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1em;
    text-align: center;
    background-color: transparent;
    border: none !important;
    outline: none !important;
    border-radius: 0;
    transform: rotate(45deg);
}

#popup .content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#popup .hero {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: flex-end;
    justify-content: end;
    background-size: cover;
    flex-direction: column;
    background-color: #000;
}

#popup .images {
    width: 100%;
    padding: var(--gap);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: var(--gap_min);
}

#popup .images img {
    display: block;
    width: 11vw;
    height: auto;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    user-select: none;
    object-fit: cover;
    background-color: #000;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
    border: solid 0.3em #fff;
}

#popup .images img.active {
    display: none;
}

#popup .images:has(img:nth-child(8)):not(:has(img:nth-child(10))) {
    max-width: 70%;
    margin: 0 auto;
}

#popup .header {
    display: grid;
    grid-template-columns: 2.6rem auto 2.6rem;
    align-items: center;
    gap: var(--gap_min);
    text-align: center;
    padding: var(--gap);
    background-image: linear-gradient(90deg, var(--c2), var(--border_color));
    color: var(--bg);
    width: 100%;
    text-wrap: balance;
}


#popup .header button {
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--bg);
    height: 2.2rem;
    width: 2.2rem;
    margin: 0 0.4em;
    background-color: #fff;
    padding: 0.7rem;
    border-radius: 50%;
}

#popup .header button span {
    margin: 0;
    display: block;
    height: 100%;
    width: 100%;
    background-color: transparent;
    border: solid 0.25em var(--c2);
    border-bottom-width: 0;
    border-left-width: 0;
    transform: rotate(45deg) translate(-15%, 15%);
}

#popup .header button:first-child span {
    transform: rotate(-135deg) translate(-15%, 15%);
}

#popup .description {
    padding: var(--gap_xl);
    color: var(--bg);
    font-size: var(--h4_size);
    line-height: 1.4em;
    overflow-y: auto;
}

.description li,
.description p {
    margin-bottom: 0.5em;
}

.description ul {
    list-style-type: "●";
    margin-left: 0.5em;
}

.description ul ul {
    list-style-type: "○";
}


.description li {
    padding-left: 0.5em;
}

.description li p {
    display: inline;
}