@font-face {
    font-family: 'ProximaNova-Regular';
    src: url(https://web-assets.riskified.com/webfonts/29921C_22_0.ttf);
    font-weight: 400;
}

@font-face {
    font-family: 'ProximaNova-Semibold';
    src: url(https://web-assets.riskified.com/webfonts/29921C_27_0.woff);
    font-weight: 500;
}

@font-face {
    font-family: 'ProximaNova-Light';
    src: url(https://web-assets.riskified.com/webfonts/29923C_1_0.woff);
    font-weight: 300;
}

@font-face {
    font-family: 'MuseoSlab';
    src: url(https://web-assets.riskified.com/webfonts/30646C_0_0.woff);
    font-weight: 300;
}

@font-face {
    font-family: 'MuseoSlab';
    src: url(https://web-assets.riskified.com/webfonts/30646C_1_0.woff);
    font-weight: 400;
}

#container {
    width: 680px;
    height: 460px;
    position: relative;
    font-size: 12px;
    font-family: 'ProximaNova-Light';
}

#world-map {
    width: 680px;
    position: relative;
    max-height: 460px;
}

#world-map .tooltip {
    display: flex;
    flex-direction: column;
    border-radius: 3px;
    box-shadow: rgba(20, 20, 20, 0.15) 0px 0px 7px 0px;
    padding: 22px;
    background-color: #fff;
    transition: all 3s ease;
    font-size: 13px;
    color: #8c889a;
    line-height: 19px;
    font-weight: 300;
    letter-spacing: 0.03em;
    max-width: 260px;
}

#world-map .tooltip div {
    display: flex;
    justify-content: flex-start;
}

#container .legend {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    height: 135px;
    border-radius: 5px;
}

#container .legend ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

#container .legend ul li {
    width: 55px;
    list-style: none;
    padding: 1px 20px;
    text-align: left;
}

#container .legend ul li.highlighted {
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 1px 12px 1px;
    align-self: center;
}

#container .legend ul li:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0px 6px 0 0;
}

#container .legend ul li:nth-child(1):before {
    background-color: #099a7f;
}

#container .legend ul li:nth-child(2):before {
    background-color: #12bb9b;
}

#container .legend ul li:nth-child(3):before {
    background-color: #62d6c0;
}

#container .legend ul li:nth-child(4):before {
    background-color: #97e8d9;
}

#container .legend ul li:nth-child(5):before {
    background-color: #b8f7eb;
}

#container .legend ul li:nth-child(6):before {
    background-color: #ffdade;
}

#container .legend ul li:nth-child(7):before {
    background-color: #fdabb2;
}

#container .legend ul li:nth-child(8):before {
    background-color: #ff6f79;
}

.country-name {
    display: flex;
    font-size: 20px;
    color: #8c889a;
    margin-bottom: 10px;
    font-family: 'MuseoSlab', sans-serif;
    font-weight: 400;
    border-bottom: 1px solid #9a97a8;
    padding-bottom: 8px;
}

.country-name::before {
    content: '';
    background: url("https://web-assets.riskified.com/images/map-flag.png") 0 0 transparent no-repeat;
    width: 16px;
    height: 13px;
    display: block;
    background-size: 16px;
    margin: 4px 3px 0 0;
}

.tool-info {
    width: 100%;
    font-weight: 400;
    margin-left: 3px;
}