html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  color: #4c594e;
}

header {
  width: 100%;
  background-image: url('../img/home.png');
  background-size: cover;
  background-position-y: bottom;
  background-position-x: center;
}

.mainContainer,
footer {
  width: 1000px;
  margin: auto;
  padding-top: 100px;
  padding-bottom: 100px;
}

footer {
  border-top: 1px solid #dddddd;
  text-align: center;
  padding: 20px 0;
  font-size: 0.7em;
}

footer  a {
  text-decoration: none;
color: rgb(142, 191, 85);
font-weight: 600;
}

header > .mainContainer {
  padding-top: 30px;
  padding-bottom: 0;
  margin: auto;
}
header > .minContainer {
  padding-top: 120px;
  padding-bottom: 400px;
}
header > .minContainer > p {
  font-size: 2.6em;
  text-align: center;
  color: #4c594e;
  font-weight: 500;
}
header > .minContainer > p > b {
  color: rgb(142, 191, 85);
}
.minContainer {
  width: 700px;
  margin: auto;
}
.logo {
  width: 130px;
  height: 50px;
  background-image: url('../img/logo_stolarija.png');
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
}
nav ul a:last-child li {
  border: 1.5px solid rgb(142, 191, 85);
  padding: 10px 20px;
  font-weight: 600;
  color: rgb(142, 191, 85);
}
header nav {
  text-align: right;
}
header nav ul {
  margin: 0;
  padding: 0;
}
header .td {
  vertical-align: middle;
}
header nav ul a li {
  display: inline-block;
  margin-left: 50px;
  color: #4c594e;
  font-weight: 500;
}

.table {
  display: table;
  border-collapse: collapse;
  table-layout: fixed;
}

.tr {
  display: table-row;
}

.td {
  display: table-cell;
  vertical-align: top;
}
.fullWidth {
  width: 100%;
}

#about-us-img {
  background-image: url('../img/about-us.jpg');
  background-repeat: no-repeat;
  background-position: left center;
  height: auto;
  padding-right: 20px;
  background-size: 90%;
}

#about-us-txt {
  padding: 40px 0 40px 20px;
}

#about-us-txt > h3 {
  font-size: 2.6em;
  color: #4c594e;
  font-weight: 500;
}
#about-us-txt > h3 > span {
  color: rgb(142, 191, 85);
  font-weight: 600;
}

#about-us-txt > p {
  line-height: 1.5em;
  font-size: 1em;
  color: #4c594e;
  font-weight: 400;
}

button, .buttonKontakt{
  padding: 15px 40px;
  border: 0;
  background: rgb(142, 191, 85);
  color: white;
  margin-top: 10px;
  font-size: 1em;
  -webkit-transition: background-color 0.2s ease-out;
  -moz-transition: background-color 0.2s ease-out;
  -o-transition: background-color 0.2s ease-out;
  transition: background-color 0.2s ease-out;
}
button:hover, .buttonKontakt:hover{
  background: rgb(124, 173, 67);
}

.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}

.flex-item {
  background: white;
  padding: 20px;
  width: 200px;

  border-radius: 40px;
  border: 1px solid rgb(250, 247, 245);
  text-align: center;
  -webkit-box-shadow: 0px 15px 121px -70px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 15px 121px -70px rgba(0, 0, 0, 1);
  box-shadow: 0px 15px 121px -70px rgba(0, 0, 0, 1);
  margin: 40px 10px;
  position: relative;
}
.flex-item > .flex-img {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.flex-icon {
  background-color: white;
  background-size: contain;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin: auto;
  position: absolute;
  top: -30px;
  left: calc(50% - 30px);
}
#nasa-ponuda .flex-item {
  height: min-content;
  padding: 0;
  text-decoration: none;
}
#nasa-ponuda .flex-item > .flex-img {
  height: 200px;
  background-size: 60%;
}
#nasa-ponuda .flex-item > p {
  padding: 20px;
  margin: 0;
  border-radius: 25px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  background: rgb(142, 191, 85);
  color: white;
  text-transform: uppercase;
}
ul > a {
  text-decoration: none;
}
#tobogan {
  background-image: url('../img/tobogan.png');
}
#ljuljacka {
  background-image: url('../img/ljuljacka.png');
}
#klackalica {
  background-image: url('../img/klackalica.png');
}
#sport {
  background-image: url('../img/sport.png');
}
.flex-item > h3 {
  margin: 30px auto;
  color: rgb(142, 191, 85);
  font-size: 1.6em;
}
.flex-item > p {
  font-size: 0.8em;
  color: rgb(120, 120, 120);
}
#ctaQ {
  text-align: center;
  padding: 100px 0;
}
#ctaQ > h2,
.naslov {
  text-transform: uppercase;
  font-size: 2em;
  text-align: center;
}
#ctaQ .buttonKontakt {
  border-radius: 0;
  padding: 20px 40px;
  font-size: 20px;
  width: 200px;
margin: auto;
}
#ctaQ a {
  text-decoration: none;
}
.menuIcon {
  width: 50px;
  height: 50px;
  background-image: url('../img/menu.png');
  background-size: 70%;
  background-position: center center;
  background-repeat: no-repeat;
  display: none;
  float: right;
}
.colorContainer {
  padding: 20px 0;
}

@media only screen and (max-width: 400px) {
  header > .minContainer > p {
    font-size: 1.8em;
  }
  header > .minContainer {
    padding-top: 30px;
    padding-bottom: 200px;
  }
  #about-us > .table > .td {
    display: block;
  }
  #about-us-img {
    display: none;
  }
  .mainContainer {
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 880px) {
  nav > ul {
    position: absolute;
    top: 100px;
    width: 100%;
    left: 0;
    padding: 20px;
    background: white;
  }
  .menuIcon {
    display: block;
  }
  .menuIcon + ul {
    display: none;
  }
  .menuIcon.selected + ul {
    display: block;
    z-index: 999;
    box-shadow: 0px 20px 50px #ccc;
  }
  nav > ul > a {
    display: block;
    width: 100%;
    text-align: center;
    margin: 20px 0;
  }
  header nav ul a li {
    display: inline-block;
    margin-left: 50px;
    color: #4c594e;
    font-weight: 500;
    padding: 20px 0;
    padding-left: 0;
    margin-left: 0;
  }
  header > .minContainer {
    padding-top: 90px;
    padding-bottom: 200px;
  }
  #about-us > .table > .td {
    display: block;
  }
  #about-us-img {
    display: none;
  }
  .mainContainer {
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 830px) {
  .mainContainer {
    width: 90%;
  }
}

@media only screen and (max-width: 1200px) {
  .mainContainer,
  footer {
    width: 90%;
  }
  .minContainer {
    width: 65%;
  }
}
