
@keyframes rainbow{
    0% {
        background: #ff5a39;
    }
    14% {
        background: #ae0c88;
    }
    29% {
        background: #0362c8;
    }
    43% {
        background: #0362c8;
    }
    58% {
        background: #4089d7;
    }
    72% {
        background: #36d12b;
    }
    87% {
        background: #f5f531;
    }
    100% {
        background: #ffac2f;
    }
}

body {
    padding: 0;
    margin: 0;
    background-color: #c83a03;
    text-align: center;
    animation: rainbow 30s linear 0s infinite normal none;
    overflow: hidden;
    padding-bottom: 120px;  
    display: flex;
    justify-content: center;
    flex-direction: column;
}
h1 {
    user-select: none;
    pointer-events: none;
    /*font-family: 'Nerko One', cursive;*/
    font-family: 'Rubik Maze', cursive;
    font-weight: 400;
    color: white;
    font-size: 10vh;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    margin-top: 1em;
}
.active {
    opacity: 1 !important;
}
.movable{
    cursor:move;
}
.file {
    position: absolute;
    z-index: 2;
    color: white;
    font-size: 2em;
    text-decoration: none;
    transition: transform .1s ease-in-out;
    width:10%;
}
.file:hover{
    transform: scale(1.3);
    z-index:100;
}
.file img {
    width: 100%;
    height:auto;
}
#drop-area {
    border: 4px dashed rgb(0, 0, 0);
    border-radius: 5rem;
    position: absolute;
    margin: 2em;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;  z-index: 1;
}
.drag-over {
    border: 4px dashed rgb(255, 255, 255);
    filter: brightness(2.0);
}
#send {
    width: 150px;
    text-align: center;
    font-size: 1.2em;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    border: solid 2px white;
    border-radius: 7px;
    transition: transform .1s linear;
    text-transform: uppercase;
    height: auto;
    line-height: 32px;
    letter-spacing: 0.1em;
    filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    z-index: 420;
  }
  #send:hover {
        transform: scale(1.2);
        filter: invert(1);
    }
  .sendable {
    background-color: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
    font-weight: bold !important;
    padding: 0.7em !important;
  }
  #loading-bar {
    position: absolute;
    animation: rainbow 30s linear 0s infinite normal none;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: blue;
    width: 0%;
    z-index: -1;
    opacity: 0;
    transition: opacity 2s linear;
  }
  .uploading {
    opacity: 1 !important;
  }
/*
#codetainer{
    cursor: pointer;
    position: absolute;
    top: 25%;
    left:50%;
    width: fit-content;
    transform: translateX(-50%);
    z-index:69;
}
#guide{
    font-size: 1.2em;
    line-height: 1.6em;
    opacity: 0;
    transition: all 1s ease-in-out;
    margin-top: 50px;
}
#qrcode{
    padding:15px;
    background-color: white;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    cursor: none;
    border-radius: 15px;
}
#code {
    width: 150px;
    margin-top: 20px;
    text-align: center;
    border: solid 2px white;
    border-radius: 7px;
    padding-left: 12px;
    padding-right: 12px;
    transition: transform .1s linear;
    text-transform: uppercase;
    background-color: #fff0;
    color: white;
    font-size: 1.9em;
    letter-spacing: 0.1em;
    font-weight: 200;
    filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));
}*/
#scan {
    position: absolute;
    left: -70px;
    transform: rotate(-45deg);
    top: -70px;
}
#move {
    position: absolute;
    right: -70px;
    transform: rotate(45deg);
    top: -70px;
}
#send {
    display: none;
}
#filebucket {
    padding-bottom: 0em;
}
#qrcode {
    margin-left:40%;
}
#codetxt {
    user-select: none;
    pointer-events: none;
}
.background {
    background-color: rgba(0, 0, 0, 0.563);
    padding:15px;
    border-radius: 15px;
    min-width: fit-content;
}
#kofi {
    position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
}
#kofi:hover {
    transform:scale(1.1);
}
#connections {
    font-family: 'Silkscreen';
    font-weight: bold;
}
@media screen and (max-width : 800px) {
    #qrcode {
        margin-left:0%;
    }
    #desktop-qrcode {
        display: none;
    }
}
@media screen and (max-width : 700px) {
    body {
        overflow-y: scroll;
        padding-bottom: 15px;
    }
    #desktop-qrcode {
        display: none;
    }
    .bottom{
        position: relative;
        bottom:0px;
    }
    #guide{
        display: none;
    }
    #kofi {
        width: fit-content;
      position: fixed;
      right: -55px;
      transform: rotate(-90deg) scale(1.0);
      top: 50%;
      bottom: auto;
    }
    #kofi:hover {
        transform:rotate(-90deg) scale(1.1);
    }
    /*
    #codetainer {
        cursor: pointer;
        position: relative;
        top: auto;
        left: 50%;
        margin-bottom: 50px;
    }*/

    #move {
        display: none;
    }
    #scan {
        display: none;
    }
    .file{
        position: inherit;
        width: 50%;
        display: block;
        max-height: 500px;
        font-size: 1.2em;
        margin-left: auto;
        margin-right: auto;
        margin-bottom:15px;
        line-break: anywhere;
        transform: rotate(0deg) !important;
    }
    #filebucket {
        padding-bottom: 8rem;
        display: block;
        z-index: 100;
    }
    #drop-area {
        border: 4px dashed rgba(0, 0, 0, 0);
    }
}