

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

nav{

      display: flex;
      justify-content:center;
      align-items: center;
      width: 100% ;
      height: 100px;
      background-color: rgb(17, 17, 17);
      padding: 0px;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
    }
    nav ol{
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    list-style-type: none;
    margin:0px;
    padding: 0px;
    display: flex; 
    justify-content: center;
    height: 100px;}

    nav li{
        height: 100%;
    }
    
    nav a{
        height: 100%;
        text-decoration: none;
        padding:0 25px; 
        display:flex;
        align-items: center;
        color: rgb(253, 253, 252);
        background-color: rgba(0, 0, 0, 0);
        transition:0.3s;
        
    }

    nav a:hover{
        color: rgba(245, 163, 0, 0.981);
        border-bottom: 1px  rgba(245, 163, 0, 0.981); 
    }
    section h1{
       margin-left: 15%;
        color: white;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 52px;
        margin-bottom: 0; 
    }
    
    .glowna p{
      margin-left: 15%;
      max-width: 40%;
    }
    .profil {
  margin-right: 15%;
  margin-top: 100px;
  float: right;
  height: 300px;
  width: auto;
  border-radius: 20px;
  border: 4px solid rgba(245, 163, 0, 0.981); 
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
}  

    h2.hobby{
       margin-top: 0px; /* brak górnego marginesu */
        margin-left: 15%;
        color:  rgba(171, 171, 170, 0.981);
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 30px;
        padding-bottom: 10px;
    }
    .naglowek-cv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  margin-bottom: 10px;
}

.naglowek-cv h2 {
  margin: 0;
  color: black;
  font-size: 1.5em;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.cv-button {
  background-color: rgba(245, 163, 0, 0.9);
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 0.9em;
  text-decoration: none;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.cv-button:hover {
  background-color: rgba(200, 130, 0, 0.95);
}
    section p{
        
        font-family: Arial, Helvetica, sans-serif;
    }
    .glowna {
  margin-top: 5%;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
  color: white;
  margin-left: 0%;
  margin-bottom: 0;
}
.glowna::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image:linear-gradient(rgba(0, 0, 0, 0.742), rgba(0, 0, 0, 0.792)),
   url("../img/tlo1_grayscale.jpg");
  background-size:cover;
   background-repeat: no-repeat;
  background-position: center;
  filter: blur(3px);
  z-index: -1;
}


.biale{
    padding: 20px;
    background-color: white;
     min-height: 100px;
     max-height: 59vh;
     color: black;
}

.swiper {
   display: flex;
  width: 100%;
  min-height: 80vh;
  margin:auto;
}
.swiper-slide {
     padding: 40px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 1.2em;
 
  width: 100%;
  flex-shrink: 0;
  min-height: 80vh;
  overflow: hidden;
  box-sizing: border-box;
}


.edukacja-grid {

 display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 40px;
  font-family: Arial, sans-serif;
   align-items: center;
}


.wiersz {
  display: grid;
  grid-template-columns: 200px 200px 200px;
  align-items: center;
  text-align: center;
  display: grid;
  grid-template-columns: 200px 200px 200px;
  gap: 80px;
  margin: 0 auto; /* wyśrodkowanie */
  max-width: 70%; /* suma kolumn + gap */
}

/* Indywidualne style */
.naglowek {
  color: #000;
  font-weight: bold;
  
}

.data {
  color: #7a7979;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 15px;
}

.opis {
  color: #000000;
}

/* Styl dla mniejszych detali */
.wiersz small {
  font-size: 0.85em;
  color: #666;
}


hr{
    background-color:rgba(245, 163, 0, 0.981) ; 
    border: none;
    height: 4px;
    width: 80%;
     
}
.swiper ol{
  display: flex;
      justify-content:center;
      align-items: center;
      list-style-type: none;
      min-height: 20px;
}
.swiper li{
  list-style: none;
  padding: 10px;
}


.swiper img{
  max-height: 100px;
    margin: 20px;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10%;
    box-shadow: 4px 4px 10px black;   
}
.swiper figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}
.swiper figcaption {
  margin-top: 8px;
  font-size: 0.9em;
  color: #333;
  font-family: Arial, sans-serif;
  text-align: center;
}
h2.umiejetnosci{
  text-align: center;
  font-weight: bold;
  font-size: 30px;
}

.skills {
  padding-top: 40px;
  max-width: 700px; /* trochę szerzej, by zmieścić 2 kolumny */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  
}

.skill {
  padding-top: 40px;
 width: calc(50% - 30px);  /* mniej niż połowa szerokości, by dwie kolumny się zmieściły */
  max-width: none; /* usuń limit max szerokości */
  margin-bottom: 20px;
  align-items: flex-start; /* wyrównanie elementów do lewej */
}

.skill-name {
  text-align: left; /* lewy tekst w nazwie umiejętności */
  width: 100%;
}


.skill-bar {
  width: 100%;
  height: 28px;
  background-color: #ddd;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background-color: rgba(245, 163, 0, 0.9);
  border-radius: 14px 0 0 14px;
  transition: width 0.4s ease;
  position: relative;
  z-index: 1;
}

.skill-ticks {
  position: absolute;
  top: 0; bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}

.skill-ticks span {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 1px;
}

/* Ustawiamy 4 kreski co 20%, 40%, 60%, 80% szerokości */
.skill-ticks span:nth-child(1) { left: 20%; }
.skill-ticks span:nth-child(2) { left: 40%; }
.skill-ticks span:nth-child(3) { left: 60%; }
.skill-ticks span:nth-child(4) { left: 80%; }

section.szare{
  background-color: rgb(255, 255, 255);
     min-height: 90vh;
     color: black;
     margin-top: 0;
     padding-top: 0;
}

.szare h2{
  padding-top:30px;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
}
.kontakt {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 10px;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 5%;
}

.kontakt-item {
  width: 250px; /* Ustalona szerokość, dostosuj wg potrzeb */
}

.kontakt figure {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin: 10px;
  width: 100%;
}

.kontakt img {
  padding-right: 30px;
  height: 50px;
  width: auto;
}

.kontakt figcaption {
  margin-top: 0;
  font-size: 0.9em;
  color: #333;
  font-family: Arial, sans-serif;
  text-align: left;
}
.ikonki{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
img.ikonka{
  max-width: 50px;

}
footer {
  background-color: rgb(17, 17, 17);;
  color: white;
  padding: 40px 20px;
  max-height: 350px;
}

footer .mapa iframe {
  width: 100%;
  height: 350px;
  border: none;
}

    



