html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    background-color: #4f4f4d;
    display: flex;
    justify-content: left;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    cursor: default;
    font-family: 'Montserrat',sans-serif;
    color:#f6f5f0 ;
    font-size: 35px;
}


img{
    border-radius: 1%;
}
.header {
    background-color:#c9784f	;
    position: static;
    width: 100%;
    text-align: center; 
    align-content: center;
    top: 0;
    left: 0;
    height: fit-content;
    font-weight: 900;
    padding-bottom: 1.6%;
    font-size: 40px;
}

.nawig {
   
    display: flex;
    border-style: none solid none solid;
    border-width: 1px;
    padding-left: 0.9vh;
    padding-right: 0.9vh;
    height: 70%;
    justify-content: center;
}

.nawig:hover{
     justify-content: center;
    background-color:#d79548	 ;
    border-radius: 30px;
    height: 90%;
    padding: 1vh 0.9vh 1vh 0.9vh;
        width: fit-content;
}

.meganawig {
    font-size: 1.7cqw;
    display: flex;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    width: fit-content;
}



#headerer {
    
    margin-top: -12px;
    top: 3px;
    position: sticky;
    background-color: #c9784f	;
    height: 3vw;
    border-radius: 12px 12px 12px 12px;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-around;
    gap: 0.5 rem;
    font-size: 80%;
    font-weight: 500;
    padding-bottom: 10px;
     z-index: 999;
}


#tresc {
    margin: 5vw 2vw 5vw 2vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color:rgba(165, 169, 166, 0.2) ;
    padding: 3%;
    flex: 1;
}

#ogolne {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.text_gl {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
}
.a_zew{
    font-weight: bold;
}
.a_zew:hover{
    text-decoration: underline;
}
a{
    width: fit-content;
    text-decoration: none;
    color: inherit;
}
#zdog {
    width: 95%;
        margin: auto;
   
}

.zdj_g {
    width: 100%;
    margin-left: 0px;
    align-self: flex-start;

}
.gwiazdka{
    content: url('')

}
.kolorki{
    width:3%;
    margin-right: 5px;
}

.linijka_kolory{
    display:flex;
    align-self: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    padding-left: 6%;
    margin-bottom: 3%;
}
.tytuly{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-size: 40px;
    height: 5%;
    background-color:#a5a9a6 ;
    border-radius: 40px;
    height: fit-content;
}
.zdj_opis{
  
 width: 95%;

}

.opis_drogi {
  background-color:#c9784f	 ;
  border-radius: 20px;
  padding-left: 20px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    width: 100%;
}
.opis_drogi:hover{
    background-color: #d79548	;
}

.cyferka {
    width: fit-content;
    float: left;
}

.chevron {
    transition: transform 0.3s ease;
}

.active .chevron {
    transform: rotate(0deg);
}

.rozw {
display: flex;
  flex-direction: column; 
  align-items: center;   
  justify-content: center;
  text-align: center;     
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background-color: #787a79;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, transform 0.5s ease-out;
}

.rozw.active {
    padding-top:8px;
    padding-bottom:8px;
    max-height:fit-content;
    opacity: 1;
    transform: translateY(0);
    justify-content:center ;

}
.zajmowacz_m{
    height: 50vw;
    width: 100%;
}
.linia_oddzielajaca{
  /* margin-left: calc(70% - 56.5vw);
    margin-right: calc(70% - 56.5vw);*/
    background-color: #a5a9a6;
    height: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
    opacity: 0.3;
    border-radius: 30px;
    margin-left: -2vh;
    margin-right: -2vh;
    
}
footer{
    background-color:#c9784f;
    margin-top: auto;
    height: 4vh;
    font-size: 1vh;
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    
    
}
.xd{
    height: fit-content;
    justify-self: left;
    justify-content: flex-end;
    padding-left: 5px;
    margin-bottom: 1px;
    
}

[id] {
  scroll-margin-top: 70px;
}
b{
    font-weight: 900;
}
i{
    font-size:  20px;
}
.gwiazd{
    width: 1.5vw;
}
.czarnch {
  position: relative;
  margin: 2vw 1vw;   /* taki sam odstęp jak #tresc */
  padding: 6%;        /* taki sam padding jak #tresc */
  box-sizing: border-box;
}

.czarnch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #333333;
  z-index: 0;
  border-radius: 12px; /* opcjonalnie */
}

.czarnch > * {
  position: relative;
  z-index: 1;}