@charset "utf-8";*{
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    cursor: url("slike/pointer.png"), auto;
    -moz-cursor: url("slike/pointer.png"), auto;
    font-family: 'conduit_itcbold';
}

* {
  box-sizing: border-box;
}

body {
  background-color: #5E5151;
  font-family: Helvetica, sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #333;
  padding: 10px 20px;
}

.logo img {
  height: 90px;
}

h1{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 30pt;
  text-align: center;
  text-shadow: 2px 2px 2px #333;
  margin-top: 3%;
  margin-bottom: 3%;
}

h2{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 25pt;
  text-align: center;
  margin-top: 3%;
  margin-bottom: 3%;
}

h3 {
  text-align: center;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

p, b{
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 14pt;
  background-color: rgb(51, 51, 51);
  color: white;
  text-align: left;
  padding: 10px;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 15vh;
  width: 100vw;
  background-color: #333;
  text-align: left;
  overflow: hidden;
  transition: 0.4s;
}

nav img {
  float: left;
  height: 58px;
  margin-left: 58px;
}

nav ul {
  list-style-type: none;
  float: left;
}

nav li {
  float: left;
  margin-left: 120px;
  font-size: 15pt;
}

nav li a {
  text-decoration: none;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav li a:hover {
  color: black;
}

#prekidac{
  display: none;
}

#hamburger{
  display: none;
}

.uvod p {
  background-color: #333;
  color: white;
  margin-left: 10%;
  margin-right: 10%;
  text-align: left;
  padding: 10px;
  
}

.muzej {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4%;
  position: relative;
}

.muzej img {
  transition: box-shadow 0.3s ease;
  display: block;
}

.muzej img:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.tekst p {
  border: 5px solid #333;
  padding: 10px;
  margin: 8px 0;
  margin-left: 5%;
  margin-bottom: 2%;
  width: 90%;
  text-align: left;
  background: #333;
  color: #fefefe;
  display: inline-block;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
  padding-top: 60px;
  text-align: center;
}

.modal img {
  max-width: 90%;
  max-height: 80%;
  margin: auto;
  display: block;
}

.modal .caption {
  color: #fff;
  font-size: 20px;
  padding: 10px 0;
}

.modal a.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fefefe;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
}

.modal a.close:hover,
.modal a.close:focus {
  color: #bbb;
}

.modal a.prev,
.modal a.next {
  position: absolute;
  top: 50%;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.modal a.prev:hover,
.modal a.next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.modal a.prev {
  left: 0;
}

.modal a.next {
  right: 0;
}

.modal:target {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.gallery-item img {
  width: 90%;
  height: auto;
  border-radius: 10px;
  border: 2px solid #3a3a3a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-left: 4.5%;
  margin-bottom: 5%;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.ciklus {
  margin-bottom: 20px;
  position: relative;
}

.ciklus h2 {
  text-align: left;
  margin-bottom: 5px;
  margin-left: 2%;
}

.ciklus p {
  border: 3px solid #333;
  padding: 10px;
  margin: 8px 0;
  margin-left: 2%;
  width: 60%;
  text-align: left;
  background: #333;
  color: #fefefe;
  display: inline-block;
}

.ciklus img {
  width: 18%;
  height: auto;
  float: right;
  margin-right: 8%;
  margin-top: -10px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

.ciklus img:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#slika-pozadina {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

#slika-prikaz {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  padding: 20px;
}

#slika-prikaz img {
  max-width: 90%;
  max-height: 80%;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 8px;
}

.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #333;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

.right::after {
  left: -16px;
}

.content {
  padding: 20px 30px;
  background-color: rgb(63, 63, 63);
  position: relative;
  border-radius: 6px;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2%;
}

.video-container iframe {
  margin: 0 auto;
  display: block;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

.kviz {
  width: 450px;
  padding: 20px;
  margin: 80px auto;
  margin-left: 35%;
  background-color: #7b7b7b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  margin-bottom: 8%;
}

.kviz, h3 {
  color: black;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.result {
  margin-bottom: 2%;
}

#submit {
  display: block;
  margin: 20px auto;
}

.bolesti{
  margin-left: 28%;
}

.znak {
  height: auto;
  float: right;
  padding-right: 10%;
  position: relative;
  top: -150px;
}

.question {
  font-weight: bold;
  margin-bottom: 10px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.options {
  margin-bottom: 20px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.option {
  display: block;
  margin-bottom: 10px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #05377F;
  color: #fff;
  border: none;
  font-size: 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
  margin-right: 10px;
  margin-top: 4%;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.button:hover {
  background-color: #3071a9;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.result {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.hide{
  display: none;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

footer p {
  display: flex;
  align-items: center;
  background-color: #333;
  color: white;
  width: 100%;
  padding: 20px;
}

footer p img {
  height: 20px;
  vertical-align: middle;
  margin-right: 10px;
}

footer p a {
  color: white;
  text-decoration: none;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

footer p a:hover {
  text-decoration: none;
}

.komarac{
  animation: animacija ease-in-out 4s infinite alternate;
  float: right;
  margin-right: 10%;
  width: 10%;
}

.komarac2{
  animation: animacija2 ease-in-out 4s infinite alternate;
  float: left;
  margin-left: 10%;
  width: 10%;
}

@keyframes animacija{ 
  20% { transform: rotate(15deg); } 
  60% { transform: rotate(-10deg); } 
  100% { transform: rotate(15deg); } 
}

@keyframes animacija2{ 
  20% { transform: rotate(-10deg); } 
  60% { transform: rotate(15deg); } 
  100% { transform: rotate(-10deg); } 
}

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

h1{
  font-size: 25pt;
}

h2{
  font-size: 22pt;
}

header img {
  margin: 1vh 30px;
  height: 55px;
}

nav {
  display: block;
  height: 10vh;
  overflow: visible;
  z-index: 10;
}

#hamburger {
  cursor: pointer;
  display: block;
  color: white;
  margin-left: 95%;
  margin-top:20px;
}

.meni {
  text-align: right;
  display: none;
}

.meni li {
  font-size: 15pt;
  margin: 0;
}

.meni a {
  font-size: 15pt;
  height: auto;
  width: 90vw;
  padding: 2vh;
  background-color: #333;
  border-bottom: 1px solid #EAEAEB;
  padding: 2vh;
  clear: right;
  display: block;
}

.meni li a:hover {
  background-color: var(--crna);
  color: var(--bijela);
}

#prekidac:checked+.meni {
  display: block;
}

.logo img {
  height: 60px;
  margin-left: -10px;
}

.muzej img {
  transition: box-shadow 0.3s ease;
  display: block;
  height: 260px;
  width: 260px;
}

.modal img {
  max-width: 80%;
  max-height: 60%;
  display: block;
  margin-top: 30%;
  margin-left: 8%;
}

.uvod p {
  margin-left: 10%;
  padding-right: 8%;
}

.tekst p {
  border: 5px solid #333;
}

.container {
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
}

.timeline::after {
  left: 31px;
}

.left::after, .right::after {
  left: 15px;
}

.right {
  left: 0;
}

.container::before {
  left: 60px;
  border: medium solid rgb(56, 56, 56);
  border-width: 10px 10px 10px 0;
  border-color: transparent rgb(56, 56, 56) transparent transparent;
}

.timecontent {
  padding: 20px 30px;
  background-color: rgb(56, 56, 56);
  position: relative;
  border-radius: 6px;
}

.ciklus p {
  width: 90%;
}

.ciklus img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 20px auto;
  margin-right: 40px;
  transition: box-shadow 0.3s ease;
}

.ciklus-slika {
  text-align: center;
}

.bolesti{
  margin-left: 14px;
}

.bolesti h1{
  font-size: 30pt;
}

.znak{
  display: none;
}

.video-container {
  margin-right: -10px;
}

.komarac, .komarac2{
  display: none;
}

.kviz{
  margin-left: 5%;
  width: 320px;
  padding: 30px;
  margin: 50px auto;
}

.question {
  margin-top: 6px;
  font-size: 13pt;
}

.kviz, h3 {
  font-size: 15pt;
}

.button{
  font-size: 17pt;
}
}