@media screen and (max-width: 1200px) {
  .white-section {
    height: fit-content !important;
  }
}

@media screen and (max-width: 1200px) {
  .colorful-section {
    height: fit-content !important;
  }
}

@media screen and (max-width: 1300px) {
  .title-line {
    clip-path: polygon(3.5% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

/* Mobile view of tables */
@media (max-width: 768px) {
  .styled-table {
      display: flex;
      flex-direction: column; /* Stack rows vertically */
      width: 100%;
      margin: 0;
  }

  .styled-table tr {
      display: flex;
      flex-direction: column; /* Stack columns in a single row vertically */
      border-bottom: none; /* Remove bottom border for rows */
      margin-bottom: 10px;
  }

  .styled-table td {
      display: block;
      width: 100%;
      padding: 10px;
      text-align: left;
      border: none; /* Remove borders for mobile */
  }

  .col1 {
      background: #025D54;
      color: white;
      width: 100%;
      font-size: 18px;
      text-align: left;
      padding: 10px;
      border-bottom: none; /* No border between col1 and col2 */
  }

  .col2 {
      background: #9FC13B;
      color: white;
      width: 100%;
      text-align: left;
      font-size: 18px;
      padding: 10px;
      margin-top: -1px; /* Overlap slightly to remove the gap */
      border-top: none; /* Remove border between col1 and col2 */
  }

  /* Header adjustments for mobile */
  #header {
      text-align: center;
      font-size: 20px;
      padding: 20px;
      border-bottom: none;
  }

  /* Hamburger menu */
  .nav-menu,
  .app-lang {
    display: none;
  }

  /* Footer - bottom */
  .footer {
    height: 320px;
  }

  .nav-menu.active,
  .app-lang.active {
    display: block;
    flex-direction: column;
    align-items: flex-start;
    background-color: #9fc13b;
    width: 100%;
    padding: 20px;
  }

  .nav-menu.active li,
  .app-lang.active {
    margin-bottom: 10px;
  }

  .hamburger {
    display: block;
  }
}

@media screen and (max-width: 900px) {
  .title-line {
    clip-path: polygon(5.5% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

@media screen and (max-width: 500px) {
  .title-line {
    clip-path: polygon(10.5% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

@media screen and (max-width: 400px) {
  .title-line {
    clip-path: polygon(22.5% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

/* @media screen and (max-width: 768px) {
  .blocks-in-main-sections {
    gap: 15px;
  }
} */

@media screen and (max-width: 1400px) {
  .main-slider-slides .container .slide-div div {
    display: none !important;
  }
}

@media screen and (max-width: 1400px) {
  .slide-div {
    width: 0px !important;
  }
}

@media screen and (max-width: 1200px) {
  .blocks-in-main-sections {
    display: flex;
    flex-direction: column;
    place-content: center;
    justify-content: space-evenly;
    align-items: center;
    min-height: fit-content !important;
    /* margin-top: 5px;
    margin-bottom: 90px;*/
    gap: 20px;
  }
}

/* Slider for mobile */
@media screen and (max-width: 768px) {
  .slide-div {
    width: 65% !important;
  }

  .main-slider-slides .container .slide-div div {
    display: inline !important;
  }

  .header-title {
    font-size: 21px !important;
    margin-left: 15px;
  }

  /* Mobile display of contact */
  #main-section-contact {
    height: 1220px !important;
    display: flex;
    flex-direction: column;
  }

  .contact-image img {
    /* width: 100% !important; */
      height: 350px;
      width: 350px;
  }

  .about-us-image {
    display: flex;
    height: 300px;
    width: 300px;
    margin-top: 30px;
  }

  /* Social networks side-navbar - mobile */
  /* .hidden-socials-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    color: #ffffff;
    background-color: #333350;
    top: 42%;
    right: 0%;
    gap: 10px;
    padding: 10px 10px 10px 10px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border: 2px solid #ffffff;
    box-shadow: 0px 0px 4px 3px rgb(120 120 120 / 80%);
    z-index: 999999;
  } */

  /* Social networks side-navbar - mobile (this way is working) */
  .social-media-icons {
    display: flex;
    flex-direction: column;
    position: fixed;
    color: #ffffff;
    background-color: #022940;
    top: 42%;
    right: 0%;
    gap: 15px;
    padding: 10px 10px 10px 10px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border: 2px solid #ffffff;
    box-shadow: 0px 0px 4px 3px rgb(120 120 120 / 80%);
    z-index: 999999;
  }
}

/* CONTACT */
@media screen and (max-width: 1200px) {
  .contact-section-content {
    display: flex;
    flex-direction: column;
    place-content: center;
    justify-content: space-evenly;
    align-items: center;
    min-height: fit-content !important;
    padding-top: 0px;
    padding-bottom: 50px;
    padding-right: 36px;
    row-gap: 30px;
  }
}

/* FOOTER */
@media screen and (max-width: 800px) {
  .content {
    display: flex;
    flex-direction: column;
    min-height: fit-content !important;
    border-bottom: none;
  }
}

@media screen and (max-width: 800px) {
  .footer-pages ul {
    margin-top: 54px;
    row-gap: 40px;
    padding-left: 0px;
    padding-bottom: 54px;
  }
}

/*POKUSAJ*/
/* AKCIJA Section */
.sliding-blocks-in-main-sections {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
  scroll-behavior: smooth;
  position: relative; /* Position relative for absolute buttons */
  padding-bottom: 15px;
}

.sliding-blocks-in-main-sections .main-section-block-title.simple-post {
  /* flex-shrink: 0; */
  /* width: 100%; */
  max-width: 300px;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .sliding-blocks-in-main-sections {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .sliding-blocks-in-main-sections .main-section-block-title.simple-post {
    scroll-snap-align: start;
    /* min-width: 100%; */
  }

  .slider-button {
    display: block;
  }

  .sliding-blocks-in-main-sections {
    height: 360px !important;
  }
}

/* Slider buttons */
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  display: none;
}

#prev {
  left: 10px;
}

#next {
  right: 10px;
}

/* .nav-menu {
  display: none; 
} */

/* .nav-menu.active {
  display: block; 
} */
