@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slidein {
    from {left: -100px;}
    to {left: 20px;}
}

@keyframes fromright {
    from {
        opacity: 0;
        right: -30px;
    }
    to {
        opacity: 1;
        right: 0px;
    }
}

@keyframes frombottom {
    from {
        opacity: 0;
        top: 100px;
    }
    to {
        opacity: 1;
        top: 0px;
    }
}

@media only screen and (min-width: 801px) {
    #banner h1 {
        font-size: 30px;
    }

    #banner .content div {
        display: inline-block;
        width: 50%;
    }

    #banner .right {
        border-left: 2px solid #FFF;
        padding: 10px 0 10px 30px;
        position: relative;
        top: 100px;
        opacity: 0;
        animation: frombottom 0.5s ease-out forwards;
    }

    #banner .left {
        padding: 10px 30px 10px 0;
        position: relative;
        right: -30px;
        opacity: 0;
        animation: fromright 0.5s ease-out 0.2s forwards;
    }
}

@media only screen and (max-width: 800px) and (min-width: 644px) {
    #banner .content div {
        width: 100%;
        text-align: center;
        padding: 0;
    }
}

@media only screen and (max-width: 643px) {
    #banner .content, footer .inner {
        width: 85%;
    }

    #main {
        width: 95%;
    }

    #banner {
        height: 60vh;
    }

    footer img {
        display: block;
        margin: 0 auto;
    }

    footer .inner > div {
        width: 100%;
        text-align: center;
    }

    input {
        width: 100%;
    }

    .toolbutton {
        width: calc(100% / 3 - 1.333px);
    }

    .output {
        margin: 2px 0;
    }

    #banner .right {
        display: none;
    }

    #banner .left {
        text-align: left;
    }
}

@media only screen and (min-width: 644px) {
    #banner main, footer .inner {
        width: 60%;
    }

    #banner, #main, footer {
        opacity: 0;
    }

    footer img {
        display: inline-block;
        vertical-align: top;
        margin-right: 25px;
    }

    footer .inner > div {
        display: inline-block;
        width: calc(100% - 100px);
    }

    #banner {
        height: 75vh;
    }

    #banner .left {
        text-align: right;
    }
}


@media only screen and (min-width: 1450px) {
    #main {
        width: 50%;
    }

    #banner .content {
        width: 55%;
    }
}

@media only screen and (max-width: 1449px) and (min-width: 1000px) {
    #main {
        width: 60%;
    }

    #banner .content {
        width: 80%;
    }
}

@media only screen and (max-width: 999px) and (min-width: 800px) {
    #main {
        width: 75%;
    }

    #banner .content {
        width: 90%;
    }
}

@media only screen and (max-width: 799px) and (min-width: 644px) {
    #main {
        width: 80%;
    }

    #banner .content {
        width: 85%;
    }
}

@media only screen and (max-width: 800px) {
    #logo {
        width: 100%;
        height: 70px;
        background-color: #1A1A1A;
        text-align: center;
    }

    #logo img {
        width: 70px;
        height: 70px;
    }

    #banner {
        margin-top: 70px;
    }
}

@media only screen and (min-width: 801px) {
    #logo {
        left: -100px;
        animation: slidein 0.5s ease-out 0.2s forwards;
    }

    #logo img {
        height: 100px;
    }    
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    margin: 0;
    background: #1A2980;
    background: linear-gradient(to left, #26ccce, #1d32a7);
}

.message {
    color: #DE0101;
    margin: 7px 0;
    font-size: 13px;
}

form input.bgreen {
    border: 1px solid #04b904;
}

form input.bred {
    border: 1px solid #DE0101;
}

#logo {
    position: fixed;
    top: 0;
    z-index: 10;
    transition: 0.25s;
}

#banner {
    width: 100%;
    color: #FFFFFF;
    animation: fadein 0.5s linear forwards;
}

#banner .content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#banner h1 {
    margin: 0;
    color: #E5E5E5;
    font-weight: 600;
}

#banner .left {
    font-family: 'Lexend', sans-serif;
}

#banner .left p {
    margin-top: 40px;
}

#banner .left p span {
    color: #5eff1b;
}

#banner .content div {
    vertical-align: middle;
}

input[type=text], textarea {
    border-radius: 5px;
    padding: 15px;
    border: 1px solid transparent;
}

footer {
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    padding: 30px 0;
    background-color: #1A1A1A;
    animation: fadein 0.5s linear forwards;
    margin-top: 100px;
}

footer .inner {
    color: #E5E5E5;
    margin: 0 auto;
    font-weight: 100;
    font-size: 13px;
}

#main {
    margin: 0 auto 40px auto;
    animation: fadein 0.5s linear forwards;
}

#main > form {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #1A1A1A;
    border-radius: 10px;
}

#url {
    width: 100%;
}

input, textarea, button {
    background-color: #2A2A2A;
    color: #E5E5E5;
    border: none;
}

input[type=text]:focus, textarea:focus {
    outline: 1px solid #4A4A4A;
}

textarea {
    width: 100%;
    height: 250px;
}

input[type=submit] {
    padding: 15px;
    color: #E5E5E5;
    cursor: pointer;
    outline: none;
    border-radius: 5px;
    transition: 0.1s;
}

input[type=submit]:hover {
    background-color: #3A3A3A;
    color: #cacaca;
}

input[type=file] {     
    opacity: 0;
    z-index: -1;
    width: 1px;
    margin-top: 10px;
}

label[for=file] {
    cursor: pointer;
    padding: 4px 13px;
    background-color: #2A2A2A;
    border: 2px solid #3A3A3A;
    border-radius: 5px;
    transition: 0.2s;
    margin-right: 8px;
    color: #E5E5E5;
}

#viewname {
    color: #E5E5E5;
}

label[for=file]:hover {
    background-color: #3A3A3A;
}

#main p {
    width: 100%;
    word-break: break-all;
}

form h1 {
    font-size: 25px;
    color: #E5E5E5;
    font-weight: 800;
    padding-bottom: 20px;
    margin: 0;
}

.toolbutton {
    padding: 11.5px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.1s;
}

.copy {
    margin: 0 2px;
}

.toolbutton:focus {
    outline: none;
}

.toolbutton:not(.delay):hover {
    background-color: #3A3A3A;
}

.toolbutton img { 
    height: 23px; 
    vertical-align: middle;
}

form button {
    vertical-align: middle;
}

.g {
    background-color: #04b904;
}

.r {
    background-color: #DE0101;
}

.dlink {
    margin-bottom: 0;
    color: #aabffb;
    font-size: 13px;
}