#header-outer-camera {
    margin: 0;
    display: inline-flex;
    width: 100%;
    background-color: #484545;
    color: #f9f9f9;
}

@media (max-width: 500px) {
    #header-outer-camera {
        display: block;
        text-align: center;
    }
}

#back-to-dashboard {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

    #back-to-dashboard a {
        margin-top: 2%;
        background-color: #353434;
        border-color: #353434;
        color: #fff;
    }

        #back-to-dashboard a:visited {
            background-color: #353434;
            border-color: #353434;
            color: #fff;
        }

@media (max-width: 500px) {
    #back-to-dashboard {
        margin: 0;
    }
}

#camera-label {
    font-size: 2.5rem;
    padding: 1rem;
    color: #fff;
    text-align: center;
}

#main-container {
    margin-left: 1%;
    margin-right: 1%;
}

#cameras-container {
    padding-top: 1%;
    display: flex;
    flex-wrap: wrap;
}

.camera {
    display: flex;
}

.camera-thumbnail img {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.camera-thumbnail h2 {
    color: #000;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.camera-thumbnail span {
    display: none;
}

#camera-modal .modal-header {
    background-color: #32373b;
    color: #ffffff;
}

    #camera-modal .modal-header h3 {
        font-size: 2rem;
    }

#camera-modal .modal-body {
    width: 100%;
    height: 100%;
    max-height: 1000px;
}

    #camera-modal .modal-body img {
        max-height: 70vh;
        margin-left: auto;
        max-width: 100%;
        margin-right: auto;
        display: block;
    }

    #camera-modal .modal-body h2 {
        display: none;
    }