@font-face {
    font-family: "Supr";
    src: url("../Fonts/Supreme-Medium.otf") format("opentype");
}

body{
    overflow: hidden;
    background: radial-gradient(circle, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 86%, rgba(4, 110, 131, 1) 100%);
    background-size: 100%;
}

.main-page {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 86%, rgba(4, 110, 131, 1) 100%);
    overflow: hidden;
}

#elements {
    margin-left: 10px;
    position: absolute;
    top: 10px;
}

#elements * {
    margin: 0px;
}

.file-page {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    background-color: #ccc;
    overflow-y: auto;
}

.file-page #text-elements {
    margin-left: 10px;
}

.file-page #file-button {
    margin: 10px;
}

.file-page .allfiles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* width: 100vw; */
}

.file-page .allfiles * {
    border: 3px solid #b39e1a;
    margin-bottom: 4px;
    margin-right: 4px;
    width: 150;
    /* margin: 4px;
    height: fit-content; */
    /* border-top: 0px; */
    /* border-style: solid;
    border-color: #b39e1a;
    border-width: 5px;
    background-color: #ccc; */
}
/* .images {
    margin-left: 10px;
    border-style: solid;
    border-color: #b39e1a;
    border-width: 5px;
    background-color: #ccc;
} */
/* .file-page .files {
    margin-left: 15px;
    border-style: solid;
    border-color: #b39e1a;
    border-width: 5px;
    background-color: #ccc;
} */

.loading-page {
    background: radial-gradient(circle, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 86%, rgba(4, 110, 131, 1) 100%);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.loading-container {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    flex-wrap: wrap;
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

#progress-bar {
    width: 150px;
    background-color: #ffffffb2;
    border-radius: 10px;
}

#progress {
    width: 0%;
    height: 10px;
    border-radius: 10px;
    background-color: rgba(4, 110, 131, 1);
}

.logout-popup {
    height: 50vh;
    width: 50%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fffefe7c;
    border-radius: 40px;
}

.logout-buttons * {
    border-radius: 50px;
    font-family: "Supr";
    font-size: 25px;
    border: 3px solid rgb(9, 9, 121);
    transition: box-shadow 1s;
}

#confirm:hover {
    box-shadow: 0 0 20px rgb(9, 9, 121);
    transition: box-shadow 1s;
}

#confirm::after {
    box-shadow: 0 0 0px rgb(9, 9, 121);
    transition: box-shadow 1s;
}

#cancel:hover {
    box-shadow: 0 0 20px rgb(9, 9, 121);
    transition: box-shadow 1s;
}

#logout-buttons {
    min-height: 50vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.logout {
    display: flex;
    justify-content: right;
    margin-right: 10px;
    margin-top: 10px;
}

#logoutbtn {
    border: 2px solid rgb(5, 5, 63);
    border-radius: 5px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color, box-shadow, color 2s;
}

#logoutbtn:hover {
    background-color: rgb(5, 5, 63);
    box-shadow: 0 0 20px rgb(5, 5, 63);
    color: white;
    transition: color, box-shadow, background-color 2s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}