@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
}

body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 100vh;
    background: #010615;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

.box {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px;
    background: #060c21;
    transition: 0.5s;
}

.box .content {
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 90px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: 0.5s;
}

.box .content h2 {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 1px;
}

.box .content h2 span {
    font-size: 20px;
    color: #fff;
    font-weight: 200;
    letter-spacing: 2px;
}

.box .imgBox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.box .imgBox img {
    max-width: 100%;
    opacity: 0.1;
    transition: 0.5s;
}

.box:before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #fff;
    z-index: -1;
}

.box:hover {
    height: 400px;
}

.box:hover .content {
    opacity: 1;
}

.box:hover .imgBox img {
    opacity: 1;
}

.box:nth-child(3n):before,
.box:nth-child(3n):after {
    background: linear-gradient(235deg, #89ff00, #010615, #00bcd4);
}

.box:nth-child(3n + 1):before,
.box:nth-child(3n + 1):after {
    background: linear-gradient(235deg, #ff005e, #010615, #fbff00);
}

.box:nth-child(3n + 2):before,
.box:nth-child(3n + 2):after {
    background: linear-gradient(235deg, #772aff, #010615, #2196f3);
}

.category_info {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    cursor: pointer;
}

.nav-area li {
    display: inline-block;
    padding: 0 15px;
    text-transform: uppercase;
}

.nav-area li a:hover {
    color: #75849d;
}

#navbar {
    width: 1200px;
}

#uploadForm {
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    margin-top: 30px;
    background-color: rgb(65 83 112 / 58%);
    max-width: 400px;
    outline: solid;
    outline-width: 0.2rem;
    outline-color: white;
}

.formItem {
    font-size: 0.8rem;
}

.flex-outer {
    list-style-type: none;
    padding: 0;
}

.flex-outer {
    max-width: 800px;
    margin: 0 auto;
}

.flex-outer li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.flex-outer > li:not(:last-child) {
    margin-bottom: 20px;
}

.flex-outer li label,
.flex-outer li p {
    padding: 8px;
    font-weight: 300;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.flex-outer li p {
    margin: 0;
}

.flex-outer li input:not([type="checkbox"]),
.flex-outer li textarea {
    border: none;
    font-size: 1rem;
}

.flex-outer li button {
    padding: 8px 16px;
    border: none;
    background: #75849d;
    color: #f2f2f2;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    border-radius: 2px;
}

#categorymenu {
    border-radius: 6px;
}

#categorymenu option {
    font-size: 0.8rem;
}

#myFile {
    font-size: 0.9rem;
    max-width: 150px;
}

#fileSelect {
    background-color: #333333;
    border-radius: 8px;
    font-size: 0.75rem;
    background-color: #75849d;
}

#uploadButton {
    border-radius: 8px;
}

#photoname {
    border-radius: 6px;
}

#loginAlert {
    width: 50%;
    outline: solid;
    outline-width: 0.2rem;
    outline-color: white;
    border-radius: 12px;
    align-items: center;
    margin: 0 auto;
}

#uploadBtnContainer {
    display: flex;
    gap: 5px;
    justify-content: center;
}

#loadingContainer {
    max-width: 11em;
    max-height: 11em;
    overflow: hidden;
}

.loader {
    font-size: 2px;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #ffffff;
    background: -moz-linear-gradient(
        left,
        #ffffff 10%,
        rgba(255, 255, 255, 0) 42%
    );
    background: -webkit-linear-gradient(
        left,
        #ffffff 10%,
        rgba(255, 255, 255, 0) 42%
    );
    background: -o-linear-gradient(
        left,
        #ffffff 10%,
        rgba(255, 255, 255, 0) 42%
    );
    background: -ms-linear-gradient(
        left,
        #ffffff 10%,
        rgba(255, 255, 255, 0) 42%
    );
    background: linear-gradient(
        to right,
        #ffffff 10%,
        rgba(255, 255, 255, 0) 42%
    );
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    margin: 0 auto;
    visibility: hidden;
}
.loader:before {
    width: 50%;
    height: 50%;
    background: #ffffff;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
}
.loader:after {
    background: #26334a;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 768px) {
    * {
        font-size: 0.95rem;
    }
    header img {
        width: 100px;
        height: 100px;
    }
    .btn-area {
        font-size: 0.95rem;
        padding: 5px 20px;
    }
}
