/* Constants */
:root {
    --minimise-menu: 500px;
    --main-bg-color: #1596A7;

    --generic-background: #6e6e6e65;
    --generic-white-border: gainsboro;
}

/* Paste bin creator */
#create-paste {
    display: flex;
    flex-direction: column;
    align-items: start !important;
    width: calc(95%);

    padding-bottom: 2em;
}
#paste-edit {
    min-width: calc(100% - 2em);
    max-width: calc(100% - 2em);
    height: 10em;
}

#paste-container {
    background-color: var(--generic-background);
    min-height: 20em;
    border-radius: 1em;

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}
#paste-container div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.paste-item-centered {
    justify-content: center;
    width: 100%;
    height: 15em;
}

#paste-viewer {
    display: block;
    background-color: var(--generic-background);
    padding: 10px;
    border-radius: 15px;
}

#paste-viewer a {
    display: block;
    box-sizing: border-box;
    color: inherit;
    background-color: var(--generic-background);
    padding: 10px;
    border-radius: 15px;
    margin-top: 15px;
    margin-bottom: 15px;

    transition: .25s all;
}

#paste-viewer a:hover,
#paste-viewer a:active {
    box-shadow: 0px 0px 10px aqua;
}

/* File bin creator */
#create-filebin {
    display: flex;
    flex-direction: column;
    align-items: start !important;
    width: calc(95%);

    padding-bottom: 2em;
}
#filebin-edit {
    min-width: calc(100% - 2em);
    max-width: calc(100% - 2em);
    height: 10em;
}

#filebin-container {
    background-color: var(--generic-background);
    min-height: 20em;
    border-radius: 1em;

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}
#filebin-container div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.filebin-item-centered {
    justify-content: center;
    width: 100%;
    height: 15em;
}

#filebin-viewer {
    display: block;
    background-color: var(--generic-background);
    padding: 10px;
    border-radius: 15px;
}

#filebin-viewer a {
    display: block;
    box-sizing: border-box;
    color: inherit;
    background-color: var(--generic-background);
    padding: 10px;
    border-radius: 15px;
    margin-top: 15px;
    margin-bottom: 15px;

    transition: .25s all;
}

#filebin-viewer a:hover,
#filebin-viewer a:active {
    box-shadow: 0px 0px 10px aqua;
}

#filebin-upload-box-container {
    background-color: rgb(54, 54, 54);
    padding: 10px;
    border-radius: 10px;

    width: 400px;
    height: 125px;

    max-width: calc(100% - 20px);
}

#filebin-upload-box {
    width: 100%;
    height: 100%;

    color: white;

    border-radius: inherit;
    display: block;
    background-color: rgb(92, 92, 92);
}

#filebin-upload-box[uploading] {
    background-color: rgb(67, 118, 129);
}

#filebin-upload-box i {
    position: relative;
    margin-bottom: -1em;
    left: 10px;
    top: 25%;
    z-index: 0;

    color: inherit;
    font-size: 2em;
}

#filebin-upload-box input {
    cursor: pointer;
    width: 100%;
    padding-top: 75px;
    height: 100%;

    z-index: 1;

    color: inherit;
    border-radius: inherit;
    background-color: rgba(92, 92, 92, 0);

    text-align: center;
}
#filebin-upload-box input::file-selector-button {
    display: none;
}

#filebin-information {
    display: inline-block;
    text-align: start;
    position: relative;
    box-sizing: border-box;
    padding: 1em;
}

#filebin-information ul {
    padding: 0px;
    list-style: none;
}

#filebin-information span {
    font-size: 1.5em;
    width: 100%;

    display: flex;
    align-items: center;
    gap: 10px;
}
#filebin-information i {
    font-size: 1.5em;
}

/* URL Shortner */
#targeturl-box {
    display: flex;
}
#targeturl-box input {
    flex-grow: 1;
}
#targeturl-box button {
    margin-left: 10px;
    max-width: 15em;
}

#url-info {
    display: flex;
    flex-direction: column;
    align-items: start !important;
    width: calc(95%);
}
#url-result-box {
    display: block;
    background-color: rgb(0, 123, 180);
    color: white;
    border-radius: 20px;
    padding: 10px;
    width: calc(100% - 20px);

    display: flex;
    gap: 10px;
    flex-direction: row !important;
    cursor: pointer;

    transition: .2s all ease-in-out;
}
#url-result-box:hover {
    background-color: rgb(0, 145, 212);
}
#url-result-box:active {
    background-color: rgb(0, 55, 80);
}
#url-result-box span {
    flex-grow: 1;
    text-align: start;
}

#shorturl-container {
    background-color: var(--generic-background);
    min-height: 15em;
    border-radius: 1em;

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}
#shorturl-container div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.status-url-centered {
    justify-content: center;
    width: 100%;
    height: 15em;
}

/* YouTube downloader */
#loadvideo-box {
    display: flex;
}
#loadvideo-box input {
    flex-grow: 1;
}
#loadvideo-box button {
    margin-left: 10px;
    max-width: 15em;
}