* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif
}
 /* This keeps child nodes hidden while the element loads */
  :not(:defined) > * {
    display: none;
  }

  model-viewer {
    background-color: #eee;
    background-image: url(bg.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    overflow-x: hidden;
  }



  #ar-button:active {
    background-color: #E8EAED;
  }

  #ar-button:focus {
    outline: none;
  }

  #ar-button:focus-visible {
    outline: 1px solid #99cc00;
  }

  @keyframes circle {
    from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
    to   { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
  }

  @keyframes elongate {
    from { transform: translateX(100px); }
    to   { transform: translateX(-100px); }
  }

  model-viewer > #ar-prompt {
    position: absolute;
    left: 50%;
    bottom: 175px;
    animation: elongate 2s infinite ease-in-out alternate;
    display: none;
  }

  model-viewer[ar-status="session-started"] > #ar-prompt {
    display: block;
  }

  model-viewer > #ar-prompt > img {
    animation: circle 4s linear infinite;
  }

  model-viewer > #ar-failure {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 175px;
    display: none;
  }

  model-viewer[ar-tracking="not-tracking"] > #ar-failure {
    display: block;
  }

  .slider {
    width: 100%;
    text-align: center;
    overflow: hidden;
    position: absolute;
    background-color:#eee;
    bottom: 16px;
    color:#000;
  }
  .slides {
    display: flex;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .slide {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    margin-right: 10px;
    border-radius: 10px;
    border: none;
    display: flex;
  }

  .slides button {
    justify-content: center;
    padding: 5px;
    color: #282727;
  }


  .slide.selected {
    border: 2px solid #99cc00;
  }

  .slide:focus {
    outline: none;
  }

  .slide:focus-visible {
    outline: 1px solid #99cc00;
  }
  
  /* Style the tab */
  .tab {
    overflow: hidden;
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
  }
  
  .tab-wrapper {
    display: flex;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
  }

  #abutton a {
    color:#99cc00;
    text-decoration: none;
  }
  
  .tab button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #fff;
    color: #282727;
    padding: 14px 16px;
    transition: 0.3s;
    scroll-snap-align: center;
    border-radius: 0.5rem;
    margin-left: 5px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  .tab button:hover {
    background-color: #99cc00;
    color: #E8EAED;
  }
  
  .tab button.active {
    background-color: #99cc00;
    color: #E8EAED;
  }
  
  .tabcontent {
    display: none;
    padding: 6px 12px;
  }

  .footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    color: white;
}

.footer-section {
    width: 100%;
    text-align: center;
    color: white;
}

footer button {
  padding: 0.5rem;
  background-color: #282727;
  border-radius: 0.5rem;
  border: none;
}

.opis {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#opisText {
  width: 100%;
  font-size: 14px;
  margin-top: 8px;
}

.section1 a {
  text-decoration: none;
  color: white;
}

.section1 {
  width: 100%;
  height: 6vh;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section2 {
    background-color: #282727; /* Niebieski */
    color: rgb(238, 238, 238);
    padding: 10px;
}

.section3 {
    background-color: rgb(238, 238, 238); /* Pomarańczowy */
    color: #282727;
    padding: 20px;
}

.section4 {
  background-color: rgb(238, 238, 238); /* Pomarańczowy */
  color: #282727;
  margin-top: -1px;
  padding: 20px;
}

footer nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  margin: 5px 0;
  align-items: center;
  justify-content: center;
}

footer  nav ul li {
  margin: 0 15px;
}

footer nav ul li a {
  text-decoration: none;
  color: #99cc00;
  font-size: 14px;
}

footer  nav ul li a:hover {
  text-decoration: underline;
}



img {
  width: 150px;
}

.pasek {
  width: 100%;
  border-top: #99cc00 2px solid;
  background-color: #99cc00;
}

.divMapy {
  height: 36px;
  line-height: 36px;
  position: absolute;
  left: 50%;
  bottom: 380px;
}