.cam-body {
    text-align: center;
}

.cam-body-content {
    display: inline-block;
    margin: 2% auto;
}

.cam-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 3.5rem;
}

.action-bar {
  display: flex;
}

.cam-capture {
    font-size: 36px;
    cursor: pointer;
}

.cam-capture:active {
    color: #1c87c9;
}

/* input[type=file]+label {
  color: #ebebe4;
} */

#open-button,
#capture-btn {
    margin:auto;
}

#file-btn {
    min-width: 80px;
}

#progress, 
#uploadTime {
    align-self: center;
    min-width: 40px;
}

#cam-border {
    width: auto;
    height: 290px;
    border: 1px solid grey;
    overflow: hidden;
}

#cam-img {
    width: auto;
    height: 290px;
    object-fit: contain;
}

@media only screen and (max-width: 991px) {
    .cam-body-content {
        margin: 0 auto;
    }
    
    .cam-capture {
        color: black;
    }

    #cam-border,
    #cam-img {
        /* width: 98vw; */
		width: 97vw;
        height: 250px;
    }

    @media (any-pointer: coarse) and (orientation: landscape) {
        #cam-border,
        #cam-img {
            height: 165px;
        }

        .cam-footer{
            display: none;
        }
		
		.cam-mobile-menu {
			display: none;
		} 
		
		.cam-layout {
		  margin-bottom: 0px;
		}
    }

    @media (orientation: portrait) {
        #cam-border,
        #cam-img {
            height: 250px;
        }
		
		.cam-layout {
		  margin-bottom: 3.5rem;
		}
    }
}