@font-face {
  font-family: "Bubbly Mess"; 
  src: url("font/BubblyMess.ttf") format("truetype");
}

body {
    background-image: url(./images/background.jpg);
    background-size: cover;
    overflow-y:hidden;
    /*background: #c1e8e8;*/
    /*background: linear-gradient(0deg,rgba(193, 232, 232, 1) 0%, rgba(177, 203, 230, 1) 100%);*/
}

h1 {
    margin: 4px;
    color: #97c2c1;
    -webkit-text-stroke: 1px #76a5af;
}


a:visited {
  color: #b6e3e2;
}

a:active {
  color: #b6e3e2;
}

.window {
    color: #fff;
    position: absolute; 
    transform: translate(-50%, -50%); backdrop-filter: blur(35px); 
    background-color: rgba(0, 0, 0, 0.20);  
    border: solid;
    border-radius: 12px; 
    border-color: black;
    flex-direction: column;
    filter: drop-shadow(0 0 6px black); 
}

.window.dragging {
    filter: drop-shadow(0 0 2px black);
    transform: translate(-50%, -50%) scale(1.01) rotate(-1deg);
    cursor:grabbing;
}

#top-bar {
    font-family: monospace;
    display: flex; 
    justify-content: space-between; 
    width: 100%; 
    display: flex; 
    backdrop-filter: blur(10px); 
    background-color: rgba(0, 0, 0, 0.25); 
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
    font-size: large;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;

    pointer-events: none;
}

#top-bar > * {
    pointer-events: auto;
}

.header {
    background-color: #76a5af;
    width: 100%; 
    display: flex; 
    align-items: center; 
    cursor:grab; 
    border-top-left-radius: 11px; border-top-right-radius: 11px;
    font: monospace;
    font-size:large;
}

.closebutton {
    cursor:pointer;
    color: rgb(196, 91, 91);
    width: 30px; 
    height: 25px; 
    background-color: #EC6B5E;
    border-radius: 4px; 
    border: solid 1px;
    margin-left: auto; 
    margin-right: 15px;
}

#welcomeopen {
    cursor:pointer;
    margin-left: 20px;
}

#desktopApps {
    padding-top: 80px; 
    padding-left: 20px;
    font-family: "Bubbly Mess", monospace, sans-serif;
}

.appStyling {
    text-align: center; 
    padding: 16px; 
    filter: drop-shadow(0 0 10px rgb(255, 255, 255)); 
    width: fit-content;
}

.appStyling:hover {
    transition: all 0.2s ease;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    cursor:pointer;
}

.appText {
    margin: 0px; 
    color: #fff; 
}

.appImage {
    width: 64px; 
    height: 64px; 
    border-radius: 2px;
}

#welcome {
    top: calc(50% - 90px); 
    left: calc(50% - 180px); 
    top: 50%; 
    left: 50%; 
    width: 40%;
    font-family: "Bubbly Mess", monospace, sans-serif;
}

#aboutMe {
    top: 35%; 
    left: 80%; 
    width: 30%;
    height: 50%;
    display: none;
    font-family: monospace;
    font-size:large;
}

#games {
    top: 50%; 
    left: 50%; 
    width: 60%;
    height: 65%;
    display: none;
    font-family: monospace;
    font-size: large;
}

#art {
    top: 70%; 
    left: 35%; 
    width: 55%;
    height: 50%;
    display: none;
    font-family: monospace;
    font-size:large;
}

#artContainer {
    display: flex; 
    height: calc(100% - 30px);
    overflow: hidden;
}

#sidebar {
    width: 20%; 
    border-right: 1px solid #000000; 
    padding: 10px; 
    overflow-y: auto;
}

#sidebar div {
    transition: all 0.2s ease;
    border-left: 0px solid #76a5af;
}
#sidebar div:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    padding-left: 10px !important;
    border-left: 4px solid #76a5af;
    cursor:pointer;
}

#artContent {
    width: 100%; 
    padding-left: 10px; padding-right: 10px;
    display: block;
    overflow-y: auto;
    height: 100%;
    box-sizing: border-box;
}

.imageDisplay {
    width:min-content;
    height: 50%;
    border-radius: 4px;
}

.imageDisplay:hover {
    transition: all 0.4s ease;
    background-color:rgba(0, 0, 0, 0.538);
    cursor:zoom-in;
}

.assetImageDisplay {
    width:min-content;
    height: 100%;
    border-radius: 4px;
}

.assetImageDisplay:hover {
    transition: all 0.4s ease;
    background-color:rgba(0, 0, 0, 0.538);
    cursor:zoom-in;
}

.imageScrollBar {
    height: 150px;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
}

.windowTextBox {
    overflow: auto;
    padding:10px;
}

.iconImageDisplay {
    width: max-content;
    height: 12%;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    cursor: pointer;
    padding: 3px;
}

.iconImageDisplay:hover {
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

#lightbox {
    display: none; 
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.85); 
    z-index: 99998; 
    justify-content: center; 
    align-items: center; 
}

#lightboxImg {
    max-width: 90%; max-height: 90%; 
    box-shadow: 0 0 20px black; 
    image-rendering: auto;
    background-color: rgba(0, 0, 0, 0.4); 
    border-radius: 4px;
    cursor:zoom-out;
}

.gamesWrapper {
    height: calc(100% - 40px);
    overflow-y: auto;
    padding: 15px;
}

.game-card {
    background-color: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
}

.game-main-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.game-media {
    flex-shrink: 0;
    width: 210px
}

.game-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #97c2c1
}

.game-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-date {
    font-size: 0.9rem;
    color: #76a5af;
    font-weight: bold;
    margin-bottom: 8px;
}

.game-description {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.game-description a {
    color: #bbeff7;
    text-decoration: underline;
}

.game-description a:hover {
    color: #fff
}








#music {
    top: 150px;
    left: 85%;
    width: 25%;
    height: auto;
    display: none; 
    font-family: monospace;
    font-size: large;
}

.musicWrapper {
    padding: 12px 15px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

#currentSongTitle {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #97c2c1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progressContainer {
    margin-bottom: 10px
}

.progressContainer input[type="range"] {
    width: 100%;
    accent-color: #76a5af;
    cursor: pointer;
}

.controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 5px;
}

.playerControls {
    display: flex;
    gap: 8px;
}

/* Pixelige Retro-Buttons */
.musicBtn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #76a5af;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.musicBtn:hover {
    background-color: #76a5af;
    color: black;
}

.volumeContainer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    max-width: 140px;
    font-size: 0.85rem;
}

.volumeContainer input[type="range"] {
    width: 100%;
    accent-color: #76a5af;
    cursor: pointer;
}