@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
}

h1, h2 {
  font-family: sans-serif;
  font-weight: 400;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.flex {
  display: flex;
}

.flex_space {
  display: flex;
  justify-content: space-between;
}

button {
  border: none;
  background: none;
  outline: none;
  transition: 0.5s;
  cursor: pointer;
}

.primary-btn {
  padding: 15px 40px;
  background: #7fc142;
  font-weight: bold;
  color: white;
  border-radius: 25px;
}

.secondary-btn {
  padding: 15px 40px;
  background: none;
  border: 2px solid white;
  font-weight: bold;
  color: white;
  border-radius: 25px;
}

.primary-btn:hover{
  color: #468010;
  border-color: #468010;
}

.secondary-btn:hover{
  color: #468010;
  border-color: #468010;
}

.container {
  max-width: 85%;
  margin: auto;
}

/*--------header---------*/
header {
  /* width: 100%; */
  height: 10vh;
  line-height: 10vh;
  padding: 0 20px;
  /* position: fixed;
  background-color: white; */
}

header img {
  margin: 20px 0;
  width: 80px;
  height: auto;
  position: absolute;
  top: -99px;
  left: 80px;

}

header ul {
  display: inline-block;
}

header ul li {
  display: inline-block;
  text-transform: uppercase;
}

header ul li a {
  color: #000;
  margin: 0 10px;
  transition: 0.5s;
}

header ul li a:hover {
  color: #7fc142;
}

header i {
  margin: 0 20px;
}

header button {
  padding: 13px 40px;
}

header .navlinks span {
  display: none;
}

@media only screen and (max-width:768px) {
  header ul {
    position: absolute;
    top: 63px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #009f7f;
    overflow: hidden;
    transition: max-height 0.5s;
    text-align: center;
    z-index: 9;
  }

  header ul li {
    display: block;
  }

  header ul li a {
    color: white;
  }

  header i {
    color: white;
  }

  header .navlinks span {
    color: black;
    display: block;
    cursor: pointer;
    line-height: 10vh;
    font-size: 25px;
  }
}

/*--------header---------*/

/*--------about---------*/
/* .left, .right {
    width: 50%;
    padding: 30px;
  }
  
  .top {
    margin-top: 80px;
  }
  
  .mtop {
    margin-top: 40px;
  }
  
  .heading h1 {
    font-size: 100px;
    font-weight: 500;
    opacity: 0.1;
    font-family: serif;
    position: absolute;
    top: -30px;
  }
  
  .heading h2 {
    margin: 30px 0;
    font-size: 45px;
    font-family: serif;
    font-weight: 400;
  }
  
  .about .heading h1 {
    top: 55px;
  }
  
  .about {
    position: relative;
  }
  
  .about .left {
    margin-top: 30px;
  }
  
  .about p {
    font-size: 15px;
  }
  
  .about button {
    margin: 30px 0;
  }
  
  .about img {
    width: 50%;
    height: 70%;
  } */

  .about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}

.about .left, .about .right {
    width: 50%;
    padding: 20px;
}

.about img {
    width: 100%;
    max-width: 500px; /* Ograniči maksimalnu širinu slike */
    height: auto;
    border-radius: 10px;
}

/* Mobile optimizacija */
@media (max-width: 768px) {
    .about {
        flex-direction: column;
    }
    .about .left, .about .right {
        width: 100%;
    }
}

  
  /*--------about---------*/

  /*--------footer---------*/
footer {
    background: #282834;
    color: #b6b7b9;
    padding: 10% 0 5% 0;
  }
  
  footer .grid {
    display: grid;
    grid-template-columns: 6fr 3fr 3fr;
  }

  footer a {
    color: white;
  }
  
  footer p {
    color: #b6b7b9;
    font-size: 15px;
    line-height: 25px;
  }
  
  footer .icon i {
    margin: 20px 20px 20px 0;
    color: #b6b7b9;
  }
  
  footer h2 {
    color: #fff;
    margin-bottom: 10px;
  }
  
  footer li {
    margin-bottom: 20px;
  }
  
  footer i {
    color: #7fc142;
    margin: 20px 0;
    margin-right: 20px;
  }
  
  footer label {
    margin: 20px 0;
  }
  
  .legal {
    padding: 15px 0;
    background: #282834;
    color: #b6b7b9;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  /*--------footer---------*/
  @media only screen and (max-width:768px) {
    .home {
      color: #fff;
      height: 50vh;
    }
  
    .home img {
      width: 100%;
      height: 50vh;
    }
  
    .left, .right {
      width: 100%;
    }
  
    .book h1 {
      margin-bottom: 20px;
    }
  
    .container.flex,
    .book .flex_space {
      flex-direction: column;
    }
  
    .book .grid {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .counter .grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    footer .grid {
      grid-template-columns: repeat(1, 1fr);
    }
  }