/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  
}
body {border: solid 10px black;}

body, html {
	background-color:#FEF2E8;
  font-family: "Montserrat", serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

.container {max-width: 1000px !important;}

/* ==========================================================================
   Font
   ========================================================================== */
   .montserrat-normal {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }
  .montserrat-bold {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
  }

/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&amp;display=swap');

/* General Typography Settings */


body {
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    background-color: #FEF2E8;

}

a {
  color:#1e2977;
  font-weight:600 !important;
}
a:hover {color:#000; text-decoration:underline;}

/* Responsive Typography */
h1, h2, h3, h4, h5, h6, p, span, a, button, .small-text, .caption {
    font-weight: normal;
    padding-bottom: 20px;
}

/* Headings - Neobrutalism Style */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900; /* Extra bold for neobrutalist style */
    text-transform: uppercase;
    color: #000;
    line-height: 1.2;
  padding-top:40px;
}

/* Heading Sizes */
h1 { font-size: 3rem;}   /* Red for h1 */
h2 { font-size: 2.5rem;} /* Blue for h2 */
h3 { font-size: 2rem;}   /* Orange for h3 */
h4 { font-size: 1.5rem;}/* Green for h4 */
h5 { font-size: 1.2rem;} /* Dark gray for h5 */
h6 { font-size: 1rem;}/* Gray for h6 */



@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.875rem; }
}

.txt h3 {
            padding-top: 16px;
            font-weight: 800;
}

.txt h2 {
  padding-bottom:0;
}
.card-title {font-size: 1.5rem;}
.card-title a {color:#000;}


strong {color:#000}

/* Paragraphs */
p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #000;
}

/* Small Text */
.small-text {
    font-size: 0.875rem;
    font-weight: 400;
    color: #000;
}
/* Large text */
.large-text {
  font-size: 1.75rem;
  	font-weight: 600;
      text-transform: uppercase;
    color: #000000;
    text-decoration: none;
      line-height: 1.8rem;
}

/* XLarge text */
.xlarge-text {
  font-size: 2rem;
  line-height: 1.2;
}

/* Caption Text */
.caption {
    font-size: 0.75rem;
    font-weight: 700;
    color: #999999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Span Styling */
span {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
}

/* Button and Link Styling */
.button-lnk {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    
    padding: 0.5rem 1rem;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.logo-link {
  background-color:none !important;
  color: none !important;
}

.large-text > a {
	font-weight: 600;
      text-transform: uppercase;
    color: #000000;
    text-decoration: none;
}

.button-lnk:hover, button:hover {
    color: #ffffff;
    background-color: #000000;
}

.logo-img {
  max-height: 80px;
}



/* Form style */
input {
  border:5px solid black;
  padding:10px;
  width:100%;
}
ins {
  margin:20px 0;
  text-decoration:none;
  text-transform:uppercase;
  font-weight:600;
}
.field {
  padding:10px 0;
}
.fieldtitle {
  padding-top:20px; 
}
.fieldtitle ins.title, .field div.label, .field label.title {
  font-size: 2rem;
	font-weight: 800;
      text-transform: uppercase;
    color: #000000;
    text-decoration: none;
}
span.required {color:#D20103}
.infoForm {font-size:0.8em;}
.checkbox {
  padding:30px;
  margin-bottom:20px; 
}
.checkbox input {width:auto;}

.uploadInput, .submitBtn {
  display: inline-block;
  padding: 30px 50px;
  background-color: #FFF; /* jaskrawy czerwony */
  color: #000;
  border: 5px solid #111;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 #111;
  transition: transform 0.1s ease-in-out;
  margin-bottom:20px; 
}

.submitBtn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #111;
}

/* List Styles */
ul {
    margin-bottom: 1rem;
    list-style-position: inside;
  list-style: disc;
}
ul, ol {padding-left: 1.5rem;}


ul li, ol li {
    margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight:500;
}

/* Blockquotes */
blockquote {
    font-size: 1.25rem;
    font-weight: 500;
    color: #444444;
    padding: 1rem;
    border-left: 4px solid #ff0000;
    background-color: #f2f2f2;
    margin: 1rem 0;
}

table, td, th, tr {
  border: 5px solid black;
}
table p {
  padding-bottom:0;
}

table th {
  color:#000;
  padding: 10px;
  text-align: center !important;
}

table td {
      vertical-align: center;
  text-align: center;
  padding: 10px;
  
}

tr:nth-of-type(2n+1) {
            background-color: #ffddc0;
}
th {
            background-color: #ffb97d;
}



/* Additional Responsive Adjustments */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1rem; }
    h5, h6, p, .caption, .small-text, span, a, button, ul, ol {
        font-size: 1rem;
    }
    .large-text, .xlarge-text {font-size: 1.25rem;}
}

@media (max-width: 769px) {
  .logo-img {
    min-width:200px;
  }
  body {
    border:none;
  }
  .container {
    padding: 0 10px;
  }
}

@media screen and (min-width: 1024px) {
  #dropdown {display:none;}
}



/* Galeria */
.imageholder img {
  object-fit:cover;
  width:100%;
  height:100%;
}
.imageholder img:hover {    filter: hue-rotate(2deg) brightness(40%) grayscale(100%);}

/* ==========================================================================
   Neobrutalism
   ========================================================================== */
.neocard {
  border: 10px solid #111 !important;
  text-align: left;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 10px 10px 0 #111;
  transition: transform 0.1s ease-in-out;
  word-wrap: break-word;
}


.yellow-card {
  background-color: #FFFF00; /* Yellow background */
  border-color: #FFFF00; /* Border to match background color */
}

.blue-card {
  background-color: #8EF6FF; /* Light blue background */
  border-color: #8EF6FF; /* Border to match background color */
}

.green-card {
  background-color: #76FF03; /* Light green background */
  border-color: #76FF03; /* Border to match background color */
}
.white-card {
  background-color: #fff;
  border-color: #fff;
}

.blue {
  color:#007fc7;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.navigation {
  margin-bottom: 0px !important;
  background-color: #FEF2E8;
  border: 10px solid black;
}

.navbar-item {
  color: #000;

}
.top-hero, .gray-hero {
  background-color: #F8F4F3;
  border-top: 8px solid black;
  border-bottom: 8px solid black;

}

footer {
  background-color: #000;
  color: #fff;
}

.navbar-dropdown {
  background-color: black;
  color: #fff;
  z-index: 99999;
}
.navbar-divider {background-color: #fff;}


/* Timeline */
/* Timeline Container */
.timeline {
  background: var(--primary-color);
  margin: 20px auto;
  padding: 20px;
}

/* Outer Layer with the timeline border */
.outer {
  border-left: 10px solid #000;
}

/* Card container */
.timeline-card {
  position: relative;
  margin: 0 0 20px 20px;
  border: 10px solid #111 !important;
  text-align: left;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 10px 10px 0 #111;
  transition: transform 0.1s ease-in-out;
  max-width: 800px;
  background-color: #7CF8FE;
  
}

/* Information about the timeline */
.info {
  display: flex;
  flex-direction: column;
  gap: 10px;

}

/* Title of the card */
.title-card {
  color: #000;
  position: relative;
}

/* Timeline dot  */
.title-card::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: #000;
  border-radius: 999px;
  left: -50px;
  border: 3px solid #000;
}

.yt-container {
  position: relative;
  padding-top: 56.25%;
}

.yt-embed {
  position: absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Przyciski
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff5252; /* jaskrawy czerwony */
  color: #000;
  border: 5px solid #111;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 #111;
  transition: transform 0.1s ease-in-out;
}


.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #111;
}


.btn-primary {
  background-color: #FFF; /* biały */
}
.btn-yellow {
  background-color: #f9ae00; /* żółty */
}

.btn-secondary {
  background-color: #2196F3; /* niebieski */
}

.btn-danger {
  background-color: #f44336; /* czerwony */
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}


/* Mobile menu */
        .dropdown {
            position: relative;
            display: inline-block;
  			margin-right:20px;
        }
        .dropdown-menu {
            display: none;
            position: absolute;
            background: #333;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 150px;
            top: 100%; /* Menu otwiera się bezpośrednio pod przyciskiem */
            right: 0; /* Justowanie do prawej strony */
  left:auto;
            min-width: 150px;
            max-width: 100vw; /* Zapobiega wychodzeniu poza ekran */
            text-align: right; /* Tekst justowany do prawej */
        }
        .dropdown-menu a {
            display: block;
            color: white;
            padding: 10px;
            text-decoration: none;
        }
        .dropdown-menu a:hover {
            background: #555;
        }
        .dropdown.is-active .dropdown-menu {
            display: block;
        }
            
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 768px) {

  body, html {
  }
  .navigation {
    border-left: none;
    border-right: none;
  }
  .top-hero {
    padding: 0 20px;
  }
  .mobile-content {
    padding: 0 20px;
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ==========================================================================
   Zalaczniki
   ========================================================================== */
.naglowek {margin-top: 50px;}
.zalaczniki h3 {font-size: 2rem !important; margin-bottom: .5em;}
.zalacznikbox {background-color:#000}
.zalacznikicon {background-size: contain; background-repeat: no-repeat; min-height: 70px;
  background-position: left;}
.zalacznikbox a {padding-bottom:0;}
.zalaczniktext { font-size: 1.2rem;}
.zalacznikinside a {color:#fff}
.zalacznikinside:hover {background-color:#fff; color:#000}
.zalacznikinside:hover a {color:#000 !important}  

.notvisible, .notvisiblefile {display:none;}

.alerts {
      border: 10px solid #111 !important;
    text-align: left;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 10px 10px 0 #111;
    transition: transform 0.1sease-in-out;
  padding:50px;
  background-color:orange;
}

.alerts h2, .alerts h3 {
  font-size:2.5rem;
  font-weight: 900;
    text-transform: uppercase;
    color: #000;
    line-height: 1.2;
    padding:0;
  margin:0;
}

.content p a {
  display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: 5px solid #111;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 5px 5px 0 #111;
    transition: transform 0.1sease-in-out;
}
.content p a:hover {
  transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 #111;
}

.file h4 {
    font-size: 1rem;
    color: #000;
}
.form_input ul {
  margin:0;
  padding:0;
}
.uploaded li {
    margin: 0;
    padding: 0;

}
.uploaded {
      list-style-type: none;
}

.social-icon a {
  color:#fff;
}
.social-icon a:hover {
  color:yellow;
}