@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --bg: #0a0a12;
  --accent: #2d246d;
  --text: #d6d6e0;
  --link: #8c7aff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #0a0a12;
  color:  #d6d6e0;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.main {
  width: 80%;
  padding: 1rem;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  overflow: hidden;
  border: 2px solid #2d246d;

  box-shadow: 0 0 8px rgba(120, 80, 255, 0.4);
}

.nawigacja{
  margin-left: 10%;
  margin-right: 10%;
}
/* === NAVIGATION WINDOW (Windows 95 style) === */
.nav-window {
  background: #1a132e;
  border: 2px solid #5b46b5;
  
  font-size: 10px;
  box-shadow: 0 0 18px rgba(120, 80, 255, 0.4);

}

.nav-content a:hover {
  background: #3f2c75;
  border-color: #a08aff;
  color: #fff;
}

.nav-window .window-header {
  background: linear-gradient(90deg, #4b3898, #6b55d0);
  border-bottom: 1px solid #2d2060;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 18px rgba(120, 80, 255, 0.4);
}

.nav-window .window-title {
  color: #eae3ff;
  font-weight: bold;
  font-size: 0.85em;
  text-shadow: none;
  box-shadow: 0 0 8px rgba(120, 80, 255, 0.4);
}


/*
Guziki typu windows 95
*/

.window-buttons.win95 {
  display: flex;
  align-items: center;
  gap: 2px;
}

.win-btn {
  background: #bcaef5;
  color: #000;
  border: 1px solid #3b2a84;
  font-family: monospace;
  font-size: 10px;
  line-height: 1;
  width: 18px;
  height: 16px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.win-btn:hover {
  background: #d1c3ff;
}

/*
Guziki typu windows 95
*/


/*
Jakieś cośki co robią ładnie welcome
*/

.welcome{
  margin-left: 10%;
  margin-right: 10%;
  box-shadow: 0 0 20px rgba(120, 80, 255, 0.4);
}
.welcome-content{
  display: flex;
  flex-wrap: wrap;
  background: #2a1f4d;
  padding: 6px; /*Padding w contencie*/
  border-top: 1px solid #3b2a84; /*Pod welcome ta ciemna linia*/
  box-shadow: 0 0 8px rgba(120, 80, 255, 0.4); /*Cień*/
}

.welcome:hover{
  box-shadow: 0 0 18px rgba(140, 122, 255, 0.85);
}

/*
Jakieś cośki co robią ładnie welcome
*/


/*
Te same cośki co welcome ale na nawigacji
*/

.nav-content {
  display: flex;
  flex-wrap: wrap;
  align-items:center;
  background: #2a1f4d;
  padding: 6px;
  border-top: 1px solid #3b2a84;
  box-shadow: 0 0 8px rgba(120, 80, 255, 0.4);
}


.nav-content :hover{
    box-shadow: 0 0 18px rgba(140, 122, 255, 0.85);
}

/*Wyświetlany conten w lini, jeżeli jest to link zazwyczaj bedzie */
.nav-content a {
  display: flex;
  border: 1px solid #7b63de;
  color: #d8cfff;
  text-decoration: none;
  background: #2f2358;
  transition: 0.2s;
}




/*
Jakieś cośki co robią ładnie welcome
*/


/*
Te ładne okienka 
*/
.window {
  border: 2px solid #2d246d;

  background: rgba(20, 18, 40, 0.95);
  box-shadow: 0 0 12px rgba(140, 122, 255, 0.5);
  margin: 1.5rem auto;
  overflow: hidden;

  transition: box-shadow 0.3s ease-in-out;
}

.window:hover {
  box-shadow: 0 0 18px rgba(140, 122, 255, 0.85);
}

.window-header:hover{
     box-shadow: 0 0 18px rgba(140, 122, 255, 0.85);
}
.window-header {
  background: linear-gradient(90deg, #4b3898, #6b55d0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-bottom: 2px solid #2d246d;
  transition: box-shadow 0.3s ease-in-out;
  box-shadow: 0 0 12px rgba(140, 122, 255, 0.5);
}

.window-title {
  font-size: 0.95em;
    color: #eae3ff;
  text-shadow: 0 0 4px #8c7aff;
}

.window-buttons {
  display: flex;
  gap: 6px;
}

.btn {
  width: 10px;
  height: 10px;

  display: inline-block;
}


.window-content {
  padding: 1.2rem;
  color: #d6d6e0;
  text-align: left;
  line-height: 1.6;
  font-size: 10px;
}

.window-content a {
  color: #8c7aff;
  text-decoration: none;
}

.window-content a:hover {
  text-decoration: underline;
}

/*
Te ładne okienka 
*/


/*
ustawienia okienek List i Info koło siebie
*/

.side-by-side-windows {
  display: flex;
}

.list-window{
  margin-left: 10%;
  margin-right: 1%;
}
.info-window {
  width: 60%;
  margin-right: 10%;
  margin-left: 1%;
}

@media (max-width: 700px) {
  body {
    font-size: 8px;
  }

  .side-by-side-windows {
    flex-direction: column;
    gap: 1rem;
  }

  .list-window,
  .info-window {
    max-width: 100%;
  }

  .window-content {
    text-align: center;
  }

  .nav-content {
    justify-content: center;
  }

  .nav-content a {
    font-size: 7px;
    padding: 3px 5px;
  }
}



/* Footer styling */
footer {
  margin-top: 2rem;
  padding: 1rem;
  border-top: 2px solid #2d246d;
  font-size: 8px;
  text-align: center;
}
