body {
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    background-color: black;
    position: relative;
    color: #2e728c;
    font-family: "Arial", sans-serif;
    font-size: 12pt;
    display: flex;
    justify-content: center;
}

.page-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #c1dff0;
    opacity: 0.95;
    z-index: 1;
}

.page {
    position: absolute;
    box-sizing: border-box;
    z-index: 2;
    width: 100%;
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 900px;
}

.container.upper-page {
    margin-top: 100px;
    padding-bottom: 50px;
    min-height: 70vh;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .container {
        max-width: 800px; /* For tablets and smaller laptops */
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 700px; /* For smaller laptops */
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 600px; /* For tablets */
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 90%; /* For mobile devices */
        padding-left: 15px;  /* Optional: add some padding */
        padding-right: 15px; /* Optional: add some padding */
    }
    .container.upper-page {
        margin-top: 25px;
        padding-bottom: 10px;
    }
}

hr {
    outline: none;
    border: none;
    border-top: 2px solid #3587a4;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

#target-format {
    padding: 0.5em 1em;
    margin: 0;
    outline: none;
    border: none;
    border-radius: 10px;
}

.options-row {
   margin-bottom: 1rem;
}

.upload-area {
    border: 2px dashed #3587a4;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    background-color: #f9f9f9;
}

.upload-area:hover {
    background-color: #f2fbff;
}
.progress-container {
    margin-top: 20px;
}

.progress-bar {
    width: 0;
    height: 20px;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
    animation: progress-bar-stripes 2s linear infinite;
}

@keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}

.progress-wrapper {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}
.progress-wrapper.success {
    background-color: #47b147;
}
.progress-wrapper.error {
    background-color: #b14747;
}

.progress-text {
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px;
}

footer {
    width: 100%;
    box-sizing: border-box;
    background-color: #f9f9f9;
    color: #3587a4;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 2rem;
}

footer .other-work {
    padding: 0;
    margin: 0;
}
footer .other-work li {
    list-style: '- ';
    list-style-position: inside;
}

a[href] {
    text-decoration: underline;
    color: #386ca6;
    transition: color 0.25s ease;
    cursor: pointer;
}

a[href]:visited {
    color: #386ca6;
}

a[href]:hover {
    text-decoration: underline;
    color: #386ca6;
}

a[href]:active {
    text-decoration: underline;
    color: #386ca6;
}

@media (max-width: 768px) {
    footer {
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
        margin-top: 4rem;
        color: #f9f9f9;
        background-color: #2e728c;
    }
    footer a[href] {
        color: #cef6f5;
    }

    footer a[href]:visited {
        color: #cef6f5;
    }

    footer a[href]:hover {
        color: #cef6f5;
    }

    footer a[href]:active {
        color: #cef6f5;
    }
}

footer a.piracy-policy-link {
    opacity: 0.3;
    color: #3587a4;
    text-decoration: none;
    font-size: 10pt;
    transition: none;
}
footer a.piracy-policy-link:hover {
    color: inherit;
}
@media (max-width: 768px) {
    footer a.piracy-policy-link {
        opacity: 0.6;
    }
}
