body {
  background: linear-gradient(#e4d7b4, #e6e6e6, #e4d7b4);
  font-family: 'Montserrat', sans-serif;
}

.loadingScreen {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100vh;
    background-color: #e4d7b4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;  
    /*display: none;  */
}

.loadingScreen img {
    animation: rotate 2s infinite;
}

@keyframes rotate{
    from {
        transform: rotate(1turn);
    }  
}

.loadingScreen p {
  color: #683e00;
}

#bars {
  display: none;
}

nav {
  position: sticky;
  top: 0;
  background-color: #826c30;
  z-index: 100;
}

nav .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

nav div {
  align-self: center;
}

#logo {
  margin-top: 5px;
  margin-left: 5px;
}

.items {
  width: 100%;
  justify-content: space-around;
}

nav a {
  text-decoration: none;
  color: white;
  padding: 2% 4% 2% 4%;
}

#nav-audicija {
  color: #ffcc80;
}

nav a:hover {
  font-weight: bold;
  text-shadow: 0 0 5px white;
  border-bottom: 2px solid #d7c48e;
}

#nav-audicija:hover {
  text-shadow: 0 0 5px white;
  border-bottom: 2px solid orange;
}

#bars {
  color: white;
}

@media (max-width: 900px) {
   .items a {
    display: none;
  }

  #bars {
    display: block;
    margin-right:16px;
    margin-top: 16px;
  }
  nav div {
    align-self: flex-start;
  }
}

header {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /*background-image: url("../images/note-1.jpg");*/
  background-image: url("../images/k56.jpg");
  position: relative;
  height: 65vh;
}

header div {
  background-color: #995c00;
  position: absolute;
  /*top: 50%;*/
  bottom: 2%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #f1ebda;
  border-radius: 5px;
  padding: 15px;
  width: 500px;
  /*width: 250px;*/
  opacity: 80%;
}

@media (max-width: 600px) {
  header div {
    width: 80%; 
    bottom: -5%;   
  }

  header div h1 {
    font-size: 200%;
  }

  header div h2 {
    font-size: 150%;
  }
}

header h1, header h2 {
  text-align: center;
  color: white;
  margin: auto;
}

#lang {
  margin: 0.5%;
  /*border: 1px solid white;*/
  border-radius: 5px;
  position: fixed;
  right: 0;
  box-shadow: 0 0 2px white;
}

#lang a {
  text-decoration: none;
  color: black;
  font-family: 'Montserrat', sans-serif;
}

#lang a:visited {
  color: black;
}

h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
}

h1 {
  /*font-size: 220%;*/
  font-size: 350%;
}

h2 {
  font-size: 200%;
}

.container {
  max-width: 900px;
  margin: auto;
}

#audicija {
  position: fixed;
  top: 10%;
  left: 0%;
  width: 100%;
  display: none;
  opacity: 0;  
}

#audicija-posebno {
  /*padding-top: 10%;*/
  left: 0%;
  width: 100%;
}

.audicija-tekst {
  text-align: center;
  font-size: 150%;
  margin: 5%;
}

.audicija-tekst a {
  text-decoration: none;
  color: #705d29;
}

.audicija-tekst a:hover {
  text-decoration: underline;
}

#audicija img, #audicija-posebno img {
  display: block;  
  margin: auto;
  height: 80vh;
  width: auto;
  border-radius: 20px;
  box-shadow: 0 0 20px gray;
}

#audicija a {
  display: block;
  position: absolute;  
  text-decoration: none;
  font-weight: bold;
  width: 100%;  
  text-align: center;
  margin: auto;
  z-index: 99;
}

#prijava {
  color: orange;
  bottom: 8%;  
  font-size: 200%;
  
}

#ne-hvala {
 color: whitesmoke;  
 bottom: 3%; 
 font-size: 150%;
}

#audicija a:hover {
  text-shadow: 0 0 5px orange;
}

@media (max-width: 800px) {
  #audicija img, #audicija-posebno img {
    width: 95vw;
    height: auto;
  }
  #prijava {
    font-size: 160%;
  }

  #ne-hvala {
    font-size: 110%;
  }
}

@keyframes slideIn_2 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#audicija, #audicija-posebno {
  animation-name: slideIn_2;
  animation-duration: 1s;
  animation-timing-function: ease-in;
  opacity: 1;
}

h3 {
  font-size: 180%;
  text-align: center;
}

.main {
  /*height: 100vh;*/
  margin: auto;
  text-align: justify;
  padding-top: 5%;
}

#naslovna {
  width: 40%;
}

#dirigent {
  width: 17%
}

#naslovna, #dirigent {
  float: left;
  margin: 10px;
  box-shadow: 0 0 10px gray;
}

.o_nama, .o_dirigentu {
  text-align: justify;
}

@media (max-width: 600px) {
  nav {
    text-align: center;
  }
  .main, .o_nama, .o_dirigentu {
    text-align: left;
    padding: 2%;
  }
  #naslovna {
    width: 100%;
    margin: 0;
    margin-bottom: 5%;
  }
  #dirigent{
    width: 50%;
    float: none;
    align: center;
  }
}

#happy_images {  
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

.entering_images {   
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 15px gray;
  opacity: 0;
  margin: 10px;
}

@keyframes slideIn_1 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#koncert, #druzenje, #proba_2 {  
  animation-name: slideIn_1;
  animation-duration: 3s;
  animation-timing-function: ease-in;
  opacity: 1;
}

.features {
  background-color: #bb9b44;
  margin-top: 50px;
  margin-bottom: 50px;
}

.features .container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

@media (max-width: 850px) {
  .features .container {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-areas:
    "card card"
    "card card";
  }
}

/*https://codepen.io/timothylong/pen/AJxrPR - thank you for modal code*/

.modal-window {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.25);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-window > div {
  width: 450px;
  height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 2px solid #e68a00;
  box-shadow: 0 0 5px #e68a00;
  overflow: auto;
}

.modal-window h1 {
  padding: 1em;
}

.modal-window-list li, .info {
  padding: 10px 25px 10px 0px;
}


.modal-window-galerija > div {
  width: 90%;
  height: 90%;
}

@media (max-width: 500px) {
  .features .container {
    display: flex;
    flex-direction: column;
  }
  .modal-window > div {
    width: 90%;
    height: 80%;
  }
}

.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 50px;
  position: sticky;  
  top: 0;
  text-align: center;
  width: 50px;
  text-decoration: none;
  float: right;  
}

.modal-close:hover {
  color: black;
}

.modal-window > div {
  border-radius: 1rem;
}

.modal-window div:not(:last-of-type) {
margin-bottom: 15px;
}

.contacts h2 {
  font-size: 160%;
}

.contacts h3 {
  font-size: 120%;
}

.contacts {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #d6c38f;
  margin-bottom: 5%;
}

.card {
  box-shadow: 0 0 15px #ddcda2;
  transition: 0.3s;
  border-radius: 5px;
  width: auto;
  flex: 1;
  text-align: center;
  margin: 16px;
  padding: 16px;
  background-color: #e6e6e6;
  text-decoration: none;
  color: black;
}

.card:hover {
  box-shadow: 0 0 30px #e4d7b4;
}

.features .card:hover {
  transform: scale(1.1);
}

.card h4 {
  color: #705d29;
}

@media (max-width: 400px) {
  .card h4 {
    font-size: 90%;
  }  
}

@media (max-width: 350px) {
  .card h4 {
    font-size: 70%;
  }  
}

.first, .second {
  width: 100%;
  text-align: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  cursor: pointer;

}

.first {
  font-size: 60px;
}
.second {
  font-size: 35px;
}

.folders {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.folders .folder-link {
  display: flex;
  flex-direction: row;
  width: 28%;
  justify-content: space-around;
  padding: 1%;
  text-decoration: none;
  color: black;
  cursor: pointer;
  box-shadow: 0 0 5px gray;
}

.folders .folder-link:visited {
  color: black;
}

.folder img {
  height: 130px;
  width: 130px;
  object-fit: cover;
}

@media (max-width: 800px) {

}

@media (max-width: 700px) {
  .folders {
    display: flex;
    flex-direction: column;
  }

  .folders .folder-link {
    width: 97%;
    margin-bottom: 5%;
  }

}

.folders .folder-link:hover {
  border-left: 5px solid #e68a00;
  box-shadow: 0 0 10px gray;
}

.folder_name {
  text-align: center;
  margin: auto;
  text-decoration: none;
}

.photos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.photos figure img {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
}

.photos figure:hover {
  box-shadow: 0 0 10px gray;
  transform: scale(1.1);
}


#lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #f1ebda;
}

.carousel-container {
  display: none;
}

.close {
  color: #aaa;
  background-color: white;
  line-height: 50px;
  font-size: 50px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  border-radius: 0 3px 3px 0;
  text-decoration: none;
  margin: 10px;
  z-index: 200;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.image-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 95vh;
}

.image-slide img {
  max-width: 1200px;
  width: 100%;
  max-height: 800px;
  height: auto;
  object-fit: contain;
}

@media (max-height:500px) {
  .image-slide img {
    height: 90%;
    width: auto;
  }
}

figcaption {
  position: relative;
  text-align: center;
  z-index: 200;
  background-color: #f1ebda;
  bottom: 10px;
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 0.85em;
  color: #f1ebda;
  background-color: rgba(0, 0, 0, 0.3);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
}

.prev:hover, .next:hover {
  color: #ffebcc;
  background-color: rgba(0, 0, 0, 0.5);
}

table {
  width: 100%;
}

.source, .source-text {
  padding: 2%;
}

table a {
  text-decoration: none;
  color: #705d29;
  text-decoration-color: #705d29;
}

td {
  text-align: left;
}

@media (max-width:500px) {
  #u-medijima td {
    display: block;    
  }
      
  .source, .source-text {
  padding: 0.5%;
  }
  
  #u-medijima table {
    border-collapse: separate;
    border-spacing: 0px 20px;
    }
  
  tr > td {
      border-left: 5px solid transparent;      
  }
  
  tr:hover > td {
    border-left: 5px solid #e68a00;
}
    
}

tr > td:first-child{
    border-left: 5px solid transparent;
}

tr:hover > td:first-child {
    border-left: 5px solid #e68a00;
}

tr:hover {
  box-shadow: 0 0 10px gray;
}

.info-icons {
  color: red;
}

.map, .info-sections {
  border: 2px solid #c9af69;
  border-radius: 5px;
  box-shadow: 0 0 10px #c9af69;
  margin-bottom: 5%;
}

.info-sections {
  padding: 1%;
}

#info-section {
  max-height: 50vh;
  overflow: auto;
}

#rehearsal-section {
  padding-left: 5%;
}

.uvuceno {
  margin-left: 10%;
}

#thanks-section ul {
  list-style-type: none;
}

#thanks-section img {
  width: 20px;
  height: 25px;
  object-fit: cover;
}

pre {  
  text-align: left;
  white-space: pre-line;
  font-size: 1.4em;
}

b a, .info a {
  text-decoration: none;
  color: #705d29;
}

b a:hover {
  text-decoration: underline;
}

.info a:hover {
  text-decoration: underline;
}

#info-mail {
  color: #826c30;
  font-family: "Montserrat", monospace;
}

footer {
  color: white;
  background: linear-gradient(#705d29, #826c30, #705d29);
}

#contact-2 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.sign-up {
  text-align: center;
  font-size: 20px;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.input {
  background-color: #f2ebd9;
  border-radius: 3px;
  padding: 10px;
  margin: 5px;
}

.submit {
  background-color: #e68a00;
  border-radius: 3px;
  padding: 10px;
  margin: 5px;
  font-size: 20px;
  color: black;
}

.submit:hover {
  background-color: #c3a655;
}

label {
  padding: 3px;
}

#contact-links, .social {
  color: #e6e6e6
}
#contact-links {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.social {
  color: #e6e6e6;
  margin: 0.4em;
  font-size: 3em;
  text-shadow: 0 0 15px #c3a655;
}

.social:hover {
  text-shadow: 0 0 30px white;
}

footer p {
  text-align: right;
  padding-right: 2%;
  margin: 0em;
  font-size: 0.7em;
}

footer a {
  text-decoration: none;
  color: #d7c48e;
}

footer a:visited {
  color: #d7c48e;
}

footer a:hover {
  color: white;
  text-shadow: 0 0 5px white;
}
