/* Fonts */
@font-face {
    font-family: 'Courgette';
    src: url('../fonts/courgette-regular-webfont.woff2') format('woff2'),
         url('../fonts/courgette-regular-webfont.woff') format('woff'),
         url('../fonts/courgette-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-regular-webfont.woff2') format('woff2'),
         url('../fonts/opensans-regular-webfont.woff') format('woff'),
         url('../fonts/opensans-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Global */
html {
    height: 100%;
    background: #140a1c;
    color: #d8baff;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100%;

    font-family: monospace, 'Open Sans', Helvetica, Arial, serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #d8baff;
    background: #140a1c url(../img/background.jpg) no-repeat fixed center center;
    background-size: cover;
}

/* View */
#view {
    height: calc(100% - 40px);
    min-height: calc(100% - 40px);
    background: transparent;
    overflow: auto;
}

/* responsive margins */
@media all and (max-width: 768px) {
    #view { margin: 0 5px; }
}
@media all and (min-width: 768px) and (max-width: 970px) {
    #view { margin: 0 15px; }
}
@media all and (min-width: 970px) and (max-width: 1170px) {
    #view { margin: 0 15px; }
}
@media all and (min-width: 1170px) {
    #view { margin: 0 35px; }
}

/* Header */
header {
    width: 100%;
    padding: 20px 0;
    font-family: 'Courgette', monospace, sans-serif;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 72px;
    font-weight: normal;
    line-height: 1;
    color: #c58cff;
    letter-spacing: -1px;
}

header a:hover, 
header a:visited, 
header a:link, 
header a:active {
    color: #e0b3ff;
    text-decoration: none;
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    height: 40px;
    color: #9c5cff;
    font-family: monospace, 'Open Sans', Helvetica, Arial, serif;
    text-align: center;
}

/* Tiles */
.tile {
    background-color: rgba(28, 15, 38, 0.8);
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.7);
    margin-bottom: 5px;
    border: 1px dashed #c58cff;
    color: #e3ccff;
}

.tile > .panel-heading {
    background-color: #1f0d29;
    color: #c58cff;
}

/* Menu */
.menu {
    padding: 10px;
    font-size: 12px;
    line-height: 1.3;
    color: #d8baff;
}

/* Comments */
.comments {
    display: inline-block;
    word-wrap: break-word;
    padding: 5px;
    color: #e3ccff;
}

/* Drag and Drop */
#drop-zone {
    padding: 15px 0;
    text-align: center;
    font-size: 20px;
    transition: 0.5s;
    border: 1px dashed #c58cff;
    border-radius: 4px;
    color: #b57aff;
}

.drop-text { padding-bottom: 10px; }

.btn-file {
    width: 200px;
    background: transparent;
    border: 1px solid #c58cff;
    border-radius: 3px;
    color: #e3ccff;
    font-family: monospace;
    cursor: pointer;
}

.btn-file:hover {
    background: #9c5cff;
    color: #f2eaff;
}

.drag-over { opacity: 0.5; }

/* File list */
.row-padding { padding: 0 15px; }

.file {
    display: flex;
    align-items: center;
    min-height: 30px;
    padding: 5px;
    border-bottom: 1px dashed #9c5cff;
}

.file-name { word-break: break-all; }
.file-name-invalid { color: #ff4d6d; }
.file-status {
    color: #ff2132;
    font-size: 18px;
}

/* Link summary */
.link-summary {
    padding: 15px;
    word-break: break-all;
    color: #d8baff;
}

/* QRCode */
.qrcode-header {
    text-align: center;
    word-break: break-all;
    color: #c58cff;
}

/* Clients */
.client-max-width { max-width: 550px; }

/* Tokens */
.token-speach {
    font-size: 12px;
    font-family: monospace, sans-serif;
    color: #b57aff;
}

/* Pulse animations */
.pulse1 {
    position: fixed;
    width: 100px;
    height: 100px;
    top: 0; left: 0; bottom: 0; right: 0;
    z-index: 1;
    opacity: 0;
    border: 3px solid rgba(197, 140, 255, .2);

    animation: pulsejg1 1s linear 1;
    border-radius: 999px;
    box-shadow: inset 0 0 15px 10px rgba(156, 92, 255, .4);
    box-sizing: border-box;
}

.pulse2 {
    position: fixed;
    width: 100px;
    height: 100px;
    top: 0; left: 0; bottom: 0; right: 0;
    z-index: 2;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0);

    animation: pulsejg2 1s linear 1;
    border-radius: 999px;
    box-shadow: inset 0 0 12px 5px rgba(197, 140, 255, .8);
    box-sizing: border-box;
}

@keyframes pulsejg1 {
    0% { transform: scale(.5); opacity: 0; }
    50% { transform: scale(1); opacity: .25; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes pulsejg2 {
    0% { transform: scale(.4); opacity: 0; }
    60% { transform: scale(1.2); opacity: .3; }
    100% { transform: scale(1.3); opacity: 0; }
}

