* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: rgb(56, 45, 45);
}
/*--ozadje-animacija--*/

.banner {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

@keyframes fade {
  0% {
    opacity: 1;
  }

  5% {
    opacity: 0;
  }

  10% {
    opacity: 0;
  }

  15% {
    opacity: 0;
  }

  20% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  35% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  45% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  55% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  70% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  85% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  animation: fade 140s ease-in-out infinite alternate;
}

img:nth-of-type(1) {
  animation-delay: 133s;
}
img:nth-of-type(2) {
  animation-delay: 126s;
}
img:nth-of-type(3) {
  animation-delay: 119s;
}
img:nth-of-type(4) {
  animation-delay: 112s;
}
img:nth-of-type(5) {
  animation-delay: 105s;
}
img:nth-of-type(6) {
  animation-delay: 98s;
}
img:nth-of-type(7) {
  animation-delay: 91s;
}
img:nth-of-type(8) {
  animation-delay: 84s;
}
img:nth-of-type(9) {
  animation-delay: 77s;
}
img:nth-of-type(10) {
  animation-delay: 70s;
}
img:nth-of-type(11) {
  animation-delay: 63s;
}
img:nth-of-type(12) {
  animation-delay: 56s;
}
img:nth-of-type(13) {
  animation-delay: 49s;
}
img:nth-of-type(14) {
  animation-delay: 42s;
}
img:nth-of-type(15) {
  animation-delay: 35s;
}
img:nth-of-type(16) {
  animation-delay: 28s;
}
img:nth-of-type(17) {
  animation-delay: 21.5s;
}
img:nth-of-type(18) {
  animation-delay: 14s;
}
img:nth-of-type(19) {
  animation-delay: 7s;
}
img:nth-of-type(20) {
  animation-delay: 0s;
}

/*--ozadje-animacija_konec--*/

/*--navigacija--*/

.header {
  min-height: 100vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  z-index: 20;
}

nav {
  display: flex;
  padding: 2% 4%;
  justify-content: space-between;
  align-items: center;
}
nav img {
  width: 135px;
}
.nav-links {
  flex: 1;
  text-align: right;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}
.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #f44336;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.nav-links ul li:hover::after {
  width: 100%;
}
nav .fa {
  display: none;
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.text-box h1 {
  font-size: 5vh;
  padding-bottom: 5rem;
}
.text-box p {
  margin: 20px 0 40px;
  font-size: 22px;
  color: #fff;
}
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 12px 34px;
  font-size: 18px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: 1s;
}

.hero-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
}

@media (max-width: 700px) {
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: fixed;
    background: #f44336;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 0.5s;
  }
  .nav-links ul {
    padding: 30px;
  }
  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
  .text-box h1 {
    font-size: 20px;
  }
}
/*--navigacija-konec --*/

/*--Footer--*/

.footer {
  width: 100%;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  background-color: hsl(0, 0%, 35%);
}

.footer p {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9em;
  color: rgb(240, 233, 233);
  padding: 0;
  text-align: center;
}

.footer a {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9em;
  color: rgb(118, 176, 226);
}

/*--Footer-konec --*/

/*-- Kontakt in zahvala ozadje --*/

.sub-header-kontakt {
  height: 30vh;
  width: 100%;
  background-image:
    linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(/img/bkg/bkg_fil.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header-thanks {
  height: 70vh;
  width: 100%;
  background-image:
    linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(/img/bkg/bkg_makro.jpg);
  background-position: bottom;
  background-size: cover;
  text-align: center;
  color: #fff;
}
/*-- Kontakt in zahvala ozadje-konec --*/

/*-- O Brezju in Kebrjeku html --*/

.about {
  width: 80%;
  margin: auto;
  padding-top: 1%;
  padding-bottom: 1%;
}

.about-col {
  flex-basis: 100%;
  padding: 30px 2px;
  align-content: center;
}
.about-col h1 {
  font-size: 5vh;
  padding-top: 0;
  padding-bottom: 2vh;
  text-align: center;
  color: rgb(190, 190, 190);
}
.about-col p {
  line-height: 2.5vh;
  font-size: 1.3em;
  text-align: justify;
  color: rgb(190, 190, 190);
}

.about-col h2 {
  font-size: 3.5vh;
  font-weight: 450;
  font-variant: small-caps;
  padding-top: 10px;
  padding-bottom: 20px;
  text-align: center;
  color: rgb(190, 190, 190);
}

.about-col a {
  color: rgb(118, 176, 226);
}
/*-- O Brezju in Kebrjeku html-konec --*/

/*-- Astro html --*/

.text-box h1 {
  text-align: center;
  color: cadetblue;
}

.glavni-astro {
  width: 85%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.glavni-astro h1 {
  font-family: "Courier New", Courier, monospace;
  font-size: 4vh;
  font-weight: 600;
  color: rgb(215, 215, 215);
  text-align: left;
  text-decoration: rgb(72, 134, 192) wavy underline;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.glavni-astro h2 {
  font-family: "Courier New", Courier, monospace;
  color: rgb(214, 174, 28);
  font-size: 1.8em;
  text-align: left;
  text-decoration: rgb(19, 78, 133) double underline;
  font-weight: 600;
  padding-bottom: 0.3em;
}

.glavni-astro p {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
  color: rgb(200, 190, 190);
  text-align: justify;
  line-height: 1.5;
}
.glavni-astro a {
  font-family: "Courier New", Courier, monospace;
  font-size: medium;
  color: #1ab5e0;
  text-decoration: none;
}

/*-- Astro html-konec --*/

/*-- Računalništvo html --*/

.glavni-comp {
  width: 85%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.glavni-comp h1 {
  font-family: "Courier New", Courier, monospace;
  font-size: 4vh;
  font-weight: 600;
  color: rgb(215, 215, 215);
  text-align: left;
  text-decoration: rgb(72, 134, 192) wavy underline;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.glavni-comp h2 {
  font-family: "Courier New", Courier, monospace;
  color: rgb(214, 174, 28);
  font-size: 1.8em;
  text-align: left;
  text-decoration: rgb(19, 78, 133) double underline;
  font-weight: 600;
  padding-bottom: 0.3em;
}

.glavni-comp p {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
  color: rgb(200, 190, 190);
  text-align: justify;
  line-height: 1.5;
}
.glavni-comp a {
  font-family: "Courier New", Courier, monospace;
  font-size: medium;
  color: #1ab5e0;
  text-decoration: none;
}

.glavni-comp li {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.7vh;
  color: rgb(200, 190, 190);
  text-align: left;
  margin-left: 3%;
}
/*-- Računalništvo html-konec --*/

/*-- Filatelija html--*/

.glavni-fil {
  width: 85%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.glavni-fil h1 {
  font-family: "Courier New", Courier, monospace;
  font-size: 4vh;
  font-weight: 600;
  color: rgb(215, 215, 215);
  text-align: left;
  text-decoration: rgb(72, 134, 192) wavy underline;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.glavni-fil h2 {
  font-family: "Courier New", Courier, monospace;
  color: rgb(214, 174, 28);
  font-size: 1.8em;
  text-align: left;
  text-decoration: rgb(19, 78, 133) double underline;
  font-weight: 600;
  padding-bottom: 0.3em;
}

.glavni-fil p {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
  color: rgb(200, 190, 190);
  text-align: justify;
  line-height: 1.5;
}
.glavni-fil a {
  font-family: "Courier New", Courier, monospace;
  font-size: medium;
  color: #1ab5e0;
  text-decoration: none;
}
/*-- Filatelija html-konec--*/

/*-- Makro html --*/

.glavni-makro {
  width: 85%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.glavni-makro h1 {
  font-family: "Courier New", Courier, monospace;
  font-size: 4vh;
  font-weight: 600;
  color: rgb(215, 215, 215);
  text-align: left;
  text-decoration: rgb(72, 134, 192) wavy underline;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.glavni-makro h2 {
  font-family: "Courier New", Courier, monospace;
  color: rgb(214, 174, 28);
  font-size: 1.8em;
  text-align: left;
  text-decoration: rgb(19, 78, 133) double underline;
  font-weight: 600;
  padding-bottom: 0.3em;
}

.glavni-makro p {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
  color: rgb(200, 190, 190);
  text-align: justify;
  line-height: 1.5;
}
.glavni-makro a {
  font-family: "Courier New", Courier, monospace;
  font-size: medium;
  color: #1ab5e0;
  text-decoration: none;
}
/*-- Makro html-konec --*/

/*-- Numizmatika html --*/

.glavni-numi {
  width: 85%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.glavni-numi h1 {
  font-family: "Courier New", Courier, monospace;
  font-size: 4vh;
  font-weight: 600;
  color: rgb(215, 215, 215);
  text-align: left;
  text-decoration: rgb(72, 134, 192) wavy underline;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.glavni-numi h2 {
  font-family: "Courier New", Courier, monospace;
  color: rgb(214, 174, 28);
  font-size: 1.8em;
  text-align: left;
  text-decoration: rgb(19, 78, 133) double underline;
  font-weight: 600;
  padding-bottom: 0.3em;
}

.glavni-numi p {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
  color: rgb(200, 190, 190);
  text-align: justify;
  line-height: 1.5;
}
.glavni-numi a {
  font-family: "Courier New", Courier, monospace;
  font-size: medium;
  color: #1ab5e0;
  text-decoration: none;
}

/*-- Numizmatika html-konec --*/

/*-- Retuša html --*/

.glavni-retusa {
  width: 85%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.glavni-retusa h1 {
  font-family: "Courier New", Courier, monospace;
  font-size: 4vh;
  font-weight: 600;
  color: rgb(215, 215, 215);
  text-align: left;
  text-decoration: rgb(72, 134, 192) wavy underline;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.glavni-retusa h2 {
  font-family: "Courier New", Courier, monospace;
  color: rgb(214, 174, 28);
  font-size: 1.8em;
  text-align: left;
  text-decoration: rgb(19, 78, 133) double underline;
  font-weight: 600;
  padding-bottom: 0.3em;
}

.glavni-retusa p {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
  color: rgb(200, 190, 190);
  text-align: justify;
  line-height: 1.5;
}
.glavni-retusa a {
  font-family: "Courier New", Courier, monospace;
  font-size: medium;
  color: #1ab5e0;
  text-decoration: none;
}

.glavni-retusa li {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.7vh;
  color: rgb(200, 190, 190);
  text-align: left;
  margin-left: 3%;
}

/*-- Retuša html-konec --*/

/*-- Rodoslovje html --*/

.glavni-geni {
  width: 85%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.glavni-geni h1 {
  font-family: "Courier New", Courier, monospace;
  font-size: 4vh;
  font-weight: 600;
  color: rgb(215, 215, 215);
  text-align: left;
  text-decoration: rgb(72, 134, 192) wavy underline;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.glavni-geni h2 {
  font-family: "Courier New", Courier, monospace;
  color: rgb(214, 174, 28);
  font-size: 2em;
  text-align: left;
  text-decoration: rgb(19, 78, 133) double underline;
  font-weight: 600;
  padding-bottom: 0.3em;
}

.glavni-geni p {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
  color: rgb(200, 190, 190);
  text-align: justify;
  line-height: 1.5;
}
.glavni-geni a {
  font-family: "Courier New", Courier, monospace;
  font-size: medium;
  color: #e0c91a;
  text-decoration: none;
}

.glavni-geni li {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.7vh;
  color: rgb(200, 190, 190);
  text-align: left;
  margin-left: 3%;
}

.glavni-geni h3 {
  font-family: "Courier New", Courier, monospace;
  color: rgb(2, 108, 165);
  font-size: 1.7em;
  text-align: left;
  text-decoration: rgb(19, 78, 133) double underline;
  font-weight: 300;
}

/*-- Rodoslovje html-konec --*/

/*-- Kontakt html --*/

.podmeni-col-kontakt {
  width: 80%;
  margin: auto;
}
.podmeni-col-kontakt {
  flex-basis: 48%;
  margin-bottom: 30px;
}

.podmeni-col-kontakt div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.podmeni-col-kontakt h1 {
  font-size: 40px;
  text-align: center;
  padding-bottom: 20px;
}

.podmeni-col-kontakt div .fa {
  font-size: 28px;
  color: #f44336;
  margin: 10px;
  margin-right: 30px;
}

.podmeni-col-kontakt input,
.podmeni-col-kontakt textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #624543;
  border-radius: 10px;
}

.hero-btn.red-btn {
  border: 1px solid #f44336;
  border-radius: 5px;
  background: transparent;
  color: #f44336;
}
.hero-btn.red-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  color: #fff;
}
.hero-btn.red-btn::after {
  background: #f44336;
}
.hero-btn.red-btn::before {
  background: #f44336;
}
/*-- Kontakt html-konec --*/

/*-- Zahvala html --*/

.podmeni-col-thanks {
  flex-basis: 100%;
  padding: 30px 2px;
  align-content: center;
}
.podmeni-col-thanks h2 {
  font-size: 40px;
  padding-top: 0;
  text-align: center;
  color: #dfbcbc;
}
.podmeni-col-thanks p {
  padding: 15px 0 25px;
  text-align: center;
}
/*-- Zahvala html-konec --*/

/*-- Glavna vsebina --*/

.glavni {
  width: 98%;
  margin: auto;
  text-align: center;
  padding-top: 10px;
}
h1 {
  font-size: 4vh;
  font-weight: 600;
  padding-top: 7%;
  padding-bottom: 2rem;
}

h2 {
  padding-top: 20px;
  font-size: 1.6vh;
  font-weight: 200;
}
p {
  color: rgb(197, 169, 169);
  font-size: 1.7vh;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

a {
  color: rgb(5, 65, 119);
}
.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}
/*-- Glavna vsebina-konec --*/

/*-- Uvod --*/

.uvod {
  width: 90%;
  margin: auto;
  text-align: justify;
}

.uvod p {
  color: rgb(197, 169, 169);
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
}

.uvod ul {
  width: 100%;
  margin: auto;
}

.uvod ul li {
  font-family: "Courier New", Courier, monospace;
  font-size: 24px;
  font-style: italic;
  text-align: center;
  text-decoration: underline;
  list-style: none;
  padding: 20px 20px;
}

.uvod a {
  color: rgb(118, 176, 226);
}
/*-- Uvod-konec --*/

/*-- Področja --*/
.glavni-col {
  flex-basis: 14%;
  background: hsl(0, 10%, 75%);
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 10px 10px;
  box-sizing: border-box;
  transition: 0.5s;
}

h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}
.glavni-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}
.glavni-col p {
  font-family: "Courier New", Courier, monospace;
  color: hsl(0, 4%, 11%);
  font-size: 1.7vh;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

/*-- Področja-konec --*/

/*--Kontakt--*/

.kontakt {
  width: 85%;
  margin: auto;
  text-align: justify;
}

.kontakt p {
  color: rgb(197, 169, 169);
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
}

.kontakt a {
  color: rgb(118, 176, 226);
}

/*-- Foto galerija--*/

.foto-galerija {
  width: 100%;
  padding-left: 3vh;
  padding-right: 3vh;
  padding-top: 1vh;
  padding-bottom: 2vh;
  flex: 1;
  text-align: center;
  justify-content: center;
}

.foto-galerija h1 {
  font-size: 2.5rem;
  color: rgb(194, 39, 12);
  padding-top: 1vh;
  padding-bottom: 1vh;
}

.foto-galerija ul {
  width: 100%;
  align-items: center;
}

.foto-galerija ul li {
  list-style: none;
  display: inline-block;
  padding: 20px 20px;
  position: relative;
}
.foto-galerija ul li a {
  text-decoration: none;
  font-size: 1.6vh;
}

.foto-galerija ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #f44336;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.foto-galerija ul li:hover::after {
  width: 100%;
}
/*-- Foto galerija-konec --*/

/*-- Galerija-opis --*/

.galerija-opis {
  width: 90%;
  margin: auto;
  text-align: justify;
}

.galerija-opis p {
  color: black;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.7vh;
}

.galerija-opis ul {
  width: 100%;
  margin: auto;
}

.alerija-opis ul li {
  font-family: "Courier New", Courier, monospace;
  font-size: 24px;
  font-style: italic;
  text-align: center;
  text-decoration: underline;
  list-style: none;
  padding: 20px 20px;
}
/*-- Galerija-opis-konec --*/
