body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "MS Trebuchet", Verdana, sans-serif;
  background-color: black;
}

hr {
  border: 5px solid #228b22;
  margin-left: 5%;
  margin-right: 5%;
}

h1 {
  margin: 0;
  padding-top: 0.3vw;
  padding-bottom: 0.3vw;
  color: #228b22;
  text-align: center;
  font-size: 1.5em;
}

h3 {
  margin: 0;
  color: #cc6600;
  text-align: center;
  font-size: 1.5vw;
  padding: 0.5vw;
}

h4 {
  margin: 0;
  color: #cc6600;
  text-align: center;
  font-size: 1.2em;
  padding-top: 0.7vw;
  padding-right: 25px;
  padding-bottom: 15px;
  padding-left: 25px;
}

h5 {
  margin: 0;
  padding: 5px;
  color: #228b22;
  text-align: center;
  font-size: 1em;
}
h6 {
  margin: 0;
  padding: 0.3vw;
  color: #cd853f;
  text-align: center;
  font-size: 1.2em;
}
header {
  background: black;
}

.bkgcolor {
  background: #cecece;
}

/* opste podesavanje sekcije */
section {
  min-height: 200px;
  max-height: auto;
  width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
}

/* jumbo prva sekcija */
section.jumbo {
  position: relative;
}

section.jumbo img {
  width: 1%;
}

.floater {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.floater h2 {
  display: inline-block;
  font-size: 2.25em;
  line-height: 3em;
  padding: 0.5em;
  color: #7d7a79;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 2px 2px 30px 4px black;
}

/*container elementi */
.container {
  display: flex;
  flex-wrap: wrap;
  width: 98vw;
  margin-left: 1vw;
  margin-right: 1vw;
  height: fit-content;
  text-align: center;
}

.container2 {
  display: none;
}

/*opsti stilovi za figure */
figure {
  display: inline-block;
  width: 30vw;
  height: 60vw;
  padding: 2%;
  border: 0.75vw inset #228b22;
  border-style: groove;
  margin: 0.3vw 0.3vw;
  overflow: hidden;
  background-color: white;
  text-decoration: none;
  border-radius: 10%;
}

/*container elementi za Sudije */
.containerSudija {
  width: 100vw;
  margin: auto;
  text-align: center;
}

/*stilovi za figure Sudija */
figureSudija {
  display: inline-block;
  position: relative;
  width: 28vw;
  padding: 1%;
  border: 0.5vw inset #228b22;
  border-style: groove;
  margin: 1vw 1vw;
  overflow: hidden;
  background-color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 10%;
}

.kontakt {
  text-align: right;
  text-align: left;
  margin-left: auto;
  margin-right: 100px;
  position: relative;
  color: #228b22;
}

.leptekst {
  margin-left: 2%;
  margin-right: 2%;
  position: relative;
  text-indent: 50px;
  text-align: justify;
  letter-spacing: 1px;
  font-family: Verdana, Helvetica, sans-serif;
  font-weight: bold;
  color: #228b22;
}

.leptekst2 {
  margin-left: 25px;
  margin-right: 100px;
  position: relative;
  text-indent: 50px;
  text-align: justify;
  letter-spacing: 0.5px;
  font-family: Verdana, Helvetica, sans-serif;
  color: #228b22;
  font-style: normal;
  font-size: 12px;
}

figure img {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.collapsible {
  background-color: #228b22;
  color: #ffff99;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  font-weight: bold;
}

.activecoll,
.collapsible:hover {
  background-color: #33cc33;
}

.contentcoll {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: white;
  color: #228b22;
  text-align: justify;
}

figcaption {
  padding: 0.5px;
  background: white;
  color: #228b22;
  text-decoration: none;
  text-align: center;
}

section video {
  display: block;
  margin: 0 auto !important;
}

/* footer */
footer {
  position: fixed;
  width: 100%;
  background: #228b22;
  font-size: 0.75em;
}

footer nav {
  width: 890px;
  margin: 0 auto;
  padding: 3em 0;
}

footer nav ul {
  margin: 0;
  list-style: none;
}

.copyright {
  width: 100%;
  bottom: 0;
  line-height: 2em;
  text-align: center;
  color: black;
}

.slikacentar {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.IndexSlike {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 85vw;
  padding: 1.8vw;
  border: 1.8vw;
  border-style: groove;
  border-color: #228b22;
}

.slikaportret {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 30%;
  padding: 5px;
  border: 15px;
  border-style: groove;
  border-color: #228b22;
}

a:link {
  text-decoration: none;
}

#Naslov_weba {
  animation: mymove 5s infinite;
  background-color: #228b22;
  width: 100%;
  height: auto;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

@keyframes mymove {
  50% {
    text-shadow: 0.7vw 0.7vw 0.5vw #ffffcc;
  }
}

.pdf {
  width: 5%;
}

/* Podešavanje menija navigacije*/
body {
  margin: 0;
  font-family: Arial;
}

.topnav {
  overflow: hidden;
  background-color: #228b22;
}

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

.active {
  background-color: black;
  color: #228b22;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: #ffffcc;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffcc;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #006600;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: black;
  color: #ffffcc;
}

.dropdown-content a:hover {
  background-color: #228b22;
  color: #ffffcc;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 640px) {
  .topnav a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
  .pdf {
    width: 10vw;
  }

  .container {
    display: none;
  }
  .container2 {
    display: flex;
    flex-wrap: wrap;
    width: 98vw;
    text-align: justify;
    height: fit-content;
    margin-bottom: 10vh;
  }

  #sudije {
    width: 48vw;
    height: 100vw;
  }
}

@media screen and (max-width: 640px) {
  .topnav.responsive {
    position: sticky;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: sticky;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  .spisak {
    color: white;
    font-weight: bold;
  }
}

#myBtn2 {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn2:hover {
  background-color: #555;
}

/* ZA PODEŠAVANJE PRIJATELJA KLUBA*/

.IndexcontainerN {
  margin: 0.3vw;
  display: inline-block;
  position: relative;
  width: 18vw;
  height: 18vw;
  border-radius: 5%;
  box-shadow: none;
  background-color: white;
}

.IndeximageN {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5%;
}

.overlayimgN {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  width: auto;
  opacity: 0;
  transition: 1s ease;
  background-color: #228b22;
  border-radius: 5%;
}

.IndexcontainerN:hover .overlayimgN {
  opacity: 0.8;
  box-shadow: 10px 10px 5px #ffffcc;
}

.textoverlayN {
  color: white;
  font-size: 2vw;
  position: absolute;
  font-weight: bold;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial;
}

.header {
  text-align: center;
  padding: 32px;
}

.redovi {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.kolona {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}
.kolona2 {
  -ms-flex: 50%; /* IE10 */
  flex: 50%;
  max-width: 50%;
  padding: 0 4px;
}

.kolona img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .kolona {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .kolona {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}
* {
  box-sizing: border-box;
}
body {
  font-family: Verdana, sans-serif;
}
.mojSlajd {
  display: none;
}
img {
  vertical-align: middle;
}

/* Slideshow container */
.galerija-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.tekstslajda {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertekstslajda {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.tackica {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.aktivno {
  background-color: #717171;
}

/* Fading animation */
.efekat {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .tekstslajda {
    font-size: 11px;
  }
}

.flip-card {
  background-color: transparent;
  width: 48vw;
  height: 48vw;
  perspective: 138vw;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #228b22;
  color: black;
  transform: rotateY(180deg);
  font-size: 1.8vw;
}

.spisak {
  color: white;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
}

#news {
  background-color: #228b22;
  color: black;
  font-size: 2em;
  font-weight: 700;
  width: 5.5em;
  height: auto;
  text-align: center;
  border-radius: 40px;
  margin-left: 45%;
}

#news:hover {
  background-color: black;
  color: #228b22;
  font-size: 2em;
  font-weight: 700;
  width: 5.5em;
  height: auto;
  text-align: center;
  border-radius: 40px;
  margin-left: 45%;
}

/* Styles for thumbnail grid */
.thumbnail-grid {
  display: grid;
  grid-gap: 10px;
}

.thumbnail-grid img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* Styles for slideshow */
.slideshow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.slideshow img {
  max-width: 60%;
  height: auto;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.slideshow button {
  margin: 5px; /* Adjust margin as needed */
}

/* Media query for responsive design */
@media screen and (min-width: 768px) {
  .thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

#video body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

video {
  margin-left: 25%;
  width: 50%;
  max-width: 100%; /* Ensure video doesn't exceed its original width */
}
