@import "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";
@import "https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.3.2/css/flag-icons.min.css";
:root {
    --building-color: #FF9800;
    --bunker-color: #303030;
    --user-color: #C0C0C0;
    --nature-color: #558B2F;
    --home-color: #FF0000;
    --mountain-color: #000000;
    --digital-color: #F0F0F0;
}

/*
 * Optional: Makes the sample page fill the window.
 */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/*
 * Always set the map height explicitly to define the size of the div element
 * that contains the map.
 */
#map {
    height: 50%;
    width: 100%;
}

/*
 * Property styles in unhighlighted state.
 */
.property {
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 50%;
    color: #263238;
    display: flex;
    font-size: 8px;
    gap: 15px;
    height: 10px;
    justify-content: center;
    padding: 12px;
    position: relative;
    position: relative;
    transition: all 0.3s ease-out;
    width: 10px;
}

.property .icon {
    align-items: center;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
    font-size: 12px;
}

.highlight .icon {
    font-size: 32px;
}

.property .icon svg {
    height: 40px;
    width: auto;
}

.property .details {
    padding: 4px;
    display: none;
    flex-direction: column;
    flex: 1;
}

.property .reference {
    color: #9E9E9E;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 5px;
}

.property .name {
    color: #9E9E9E;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.property .type {
    color: #9E9E9E;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 5px;
}


/*
 * Property styles in highlighted state.
 */
.property.highlight {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    height: 140px;
    padding: 8px 15px;
    width: auto;
}

.property.highlight::after {
    border-top: 9px solid #FFFFFF;
}

.property.highlight .details {
    display: flex;
}

.property.highlight .icon svg {
    width: 50px;
    height: 50px;
}

.property .bed {
    color: #FFA000;
}

.property .bath {
    color: #03A9F4;
}

.property .size {
    color: #388E3C;
}

/*
 * House icon colors.
 */
.property.highlight:has(.fa-tent) .icon {
    color: var(--bunker-color);
}

.property:not(.highlight):has(.fa-tent) {
    background-color: var(--bunker-color);
}

.property:not(.highlight):has(.fa-tent)::after {
    border-top: 9px solid var(--bunker-color);
}

/*
 * Digital icon colors.
 */

.property .icon i.bi-pc-display-horizontal {
    color: var(--mountain-color);
}

.property.highlight:has(.bi-pc-display-horizontal) .icon {
    background-color: var(--digital-color);
}

.property:not(.highlight):has(.bi-pc-display-horizontal) {
    background-color: var(--digital-color);
}

.property:not(.highlight):has(.bi-pc-display-horizontal)::after {
    border-top: 9px solid var(--digital-color);
}

/*
 * Building icon colors.
 */
.property.highlight:has(.fa-chess-rook) .icon {
    color: var(--building-color);
}

.property:not(.highlight):has(.fa-chess-rook) {
    background-color: var(--building-color);
}

.property:not(.highlight):has(.fa-chess-rook)::after {
    border-top: 9px solid var(--building-color);
}

/*
 * Warehouse icon colors.
 */
.property.highlight:has(.fa-seedling) .icon {
    color: var(--nature-color);
}

.property:not(.highlight):has(.fa-seedling) {
    background-color: var(--nature-color);
}

.property:not(.highlight):has(.fa-seedling)::after {
    border-top: 9px solid var(--nature-color);
}

/*
 * Shop icon colors.
 */
.property.highlight:has(.fa-mountain-sun) .icon {
    color: var(--mountain-color);
}

.property:not(.highlight):has(.fa-mountain-sun) {
    background-color: var(--mountain-color);
}

.property:not(.highlight):has(.fa-mountain-sun)::after {
    border-top: 9px solid var(--mountain-color);
}

/*
 * Shop icon colors.
 */
.property.highlight:has(.bi-telephone-fill) .icon {
    color: var(--user-color);
}

.property:not(.highlight):has(.bi-telephone-fill) {
    background-color: var(--user-color);
}

.property:not(.highlight):has(.bi-telephone-fill)::after {
    border-top: 9px solid var(--user-color);
}

/*
 * Shop icon colors.
 */
.property.highlight:has(.bi-tree-fill) .icon {
    color: var(--nature-color);
}

.property:not(.highlight):has(.bi-tree-fill) {
    background-color: var(--nature-color);
}

.property:not(.highlight):has(.bi-tree-fill)::after {
    border-top: 9px solid var(--nature-color);
}

/*
 * Shop icon colors.
 */
.property.highlight:has(.fa-house) .icon {
    color: var(--home-color);
}

.property:not(.highlight):has(.fa-house) {
    background-color: var(--home-color);
}

.property:not(.highlight):has(.fa-house)::after {
    border-top: 9px solid var(--home-color);
}

.fi {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
}


.legend {
    text-align: center;
}

.yellow-line {
    display: inline-block;
    border-bottom: 2px solid yellow;
    width: 20px;
}

.red-line {
    display: inline-block;
    border-bottom: 2px solid red;
    width: 20px;
}

.green-line {
    display: inline-block;
    border-bottom: 2px solid green;
    width: 20px;
}

.legend i {
    align-items: center;
    border-radius: 50%;
    color: #ffffff;
    display: initial;
    font-size: 8px;
    gap: 15px;
    height: 10px;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s ease-out;
    width: 10px;

}

.legend i.fa-home {
    background-color: var(--home-color);
}

.legend i.bi-pc-display-horizontal {
    background-color: #F0F0F0;
    color: black;
}

.legend i.fa-tent {
    background-color: var(--bunker-color);
}

.legend i.fa-mountain-sun {
    background-color: var(--mountain-color);

}


.legend i.bi-telephone-fill {
    background-color: var(--user-color);
}

.legend i.fa-seedling,
.legend i.bi-tree-fill {
    background-color: var(--nature-color);

}