/* Основные стили */
body {
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /*background-color: #262626;*/
            background-image: url('../../img/fsharing.webp');
            background-repeat: no-repeat;
            background-size: cover;
}
.back{
    text-decoration: none;
    color:#333;
}
#drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    margin: 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
}

#drop-area.highlight {
    border-color: purple;
}

        .button {
            background-color: #28a745;
            color: #fff;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .button:hover {
            background-color: #218838;
        }

        #drop-area {
            border: 2px dashed #28a745;
            padding: 20px;
            text-align: center;
            margin-bottom: 20px;
        }

        #uploaded-files {
            margin-top: 20px;
        }

        #uploaded-files a {
            display: block;
            margin-bottom: 10px;
            color: #007bff;
            text-decoration: none;
        }

        #uploaded-files a:hover {
            text-decoration: underline;
        }
        
         .progress-bar-container {
            margin-top: 20px;
            width: 100%;
            background-color: #f3f3f3;
            border-radius: 5px;
            overflow: hidden;
        }

        .progress-bar {
            height: 25px;
            background: linear-gradient(0deg, #28a745, #56db60, #28a745);
            animation: gradient-fill 3s infinite linear;
            width: 0;
            transition: width 0.9s;
        }

        @media (max-width: 600px) {
            .button {
                width: 100%;
                padding: 15px;
            }
        }
#fileElem {
    display: none; /* Скрываем сам элемент input */
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.thumb {
    width: 100px;
    margin: 5px;
}

#download-zip {
    margin-top: 20px;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#download-zip:hover {
    background-color: #0056b3;
}

/* Адаптивные стили */
@media (max-width: 600px) {
    #drop-area {
        width: 100%;
    }

    .thumb {
        width: 80px;
    }

    .button, #download-zip {
        width: 100%;
    }
}

            .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #1e2021;
            color: black;
            font-weight: bold;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            }
            .header a {
            color: white;
            text-decoration: none;
            margin: 0 40px;
            font-size: 16px;
            margin-left:0;
            transition: ease 0.3s;
            }
            .header a:hover {
            color:#4a91e2;
            transition: ease 0.3s;
            }
            .logo span:first-child {
            color: #2b4d7f;
            }

            .logo span:last-child {
            color: #4a91e2;
            }