.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.settings {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}


button, select {
    padding: 8px 15px;
    border: 1px solid #3b5998;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
button:hover, select:hover {
    filter: brightness(1.2);
}



button:disabled {
    background-color: #666666;
    color: #dddddd;
    cursor: not-allowed;
    filter: brightness(0.8);
    border: 1px solid #3b5998;
    border-radius: 1px;
}

#startCamera {
    background-color: lightgreen;
    border: 1px solid #3b5998;
    border-radius: 1px;
    color: #666666;
}

#stopCamera {
    background-color: indianred;
    border: 1px solid #3b5998;
    border-radius: 1px;
}


/* Additional styles for sliders */
.slider-accent {
    accent-color: #88a4b3;
    background: #d3d3d3;
}

.slider-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
    max-width: 400px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #333333;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #333333;
    cursor: pointer;
}

label {
    margin-bottom: 5px;
    color: #666666;
    font-size: 14px;
}

/* Take Photo button styling */
.photo-button {
    background-color: #d9e5ff;
    border: 1px solid #3b5998;
    border-radius: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
}

.camera-icon {
    font-size: 16px;
}

/* Flash effect for the camera */
@keyframes cameraFlash {
    0% { background-color: rgba(255, 255, 255, 0); }
    50% { background-color: rgba(255, 255, 255, 0.8); }
    100% { background-color: rgba(255, 255, 255, 0); }
}

.flash {
    animation: cameraFlash 0.5s ease-out;
}

#saveButton {
    background-color: #2196F3;
}

.info-section {
    margin: 20px auto;
    max-width: 75%;
    text-align: center;
    padding: 30px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 5px;
}

.info-section h1{
    text-decoration: underline;
    font-weight: unset;
}

@media only screen and (max-width: 600px) {
    .container {
        display: flex;
        flex-direction: column;
        column-count: 1;
        align-items: center;
        gap: 10px;
    }
    /* Make slider containers full width */
    .slider-container {
        width: 100%;
    }

    /* Improve control button layout on small screens */
    .controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    .info-section h1 {
        font-size: clamp(15px, 1.5vw, 19px); /* Responsive font size */
        font-weight: bold;
    }
    .info-section p {
        font-size: clamp(10px, 1.5vw, 14px); /* Responsive font size */
    }
    .settings {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
}