#data_and_images {
    display: flex;
    flex: 1;
    justify-content: center;
}

#data {
    display: flex;
    flex-direction: column;
    width: 45vh;
}

#map_and_pinpoints{
    display: flex;
}

#mapid { 
    height: 30vh;
    width: 45vh;
}

#pinpoint_list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 45vh;
}

@media screen and (min-width: 768px) {
    #data_and_images {
        flex-direction: row;
        align-items: center;
    }

    #map_and_pinpoints{
        flex-direction: row;
    }

    #pinpoint_list {
        overflow-y: auto;
        height: 30vh;
    }

}

@media screen and (max-width: 767px) {
    #data_and_images {
        flex-direction: column;
    }

    #map_and_pinpoints{
        flex-direction: column-reverse;
    }

}