html {
    scroll-behavior: smooth;
}

* {
    font-family: 'Arial', Arial, sans-serif;
    box-sizing: border-box
}

main {
    margin-top: 140px;
}

body {
    margin: 0;
}

main div {
    margin-bottom: 10px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
    padding-top: 25px;
    width: 100vw;
    max-height: 140px;
    background-color: white;
    z-index: 10;
}

#logo {
    max-width: 150px;
}

.topnav {
  overflow: hidden;
}

.topnav a {
  float: left;
  display: block;
  text-align: center;
  padding: 14px 16px;
  font-size: 17px;
}

.topnav .icon {
  display: none;
}

a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    position: relative;
    outline: none !important;
    text-transform: uppercase;
    transition: 0.2s;
}

a::after {
    content: "";
    background-color: black;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    transition: 0.2s;
}

a:hover::after,
a:focus::after {
    background-color: black;
    width: 100%;
}

#banner-container {
    width: 100vw;
    position: relative;
    margin: auto;
}

.banner {
    display: none;
}

.foto-mobile {
    display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  z-index: 20;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dots .active {
    background-color: gray;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 0.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


#o-nas {
    padding: 10px;
    display: flex;
    justify-content: left;
    margin-left: 150px;
    column-gap: 150px;
    align-items: center;
    scroll-margin-top: 130px
}

#opis-onas {
    max-width: 750px;
}

#loga-organizacji {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

#loga-organizacji img {
    max-width: 150px
}

#grupy-sekcja {
    background-color: navy;
    color: whitesmoke;
    padding: 20px;
    scroll-margin-top: 130px
}

#choice {
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 20px;
}

#choice div:first-child {
    color: navy;
    background-color: white;
}

#choice div {
    border: 1px solid white;
    border-radius: 10px;
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
    cursor: pointer;
}

#grupy-sekcja h1 {
    text-align: center;
    padding-bottom: 35px;
}

#sekcja-grupy {
    display: flex;
    column-gap: 100px
}

#grupy {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
}

#grupy ul {
    line-height: 2;
}

#grupy div {
    display: flex;
    column-gap: 15px;
}

#kadra {
    padding: 20px;
    scroll-margin-top: 130px
}

#kadra h1 {
    text-align: center;
}

#kadra img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
}

.kadra {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
}

.kadra p {
    max-width: 700px;
}

#kontakt {
    background-color: navy;
    color: whitesmoke;
    padding: 10px;
    display: flex;
    justify-content: left;
    column-gap: 60px;
    scroll-margin-top: 130px
}

#kontakt a {
    color: white;
}

#kontakt a:after {
    content: none;
}

/* #kontakt a:hover {
    text-decoration: none;
} */

footer {
    background-color: steelblue;
    height: 200px;
}



@media only screen and (max-width: 768px) {

body {
    max-width: 100vw;
    overflow-x: hidden;
}

header {
    padding: 0;
    right: auto;
    height: 150px;
    max-height: 100vh;
}

header div {
    position: fixed;
    top: 0;
}

.topnav a {
    display: none;
    text-decoration: none;
}

.topnav a.icon {
    float: right;
    display: block;
}

.topnav {
    position: fixed;
    right: 0;
    top: 15px;
    height: 100vh;
}

.topnav.responsive {
    right: 0;
    background-color: white;
    width: 100vw;
    padding: 10px;
}

.topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
}

.topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    padding-top: 15px;
}

header a {
    text-align: center;
    font-size: 28px;
}

header a::after {
    content: none;
}

.foto-web {
    display: none;
}

.foto-mobile {
    display: block;
}

#o-nas {
    flex-direction: column-reverse;
    margin-left: auto;
    padding: 30px;
}

h1 {
    font-size: larger;
}

#loga-organizacji {
    align-items: center;
}

#grupy {
    display: block;
}

#grupy-sekcja {
    display: block;
    flex-direction: column;
}

#sekcja-grupy {
    flex-direction: column;
    row-gap: 30px;
}

#grupy div {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.kadra {
    flex-direction: column;
}

#kontakt {
    flex-direction: column-reverse;
    padding: 0;
}

#kontakt-kontakt {
    padding: 15px;
}

iframe {
    width: 100vw;
}

.dot {
    width: 10px;
    height: 10px;
}

#sociale {
    font-size: 12px;
}

}