/* Catalog category section */
#categories {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#categories > div {
    display: flex;
}

/* Change flex direction for mobile */
@media (max-width: 720px) {
    #categories > div {
        flex-direction: column;
    }

    .category:first-child {
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
}

.category {
    margin: 0 16px;
    text-align: center;
}

/* Catalog category title */
.category h1, #location h1 {
    margin: 0 0 12px;
    padding: 4px 16px;
    background: black;
    color: white;
    border: 12px double white;
    border-left: none;
    border-right: none;
}

/* Catalog category text */
.category p {
    padding: 0 28px;
}

/* Catalog category image */
.category img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
}

/* Explore button */
.category button {
    background: black;
    color: white;
    border: 6px solid white;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.category button:hover {
    background: #333;
}

.category button:active {
    background: #444;
}

#location {
    display: flex;
    justify-content: space-between;
    background: #eee;
}

/* Map title */
#location h1 {
    border-color: #eee;
    width: fit-content;
    padding: 6px 48px;
}

/* Map */
#location iframe {
    background-color: #3b3b3b;
    width: 70%;
    border: 1px solid #ccc;
    margin-left: 4px;
}

#location div {
    width: 330px;
}

#location h3 {
    border-bottom: 1px solid black;
    font-size: 18px;
    margin-top: 32px;
    width: 250px;
}

#location p {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 16px;
}

.map-button {
    display: block;
    width: 100%;
    background: #33a854;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
}

.map-button:hover {
    background: #4cbd6d;
}

.map-button:active {
    background: #67cd84;
}

.small {
    display: none;
}

/* Wrap location when in mobile view */
@media screen and (max-width: 680px) {
    #location {
        flex-direction: column;
    }

    #location iframe {
        display: none;
    }

    #location div {
        width: 100%;
    }

    #location h1:not(.small) {
        display: none !important;
    }

    .small {
        display: block !important;
    }

    iframe.small {
        margin-bottom: 20px;
        width: 100% !important;
        height: 300px;
    }
}