@font-face {
  font-family: "Papyrus";
  src:
    url("font/papyrus.ttf") format("truetype");
}


* {
  margin: 0px;
  padding: 0px;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid gray;
  box-shadow: 0px 5px 5px gray;
  height: 90px;
  position: sticky;
  top: 0;
  overflow: hidden;
  background-color: white;
}

.logo {
  width: 400px;
}

.kompas {
  width: 60px;
  margin-right: 20px;
  transition: all 0.3s ease-in;
}

.Gdiv {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.Gdiv a {
  text-align: center;
  color: black;
  text-decoration: none;
  font-size: 1.3rem;
  margin-right: 30px;
  padding: 15px 15px;
  position: relative;
  font-family: 'Franklin Gothic Medium';
  font-weight: bold;
}

.Gdiv .Glink {
  color: #ed7d31;
  text-decoration: none;
  font-size: 1.5rem;
  margin-right: 30px;
}



.Gdiv a:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #ed7d31;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.Gdiv a:hover:after {
  width: 100%;
  left: 0;
}

.tekst {
  padding: 50px;
  flex-direction: column;
  float: right;
  text-align: center;
}

.veci {
  text-align: right;
  font-size: 30px;
  font-family: sans-serif;
}


.manji {
  font-size: 25px;
  text-align: right;
  font-weight: lighter;
  font-family: sans-serif;
}

.hero {
  background-image: url(slike/hike.jpg);
  width: 100%;
  height: 92vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sadrzaj {
  margin: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.sadrzaj-slika {
  width: 400px;
}

.sadrzaj p {
  text-align: center;
  font-size: 25px;
  width: 50%;
}

hr {
  width: 50%;
  margin: auto;
  color: #ed7d31;
}



span {
  font-size: 20px;
  color: white;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin: 60px;
  text-align: center;
  font-family: "Papyrus";
}

.nemaje {
  color: #ed7d31;
  display: none;
  font-size: 2.5rem;
  text-align: center;
  font-family: "Papyrus";
}

.aktivnosti {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5%;
  justify-content: center;
  align-items: center;
  padding: 0 60px 80px;
  max-width: 90%;
  margin: 0 auto;
}

.aktivnosti article {
  border: 1px solid black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.aktivnosti img {
  width: 100%;
  height: 250px;
  border-bottom: 1px solid black;
}

.aktivnosti h2 {
  width: 230px;
  font-size: 27px;
  margin: 20px;
  text-align: center;
}

.aktivnosti a {
  margin-top: 20px;
  text-decoration: none;
  background-color: black;
  color: white;
  font-size: 23px;
  padding: 8px 5vw;
  border-radius: 30px;
  margin-bottom: 20px;
}

.aktivnosti a:hover {
  background-color: #ed7d31;
  transform: scale(1.05);
}

.topnav {
  display: none;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid gray;
  box-shadow: 0px 5px 5px gray;

}

.topnav #myLinks {
  display: none;
  text-align: center;
  color: black;
}
.topnav #myLinks a{
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  color: black;
  border-top: 1px solid #ed7d31;
  font-family: 'Franklin Gothic Medium';

}


.topnav a.icon {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav #myLinks a:hover {
  background-color: #ddd;
}
.Slink{
  background-color: none;
  width: 400px;
}



@media (max-width: 1280px) {
  .aktivnosti {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 100px;
  }

  .nav1 {
    display: none;
  }

  .tekst {
    float: none;
  }

  .topnav {
    flex-direction: column;
    display: flex;
    justify-content: center;
  }

  .kompas {
    margin-right: 0px;
    margin-top: 15px;
  }

  .sadrzaj {
    margin: 40px;
  }

  .sadrzaj {
    flex-direction: column;
  }

  .sadrzaj p {
    width: 90%;
  }

  .sadrzaj-slika {
    width: 300px;
    padding: 30px;
  }


  h1 {
    text-align: center;
    margin: 50px 0px;
    font-size: 35px;
  }

  .nemaje {
    text-align: center;
    font-size: 45px;
    padding: 40px;
  }

  .veci {
    text-align: center;
    padding-bottom: 20px;
  }

  .manji {
    text-align: center;
    color: black;
  }
}




@media (max-width: 600px) {
  .aktivnosti {
    grid-template-columns: 1fr;
  }
  .sadrzaj-slika {
    width: 90%;
    padding: 0px;
    margin: 0px;
  }
  .nemaje {
    display: block;
    font-size: 50px;
    padding: 0px;
    margin: 30px 0px;
  }
  .aktivnosti {
    width: 100%;
    padding: 0 0px 0px;
    gap: 100px;
  }
  .aktivnosti a {
    padding: 10px 100px;
  }
  .hero {
    background-image: url(slike/hike2.jpg);
  }
  .tekst {
    padding: 20px;
    height: 91vh;
    background-color: rgb(255, 255, 255, 0.5);
  }
  h1 {
    font-size: 30px;
    margin: 0px;
    margin-bottom: 50px;

  }
  .veci {
    text-align: center;
  }
  .manji {
    text-align: center;
  }
  .sadrzaj {
    display: flex;
    margin: 0px;
  }
  .sadrzaj img {
    margin: 40px;
  }
  hr {
    width: 300px;
    margin: 40px auto;
  }
  .logo {
    content: url(slike/logo_only.png);
    width: 80px;
    height: 80px;
    padding: 10px;
  }
  .kompas{
    margin-top: 22px;
  }
  .Slink{
  width: 400px;
  }
}