h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
}

.text-show * {
  font-family: "Helvetica" !important;
  font-weight: 400;
  line-height: 18px;
}

.title-law {
  font-family: "UniversLight", "Helvetica Neue", "Helvetica" !important;
  font-weight: bold;
  text-transform: uppercase;
}

.intro,
.author {
  color: black !important;
  font-family: "Bitter" !important;
  font-style: italic;
  font-weight: 600;
}

.author {
  font-size: 14px !important;
  margin-top: -20px;
  margin-bottom: 10px;
}

.intro {
  font-size: 14px;
}

.text-show {
  box-shadow: 0px 3px 5px 5px rgba(0, 0, 0, 0.4);
  border: none !important;
  outline: none !important;
}

.text-content .law-content {
  margin-top: -20px !important;
}

.intro-text {
  /* color: #f2b285 !important; */
  font-weight: bold;
  color: black !important;
  margin-bottom: 40px;
}

.advice {
  font-size: 50px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

/*------Centered advice text and video------*/

@media (max-width: 767px) {
  .advice {
    text-align: center;
    /* Center the text */
    font-size: 30px;
    /* Adjust font size for mobile if needed */
    margin: 0 auto;
    /* Center the container */
  }

  /* Optionally, adjust the parent container if needed */
  .new-container {
    flex-direction: column;
    /* Stack items vertically */
    align-items: center;
    /* Center the items */
  }
}

/*------Centered advice text and video------*/

.new-container {
  margin-top: 20px;
  display: flex;
  place-content: center;
  place-items: center;
}

.headline {
  text-align: center !important;
}

.new-flex-div {
  color: #ffffff;
  font-family: "Bitter" !important;
  font-style: italic;
  font-weight: 600;
}

.footer-naslov {
  letter-spacing: 5px;
}

:root {
  --site_color: #f2b285;
  --darker-text-color: black;
  --light-text-color: white;
  --footer_background: black;
  --site-font-family: "UniversLight", "Helvetica Neue", "Helvetica", "Arial",
    "sans-serif";
  --normal-text-weight: 300;
  --link-hover-text-weight: 900;
  --underline-style: underline 2px solid #55555c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-weight: 300;
  font-style: normal;
  position: relative;
  font-family: var(--site-font-family);
  cursor: url(../assets/cursor/custom-cursor.png), auto;
}

hr {
  color: var(--site_color);
}

/* section{
    margin-bottom: 50px;
} */

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

a:hover {
  color: inherit;
  cursor: url(../assets/cursor/custom-cursor.png), auto;
}

li {
  list-style: none;
}

button {
  background-color: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
}

h1,
h2 {
  font-weight: 900;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.container {
  min-width: 100%;
  padding: 0px 250px;
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.container button {
  max-width: fit-content;
}

.headline {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  min-width: 100%;
  padding: 0px 250px;
  height: 100%;
}

/* naslovna */

.section-video {
  width: 100%;
  height: 80vh;
  color: var(--light-text-color);
  background-color: whitesmoke;
  position: relative;
}

.video-container {
  padding: 0px 100px;
  position: relative;
  width: 100%;
  height: 100%;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.video-container video::-webkit-media-controls {
  display: none !important;
  pointer-events: none;
}

.video-content {
  position: absolute;
  display: flex;
  row-gap: 20px;
  flex-direction: column;
  place-content: center;
  place-items: center;
  width: 100%;
  top: 40%;
  left: 0%;
  color: var(--light-text-color);
  z-index: 2;
}

.video-content button {
  background-color: var(--site_color);
  padding: 10px 32px;
  color: var(--footer_background);
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid var(--light-text-color);
}


@media screen and (max-width: 1200px) {

  .section-video {
    width: 100%;
    height: 100vh;
    color: var(--light-text-color);
    background-color: whitesmoke;
    position: relative;
    overflow: scroll;
    z-index: 0;
    margin-top: -20px;
  }

  .video-container {
    padding: 0px 100px;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }

  .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
  }

  .video-content {
    position: absolute;
    display: flex;
    row-gap: 20px;
    flex-direction: column;
    place-content: center;
    place-items: center;
    width: 100%;
    top: 40%;
    left: 0%;
    color: var(--light-text-color);
    z-index: 1;
  }

  .container {
    padding: 0px 100px;
  }

  .video-container {
    padding: 0px 50px;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding: 0px 50px;
  }

  .video-container {
    padding: 0px 50px;
  }

  .video-content .container {
    padding: 0px 60px;
  }
}

@media screen and (max-width: 575px) {
  .container {
    padding: 0px 10px;
    /* Minimal padding for very small screens */
  }

  .video-container {
    padding: 0px 10px;
    /* Adjusted padding for video container */
    margin-top: -10px;
  }

  .video-content .container {
    padding: 0px 20px;
  }

  .second-section {
    margin-bottom: -100px;
  }
}

/* mobilee frisrt -  */

.second-section {
  margin-top: -90px;
  height: 520px;
  width: 100%;
  padding-bottom: 30px;
  padding-top: 50px;
  background-color: var(--footer_background);
}

.flex-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 30px;
  position: relative;
  z-index: 10;
}

.flex-div h1 {
  font-size: 22px;
  font-weight: 800;
  line-height: 30px;
  color: var(--light-text-color);
}

.flex-div p {
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  color: var(--light-text-color);
}

@media (min-width: 400px) {
  .flex-div h1 {
    font-size: 27px;
  }
}

@media (min-width: 1024px) {
  .flex-div p {
    font-size: 27px;
    line-height: 32px;
  }

  .flex-div h1 {
    font-size: 34px;
  }
}

@media (min-width: 1450px) {
  .flex-div h1 {
    font-size: 50px;
  }

  .flex-div {
    gap: 40px;
  }

  .flex-div p {
    font-size: 29px;
  }
}

/* ------ LAW LINKS ---------- */

.law-section {
  height: auto;
  background-color: var(--footer_background);
}

.law-link {
  font-size: 18px;
  font-weight: 600;
  margin: 0px !important;
}

.link-hov {
  --c: #050505;

  color: #ffffff00;
  background:
    linear-gradient(90deg, #fff 50%, var(--c) 0) calc(100% - var(--_p, 0%)) / 200% 100%,
    linear-gradient(var(--c) 0 0) 0% 100% / var(--_p, 0%) 100% no-repeat;
  -webkit-background-clip: text, padding-box;
  background-clip: text, padding-box;
  transition: 1s;
  transform: translateY();
}

.link-hov:hover {
  --_p: 100%;
  cursor: url(../assets/cursor/custom-cursor.png), auto;
}

.text-show {
  position: fixed;
  top: 8%;
  left: 7%;
  right: 7%;
  height: 60%;
  padding: 10px 10px;
  color: black;
  background-color: #ffffff;
  border: 3px solid black;
  border-radius: 10px;
  z-index: 99999;
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 1px;
  display: none;
}

.text-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: scroll;
  padding: 10px;
  justify-content: start;
  gap: 10px;
  font-family: "Dual" !important;
}

.title-law {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.hr-line {
  width: 100%;
  height: 4px;
  background-color: #f2b285;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.intro {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 14px;
}

.author {
  align-self: flex-end;
}

.out-text-show {
  font-size: 23px;
}

/* ------ responsive laws-link ------ */

@media (max-width: 768px) {
  .text-show {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    max-height: 60vh;
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    display: none;
    overflow-y: auto;
    margin-top: 10px;
    z-index: 2;
  }

  .law-link:hover .text-show,
  .law-link.active .text-show {
    display: block;
  }

  .text-show {
    z-index: 9999;
    position: relative;
  }

  .law-link {
    z-index: 2;
    position: relative;
  }
}

@media (min-width: 375px) {
  .text-show {
    top: 9%;
  }
}

@media (min-width: 470px) {
  .text-content {
    font-size: 14px;
    line-height: 24px;
  }

  .title-law {
    font-size: 17px;
  }

  .intro {
    font-size: 16px;
  }
}

@media (min-width: 475px) {
  .text-show {
    top: 10%;
  }
}

@media (min-width: 575px) {

  .text-content {
    font-size: 16px !important;
    line-height: 26px;
  }

  .title-law {
    font-size: 19px;
  }

  .intro {
    font-size: 18px;
  }

  .text-show {
    top: 11%;
  }

}

@media (min-width: 600px) {
  .text-show {
    top: 12%;
  }


}

@media (min-width: 675px) {
  .law-link {
    padding: 30px 10px !important;
    font-size: 20px;
  }
}

@media (min-width: 775px) {
  .text-content {
    font-size: 17px !important;
    line-height: 28px;
  }

  .title-law {
    font-size: 22px;
  }

  .intro {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .law-section {
    background-color: white;
    padding-top: 70px;
  }

  .text-show {
    position: fixed;
    top: 10%;
    left: 55%;
    right: 5%;
    bottom: 10%;
    height: auto;
    padding: 10px 15px;
  }

  .text-content {
    font-size: 13px !important;
    line-height: 21px !important;
    justify-content: start;
    gap: 12px;
  }

  /* .project-content{
        gap: 70px;
      } */

  .footer-text {
    font-size: 25px;
  }

  .footer-naslov {
    font-size: 50px;
  }

  .hidden-pc {
    display: none;
  }

  .law-link {
    font-size: 28px !important;
  }

  .title-law {
    font-size: 26px;
    line-height: 30px !important;
  }

  .intro {
    font-size: 14px;
    line-height: 2ch;
    margin-bottom: 35px;
  }
}

@media (min-width: 1140px) {
  .text-show {
    left: 60%;
  }
}

@media (min-width: 1320px) {
  .text-content {
    font-size: 14px !important;
    line-height: 22px !important;
  }

  .law-content {
    font-size: 16px !important;
    line-height: 24px !important;
  }
}

@media (min-width: 1850px) {
  .text-show {
    left: 65%;
  }

  .text-content {
    justify-content: start;
    gap: 20px;
    font-size: 15px !important;
  }
}

.law-link {
  background-color: white;
  padding: 15px 10px;
  border-bottom: 1px solid gray;
}

@media screen and (max-width: 1200px) {
  .container {
    padding: 0 100px !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding: 0 50px !important;
  }
}

@media screen and (max-width: 575px) {
  .container {
    padding: 0 10px !important;
  }
}