@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;700&display=swap');

:root {
    --building-color: #FF9800;
    --house-color: #0288D1;
    --shop-color: #7B1FA2;
    --warehouse-color: #558B2F;
}

/*
 * Optional: Makes the sample page fill the window.
 */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Fira Sans', sans-serif;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    position: relative;
}

/*
 * Always set the map height explicitly to define the size of the div element
 * that contains the map.
 */
#map {
    flex: 100% 1 1;
    width: 100%;
}

header {
    /*padding: 20px;*/
    text-align: center;
    display: flex;
    justify-content: center;
    /*gap: 40px;*/
}

header h1 {
    /*flex: 250px 0 0;*/
    padding: 1rem 3rem;
    border-right: 1px solid lightgrey;
}

header h1:last-of-type {
    border: 0;
}

.bigNumba {
    font-size: 200%;
}

/*
 * Property styles in unhighlighted state.
 */
/*.property {*/
/*    align-items: center;*/
/*    background-color: #FFFFFF;*/
/*    border-radius: 50%;*/
/*    color: #263238;*/
/*    display: flex;*/
/*    font-size: 14px;*/
/*    gap: 15px;*/
/*    height: 30px;*/
/*    justify-content: center;*/
/*    padding: 4px;*/
/*    position: relative;*/
/*    position: relative;*/
/*    transition: all 0.3s ease-out;*/
/*    width: 30px;*/
/*}*/

/*.property::after {*/
/*    border-left: 9px solid transparent;*/
/*    border-right: 9px solid transparent;*/
/*    border-top: 9px solid #FFFFFF;*/
/*    content: "";*/
/*    height: 0;*/
/*    left: 50%;*/
/*    position: absolute;*/
/*    top: 95%;*/
/*    transform: translate(-50%, 0);*/
/*    transition: all 0.3s ease-out;*/
/*    width: 0;*/
/*    z-index: 1;*/
/*}*/

.property .icon img {
    object-fit: cover;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: grey;
}

.property .details {
    display: none;
    flex-direction: column;
    flex: 1;
}

/*
 * 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: 350px;
    padding: 8px 15px;
    width: 350px;
}

.property.highlight .icon {
    display: none;
}

.property.highlight::after {
    border-top: 9px solid #FFFFFF;
}

.property.highlight .details {
    display: flex;
}

.property.highlight .icon svg {
    width: 50px;
    height: 50px;
}

#lightbox {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5) ;
}

#lightbox > svg {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-size: 200%;
    cursor: pointer;
}

#lightbox > img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

#lightbox.visible {
    display: flex;
    justify-content: center;
    align-items: center;
}
