/* Map page
----------------------------------------
*/

main{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Map toolbar
----------------------------------------
 */

#map-toolbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-button{
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 20px;
    font-size: 1.05rem;
    text-decoration: none;
    color: #fff;
    background-image: linear-gradient(to bottom, var(--secondaryColor), var(--secondaryColorDark));
    transition: scale 150ms ease-in;
}

.map-button:hover, .map-button:focus-visible{
    color: #fff;
	scale: 1.025;
}

main a.map-button::after{
    transform: none;
}

/* Map
----------------------------------------
 */

#map-frame{
    position: relative;
    /* Fill the screen below the 60px header, leaving room for the toolbar */
    height: calc(100vh - 60px - 140px);
    min-height: 350px;
    overflow: hidden;
    background-color: #120f0d;
}

#map-embed{
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media only screen and (width < 600px){
    main{
        width: 100vw;
        padding: 16px 12px 24px;
    }

    #map-frame{
        height: calc(100vh - 60px - 170px);
        border-radius: 10px;
    }

    #map-toolbar{
        text-align: center;
        justify-content: center;
    }
}
