/* ==========================================================
   Import czcionek (tylko Ubuntu Mono z Google Fonts)
   Arial jest fontem systemowym i nie wymaga importu.
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@400;600;700&display=swap');

/* ==========================================================
   Elementy nawigacyjne i pływające
   ========================================================== */

/* Menu nawigacyjne */
.topnav {
  position: relative;
  overflow: hidden;
  background-color: #161c2a;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  display: block;
  padding: 20px;
  font-family: 'Ubuntu Mono', monospace;
  font-size: 30px;
  font-weight: 600;
  color: #c09858;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.topnav a.iconblock {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  background: #000000;
  border: 3px solid #c09858;
  border-radius: 6px;
  cursor: pointer;
}

.topnav a:hover {
  background-color: #c09858;
  color: #ffffff;
  border: 3px solid #ffffff;
}

.active {
  background-color: #161c2a;
  color: #98c13d;
  border: 3px solid #c09858;
  border-radius: 6px;
  cursor: pointer;
}

/* Przycisk "Do Góry" */
#myBtn {
  position: fixed;
  right: 30px;
  bottom: 20px;
  z-index: 99;
  display: none;
  width: 60px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 18px;
  text-align: center;
  color: #169dd5;
  background-color: #161c2a;
  border: 3px solid #c09858;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#myBtn:hover {
  background-color: #c09858;
  color: #ffffff;
  border: 3px solid #ffffff;
}

/* Pływający przycisk LinkedIn */
.linkedin-btn {
  position: fixed;
  right: 30px;
  bottom: 85px;
  z-index: 99;
  display: block;
  width: 60px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 18px;
  text-align: center;
  color: #c09858;
  background-color: #161c2a;
  border: 3px solid #c09858;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.linkedin-btn:hover {
  background-color: #c09858;
  color: #ffffff;
  border: 3px solid #ffffff;
}

/* Pływający przycisk GitHub */
.github-btn {
  position: fixed;
  right: 30px;
  bottom: 150px;
  z-index: 99;
  display: block;
  width: 60px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 18px;
  text-align: center;
  color: #c09858;
  background-color: #161c2a;
  border: 3px solid #c09858;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.github-btn:hover {
  background-color: #c09858;
  color: #ffffff;
  border: 3px solid #ffffff;
}

/* ==========================================================
   Typografia i kontenery treści
   ========================================================== */

.col.l500 {
  width: 90%;
}

.content-text {
  font-family: 'Ubuntu Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #c09858;
  text-transform: uppercase;
}

/* Wariant dla dłuższych tekstów ciągłych (np. opis Katedry) */
.content-text.prose {
  font-size: 1.25rem;
  text-transform: none;
  line-height: 1.6;
}

.nexus-text {
  font-family: 'Ubuntu Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #c09858;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

/* ==========================================================
   Przyciski w sekcjach i linki
   ========================================================== */

.content-button {
  display: block;
  width: 100%;
  padding: 20px 24px;
  box-sizing: border-box;
  font-family: 'Ubuntu Mono', monospace;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #c09858;
  background-color: #161c2a;
  border: 3px solid #c09858;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.content-button:hover {
  background-color: #c09858;
  color: #ffffff;
  border: 3px solid #ffffff;
}

.content-button .fa {
  margin-right: 10px;
}

/* Klasy pomocnicze szerokości */
.w-90 {
  width: 90% !important;
  margin-right: auto;
  margin-left: auto;
}

.w-560 {
  width: 560px !important;
  margin-right: auto;
  margin-left: auto;
}

/* Linki tekstowe (karmazynowe z podkreśleniem, białe po najechaniu) */
.link {
  color: #dc143c;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.link:hover {
  color: #ffffff;
  text-decoration: underline;
}
