@font-face {
    font-family: 'VT323';
    src: url('/media/font/VT323-Regular.ttf');
}

:root{
    color: #c3c3c3 !important;
    font-family: "VT323", sans-serif;
}

.bg{
    background-color: #000000;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}

.container{
    width:900px;
    margin:0 auto
}

.fab{
    font-size: 32px;
}

.block{
    background-color:rgba(73, 73, 73, 0.157);
    display: flow-root;
    border: 2px solid #323232;
    border-radius: 5px;
    padding: 10px;
    padding-top: 5px;
    margin-top: 10px;
    
}

#personal{
    line-height: 5px;
}
p.stuff{
    line-height: 5px;
}

.block p{
    line-height: 15px;
}


.maintd{
    width:675px;
    vertical-align:baseline;
    display: block;
}

.sidetd{
    width:200px;
    vertical-align:top;
}

.line{
    position: absolute;
    display:block;
    height: var(--route-thickness, 1px);
    opacity: var(--route-opacity, 0.45);
    background: linear-gradient(90deg, transparent, rgba(210, 210, 210, 0.9), transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.line-main{
    background: linear-gradient(90deg, transparent, rgba(255, 244, 169, 0.95), transparent);
    box-shadow: 0 0 12px rgba(255, 235, 140, 0.35);
}

.line-secondary{
    background: linear-gradient(90deg, transparent, rgba(160, 200, 255, 0.6), transparent);
}

.route-busy{
    animation: routePulse 3.6s ease-in-out infinite;
}

.route-hot{
    box-shadow: 0 0 16px rgba(255, 120, 120, 0.5);
}

/* Intro */
.block .intro{
    line-height: 20px !important;
}

/* Star Citizen */
.starcitizen p {
    line-height: 15px;
}

/* Links */
.hidden-link{
    color: #fff;
}

.hidden-link a:link{
    color: #fff !important;
    text-decoration: none;
}

.hidden-link a:visited{
    color: #fff !important;
    text-decoration: none;
}

.hidden-link a:hover{
    color: #b9b9b9 !important;
    text-decoration: underline;
}

/* Status */

.status-online{
    color: lime;
    text-shadow: 0 0 20px rgb(35, 80, 35);
}

.status-offline{
    color: #802d2d;
    text-shadow: 0 0 20px #412323;
}

.status-problem{
    color: #a0a000;
    text-shadow: 0 0 10px #bfbf00;
}


.status-data{
    width: 250px;
    overflow: hidden;
}

/* Me */

.me{
    font-size: 1.2em;
}

.me-image{
    border: 2px solid #323232;
}

.me-online{
    color: rgb(92, 255, 92);
    text-shadow: 0 0 20px rgb(14, 75, 14);
}

.me-away{
    color: #a0a000;
    text-shadow: 0 0 20px #bfbf00;
}

.me-offline{
    color: #720303;
    text-shadow: 0 0 20px #500808;
}

.me-links{
    font-size: 1.2em;
    margin-top: 10px;
}

/* Blog */
.blog-viewcount{
    color: lime;
    text-shadow: 0 0 20px rgb(35, 80, 35);
}

.blog-content, .blog-content p{
    font-size: 1.15em;
    margin-top: 10px;
    line-height: 15px;
}

.blog-image{
    font-size: 0.6em !important;
    line-height: 5px !important;
    margin-bottom: 20px;
    margin-top: 0.7em;
}

.blog-stroked{
    text-decoration: line-through;
}

.blog-fat{
    font-weight: bold;

}

.blog-code{
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6em !important;
    margin-top: 10px !important;
    line-height: 15px !important;
}

.blog-signature{
    font-size: 1em;
    margin-top: 10px;
    font-style: italic;
}

.blog-author{
    font-size: 1em;
    margin-top: 10px;
    font-style: italic; 
}

/* block-left on the left */
.blog-left{
    float: left;
    margin-right: 10px;
    font-size: 1.25em;
}

/* block-middle text in the middle */
.blog-name{
    display: inline-block;
    text-align: center;
    margin-left: 30%;
    font-size: 1.25em;
}

.blog-forward{
    display: inline-block;
    text-align: right;
    float: right;
    font-size: 1.25em;
}

.hljs{
    background-color: #00000000 !important;
    color: #ececec !important;

    overflow-x: unset;
    overflow-y: hidden;
}

/* Mobile */

@media only screen and (min-width: 601px) and (max-width: 1000px) {
    td{
        display: block;
        width:500px;
    }
    .maintd, .sidetd{
        width:60%;
    }
    .block p{
        line-height: 20px;
    }

    .statuses{
        line-height: 15px;
    }
    
    .stuff{
        visibility: hidden;
        height: 0px;
        overflow:hidden;
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    td{
        display: block;
        width:500px;
    }
    .maintd, .sidetd{
        width:40%;
    }
    .block p{
        line-height: 15px;
    }

    .statuses{
        line-height: 15px;
    }
    
    .stuff{
        visibility: hidden;
        height: 0px;
        overflow:hidden;
        display: none;
    }

    .me-links{
        font-size: 1em;
    }

    .container{
        font-size: 0.8em;
        width: 21em;
        margin: 0 0 0 0;        
    }

    .find-me{
        font-size: 2em;
        margin: 1 0 0 0;
    }

    .card-content{
        font-size: 1.5em;
    
    }

    /* Next to the image */
    .me-avery{
        font-size: 1.5em;
        color: #fff;
        font: Arial, sans-serif;
        margin: 0 0 0 0;
        right: 0;


    }

    .block{
        left: 5;
    }

    .starfield, .blende{
        margin: 0 0 0 0;
        max-width: 100%;
        max-height: 100%;
        overflow: hidden;
    }


}

/* New years eve */
.firework{
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Scroll with window */
    background-attachment: fixed;    
}

/* Starfield */
.blende{
    position: absolute;
    z-index: -4;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.8);

}

.starfield{
    position: absolute;
    z-index: -5;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;    

    overflow: hidden;
}

.starfield-sim .star{
    animation: starTwinkle 5.5s ease-in-out infinite;
}

.starfield-sim .star-bright{
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.7);
}

.starfield-sim .planet{
    transition: box-shadow 180ms linear, transform 180ms linear, filter 180ms linear;
}

.planet-hot{
    box-shadow: 0 0 18px rgba(255, 220, 140, 0.45);
    transform: scale(1.04);
}

.planet-danger{
    box-shadow: 0 0 20px rgba(255, 84, 84, 0.6);
    filter: saturate(1.2);
}

.planet-shipyard::after{
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px dashed rgba(220, 220, 220, 0.45);
    border-radius: 50%;
}

.starship{
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 320ms ease, box-shadow 180ms linear, transform 180ms linear;
    pointer-events: none;
}

.ship-visible{
    opacity: 1;
}

.ship-despawning{
    opacity: 0;
}

.ship-transporter{
    background-color: #4aa8ff;
    box-shadow: 0 0 12px rgba(74, 168, 255, 0.55);
}

.ship-military{
    background-color: #88ff6a;
    box-shadow: 0 0 12px rgba(136, 255, 106, 0.55);
}

.ship-pirate{
    background-color: #ff7f2a;
    box-shadow: 0 0 12px rgba(255, 127, 42, 0.6);
}

.ship-engaged{
    transform: translate(-50%, -50%) scale(1.15);
}

.ship-orbiting{
    opacity: 0.92;
}

.ship-label{
    white-space: nowrap;
    opacity: 0.85;
}

.starfield-event{
    position: absolute;
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: eventFlash 650ms ease-out forwards;
}

.event-combat{
    background: rgba(255, 120, 120, 0.95);
    box-shadow: 0 0 20px rgba(255, 90, 90, 0.85);
}

.event-hijack{
    background: rgba(255, 210, 90, 0.95);
    box-shadow: 0 0 20px rgba(255, 210, 90, 0.85);
}

@keyframes routePulse {
    0%, 100% {
        opacity: var(--route-opacity, 0.45);
    }
    50% {
        opacity: 1;
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.45;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

@keyframes eventFlash {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.7);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3.2);
    }
}
/* Card */

.find-me{
    font-size: 2.5em;
    margin: 1 0 0 0;

}

.card-content{
    font-size: 2em;

}


/* me-avery, in front of everything, 128x128 Image sticked to the bottom left */
@media screen and (min-width: 1051px){
    .me-avery{
        position: fixed;
        bottom: 0;
        left: 20;
        width: 128px;
        height: 128px;
        z-index: 100;
        margin: 0 0 0 0;
        right: 0;
    }
     
}

@media only screen and (max-width: 1050px) {
    .me-avery{
        position: fixed;
        bottom: 0;
        left: 20;
        width: 128px;
        height: 128px;
        z-index: 100;
        margin: 0 0 0 0;
        right: 0;
        visibility: hidden;
    }
}


/* Image viewer */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.image-viewer.active {
    display: flex;
}

.image-viewer-image {
    max-width: 90%;
    max-height: 80%;
    border: 2px solid #323232;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.image-viewer-alt {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #c3c3c3;
    font-size: 1.2em;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}   

.image-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5em;
    color: #c3c3c3;
    cursor: pointer;
    background-color: rgba(50, 50, 50, 0.8);
    padding: 5px 10px;
    border-radius: 50%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}


.image-viewer-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

