@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&family=Alegreya+Sans+SC:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap');

body {
    background-image: linear-gradient(45deg, #171717 33.33%, #1e1e1e 33.33%, #1e1e1e 50%, #171717 50%, #171717 83.33%, #1e1e1e 83.33%, #1e1e1e 100%);
    background-size: 8.49px 8.49px;
    font-family: "Alegreya Sans", sans-serif;
    color: #fff;
    overflow: hidden;
}

a {
    color: #e08f47;
}

*::selection {
  background-color: #e08e4793;
}

#app {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    grid-template-rows: auto max-content;
}

#map {
    width: 100%;
    height: 100%;
    background: none;
    flex-grow: 1;
    z-index: 0;
}

.poi-marker-icon {
    width: 25px;
    height: 25px;
}

.poi-marker-icon::after {
    content: "";
    text-align: center;
    color: #171717;
    width: 17px;
    height: 17px;
    background-color: #e08f47;
    background: var(--poi-color);
    border: 4px solid #171717;
    border-radius: 12.5px;
    z-index: 200;
    position: absolute;
    display: inline-block;
    top: -4px;
    left: -4px;
}

.poi-marker-icon-symbol {
    position: absolute;
    z-index: 300;
    font-size: .8rem;
    line-height: 17px;
    width: 17px;
    text-align: center;
    color: #171717;
    opacity: 0.75;
}

.poi-marker-label {
    z-index: 100;
    height: 25px;
    padding-left: 12.5px;
    padding-right: 8px;
    border: 4px solid #171717;
    box-sizing: border-box;
    border-radius: 0 12.5px 12.5px 0;
    line-height: 17px;
    width: max-content;
    background-color: #171717;
    position: relative;
    left: 8.5px;
    top: -4px;
    font-family: "Alegreya Sans SC", serif;
    font-weight: 700;
    font-style: normal;
    overflow: hidden;
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
    transform-origin: 0 50%;
    transform: scale(1, 1);
}

.poi-marker-label-hidden {
    transform: scale(0, 1);
}

.poi-marker-icon:hover .poi-marker-label-hidden {
    transform: scale(1, 1);
    opacity: 1;
}

#content-container {
    height: max-content;
    max-height: 50%;
    flex-shrink: 0;
    background-color: #171717;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem;
    min-height: 10rem;
    overflow: auto;
    z-index: 2;
    position: relative;
}

#content-container.content-hidden {
    display: none;
}

#content {
    max-width: 30rem;
    margin: 0 auto;
}

#content-title {
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0;
}

#content-tags {
    color: #414141;
    font-style: italic;
}

#content-main {
    margin-bottom: 2rem;
}

#content-main img {
    max-width: 100%;
    display: block;
    margin: 1rem auto;
}

#content-main section {
    border-left: 2px solid #414141;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

#content-main h2 {
    color: #414141;
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: .5rem 0;
}

.content-see-also {
    margin: 1rem;
    font-style: italic;
    color: #414141;
}

.content-see-also a {
    color: #e08f47;
    margin: 0 0.2rem;
}

@media (width >= 1000px) {
    #app {
        flex-direction: row;
    }

    #content-container {
        background-color: #171717;
        width: 50%;
        max-width: 30rem;
        height: 100vh;
        max-height: 100vh;
    }
}

#filters {
    position: absolute;
    display: flex;
    gap: 4px;
    top: .5rem;
    left: .5rem;
    background-color: #171717;
    border: 4px solid #171717;
    border-radius: 1.25rem;
    z-index: 1;
}

#filters > button {
    border: none;
    background: var(--tag-color);
    color: #171717;
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 700;
    font-style: normal;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border-radius: 0.75rem;
    padding: 0 .5rem;
    cursor: pointer;
}

#filters > button.filter-button-excluded {
    background-color: #414141;
}

br {
    display: block;
    margin: .5rem;
}

@keyframes slide-out {
  from {
    bottom: 5rem;
    opacity: 1;
  }

  to {
    bottom: 15rem;
    opacity: 0;
  }
}

.popup {
	position: absolute;
	bottom: 5rem;
	left: 0;
	width: 100%;
	text-align: center;
	height: 1rem;
	line-height: 1rem;
	animation-duration: 1s;
	animation-delay: 0.5s;
	animation-name: slide-out;
	
}
