:root {
  --textcol: #002259;
}

@font-face {
  font-family: "Almondita";
  src: url("data/Almondita.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: sans-serif;
}

header,
#gallery-links {
  display: none;
}

.burger {
  height: 10vh;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1%;
}
.logomobile {
  height: 60px;
  width: auto;
  margin-left: 10%;
}
.logomobile img {
  height: 60px;
}

.burgericon {
  display: block;
  margin-right: 10%;
}

.active1 {
  opacity: 1;
  display: block;
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: rgb(255, 255, 255);
  z-index: 10;
  text-align: center;
  transform: translateX(100vw);
  transition: 0.2s ease-in-out;
}

.active1-open {
  opacity: 1;
  z-index: 20;
  transform: translateX(0);
}

.active1 ul {
  list-style: none;
  padding: 10px;
}

.active1 ul li {
  list-style: none;
  height: 10vh;

  border-bottom: #002259 1px solid;
  text-align: center;
  align-items: center;
  display: flex;
}

.active1 ul li a {
  color: #002259;
  font-size: 1.5em;
  margin: auto auto;
  text-decoration: none;
}

.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: #002259;
  stroke-width: 4;
  stroke-linecap: round;
}
.ham .top {
  stroke-dasharray: 20 160;
}
.ham .middle {
  stroke-dasharray: 40 142;
  transform-origin: 50%;
  transition: transform 400ms;
}
.ham .bottom {
  stroke-dasharray: 20 85;
  transform-origin: 50%;
  transition: transform 400ms, stroke-dashoffset 400ms;
}
.ham.active .top {
  stroke-dashoffset: -64px;
}
.ham.active .middle {
  transform: rotate(90deg);
}
.ham.active .bottom {
  stroke-dashoffset: -64px;
}

.albmenu {
  width: 100%;
  height: 6vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
  text-align: center;
  margin-bottom: 10px;
  position: sticky;
  top: 0;
}

.dropbtn {
  background-color: #bbbbbb;
  color: rgb(83, 83, 83);
  height: 25px;
  font-size: 16px;
  border: none;
  width: 120px;
  cursor: pointer;
  z-index: 5;
  display: block;
  margin: auto auto;
}

.dropbtn::after {
  content: "";
  border: 4px solid transparent;
  border-top: 4px solid rgb(110, 110, 110);
  margin-left: 9px;
  margin-bottom: 3px;
  display: inline-block;
  vertical-align: bottom;
}


.dropbtn:hover,
.dropbtn:focus {
  background-color: #2980b9;
}

.dropdown {
  display: inline-block;
  z-index: 15;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 120px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 15;
  text-align: center;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  z-index: 5;
}

.dropdown a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}
.albcont {
  height: 80vh;
  display: block;
  width: 100%;
  margin-top: 5%;
}

.gallery-chng {
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  justify-content: center;
}

@keyframes FadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.grid1,
.grid2,
.grid3,
.grid4,
.grid5 {
  width: 95%;
  position: absolute;
  display: none;
  flex-wrap: wrap;
  opacity: 0;
  overflow: hidden;
}

div.current {
  display: flex;
  animation: FadeIn linear 1.5s 1 forwards;
  z-index: 10;
  pointer-events: inherit;
}

@keyframes FadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.slika1-1 {
  grid-row: 1/2;
  grid-column: 1/3;
  background: url("../img/bus/41.jpg") no-repeat;
  background-size: 100% 100%;
}

.slika1-2 {
  grid-row: 1/2;
  grid-column: 1/3;
  background: url("../img/bus/13.jpg") no-repeat;
  background-size: 100% 100%;
}
.slika1-3 {
  grid-row: 1/2;
  grid-column: 1/3;
  background: url("../img/bus/27.jpg") no-repeat;
  background-size: 100% 100%;
}

.spotlight img {
  width: 100%;
}

.spotlight {
  width: 90%;
}

.column {
  -ms-flex: 33%;
  flex: 100%;
  max-width: 100%;
  padding: 0 4px;
}

@media screen and (min-width: 576px) and (max-width: 849.98px) {
  .burger {
    margin-top: 1%;
  }
  .albcont {
    margin-top: 2%;
  }
  .logomobile {
    height: 80px;
  }
  .logomobile img {
    height: 80px;
  }

  svg {
    height: 80px;
    width: 80px;
  }

  .dropbtn {
    height: 33px;
    width: 150px;
    font-size: 1.1rem;
  }

  .dropbtn::after {
    content: "";
    border: 6px solid transparent;
    border-top: 6px solid rgb(110, 110, 110);
    margin-left: 9px;
    margin-bottom: 2px;
  }
  .dropdown-content {
    width: 150px;
    font-size: 1.1rem;
  }

  .dropdown-content a {
    padding: 15px 16px;
  }
  .spotlight img {
    width: 100%;
  }

  .column {
    flex: 50%;
    max-width: 50%;
    padding: 0 4px;
  }
}

@media screen and (min-width: 850px) and (max-width: 1023.98px) {
  header {
    display: none;
  }
  .burger {
    height: 100px;
    margin-top: 2%;
  }

  .logomobile {
    height: 90px;
  }
  .logomobile img {
    height: 90px;
  }
  svg {
    height: 80px;
    width: 80px;
  }

  .dropbtn {
    height: 33px;
    width: 160px;
    font-size: 1.1rem;
  }

  .dropbtn::after {
    border: 7px solid transparent;
    border-top: 7px solid rgb(110, 110, 110);
    margin-bottom: 0px;
  }
  .dropdown-content {
    width: 160px;
    font-size: 1.1rem;
  }

  .dropdown-content a {
    padding: 15px 16px;
  }

  .albcont {
    margin-top: 1%;
  }
  .grid1,
  .grid2,
  .grid3,
  .grid4,
  .grid5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
    padding: 0 4px;
  }
}

@media screen and (min-width: 1023.99px) {
  .burger,
  .dropbtn,
  .active1,
  .active1-open {
    display: none;
  }

  header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15vh;
    width: 100%;
  }

  .navul {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .navul li {
    list-style: none;
    padding: 0 30px;
  }
  .navul li a {
    text-decoration: none;
    pointer-events: all;
    color: var(--textcol);
    font-size: 1.5em;
  }
  .logo {
    padding: 5px 10px;
    height: 80px;
  }

  #gallery-links {
    display: block;
  }

  .albcont {
    display: flex;
    width: 100%;
    margin-top: 1%;
  }
  #gallery-links {
    height: 85%;
    padding: none;
    display: block;
  }
  .albmenu {
    display: block;
    width: 22%;
    padding: unset;
  }

  .albmenu ul {
    margin: 20% 10% 0 10%;
    list-style: none;
    height: 100%;
  }

  .albmenu ul li {
    margin-top: 10%;
    display: flex;
    align-items: center;
  }

  .albmenu ul li a {
    font-size: 0.8em;
    text-decoration: none;
    text-transform: uppercase;
    padding-left: 5%;

    color: var(--textcol);
  }

  #gallery-links li:nth-child(6) {
    padding-top: 20%;
  }

  .lineparent {
    width: 35%;
    height: 2px;
    display: block;
  }
  .line1,
  .line2,
  .line3,
  .line4,
  .line5 {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--textcol);
    opacity: 0;
  }

  .currentline {
    opacity: 1;
    animation: linewidth 0.5s;
  }

  @keyframes linewidth {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }

  .gallery-chng {
    width: 78%;
    height: 85vh;
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: unset;
    right: 1px;
  }

  .grid1,
  .grid2,
  .grid3,
  .grid4,
  .grid5 {
    width: 100%;
  }

  .column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }

  .spotlight {
    width: 100%;
    height: 100%;
  }
  .spotlight img {
    width: 100%;
  }

  .footer {
    height: 10vh;
  }
}
