* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



nav {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background-color: white;
  height: auto;
  
  
}






.top-nav {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  align-items: center;
  background-color: #ffffff;
  
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #ffffff;
  height: auto;
  /* padding: 10px; */
}


.menu {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
  
  
}

.mobile-language {
  visibility: visible;
  display: none;
}

.menu > li {
  margin-right: 20px;
  overflow: hidden;
  color: white;
  padding: 40px;
}

.menu  a {
  text-decoration: none;
  color: rgb(84, 87, 89);
  font-size: 1.2rem;
}

.menu  a:hover {
  text-decoration: none;
  color: rgb(136, 143, 148);
  scale: 1.1;
}

li img {
  width: 30px;
  height: 20px;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

#menu-toggle {
  display: none;
}




.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #424242;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 900px) {
  .menu-button-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    
    
  }

  .top-nav {
    flex-flow: row-reverse;
    justify-content: center;
  }

  .menu {
    position: absolute;
    
    margin-top: 40px;
    top: 75px;
    right: 0;
    padding:0px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1;
  }
  .top-nav {
    position: relative;
    height: auto;
    padding: 30px;
    


  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding:0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border-bottom: 1px solid gray;
    height: 50px;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .menu > li {
    display: flex;
    justify-content: center;
    width: 100%;;
    color: rgb(125, 92, 92);
    background-color: #f5f5f5;
    
    
    
  }

 

  
  .mobile-language {
    visibility: visible;
  }

  

  #slusalica {
    visibility: visible;
  }
  .menu > li:not(:last-child) {
    
  }

 

}







