/* styles.css */


/* Main pages styles */
.main {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: flex-start;
    /* Align to top */
    padding: 20px;
    /* Add padding for spacing at smaller resolutions */
    overflow-y: auto;
    /* Enable scrolling on body if needed */
}

.main .content-box,
.main .error-message {
    max-width: 90%;
    /* Limit width for responsiveness */
    width: 100%;
    /* Default to full width */
    max-width: 700px;
    /* Restrict max width */
    background-color: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
    /* Include padding in width */
}

.main .avatar {
    border-radius: 50%;
    width: 20%;
}

.main .file-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    width: 100%;
}

.main .operacion p {
    color: black;
    margin-bottom: 10px;
}

.main .operacion div {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.main .operacion  div p {
    border-right: 1px solid black;
    padding: 10px;
}

.main .operacion div p:last-child {
    border-right: none;
}

.main h1 {
    color: #333;
    font-size: 36px;
    margin-bottom: 20px;
}

.main p {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

.main a:link:not(#certifiedCss),
.main a:visited:not(#certifiedCss) {
    display: inline-block;
    min-width: 120px;
    color: #000000;
    text-decoration: none;
    padding: 10px;
    background-color: #007bff;
    border: 1px solid #007bff;
    margin: 10px;
}

.main a#email:link,
.main a#email:visited,
.main a#highschool:link,
.main a#highschool:visited {
    display: inline;
    min-width: 0;
    color: #000000;
    padding: 0;
    text-decoration: none;
    background-color: #fff;
    border: none;
    margin: 0;
}

.main a:hover:not(#certifiedCss) {
    color: #ffffff;
    background-color: #ff0000;
    border: 1px solid #ff0000;
}

.main a#email:hover,
.main a#highschool:hover {
    color: #007bff;
    background-color: #fff;
    border: none;
}

/* File Uploaded page */

.fileUploader {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center horizontally */
    align-items: flex-start;
    /* Align to top */
    overflow-y: auto;
    /* Enable scrolling on body if needed */
}

.fileUploader .fileForm {
    max-width: 90%;
    /* Limit width for responsiveness */
    width: 100%;
    /* Default to full width */
    max-width: 600px;
    /* Restrict max width */
    background-color: #fff;
    padding: 30px;
    margin: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
    /* Include padding in width */
}

.fileUploader form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    box-sizing: border-box;
}

.fileUploader form input,
.fileUploader form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.fileUploader form input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
}

.fileUploader form input[type="submit"]:hover {
    background-color: #007bffd0;
}

.fileUploader #preview-container {
    margin-top: 10px;
    display: none;
    box-sizing: border-box;
}

.fileUploader #video-preview,
.fileUploader #image-preview {
    margin: 0 auto;
    max-width: 100%;
    max-height: 300px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-sizing: border-box;
}

.fileUploader .uploadedFiles {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.fileUploader .uploadedImages,
.fileUploader .uploadedVideos {
    padding: 10px;
    border-top: 3px solid black;
    background-color: #fff;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    /* adjust the 100px value as needed */
    margin-top: 10px;
}

.fileUploader .uploadedImages {
    border-right: 1px solid black;
    /* adjust this value as needed */
    width: 50%;
}

.fileUploader .uploadedVideos {
    /* adjust this value as needed */
    width: 50%;
}

.fileUploader .uploadedVideo {
    display: inline-block;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    margin: 0 10px 10px 0;
}

.fileUploader .uploadedVideo p {
    text-align: center;
    font-weight: bold;
}

.fileUploader .uploaded {
    max-width: 100%;
    max-height: 200px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    margin: 10px;
    padding: 5px;
}

.mail div.errors {
    background-color: lightsalmon;
    border: 1px solid red;
    color: red;
}

.mail .error {
    border: 2px solid red;
}

/* Cookie Banner */

/* Dark overlay */
#cookie_cancel.nojs {
    display: none;
}

#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Centered container for the form */
#cookie-banner {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

#cookie-banner h3 {
    margin: 0 0 10px;
}

#cookie-banner p {
    margin: 0 0 20px;
    font-size: 14px;
}

#cookie-banner input[type="submit"] {
    color: #000000;
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

#cookie-banner input[type="submit"]:hover {
    color: #ffffff;
    background-color: #ff0000;
}

#cookie-banner button {
    color: #000000;
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}