/* main.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f9; /* Lighter shade based on the given color */
    color: #333;
}

h1, h2 {
    color: #8353F2; /* Main color */
}

p, label {
    color: #666; /* Grayish tone for text */
}

header {
    margin-bottom: 10px;
}

section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Optional: controls spacing between elements */
}

.input-container input[type="text"] {
    flex: 1;
}

.title-section-container {
    margin-bottom: 30px; /* Space between this and subsequent content */
}

.title-section-container > section {
    padding-top: 10px; /* Space between sections */
    border-top: 1px solid #ececec; /* Optional separator between sections */
}

input[type="text"], input[type="file"], progress {
    display: block;
    width: 100%; /* Full width elements are more responsive */
    margin-top: 5px;
    /*padding: 10px;*/
    border-radius: 4px;
}

input[type="text"], input[type="file"] {
    border: 1px solid #ccc;
    -webkit-appearance: none; /* Disable platform-specific styling */
       -moz-appearance: none; /* Disable platform-specific styling */
            appearance: none;
}

progress {
    height: 20px;
    color: #8353F2; /* Color the progress bar with the main color */
    background-color: #e6e6e6; /* Light gray background for progress bar */
    border: none; /* Remove default border */
}

progress::-webkit-progress-value {
    background-color: #8353F2; /* Main color for the value */
}

progress::-moz-progress-bar {
    background-color: #8353F2; /* Main color for the value (Firefox) */
}

hr {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
}

img {
    max-width: 100%; /* Make sure images are responsive */
    height: auto;
    display: block;
    margin-top: 20px;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header, section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px; 
    }

    h2 {
        font-size: 22px; 
    }

    p, label {
        font-size: 16px; 
    }
}

/* Add this to your main.css */
#media {
    text-align: left; /* Aligns inline or inline-block elements within to the left */
}

/* Add this to your main.css */
#video {
    width: 100%; /* Full width of its parent container */
    max-width: 100%; /* Ensures the video doesn't exceed the width of the screen */
    height: auto; /* Maintain aspect ratio based on the width */
}

