@font-face {
  font-family: 'PixelAE';
  src: url('PixelAE-Regular.ttf') format('truetype');
}

body {
  margin: 0;
  background-color: #018281;
  color: white;
  font-family: 'PixelAE', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

h1 {
  text-align: center;
}

.window-panel {
  width: 320px;
  max-width: 100%;
  background-color: #c0c0c0;
  margin-bottom: 20px;
  padding: 3px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #4a4a4a;
  border-bottom: 2px solid #4a4a4a;
  box-shadow: 1px 1px 0px 0px #000000;
}

.main-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;         
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.blog-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.blog-window {
  width: 100%; 
}

.blog-text-box {
  background-color: #ffffff;
  color: #000000;
  direction: rtl;
}

.art-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.window-header {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: white;
  padding: 3px 4px 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
}

.win95-btn {
  background-color: #c0c0c0;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
  font-size: 10px;
  font-weight: bold;
  width: 16px;
  height: 14px;
  padding: 0;
  margin-left: 2px;
  cursor: pointer;
}

.window-content {
  padding: 6px;
}

.inner-program-box {
  background-color: #ffffff;
  padding: 4px;
  border-top: 2px solid #4a4a4a;
  border-left: 2px solid #4a4a4a;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.window-content img {
  width: 100%;
  height: auto;
  display: block;
}

#notepad-heading {
  text-align: center;
}

#notepad-text-1, #notepad-text-2 {
  text-align: right; 
  line-height: 1.6;  
}

#blog-window-1 {
  position: relative;
  top: -10px;
  left: -135px; 
}

#art-window-3 {
  position: relative;
  top: 350px;    
  left: 316px;   
}

#art-window-1 {
  position: relative;
  top: -150px;    
  left: 16px;   
}

#art-window-2 {
  position: relative;
  top: -220px;    
  left: -65px;   
}

.main-layout * {
  filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.15));
}


/* --- VHS CRT SCREEN EFFECTS --- */

.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.12) 50%), 
    linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none; 
  z-index: 9999;
  animation: crt-flicker 0.15s infinite;
}

.crt-overlay::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 0%, rgba(255, 255, 255, 0.04) 10%, rgba(18, 16, 16, 0) 20%);
  animation: vhs-roll 6s linear infinite;
}

.vhs-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 1px, transparent 1px),
    radial-gradient(circle at 20% 80%, rgba(0,0,0,0.2) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px, 100% 2px;
  opacity: 0.45; 
  z-index: -1;   
  animation: static-jitter 0.1s steps(4) infinite;
}

@keyframes crt-flicker {
  0% { opacity: 0.98; }
  50% { opacity: 1; }
  100% { opacity: 0.99; }
}

@keyframes vhs-roll {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes static-jitter {
  0% { background-position: 0px 0px, 0px 0px; }
  25% { background-position: 1px 2px, -1px 1px; }
  50% { background-position: -2px 1px, 2px -2px; }
  75% { background-position: 2px -1px, 1px 3px; }
  100% { background-position: -1px -2px, -2px 0px; }
}


/* --- WINDOWS 95 LOGIN GATEWAY SYSTEM (Runs everywhere) --- */

#login-screen-overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100vw; 
  height: 100vh;
  background-color: #018281; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000; 
}

#win95-login-box {
  width: 420px;
  max-width: 90%;
  position: relative;
  top: 0 !important;  
  left: 0 !important; 
}

.login-box-padding {
  background-color: #c0c0c0 !important;
  padding: 15px !important;
}

.login-layout-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  color: #000000;
  font-family: 'PixelAE', Helvetica, Arial, sans-serif;
}

.login-icon {
  font-size: 36px;
  display: flex;
  align-items: flex-start;
  padding-top: 5px;
}

.login-prompt-text {
  font-size: 11px;
  margin: 0 0 15px 0;
  line-height: 1.4;
  text-align: left;
}

.field-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.field-row label {
  width: 80px;
  font-size: 12px;
  text-align: left;
}

.field-row input {
  flex: 1;
  font-size: 12px;
  padding: 2px 4px;
  background-color: #ffffff;
  border-top: 2px solid #4a4a4a;
  border-left: 2px solid #4a4a4a;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  color: #555;
}

.login-action-buttons {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.login-main-btn {
  width: 75px !important;
  height: 23px !important;
  font-size: 12px !important;
  color: #000000 !important;
}


@media screen and (max-width: 768px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    margin: 20px auto;
  }
  
  .blog-column, 
  .art-column {
    align-items: center;
    width: 100%;
  }

  #blog-window-1,
  #art-window-1,
  #art-window-2,
  #art-window-3 {
    position: static;
    width: 100%;     
    max-width: 340px; 
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 25px;
  }

  h1 {
    font-size: 24px;
    padding: 10px;
  }
}