@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200&display=swap');

/*navigacija*/
body {
    background-color:white;
  }
  ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #38444d;
    font-family: 'Raleway', sans-serif;
  }
  
  li {
    float: left;
  }
  
  li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  li a:hover, .dropdown:hover .dropbtn {
      background-color: #182733 ;
  }
  
  li.dropdown {
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {background-color: #E6E6E6;}
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  /*navigacija*/

.section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.grey {
  background: #eee4f6;
}

.white {
  background: #f7f1fb;
  h1 {
    text-align: right;
  }
  p {
    text-align: justify;
  }
}

header {
  display: flex;
  justify-content: center;
  width: 70%;
  & > div {
  margin: 0 15px;
  }
  .text {
    flex: 1;
  }
  .header-img {
    min-width: 0;
    img {
      max-width: 100%;
      height: auto;
    }
  }
}

img {
  width: 400px;
  height: 200px;
}

.text h1 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 200;
}

.text p {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  line-height: 30px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: green;
  height: 300px;
  .footer-wrap {
    width: 50%;
    display: flex;
    justify-content: space-around;
    height: auto;
    & > div {
      margin: 0 15px;
    }
  }
  .one ul a,
  .two ul a {
    display: block;
    color: #F5F5F5;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 8px;
    font-size: 13px;
  }
  a:hover {
    border-bottom: 2px solid #FFF;
  }
}

.credit {
  position: relative;
  bottom: 0;
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 10px 0;
}

@media (max-width: 1000px) {
  header {
    width: auto;
  }
  .section {
    display: block;
    width: auto;
    height: auto;
    margin: 20px 0;
    padding: 20px;
  }
  .header-img {
    text-align: center;
  }
  .white {
    background: #F5F5F5;
    h1 {
      text-align: center;
    }
    p {
      text-align: justify;
      padding-bottom: 20px;
    }
  }
  .grey h1 {
    text-align: center;
  }
  header {
    display: block;
    margin: 10px;
    height: auto;
    & > div {
      margin: 0;
    }
  }
  header .text {
    width: 100%;
    height: auto;
  }
}

.tranzicija {
    padding: 8px;
    transition: transform .8s;
    width: 425px;
    height: 270px;
    margin: 8px 17px;
  }
  
  .tranzicija:hover {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1); 
  }

  .button5 {
    border: none;
    color: #F5F5F5;
    padding: 10px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
  }

  .button5 {
    background-color: #F5F5F5;
    color: black;
    border: 2px solid #182733;
  }
  
  .button5:hover {
    background-color: #182733;
    color: white;
  }

 a {
  color: black;
  text-decoration:none;
 }

 a:hover {
  color: white;
  text-decoration:none;
 }