path.state {
    stroke: black;
    fill: white;

    transition: fill .4s ease;
    transform-origin: center center;
}

path.state:hover {
    fill: #D3E5FD !important;
    cursor: pointer;
    transform: scale(1.005, 1.005);
}

#us-map {
    display: block;
    width: 100%;
    height: 100%;
}

#details-box {
    box-shadow: 0px 7px 40px rgba(0, 0, 0, 0.7);
    opacity: 0%;
    padding: 1rem;
    border-radius: 8px;
    font-size: 24px;
    position: fixed;
    color: white;
    font-family: "Poppins";
    background-color: black;
    width: fit-content;
    transform: translateX(-50%);
    transition: opacity .4s ease;
    z-index: 1;
}

#us-map .highlight {
    fill: #98c1f8 !important;
}

#us-map .line {
    stroke: #094C86 !important;
    stroke-width: 2 !important;
    fill: transparent !important;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s forwards;
}

#us-map .line:hover {
    fill: transparent !important;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}
