body {
  font-size: 20px;
  height: 100%;
  padding: 0px;
  margin: 0px;
  scroll-behavior: smooth;

  background-color: rgb(238, 238, 238);
  display: flex;
  justify-content: center;
  font-family: "Kumbh Sans", sans-serif;
}

nav {
  position: fixed;
}

#navigacja {
  position: fixed;
  background: rgb(5, 70, 186);
  background: linear-gradient(190deg,
      rgba(5, 70, 186, 1) 36%,
      rgba(0, 134, 255, 1) 100%);
  width: 100%;
  z-index: 999;
}
#navbarNav > ul > li > a:hover{
  text-decoration: underline;
  text-decoration-thickness: 8%;
  color: rgb(15, 13, 13) 
}
#knefel2{
  font-weight: 900;
  
}

section {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  grid-template-rows: auto auto;
  gap: 200px 50px;
  grid-template-areas: "article photos";
  height: 100%;
  max-width: 1300px;
}

article {
  margin: 120px 0px 0px 0px;
  height: 100%;
  grid-area: article;
}

#photos {
  margin: 300px 0px 0px 0px;
  grid-area: photos;

}

article>p {
  font-size: 0.9em;
  margin: 70px 0px 0px 0px;
}

#tittle {
  font-size: 1em;
  color: rgb(5, 70, 186);
  font-weight: 900;
}

@media screen and (max-width: 992px) {
  section {
    grid-template-columns: 0.5fr 0.5fr;
    gap: 2% 5%;
    grid-template-rows: auto;
    grid-template-areas: "article"
    "photos";
    margin: 10%;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  nav>span {
    font-size: 0.7em;
    gap: 0px;
  }

  nav {
    display: flex;
    justify-content: space-around;
  }
  p, ul{
    font-size: 0.7em;
  }
  #tittle {
    font-size: 0.8em;
    color: rgb(5, 70, 186);
    font-weight: 900;
    
  }
  #photos{
    
    grid-area: photos;
    flex-direction: column;
    display: flex;
    justify-content: center;
  }
  
}
#wizyta{
  background-image: url(znanylekarz.png);
  background-position: center;
  background-size: cover;
  width: 150px;
  height: 50px;
}
#warn{
  
    font-size: 1em;
    color: red;
    font-weight: 900;
    text-decoration: underline;
  
}
:root {
  --background-dark: #2d3548;
  --text-light: rgba(255, 255, 255, 0.6);
  --text-lighter: rgba(255, 255, 255, 0.9);
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;
  --width-container: 1200px;
}

#woman {
  grid-area: woman;
}
#taping {
  grid-area: taping;
}
#general {
  grid-area: general;
}
#man {
  grid-area: man;
}

.card {
  list-style: none;
  position: relative;
  border-radius: var(--spacing-l);
}

.card:before {
  content: "";
  display: block;
  padding-bottom: 150%;
  width: 100%;
}

.card__background {
  background-size: cover;
  background-position: center;
  border-radius: var(--spacing-l);
  bottom: 0;
  filter: brightness(0.75) saturate(1.2) contrast(0.85);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: center;
  transform: scale(1) translateZ(0);
  transition: filter 200ms linear, transform 200ms linear;
}

.card:hover .card__background {
  transform: scale(1.05) translateZ(0);
}

/* .card:not(:hover) .card__background {
  filter: brightness(0.5) saturate(0) contrast(1.2) blur(4px);
}
 .card:not(:hover) .card__category {
  filter: blur(2px);
}
  .card:not(:hover) .card__heading {
  filter: blur(2px);
} */

.card__content {
  left: 0;
  padding: var(--spacing-l);
  position: absolute;
  top: 0;
}

.card__category {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-s);
  text-transform: uppercase;
  text-shadow: 2px 2px 8px black;
  width: 100%;
}

.card__heading {
  color: var(--text-lighter);
  font-size: 1.4em;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  word-spacing: 100vw;
  text-shadow: 2px 2px 8px black;
  width: 100%;
}
.card__headinglas{
  color: var(--text-lighter);
  font-size: 1em;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  
  text-shadow: 2px 2px 8px black;
  width: 100%;
}













