* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  height: auto;
  overflow-x: hidden;
}

html {
  font-family: "Lucida Sans", sans-serif;
  min-width: 350px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.header {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px;
  box-shadow: #000 0 0 5px 5px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  transition: top 0.5s;
  z-index: 1;
  display: flex !important;
  flex-direction: row;
}

#levo {
  display: flex;
  flex: 1 0 auto;
}

#logoslika {
  transform: scale(1.1);
  animation: zoom ease-in-out 5s infinite;
  -webkit-animation: zoom ease-in-out 5s infinite;
  -moz-animation: zoom ease-in-out 5s infinite;
  -o-animation: zoom ease-in-out 5s infinite;
  -ms-animation: zoom ease-in-out 5s infinite;
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

#desno {
  align-self: flex-end;
  margin-right: 20px;
}

.buttonnav {
  display: none;
}

.navlink {
  color: #f5f5f5;
  padding: 15px 25px 11px 25px;
  font-size: 1.5rem;
  font-weight: 700;
}

.navlink:link {
  color: #f5f5f5;
  text-decoration: none;
}

.navlink:hover {
  color: red;
  transition: color 3s;
  border-bottom: 3px solid red;
}

.dropbtn {
  color: red;
  transition: color 3s;
  padding: 15px 25px 10px 25px;
  font-size: 1.5rem;
  font-weight: 700;
  background-color: transparent;
  border: none;
}

.dropbtn:link {
  border: none;
}

.dropbtn:hover {
  z-index: -1;
  cursor: pointer;
}

.dropbtn:hover + .dropdown-content {
  border-top: 3px solid red;
}

.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: block;
  height: 0;
  overflow: hidden;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  min-width: 160px;
  z-index: 1;
  font-weight: 400;
  font-size: 1rem;
  box-shadow: 5px 5px 8px #000;
}

.dropdown-content a {
  margin-top: 0;
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f5f5f5;
  border-top: 2px solid red;
  border-bottom: 2px solid #fff;
  color: #000;
  font-weight: 700;
}

.dropdown:hover .dropdown-content {
  display: block;
  height: 130px;
  transition: height 0.5s ease-in-out;
}

.slider {
  position: relative;
  z-index: -1;
  width: 100%;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  font-family: Montserrat, sans-serif;
  background-color: #000;
  color: #fff;
}

.intro {
  height: 700px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 0.1rem;
  box-shadow: 0 0 5px 5px;
}

.intro-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

.intro .intro-header {
  border-radius: 0.5rem;
  padding: 2rem 2.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: Montserrat, sans-serif;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.intro h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.intro p {
  font-size: 1.2rem;
}

.slider img {
  width: 100%;
  height: auto;
}

section {
  width: 100%;
}

hr {
  border: 2px solid #000;
}

.sectiondivs {
  display: inline-block;
}

#textsection {
  float: left;
  width: 70%;
  padding: 20px;
  margin-left: 0;
}

#textsection h2 {
  padding: 5px 10px 5px 10px;
  border-radius: 10px 10px 10px 10px;
  color: rgba(0, 0, 0, 0.8);
  font-family: Verdana, sans-serif;
  font-size: 2rem;
  font-weight: bolder;
}

#textsection p {
  font-size: 1.5rem;
  line-height: 40px;
}

#textsection1 {
  float: left;
  width: 70%;
  padding: 20px;
}
.stovaristeimg img,
.prodajaimg img {
  transition: transform 1s ease;
}

.stovaristeimg img:hover,
.prodajaimg img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

#textsection1 h2 {
  padding: 5px 10px 5px 10px;
  border-radius: 10px 10px 10px 10px;
  color: rgba(0, 0, 0, 0.8);
  font-family: Verdana, sans-serif;
  font-size: 2rem;
  font-weight: bolder;
}

#textsection1 p {
  font-size: 1.5rem;
  line-height: 40px;
}

.stovariste {
  padding-top: 10px;
  padding-left: 10px;
}

.stovaristeimg {
  width: 100%;
  padding: 40px 0 80px 0;
}

.stovaristeimg img {
  width: 400px;
  height: 300px;
  margin: 10px;
  border: 1px solid #000;
}

.stovariste span {
  color: red;
  font-weight: 700;
}

.prodaja {
  padding-top: 10px;
  padding-left: 10px;
}

.prodajauglja {
  color: rgba(0, 0, 0, 0.6);
}

.prodajahr {
  border: 2px solid rgba(0, 0, 0, 0.6);
}

.prodajaimg {
  width: 100%;
  padding: 40px 0 80px 0;
}

.prodajaimg img {
  width: 400px;
  height: 300px;
  margin: 10px;
  border: 1px solid #000;
}

.ponudaimg {
  width: 100%;
  border-radius: 10px 10px 10px 10px;
  padding: 0 0 80px 0;
  display: inline-block;
}

.ponudaimg p {
  padding: 10px 0 40px 10px;
}

.ponudaimg figure {
  display: inline-block;
  padding-left: 10px;
}

.ponudaimg img {
  width: 200px;
  height: 250px;
  border: 1px solid #000;
  transition: transform 3s ease;
}

.ponudaimg img:hover {
  transform: translateY(-20px);
}

.ponudaimg span {
  color: red;
}

hr.ponudaimghr {
  border: 2px solid red;
}

.ponudaimg figcaption {
  text-align: center;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 700;
}

.prevoz {
  padding-top: 10px;
  padding-left: 10px;
}

aside {
  float: right;
  width: 25%;
  height: auto;
  margin-top: 30px;
  margin-right: 30px;
  background-color: #f5f5f5;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 0 8px 5px rgba(0, 0, 0, 0.5);
  font-family: "Times New Roman", Times, serif;
}

aside h3 {
  text-align: center;
  padding: 10px 0 10px 0;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px 10px 5px 5px;
}

aside h3:hover {
  color: red;
  transition: color 2s;
  cursor: pointer;
}

aside p {
  width: 100%;
  height: auto;
  color: #000;
  font-family: verdana;
  font-size: 1.2rem;
  padding: 10px 20px 15px 20px;
  text-align: left;
}

.asideimages {
  display: inline-block;
}

aside img {
  border-radius: 5px 5px;
}

aside img:hover {
  transform: scale(2);
  z-index: 1;
  border-radius: 5px 5px;
  box-shadow: 0 0 8px 1px #000;
}

aside figure {
  padding: 20px 10px 10px 10px;
  display: inline-block;
  width: 49%;
}

aside figcaption {
  color: #000;
  text-align: center;
  font-size: 1.1rem;
}

aside iframe {
  width: 100%;
  margin: 0;
  padding: 10px;
  border: none;
  height: 300px;
  border-radius: 20px 20px 20px 20px;
}

#info {
  float: right;
  width: 25%;
  height: 450px;
  margin-top: 30px;
  margin-right: 30px;
  padding: 20px;
  border: 1px solid #000;
  border-radius: 10px 10px 10px 10px;
  font-size: 1.3rem;
  font-family: "Times New Roman", sans-serif;
  background-color: rgba(255, 250, 205, 0.8);
}

#info h3 {
  color: brown;
  font-size: 1.6rem;
}

.newline {
  display: none;
}

#info p {
  clear: both;
  float: right;
  margin-top: 20px;
}

#info img {
  float: left;
  margin: 0 10px 10px 0;
  width: 250px;
  height: 150px;
}

#info hr {
  border: 1px solid #000;
}

footer {
  float: left;
  width: 100%;
  margin-top: 80px;
  padding: 40px;
  border-top: 2px solid red;
  background: -webkit-radial-gradient(
    left,
    #000 35%,
    rgba(0, 0, 0, 0.9) 60%,
    #000 100%
  );
  color: #f5f5f5;
  line-height: 28px;
  font-size: 1.2rem;
  text-align: center;
}

.footerleft {
  float: left;
}

.footerleft span {
  color: red;
  font-weight: 700;
}

.footerright {
  float: right;
  line-height: 30px;
  color: rgba(169, 169, 169, 0.8);
}

.footerright a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.footerright a:hover {
  color: red;
}

@media screen and (max-width: 1350px) {
  .header {
    flex-direction: column;
    height: 175px;
    background-color: rgba(0, 0, 0, 0.97);
    animation: none;
  }
  #desno {
    margin-top: -12px;
  }
  #textsection {
    width: 60%;
  }
  #textsection1 {
    float: left;
    width: 60%;
    padding: 20px;
    margin-left: 0;
    animation: none;
  }
  #aside {
    float: right;
    width: 25%;
    animation: none;
    margin-right: 30px;
  }
  #iframe {
    width: 100%;
    margin: 0;
    padding: 5px 5px 5px 5px;
    border: none;
    height: 240px;
    border-radius: 10px 10px 10px 10px;
  }
  aside {
    float: right;
    width: 25%;
    animation: none;
    margin-right: 30px;
  }
  #iframe {
    width: 100%;
    margin: 0;
    padding: 5px 5px 5px 5px;
    border: none;
    height: 240px;
    border-radius: 10px 10px 10px 10px;
  }

  .buttonnav {
    display: none;
  }

  .intro {
    margin-top: 175px;
    height: 500px;
  }
  .intro .intro-header {
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: Montserrat, sans-serif;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
  }
  .intro h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .intro p {
    font-size: 0.8rem;
  }
}

#info {
  height: auto;
}
@media screen and (max-width: 1224px) {
  .header {
    height: 220px;
  }
  section {
    margin-top: 220px;
  }
}
@media (max-width: 950px) {
  section {
    margin-top: 50px;
  }
  .header {
    background: -webkit-radial-gradient(
      left,
      #000 35%,
      rgba(0, 0, 0, 0.9) 60%,
      #000 100%
    );
    width: 100%;
    height: auto;
    position: fixed;
    transition: none;
    z-index: 1;
  }
  .dropdown {
    display: block;
  }
  #logoslika {
    transform: none;
    animation: none;
    float: left;
    padding: 0;
    margin: 0;
  }
  #levo {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding-bottom: 0;
    padding-left: 0;
    margin-left: 0;
  }
  .desnobutton {
    float: right;
  }
  .buttonnav {
    display: inline-block;
    float: right;
    left: 300px;
    padding-top: 80px;
    padding-right: 20px;
    cursor: pointer;
  }
  #desno {
    display: none;
    float: none;
    width: 100%;
    margin-left: 0;
    padding-top: 50px;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0;
    text-align: center;
  }
  .line1,
  .line2,
  .line3 {
    width: 35px;
    height: 5px;
    background-color: rgba(255, 0, 0, 0.75);
    margin: 6px 0;
    transition: 0.4s;
  }
  .change .line1 {
    -webkit-transform: rotate(-45deg)
      translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
  }
  .change .line2 {
    opacity: 0;
  }
  .change .line3 {
    -webkit-transform: rotate(45deg)
      translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }
  .navlink {
    display: block;
    width: 100%;
    border-bottom: 1px solid silver;
    padding: 5px 0 5px 0;
  }
  .dropdown {
    border-bottom: 1px solid silver;
  }
  .dropbtn {
    padding: 5px 0 5px 0;
  }
  .pocetna {
    border-top: 1px solid #fff;
  }
  .dropdown-content {
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    z-index: 1;
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
  }
  .dropdown-content a {
    margin-top: 0;
    color: #fff;
    padding: 12px 0 12px 0;
    text-decoration: none;
    display: block;
  }
  .intro {
    margin-top: 150px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    letter-spacing: 0.1rem;
  }
  .intro .intro-header {
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: Montserrat, sans-serif;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
  }
  .intro h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .intro p {
    font-size: 0.8rem;
  }
  #textsection {
    width: 100%;
  }
  #textsection1 {
    width: 100%;
  }
  .prodajaimg,
  .stovaristeimg {
    text-align: center;
  }
  .ponudaimg {
    background: 0 0;
  }
  .ponudaimg img:hover {
    transform: none;
  }
  .figurediv {
    text-align: center;
  }

  .ponudaimg img {
    opacity: 1;
    transition: none;
  }
  .ponudaimg p {
    padding-left: 0;
  }
  #aside {
    float: left;
    animation: none;
    margin-left: 2%;
    width: 96%;
    background-color: #f5f5f5;
    border-radius: 10px 10px 10px 10px;
  }
  #aside p {
    padding: 10px 20px 15px 20px;
  }
  #aside figcaption {
    margin: 0;
    padding: 0;
  }
  #aside figure {
    margin: 0;
    padding: 0;
    padding: 20px 0 10px 15px;
  }
  #aside img {
    width: 100%;
    border: 1px solid #000;
  }
  #aside img:hover {
    transform: none;
  }
  #aside h3 {
    border-radius: 10px 10px 5px 5px;
  }
  #iframe {
    height: 400px;
    width: 100%;
    padding: 15px;
    border-radius: 30px 30px 30px 30px;
  }
  aside {
    float: left;
    margin-left: 2%;
    width: 96%;
    background-color: #f5f5f5;
    border-radius: 10px 10px 10px 10px;
  }
  aside p {
    padding: 10px 20px 15px 20px;
  }
  aside figcaption {
    margin: 0;
    padding: 0;
  }
  aside figure {
    margin: 0;
    padding: 0;
    padding: 20px 0 10px 15px;
  }
  aside img {
    width: 100%;
    border: 1px solid #000;
  }
  aside img:hover {
    transform: none;
  }
  aside h3 {
    border-radius: 10px 10px 5px 5px;
  }
  #iframe {
    height: 400px;
    width: 100%;
    padding: 15px;
    border-radius: 30px 30px 30px 30px;
  }
  .infocenter {
    width: 100%;
  }
  #info {
    float: left;
    margin: 50px 0 0 1%;
    width: 98%;
  }
  #info p {
    width: 100%;
  }
  #info img {
    width: 100%;
    height: 300px;
  }
  .hideline {
    display: none;
  }
  .newline {
    display: block;
  }
  footer {
    width: 100%;
    display: block;
    height: auto;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 1.2rem;
    margin-top: 30px;
    color: #f5f5f5;
  }
  footer span {
    color: red;
  }
  .footerleft {
    width: 100%;
    text-align: center;
  }
  .footerright {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding-top: 50px;
  }
  .footerhr {
    color: #fff;
    width: 100%;
  }
}

@media (max-width: 550px) {
  #textsection,
  .prodaja,
  .prodajauglja,
  .stovariste {
    width: 100%;
  }
  .ponudaimg p {
    width: 100%;
    padding-left: 0;
  }
  .ponudaimg img:hover {
    transform: none;
  }
  .ponudaimg figure {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .ponudaimg img {
    width: 100%;
    margin: 20px 0 0 0;
    padding: 0;
  }
  .stovaristeimg {
    width: 100%;
  }
  .stovaristeimg img {
    width: 100%;
    margin: 20px 0 0 0;
    padding: 0;
  }
  .prodajaimg {
    width: 100%;
  }
  .prodajaimg img {
    width: 100%;
    margin: 20px 0 0 0;
    padding: 0;
  }
  .desnobutton {
    float: left;
    width: 100%;
  }
  .buttonnav {
    display: inline-block;
    padding-top: 0;
  }
  .intro {
    margin-top: 175px;
  }
}
