body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100vw;
    overflow-x: hidden;
}

#container {
    background: #212121;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    min-height: fit-content;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: white;
}

h1 {
    text-align: center;
    color: #e83cb5;
    margin-bottom: 20px;
}

textwexy {
    text-align: center;
  font-family: 'Fugaz One', cursive;
    color: #e83cb5;
    margin-bottom: 20px;
}

.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.file-item {
    background: #2b2333;
    border: 1px solid #c12db0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(15, 67, 208, 0.257);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.file-item img,
.file-item video,
.file-item audio {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex-grow: 2;
    border-bottom: 1px solid #c12db0;
}

.file-name {
    font-size: 1.1em;
    color: #fff;
    padding: 10px;
    background-color: #333;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    border-top: 1px solid #c12db0;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.file-name:hover {
    background-color: #ff4081;
    color: #fff;
}

.modal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    justify-content: center;
    align-items: center;
}

body.modal-active .modal-wrapper {
    display: flex;
}

body.modal-active #container {
    pointer-events: none;
    user-select: none;
    filter: blur(100px);
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

.modal-content {
    width: 100%;
    height: 100%;
    background-color: #000000;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    z-index: 10000;
    pointer-events: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
    padding-top: 50px;
    width: 80%;
    max-width: 560px;
}

.modal-header img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    border: 3px solid #fff;
    margin-bottom: 15px;
}

.modal-header h1 {
    margin: 0;
    font-size: 22px;
    color: #fff;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 80%;
    max-width: 560px;
    padding: 20px;
    box-sizing: border-box;
}

input[type="text"],
input[type="password"] {
    width: 90%;
    padding: 12px;
    margin: 12px auto;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #4CAF50;
    outline: none;
}

labelr {
    color: #ff91f2;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    margin-bottom: 15px;
}

#remember-me {
    margin-left: 5px;
}

#result {
    margin-top: 15px;
    color: #FF5C5C;
}

button {
    padding: 12px 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background-color: #45a049;
}

@media (max-width: 600px) {
    .modal-wrapper {
        padding: 10px;
    }

    .modal-content {
        max-width: 100%;
        padding: 0;
    }

    .modal-header {
        padding-top: 20px;
        width: 90%;
    }

    .modal-header img {
        width: 70px;
        height: 70px;
    }

    .modal-header h1 {
        font-size: 18px;
    }

    .form-actions {
        width: 90%;
        padding: 10px 0;
    }

    input[type="text"], input[type="password"] {
        padding: 10px;
        width: 100%;
        margin: 8px 0;
    }

    button {
        font-size: 14px;
        padding: 10px;
    }

    #container {
        padding: 15px;
        margin: 10px auto;
    }
}



