/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
@font-face {
    font-family: 'Consolas';
    font-style: normal;
    font-weight: normal;
    src: local('Consolas'), url('/assets/fonts/consolas.woff') format('woff');
}
/* Colors */
:root {
    --body-bg: url('/assets/images/backgrounds/forest.jpg') no-repeat center center fixed;
    --background: #02040e;
    --background-lighter: rgba(15, 15, 15, 0.6);
    --base: #02030ed2;
    --base-border: #537FF8;
    --text: #fff;
    --accent:#537FF8;
    --accent-hover: #89b4fa;
    --titlebar: rgb(6, 13, 32);
    --hr: radial-gradient(circle at left,var(--accent),var(--accent),transparent);
}
/* Main HTML Stuff */
html {
    min-height: calc(100vh - 3rem);
}
body {
    background-color: var(--background);
    background: var(--body-bg);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    font-family: "Poppins";
    min-height: calc(100vh - 4rem);
}
.overlay {
    z-index: 1010;
    width: 100vw;
    height: 100vh;
    user-select: none;
    pointer-events: none;
    background-image: url(/assets/images/backgrounds/scanlines.png);
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.3;
    display: block;
}
.container {
    max-width: 1420px;
    margin: auto auto;
    color: var(--text);
}
.window {
    margin-top: 40px;
    margin-bottom: 2px;
    border: 2px solid var(--base-border);
    padding: 0px;
    z-index: 1000;
    position: sticky;
    background: var(--base);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    backdrop-filter: blur(1px);
}
footer {
    z-index: 1010;
    position: sticky;
    margin-left: 1px;
}
header.titlebar {
    background: var(--titlebar);
    height: 25px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}
.title-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--text);
    pointer-events: none;
}
.window-controls {
    position: absolute;
    right: 5px;
    display: flex;
    gap: 5px;
}
.window-controls span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: var(--accent);
    border-radius: 3px;
    transition: 0.1s ease-in-out;
}
.window-controls span:hover {
    color: var(--accent-hover);
}
.window-controls span:active {
    scale: .9;
}
.navbar {
  margin: 0;
  padding: 0px 8px;
  display: flex;
  gap: 10px;
  background: var(--titlebar);
}
.navbar a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 2px;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease-in-out;
}
.navbar a:hover {
  color: var(--accent-hover);
  background-color: rgba(214, 214, 214, 0.048);
  border-bottom: 2px solid var(--accent);
}
.navbar a:active{
    scale: .9;
}
.navbar .title {
    padding-left: 0;
    margin-left: 6px;
}
.prompt {
    font-family: 'Consolas';
    font-style: normal;
    font-size: 1rem;
}
.blinking {
  font-family: 'Consolas';
  font-weight: bold;
  color: var(--text);
  animation: blink 0.8s step-start infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
article.content {
    padding: 5px;
}
article .two-col-container .right-col a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s ease-in-out;
}
article .two-col-container .right-col a:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}
hr {
    height: 2px;
    border-width: 0;
    background: var(--hr);
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    border-radius: 10px;
    margin-top: -2px;
}
article ul {
    list-style-type: square;
    margin-top: 0; 
    margin-left: -23px;
}
.two-col-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.home-left-col {
    margin-inline-end: 12px;
    padding: 10px 0 0 10px;
    width: calc(23% - 6px);
}
.home-left-col .home-header {
    margin-top: 0;
    margin-bottom: 0;
}
.right-col {
    flex: 1;
    padding: 10px 0 0 0;
    width: calc(60% - 6px);
    line-height: 1.58;
}
.pfp {
    width: 98.6%;
    border: 2px solid var(--base-border);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.eightybuttons img {
    border: 2px solid transparent;
    transition: 0.2s ease-in-out;
}
.eightybuttons img:hover {
    border-color: var(--accent);
}
.eightybuttons img:active {
    scale: .8;
}
/* Last.fm Stuff */
#lastfmcontainer {
    display: inline-block;
}
.lastfmblock {
    width:100px; 
    float: left;
}
.lastfmstatus {
    width:180px; 
    float:left; 
    padding-left:10px;
}
#trackart img {
    border: 2px solid var(--base-border);
    transition: 0.3s;
}
#trackart img:hover {
    transform: translateY(-6px);
    cursor: pointer;
}
#trackart img:active {
    scale: .8;
}
#tracktitle {
    font-size:0.95em; 
    line-height:1em; 
    margin-bottom:5px;
}
#trackartist {
    font-size:0.8em; 
    line-height:1em; 
    margin-bottom:5px; 
    padding-top:5px;
}
#playstatus {
    text-align: left;
    font-size:0.8em;
}
.livebutton {
    display: block; 
    background: linear-gradient(to bottom, var(--accent-hover), var(--accent));
    color: #000000; 
    width: max-content; 
    font-weight: bold; 
    font-size: 12px; 
    padding: 5px; 
    margin-top: 6px; 
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}
.lastfmlink a {
    color: var(--accent);
    text-decoration: none;
    font-size:0.95em; 
    line-height:1em;
    transition: 0.2s ease-in-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 4px;
    margin-top: 6px;
}
.lastfmlink a:hover {
    color: var(--accent-hover);
}
/* AbuseIDPB */
.abuseipdb {
    background: linear-gradient(180deg, rgb(5, 24, 39) 0%, var(--accent) 63%, #385e8a 100%);
    margin-right: 8px;
    transition: 0.2s ease-in-out;
    max-width: 216px; 
    border-radius: 4px;
    padding: 2px;
    border: 2px solid var(--base-border);
    margin-bottom: 8px;
}
.abuseipdb:hover {
    opacity: 0.7;
    cursor: pointer;
}
.abuseipdb:active {
    scale: .9;
}
/* Social icon css from https://aubymori.github.io */
.social {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 4px;
}
.social-icon {
    display: block;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
    margin-inline-end: 4px;
    border-radius: 3px;
}
.social-icon.discord {
    background-image: url("/assets/images/social/discord.png");
}
.social-icon.fedi {
    background-image: url("/assets/images/social/fedi.png");
}
.social-icon.email {
    background-image: url("/assets/images/social/email.webp");
}
.social-icon.steam {
    background-image: url("/assets/images/social/steam.png");
}
.social-icon.youtube {
    background-image: url("/assets/images/social/youtube.webp");
}
.social-icon.lastfm {
    background-image: url("/assets/images/social/lastfm.webp");
}
.social-icon.bluesky {
    background-image: url("/assets/images/social/bluesky.webp");
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}
.right-col h1 {
    margin-top: -10px;
    margin-bottom: -10px;
    font-size: 30px;
}
.stuffs {
    width: 100%;
    max-width: calc(100vw - 50px);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: start;
    justify-content: start;
    margin-left: 5px;
    
}
.stuff {
    width: 300px;
    background-color: var(--background);
    border: 2px solid var(--accent);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: var(--accent);
    margin-right: 15px;
}
.stuff:hover {
    border-color: var(--accent-hover);
    transform: translateY(-6px);
    cursor: pointer;
}
.stuff:active {
    scale: .9;
}
.stuff p:hover {
    text-decoration: none !important;
}
.stuff img {
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: -5px;
}
.stuff p {
    display: flex;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 8px;
    font-size: 23px;
}
@media (max-width: 963px) {
    .two-col-container {
        flex-direction: column;
    }
    .home-left-col {
        width: 100%;
    }
    .right-col {
        width: 100%;
    }
    .window {
        margin-left: 6px;
        margin-right: 6px;
    }
    .pfp {
        width: 50%;
    }
}
@media (max-width: 367px) {
    .pfp {
        width: 50%;
    }
    .navbar {
        gap: 0px;
        padding: 0;
    }
    .navbar .title {
        margin-left: 0;
    }
}
@media (max-width: 306px) {
    .navbar {
        overflow-x: scroll;
    }
}
@media (max-width: 686px) {
    .stuff {
        margin-top: 10px;
    }
}