#svrha-kluba-sekcija-bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  padding-bottom: 3rem;
  margin: auto;
  background-color: var(--clr-background);
}

#svrha-kluba {
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 80%;
  margin: auto;
  min-height: 60vh;
}

#piuni-slike {
  position: relative;
  max-width: 1700px;
}

#piuni-slike picture {
  display: flex;
  margin-right: auto;
  margin-left: auto;
}

#piuni-slike img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  align-self: center;
  margin-right: auto;
  margin-left: auto;
}

#piuni {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 1700px;
}

#piuni-sa-sjenom {
  bottom: 0;
  left: 0;
  max-width: 1700px;
}

#svrha-kluba-paragraf {
  margin: 3rem auto 0;
}

h2 {
  font-size: var(--font-size-middle2);
  line-height: 0.8;
  letter-spacing: -1px;
  color: var(--clr-foreground);
}

#svrha-kluba-paragraf h2 span {
  color: var(--clr-accent);
}

#svrha-kluba-paragraf p {
  color: var(--clr-foreground-2);
  margin: 10px 0 0;
  padding: 10px 0 0;
  max-width: initial;
}

#galerija-i-o-nama-bg {
  background: var(--clr-foreground);
}

#galerija-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--clr-foreground);
  min-height: 60vh;
}

#galerija {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 60px;
}

.galerija-container {
  width: min(1200px, 100%);
  position: relative;
}

.swiper-button-prev,
.swiper-button-next {
  --swiper-navigation-color: #fff;
  --swiper-navigation-top-offset: 43%;
}

.swiper-button-prev {
  left: -40px;
}

.swiper-button-next {
  right: -40px;
}

#galerija p {
  font-weight: var(--font-weight-light);
  font-size: var(--fontsize-small);
  text-align: center;
  color: #fff;
  margin-bottom: 7vh;
}

.swiper {
  width: 100%;
  height: 100%;
  margin-bottom: 30px;
}

.swiper-scrollbar {
  --swiper-scrollbar-bottom: 0;
  --swiper-scrollbar-drag-bg-color: #fffffa;
  --swiper-scrollbar-size: 4px;
  --swiper-scrollbar-bg-color: #333;
}

.post-img {
  width: 100%;
  max-width: 550px;
  height: auto;
  object-fit: cover;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 5px;
  user-select: none;
  pointer-events: none;
  margin-bottom: 16px;
}

#o-nama-bg {
  width: 100%;
  margin: auto;
  background-color: var(--clr-foreground);
}

#o-nama {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  margin: auto;
  position: relative;
}

#alman {
  width: 100%;
  height: auto;
  top: auto;
  bottom: 0%;
  left: 0%;
  right: 0%;
  overflow: hidden;
  line-height: 0;
}

#slika {
  display: inline-block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: transform 600ms ease-out;
}

#o-nama-paragraf {
  width: 100%;
  padding: 10% 5% 10% 10%;
}

#o-nama-paragraf h3 {
  font-weight: var(--font-weight-semi-strong);
  font-size: var(--font-size-middle);
  color: #fff;
  line-height: 0.9;
  letter-spacing: -1px;
}

#o-nama-paragraf-p {
  font-weight: var(--font-weight-light);
  color: #fff;
  font-size: var(--fontsize-small);
  max-width: 50ch;
  margin: 2em 0;
}

#dugme3 {
  font-weight: var(--font-weight-light);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  outline: 1px solid;
  outline-color: rgba(255, 255, 255, 0.5);
  outline-offset: 0px;
  text-shadow: none;
  transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

#dugme3:hover {
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.2);
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 15px;
  text-shadow: 1px 1px 2px #427388;
}

#sponsoren-bg {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-background);
}

#sponsoren {
  padding-top: 1.5rem;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#sponsoren h3 {
  color: var(--clr-foreground);
  font-size: var(--fontsize-h3);
  margin-bottom: 0.5em;
  text-align: center;
}

#sponsoren-images {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#sponsoren picture {
  padding: 1rem 0 1rem;
}

#sponsoren img {
  line-height: 0;
  display: inline-block;
  width: 100%;
  max-width: 343px;
  height: auto;
  object-fit: contain;
}

#kontakt-bg {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-background);
}

#kontakt {
  padding-top: 1.5rem;
  width: 80%;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#kontakt-sadrzaj {
  padding-bottom: 3rem;
}

#kontakt h3 {
  color: var(--clr-foreground);
}

#kontakt p {
  color: var(--clr-foreground-2);
}

#kontakt h3 {
  font-size: var(--fontsize-h3);
  margin-bottom: 0.5em;
}

#drustvene-mreze {
  display: flex;
  margin: auto;
  padding: 10px 0 15px;
}

.text #drustvene-mreze {
  display: flex;
  margin: 0;
}

#mapa-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

#mapa-slika {
  display: inline-block;
  width: 100%;
  height: 35vh;
  max-height: 400px;
  object-fit: cover;
  object-position: center center;
}

#text-container {
  position: absolute;
  overflow: hidden;
  background: white;
  width: auto;
  height: auto;
  max-width: 50%;
  padding: 0.5rem;
  left: 1rem;
  top: 1rem;
}

#text-container p {
  font-size: 0.7rem;
  font-weight: var(--font-weight);
  margin-bottom: 0.5em;
}

#text-container p:nth-of-type(1) {
  color: black;
  font-weight: var(--font-weight-strong);
}

#text-container p:nth-of-type(2) {
  display: none;
}

#text-container a {
  text-decoration: none;
  color: #1a73e8;
  font-size: 0.7rem;
  font-weight: var(--font-weight-strong);
  margin-bottom: 0.5em;
}

.fb1 {
  fill: #fff;
}
.fb2 {
  fill: #1877f2;
}

#facebook {
  width: 3rem;
  max-width: 3rem;
  height: auto;
  cursor: pointer;
  margin-top: 1rem;
}

#facebook:hover .fb2,
#facebook:hover #linear-gradient {
  fill: #145fc0;
  transition: 0.2s all ease;
}

.yt1 {
  fill: #ff0000;
}

.yt2 {
  fill: #ffffff;
}

#youtube {
  width: 3rem;
  max-width: 3rem;
  height: auto;
  cursor: pointer;
  margin-top: 1rem;
  margin-left: 1rem;
}

#youtube:hover .yt1 {
  fill: #da0606;
  transition: 0.2s all ease;
}

footer {
  background-color: var(--clr-background);
  color: var(--clr-foreground-2);
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  min-height: 15vh;
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#social-media {
  display: flex;
}

#social-media div:nth-of-type(2) {
  margin-left: 1rem;
}

#social-media div a svg {
  fill: var(--clr-foreground);
  width: 1.2rem;
  max-width: 1.2rem;
  height: 1.2rem;
  overflow: hidden;
  background: transparent;
  line-height: 1;
  transition: 0.3s all ease;
}

#social-media div a svg:hover {
  fill: var(--clr-accent);
}

#copy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  margin: 0;
}

#copy p {
  margin: 0.4em 0 0.4em;
}

footer div p {
  font-size: var(--fontsize-extra-small);
}

footer div a {
  text-decoration: none;
  color: var(--clr-foreground-2);
  transition: 0.3s all ease;
}

footer div a:hover {
  color: var(--clr-accent);
}

@media screen and (min-width: 769px) {
  #svrha-kluba-sekcija-bg {
    padding-bottom: 4rem;
  }

  #galerija-bg {
    min-height: 70vh;
  }

  .post-img {
    max-width: 550px;
  }

  #o-nama {
    flex-direction: row;
  }
  #alman {
    width: 50%;
    order: 2;
  }

  #o-nama-paragraf {
    flex: 1;
    width: 50%;
    height: auto;
    margin-right: auto;
    padding: 0 5% 0 10%;
  }

  #sponsoren-images {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #sponsoren picture {
    padding: 1rem 1.5rem 1rem;
  }

  #kontakt {
    min-height: 90vh;
  }

  #mapa-slika {
    height: 35vh;
    max-height: 400px;
  }

  #text-container p:nth-of-type(2) {
    display: block;
  }

  footer {
    flex-direction: row;
    min-height: 10vh;
  }
}

@media screen and (min-width: 1025px) {
  #svrha-kluba-sekcija-bg {
    padding-bottom: 7rem;
  }

  #svrha-kluba {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #piuni-slike {
    flex: 1;
    order: 2;
  }

  #svrha-kluba-paragraf {
    flex: 1;
    margin: 0 5% 0 0;
  }

  #svrha-kluba-paragraf p {
    margin: 20px 0 0;
    padding: 20px 0 0;
  }

  h2 {
    letter-spacing: -2px;
  }

  #kontakt {
    min-height: 94vh;
  }

  #mapa-slika {
    max-height: 500px;
  }

  footer {
    min-height: 6vh;
  }

  #copy {
    flex-direction: row;
  }

  #copy p:nth-of-type(1)::after,
  #copy p:nth-of-type(2)::after {
    content: " / ";
  }

  #copy p {
    margin: 0 0 0;
  }
}

@media screen and (min-width: 1201px) {
  #sponsoren picture {
    padding: 1.5rem 2.5rem 1.5rem;
  }
}

@media screen and (min-width: 1680px) {
  #text-container p,
  #text-container a {
    font-size: 0.9rem;
  }
}

@media screen and (min-width: 1900px) {
  .galerija-container {
    width: min(1800px, 100%);
  }

  #svrha-kluba-paragraf {
    margin: 0 60px 0 0;
  }

  #sponsoren picture {
    padding: 2rem 3rem 2rem;
  }

  #facebook,
  #youtube {
    width: 5rem;
    max-width: 5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  #youtube {
    margin-left: 1.5rem;
  }

  #text-container p,
  #text-container a {
    font-size: 1rem;
  }

  #social-media div a svg {
    width: 2.2rem;
    max-width: 2.2rem;
    height: 2.2rem;
  }
}

@media screen and (min-width: 3840px) {
  .galerija-container {
    width: min(2800px, 100%);
  }

  #svrha-kluba-paragraf {
    margin: 0 120px 0 0;
  }

  #facebook,
  #youtube {
    width: 7rem;
    max-width: 7rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  #youtube {
    margin-left: 2rem;
  }

  #text-container p,
  #text-container a {
    font-size: 2rem;
  }

  #social-media div a svg {
    width: 4rem;
    max-width: 4rem;
    height: 4rem;
  }
}

@media screen and (max-width: 300px) {
  #text-container p {
    display: none;
  }
}
