/* General Styling & Background */
body {
    font-family: 'Tahoma', sans-serif;
    background: #72b2e8;
    background-image: url("images/clouds 2.gif");
  background-repeat: repeat-yx;
  background-attachment: fixed;
    
    color: #1e3a52;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.main-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Header & Navigation */
.header-bar {
    text-align: center;
    padding: 15px;
    margin-bottom: 25px;
    background: #7cc9f4;
    border-radius: 8px;
    border-bottom: 2px solid #fff;
}

.header-bar h1 {
    margin: 0;
    font-size: 2em;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-button {
    display: inline-block;
    padding: 8px 15px;
    margin: 10px 5px 0;
    background-color: rgba(255, 255, 255, 0.8);
    color: #337ab7;
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease-in-out;
}

.nav-button:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


/* ===== The "Window" Style ===== */
.window {
    background: rgba(235, 245, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 1px solid #fff;
    overflow: hidden; /* Important for the title bar's corners */
}

/* Title Bar (like on Windows XP/Vista) */
.title-bar {
    background: linear-gradient(to bottom, #3d9dea, #2a8ad8);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.title-bar .buttons {
    display: flex;
}

.title-bar .button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-left: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.button.minimize { background-color: #c2a3fd; }
.button.maximize { background-color: #a796e8; }
.button.close { background-color:  #896deb; }


/* Content inside the windows */
.content {
    padding: 20px;
    line-height: 1.6;
}

.content h2 {
    color: #005a9e;
    border-bottom: 2px solid rgba(135, 206, 250, 0.5);
    padding-bottom: 5px;
    margin-top: 0;
}

.profile-pic {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


/* ===== Projects Section ===== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.project-icon-container {
    background: #cce7ff;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.project-icon {
    width: 50px;
    height: 50px;
}

.project-card h3 {
    margin: 0 0 10px 0;
    color: #005a9e;
}

.project-card p {
    font-size: 0.9em;
    margin-bottom: 15px;
}


/* ===== Glossy Button Style ===== */
.glossy-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    background: linear-gradient(to bottom, #65bdef, #2fa3e4);
    border: 1px solid #1e88c9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.5);
    text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
    transition: background 0.2s ease;
}

.glossy-button:hover {
    background: linear-gradient(to bottom, #7cc9f4, #40b1ee);
}


/* ===== Footer ===== */
footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.9em;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

footer a {
    color: #fff;
    font-weight: bold;
}

.image-row {
  display: flex;
  gap: 15px;            /* Abstand zwischen den Bildern */
  margin: 15px 0;
  justify-content: center; /* Bilder zentrieren */
  flex-wrap: wrap;      /* falls der Platz zu klein ist -> Umbruch */
}

.image-row img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Wenn du 2 Bilder gleich groß nebeneinander willst */
.image-row img {
  flex: 1 1 45%;  /* beide nehmen ca. 45% der Breite ein */
}

/* Wenn 3 Bilder gleichmäßig verteilt sein sollen */
.image-row.three img {
  flex: 1 1 30%;  /* drei Bilder pro Reihe */
}

.terminal-content {
    background: #0d1b2a;
    color: #e0f0ff;
    font-family: "Courier New", monospace;
    padding: 20px;
    font-size: 0.95em;
    line-height: 1.4em;
    border-top: 1px solid #1b263b;
    white-space: pre-wrap;
    overflow-x: auto;
    min-height: 200px;
    border-radius: 0 0 6px 6px;
}

.prompt {
    color: #c2a3fd;
    font-weight: bold;
}

.command {
    color: #a7d8ff;
}

/* Blinking cursor */
.cursor {
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

#terminal-output div {
    margin: 0;
    padding: 0;
    line-height: 1.2; /* wie in einem Terminal */
    white-space: pre;
    font-family: monospace;
}

.nf-key { color: #7cc9f4; font-weight: bold; }



