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

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

/* Poppins bold */
@font-face {
    font-family: "Poppins";
    src: url("/css/fonts/Poppins-Bold.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    font-family: 'Poppins';
}

#map {
    flex: 1.0;
}

.error {
    position: absolute;
    left: 45vw;
    text-align: center;
}

.leaflet-popup-content {
    text-align: center;
}

.leaflet-popup-content h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem;
}

#userlist {
    z-index: 1000;
    width: 0px;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: width 0.5s ease-out;
    padding-left: 24px;
    background: url(/img/left.svg) no-repeat;
    background-position: left;
    background-color: rgba(7, 25, 48, 0.9);
}

#userlist:hover {
    width: 15em;
    overflow-y: scroll;
}

#userlist li {
    color: #FFF;
    margin: 0;
    padding: 0.4em;
}

#userlist li:hover {
    background-color: rgb(50, 201, 172);
    font-weight: bold;
}