header {
  position: fixed;

  width: 100%;

  inset: 0;

  z-index: 100;

  padding-top: 1.5rem;

  padding-bottom: 1.5rem;

  height: max-content;
}

header .header-logo {
  height: 14.7rem;

  transition: 0.3s ease;
}

.header-logo-container {
  display: flex;

  align-items: center;

  gap: 2rem;
}

.header-logo-container p {
  font-size: 3.2rem;

  font-family: 'Oswald', sans-serif;
}

header.active .header-logo {
  height: 10rem;
}

header .header-logo img {
  height: 100%;
}

header.active {
  background-color: var(--dark-grey-color);

  z-index: 100;
}

header.active .header-logo img {
  height: 100%;
}

.hamburger-container {
  position: fixed;

  top: 0;

  right: 0;

  padding-top: 2rem;

  padding-right: 2rem;

  display: none;

  z-index: 1000;
}

.hamburger {
  display: inline-block;

  height: 26px;

  margin-right: 27px;
}

.hamburger a.main-nav-toggle {
  display: block;

  width: 28px;

  height: 16px;

  right: 2rem;

  position: absolute;

  top: 3.5rem;
}

.hamburger a.main-nav-toggle::after,
.hamburger a.main-nav-toggle::before {
  content: '';

  position: absolute;

  top: 0;

  height: 0;

  border-bottom: 4px solid var(--red-color);

  width: 100%;

  left: 0;

  right: 0;

  transition: all ease-out 0.3s;
}

.hamburger a.main-nav-toggle::after {
  top: 100%;
}

.hamburger a.main-nav-toggle i {
  display: block;

  text-indent: 100%;

  overflow: hidden;

  white-space: nowrap;

  height: 4px;

  background-color: var(--red-color);

  width: 100%;

  position: absolute;

  top: 50%;

  transition: all ease-out 0.1s;
}

.hamburger a.main-nav-toggle.active-menu::after {
  transform: rotate(-45deg);

  transform-origin: center;

  top: 50%;
}

.hamburger a.main-nav-toggle.active-menu::before {
  transform: rotate(45deg);

  transform-origin: center;

  top: 50%;
}

.hamburger a.main-nav-toggle.active-menu i {
  opacity: 0;
}

#hero {
  position: relative;

  flex-direction: column;

  height: 100vh;

  display: flex;

  align-items: center;

  justify-content: flex-end;

  min-height: 56rem;
}

#hero h1 {
  display: none;
}

#hero .video {
  position: absolute;

  inset: 0;

  height: 100%;

  width: 100%;

  object-fit: cover;
}

#hero::after {
  content: '';

  height: 100%;

  width: 100%;

  display: block;

  z-index: -1;

  position: absolute;

  inset: 0;

  background-color: var(--dark-grey-color);

  opacity: 63%;
}

#hero .background {
  position: absolute;

  inset: 0;

  height: 100%;

  width: 100%;

  z-index: 2;

  object-fit: cover;
}

#hero .title {
  margin-left: auto;

  margin-right: auto;

  width: max-content;

  display: block;

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translateY(-50%) translateX(-50%);
}

.header-inner {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;
}

nav ul {
  display: flex;

  align-items: center;

  gap: 3.2rem;

  margin-top: 3rem;
}

nav li {
  position: relative;
}

nav li svg {
  position: absolute;

  bottom: -1rem;

  left: 0;
}

nav li svg path {
  stroke-dasharray: 300; /* ukupna dužina linije */

  stroke-dashoffset: 300; /* sakrije liniju */

  transition: stroke-dashoffset 0.5s ease;
}

nav li:hover svg path {
  stroke-dashoffset: 0; /* iscrta liniju */
}

nav li.active svg path {
  stroke-dashoffset: 0;
}

nav li.active svg {
  display: none;
}

nav li.active a {
  color: var(--red-color);
}

nav ul li a {
  color: var(--white-color);

  font-size: 2.2rem;
}

.red-link {
  font-family: 'PF Reminder Pro';

  color: var(--red-color);

  font-size: 2.8rem;

  display: flex;

  align-items: center;

  gap: 2rem;

  transform: rotate(-3deg);

  text-transform: uppercase;
}

.red-link svg {
  flex-shrink: 0;
}

h2 {
  color: var(--white-color);

  font-size: 14.6rem;

  line-height: 14rem;

  text-transform: uppercase;
}

h2 span {
  font-size: 7rem;

  display: block;

  line-height: 1;
}

p {
  color: var(--white-color);

  font-family: 'Inter', sans-serif;

  font-optical-sizing: auto;

  font-style: normal;

  font-size: 1.6rem;
}

#sloboda-na-dva-tocka {
  background-color: var(--dark-grey-color);

  position: relative;

  padding-top: 15.5rem;

  margin-bottom: 10rem;
}

#sloboda-na-dva-tocka h2 {
  position: relative;
}

#sloboda-na-dva-tocka h1 {
  padding-top: 5.6rem;
}

#sloboda-na-dva-tocka .graphic1 {
  position: absolute;

  left: 0;

  top: 6.5rem;
}

.sloboda-na-dva-tocka-inner {
  display: flex;

  gap: 5rem;
}

#sloboda-na-dva-tocka .images {
  display: flex;

  width: 100%;

  max-width: 60rem;

  position: relative;

  margin-top: 5rem;
}

#sloboda-na-dva-tocka .left {
  flex: 1;
}

#sloboda-na-dva-tocka .images p {
  font-family: 'PF Reminder Pro';

  text-transform: uppercase;

  font-size: 2.8rem;

  transform: rotate(-3deg);

  color: var(--grey-color);

  height: max-content;

  position: relative;

  left: 1.5rem;

  top: 16rem;
}

#sloboda-na-dva-tocka .images .abs {
  width: 25rem;

  height: 31.5rem;

  position: absolute;

  bottom: -10rem;

  right: 8rem;
}

#sloboda-na-dva-tocka .images img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.sloboda-na-dva-tocka-inner .text {
  width: 100%;

  max-width: 58.6rem;

  margin-top: 8.8rem;

  margin-bottom: 5rem;
}

#okupljanja {
  position: relative;

  padding-top: 27rem;

  padding-bottom: 13rem;
}

#okupljanja h2 {
  display: flex;

  flex-direction: column;

  gap: 13.8rem;
}

#okupljanja h2 span {
  color: var(--grey-color);

  font-size: 22.1rem;

  text-align: center;

  position: absolute;
}

#okupljanja h2 span:nth-of-type(1) {
  position: absolute;

  top: 8rem;

  left: 50%;

  transform: translateX(-50%);
}

.swiper-okupljanja-prev,
.swiper-okupljanja-next {
  cursor: pointer;
}

#okupljanja h2 span:nth-of-type(2) {
  bottom: -3rem;

  position: absolute;

  left: 50%;

  transform: translateX(-50%);
}

.okupljanja-swiper-content {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 5.7rem;
}

.swiper-okupljanja .swiper-slide {
  background-color: rgba(28, 28, 28, 0.8);

  backdrop-filter: blur(8px);

  height: 28.3rem;

  border: 1px solid #606060;

  padding: 3.6rem 3.2rem;

  display: flex;

  flex-direction: column;

  justify-content: space-between;
}

.swiper-okupljanja-container {
  width: 85%;
}

.swiper-okupljanja .swiper-slide .datum {
  color: var(--red-color);

  font-size: 1.8rem;

  font-family: 'Inter', sans-serif;

  margin-bottom: 4.2rem;
}

.swiper-okupljanja .swiper-slide .naziv {
  font-size: 2.6rem;

  color: var(--white-color);

  font-weight: bold;
}

#motofest {
  background-color: #111111;

  margin-top: 20rem;

  padding-bottom: 10rem;

  position: relative;
}

.smoke {
  position: absolute;

  top: 6rem;

  left: -6rem;
}

#motofest .graphic-top {
  margin-left: auto;

  display: block;

  margin-right: auto;
}

#motofest h2 {
  line-height: 1;
}

#motofest h2 span {
  font-size: 7rem;

  display: block;
}

.motofest-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  position: relative;

  bottom: 5rem;

  gap: 5rem;
}

.motofest-top-flex {
  display: flex;

  align-items: center;

  gap: 3.5rem;
}

.motofest-top div {
  width: 100%;

  max-width: 61rem;

  margin-left: auto;
}

.motofest-top div a {
  margin-top: 3rem;
}

.swiper-galerija {
  transform: rotate(-5deg);

  transition: 0.3s ease-in;

  margin-top: 4rem;
}

.swiper-galerija .swiper-slide {
  width: auto;
}

.swiper-galerija .swiper-slide img {
  display: block;

  width: auto; /* da prati prirodnu širinu */

  max-width: 100%;

  height: auto;
}

#motofest .najbolji-provod {
  position: relative;

  top: 2rem;
}

.najbolji-provod {
  transform: rotate(-4deg);

  font-family: 'PF Reminder Pro';

  font-size: 3.2rem;

  text-transform: uppercase;

  color: var(--grey-color);

  width: 26.7rem;
}

.motofest-galerija {
  margin-top: 6rem;
}

.note {
  transform: rotate(-4deg);

  font-family: 'PF Reminder Pro';

  font-size: 3.2rem;

  width: 27rem;

  text-transform: uppercase;
}

#kosnica {
  position: relative;

  background-color: #111111;

  padding-top: 26rem;

  padding-bottom: 15rem;
}

#kosnica::after {
  content: '';

  display: block;

  background-color: #e5e5e3;

  height: 100%;

  width: 100%;

  inset: 0;

  position: absolute;

  z-index: 1;

  clip-path: polygon(0 19%, 100% 0, 100% 100%, 0% 100%);
}

#kosnica .container {
  position: relative;

  z-index: 2;
}

#kosnica h2,
#kosnica p {
  color: #161616;
}

#kosnica p {
  margin-top: 5rem;

  margin-bottom: 2rem;
}

.kosnica-inner {
  display: flex;

  gap: 8.6rem;
}

h2 span {
  width: max-content;
}

.kosnica-text-container {
  margin-top: 2rem;
}

.kosnica-text-container div {
  margin-right: 6rem;
}

.kosnica-text-container a,
.kosnica-text-container p {
  width: 100%;

  max-width: 39rem;
}

.kosnica-img-container .rel {
  width: 100%;

  max-width: 82.6rem;

  height: 47.8rem;

  position: relative;

  min-width: 60rem;
}

.kosnica-img-container .rel img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.kosnica-img-container .note {
  margin-left: 22rem;

  position: relative;
}

#prijatelji-cesta .graphic {
  position: absolute;

  top: 36rem;

  left: -4rem;
}

#prijatelji-cesta {
  padding-top: 13rem;

  position: relative;
}

.circle-path {
  stroke-dasharray: 300;

  stroke-dashoffset: 0; /* fully visible by default */
}

.red-link:hover svg .circle-path,
.link:hover svg .circle-path {
  animation: redraw 1s ease;
}

@keyframes redraw {
  0% {
    stroke-dashoffset: 300; /* start hidden */
  }

  100% {
    stroke-dashoffset: 0; /* end visible */
  }
}

#prijatelji-cesta h2,
#prijatelji-cesta p {
  color: var(--red-color);

  font-size: 19.2rem;

  font-weight: 900;

  font-family: 'Oswald', sans-serif;
}

.prijatelji-cesta-container {
  position: relative;

  width: 100%;

  max-width: 124rem;

  margin-left: auto;

  margin-right: auto;
}

.prijatelji-cesta-container p:nth-of-type(1) {
  position: absolute;

  top: 34%;

  right: -10rem;

  line-height: 1;

  z-index: 3;
}

.prijatelji-cesta-container p:nth-of-type(2) {
  bottom: 0;

  position: absolute;

  left: 12rem;

  line-height: 1;

  z-index: 2;
}

.prijatelji-cesta-container .top {
  width: max-content;

  margin-left: auto;

  display: flex;

  gap: 2.3rem;
}

.prijatelji-cesta-container .middle {
  display: flex;

  align-items: flex-start;

  gap: 2.3rem;

  margin-top: 2.3rem;
}

.prijatelji-cesta-container .bottom {
  display: flex;

  align-items: flex-end;

  justify-content: flex-end;

  gap: 2.3rem;

  margin-right: 9.3rem;

  position: relative;

  bottom: 12rem;
}

.prijatelji-cesta-container .bottom .flex {
  display: flex;

  gap: 2rem;
}

.prijatelji-cesta-container .bottom img:nth-of-type(3) {
  position: relative;

  bottom: 5rem;
}

#blog {
  padding-top: 12.6rem;

  padding-bottom: 14rem;
}

#blog h2 {
  color: var(--white-color);
}

.blog-top {
  display: flex;

  align-items: center;

  justify-content: space-between;
}

.blog-top div {
  justify-content: space-between;

  gap: 3rem;

  display: flex;
}

.link {
  font-family: 'PF Reminder Pro';

  font-size: 2.8rem;

  display: flex;

  align-items: center;

  gap: 2rem;

  transform: rotate(-3deg);
}

.facebook-link {
  color: #0866ff;
}

.instagram-link {
  color: #c21e91;
}

.swiper-blog {
  margin-top: 3rem;
}

.swiper-blog-navigation {
  display: none;

  gap: 3rem;

  width: max-content;

  margin-left: auto;

  margin-right: auto;

  margin-top: 3rem;
}

.swiper-blog .swiper-slide img {
  width: 100%;
}

.swiper-klubovi .swiper-slide {
  width: auto;
}

#bratski-klubovi {
  background-color: #e5e5e3;

  padding-top: 5rem;

  margin-top: -5rem;
}

#bratski-klubovi .note {
  margin-left: unset;

  margin-right: auto;

  color: var(--dark-grey-color);

  margin-top: 5rem;
}

#bratski-klubovi h2 {
  color: var(--dark-grey-color);
}

footer {
  background-color: #e5e5e3;

  position: relative;
}

footer.footer-dark {
  background-color: #111111;
}

footer::after {
  position: absolute;

  content: '';

  background-color: var(--dark-grey-color);

  display: block;

  inset: 0;

  z-index: 0;

  clip-path: polygon(0 31%, 100% 0, 100% 100%, 0 100%);
}

footer::before {
  background-color: var(--dark-grey-color);

  display: block;

  height: 100px;

  z-index: 0;

  content: '';

  position: absolute;

  bottom: 0;

  width: 100%;

  left: 0;

  right: 0;
}

footer .container {
  position: relative;

  z-index: 1;
}

.footer-logo {
  width: max-content;

  margin-left: auto;

  margin-right: auto;

  display: block;
}

.note {
  margin-left: auto;

  color: #cacac9;
}

.footer-flex {
  display: flex;

  justify-content: space-between;

  margin-top: 5rem;

  position: relative;

  bottom: 5rem;
}

.socials {
  display: flex;

  gap: 0.8rem;
}

#bratski-klubovi {
  position: relative;
}

footer .note {
  position: relative;

  bottom: 5rem;
}

.copyright a {
  color: #f5cb14;
}

.copyright {
  text-align: center;

  padding-top: 1rem;

  padding-bottom: 1rem;

  border-top: 1px solid #424242;

  color: #878788;
}

.kontakt {
  display: flex;

  flex-direction: column;

  gap: 0.8rem;
}

.kontakt p {
  color: var(--red-color);

  font-family: 'Inter', sans-serif;

  font-size: 1.6rem;
}

.kontakt p a {
  color: var(--white-color);

  font-family: 'Inter', sans-serif;

  font-size: 1.6rem;

  transition: 0.3s ease;
}

.kontakt p a:hover {
  color: var(--red-color);
}

.swiper-galerija-container {
  position: relative;
}

/* NAVIGACIJA */

.swiper-galerija-navigation {
  position: absolute;

  inset: 0;

  pointer-events: none;
}

.swiper-galerija-prev,
.swiper-galerija-next {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 20;

  pointer-events: all;

  cursor: pointer;

  transition: left 0.5s ease;
}

/* button lijevo od slike */

.swiper-galerija-prev {
  left: calc(50% - var(--slide-width) / 2 - 80px);
}

/* button desno od slike */

.swiper-galerija-next {
  left: calc(50% + var(--slide-width) / 2 + 20px);
}

#hero-inner {
  padding-top: 22rem;

  padding-bottom: 2rem;
}

#hero-inner h1 {
  color: var(--white-color);

  font-size: 12rem;

  text-align: center;

  text-transform: uppercase;

  line-height: 1;
}

.strsljen-linija-container {
  position: absolute;

  right: 0;

  top: 10rem;
}

.strsljen {
  opacity: 0;
}

.hero-inner-strsljen .note {
  width: max-content;
}

.strsljen1-inner {
  display: flex;

  align-items: flex-end;
}

.strsljen1-right {
  margin-left: 5rem;
}

.strsljen1-right p {
  margin-top: 5rem;
}

.strsljen1-left div {
  display: flex;

  align-items: center;
}

.strsljen1-left div img:first-of-type {
  margin-top: 20rem;
}

.strsljen1-left div img:last-of-type {
  width: 100%;

  min-width: 37rem;
}

.strsljen1-right {
  width: 100%;

  max-width: 62.5rem;
}

.strsljen1-right .photo img {
  width: 100%;
}

.strsljen1-left {
  width: 100%;

  max-width: 71rem;
}

.bratstvo-strsljen {
  display: flex;

  gap: 3.5rem;

  align-items: flex-end;

  position: relative;

  bottom: 5.5rem;

  z-index: -1;
}

.bratstvo-strsljen .note {
  margin-left: unset;

  position: relative;

  top: 2rem;
}

#strsljen1 {
  position: relative;
}

#strsljen1 .graphic-right {
  position: absolute;

  bottom: 0;

  right: 0;
}

#strsljen2 {
  display: flex;

  justify-content: space-between;

  width: 100%;

  max-width: 192rem;

  margin-left: auto;

  margin-right: auto;
}

#strsljen2 .graphic1 {
  position: absolute;

  top: -5rem;

  left: 0;

  width: auto;

  height: auto;

  z-index: 3;
}

#strsljen2 .graphic2 {
  position: absolute;

  top: 10rem;

  left: 0;

  width: auto;

  height: auto;

  z-index: 3;
}

.strsljen2-left {
  display: flex;

  gap: 6rem;

  margin-top: 9.3rem;
}

.strsljen2-left > img {
  max-width: 37.5rem;

  height: 40rem;
}

.strsljen2-right div {
  display: flex;

  gap: 2rem;

  align-items: center;
}

.strsljen2-right div .note {
  margin-right: unset;

  width: max-content;
}

.strsljen2-right {
  position: relative;
}

.strsljen2-right div > img {
  position: relative;

  z-index: 2;
}

.strsljen2-right .absolute {
  position: relative;

  bottom: 18rem;

  z-index: 0;

  left: -4rem;
}

.motofest-circle {
  position: relative;

  bottom: 5rem;

  left: 13rem;
}

.motofest1-inner {
  display: flex;

  align-items: center;

  gap: 5rem;
}

.motofest1-text {
  width: 100%;

  max-width: 82rem;
}

.motofest1-text p {
  width: 100%;

  font-size: 1.6rem;

  line-height: 2.6rem;

  max-width: 70rem;

  margin-bottom: 5.5rem;
}

.motofest-aftermovie {
  position: relative;
}

.motofest-aftermovie .play-icon {
  position: absolute;

  display: none;

  top: 50%;

  transform: translateY(-50%);

  left: -2rem;
}

.motofest-aftermovie .note {
  position: absolute;

  bottom: 0;

  display: none;

  left: 0;

  transform: translateX(-90%) rotate(-4deg);
}

#brojac {
  padding-top: 10rem;

  padding-bottom: 16rem;
}

.brojac-inner {
  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  max-width: 122rem;

  margin-left: auto;

  margin-right: auto;
}

.brojac-inner .card {
  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 3rem;

  min-width: 30rem;

  position: relative;
}

.brojac-inner .card h3 {
  color: var(--white-color);

  font-size: 9.2rem;

  line-height: 1;

  text-align: center;
}

.brojac-inner .card span {
  color: #cacac9;

  transform: rotate(-4deg);

  text-transform: uppercase;

  font-family: 'PF Reminder Pro';

  font-size: 2.8rem;

  position: relative;

  top: 2rem;

  display: block;

  text-align: center;

  margin-bottom: 4rem;
}

.brojac-inner .card p {
  margin-left: auto;

  margin-right: auto;

  font-size: 2.8rem;

  transform: rotate(-4deg);

  text-transform: uppercase;

  font-family: 'PF Reminder Pro';

  color: #cacac9;

  padding-bottom: 3rem;

  width: max-content;

  margin-top: 4rem;
}

.brojac-inner .card p svg {
  position: absolute;

  bottom: 0;

  left: 0;
}

.motofest-card {
  border: 1px solid #4c4c4c;

  min-height: 25rem;

  flex: 1;

  display: flex;

  align-items: flex-start;

  padding: 4.4rem 6.6rem 2.5rem 3rem;
}

.motofest-card p {
  color: var(--white-color);

  font-size: 6.4rem;

  text-transform: uppercase;

  font-weight: 900;

  font-family: 'Oswald', sans-serif;

  line-height: 1;
}

.motofest-cards-top {
  display: flex;

  gap: 2.4rem;

  margin-bottom: 2.4rem;
}

.motofest-cards-top .motofest-card:nth-of-type(2) {
  max-width: 34rem;
}

.motofest-cards-top .motofest-card:nth-of-type(3) {
  max-width: 46.4rem;
}

.motofest-cards-bottom {
  display: flex;

  gap: 2.4rem;
}

.motofest-cards-bottom .motofest-card {
  flex: 1;
}

#motofest-cards {
  padding-bottom: 13.6rem;
}

#galerija {
  background-color: #111111;

  padding-top: 7rem;

  position: relative;
}

#galerija .smoke {
  top: -15rem;
}

#galerija .container {
  display: flex;

  justify-content: space-between;

  gap: 2rem;
}

.swiper-klubovi .swiper-wrapper {
  transition-timing-function: linear !important;
}

.marquee-track {
  margin-top: 7rem;

  transform: rotate(-4deg);

  margin-bottom: 5rem;
}

.marquee {
  overflow: hidden;

  width: 100%;

  transform: rotate(-4deg);
}

.marquee-track {
  display: flex;

  width: max-content;

  animation: scroll 20s linear infinite;

  gap: 4rem;
}

.marquee-track img {
  max-height: 12.7rem;
}

/* KLJUČ */

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.music-player {
  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: start;

  width: 100%;

  max-width: 75rem;

  margin-bottom: 8rem;

  padding-inline: 2rem;

  opacity: 1;

  position: relative;

  z-index: 4;
}

.music-player #title {
  font-size: 2.8rem;

  color: var(--white-color);

  font-family: 'Shadows Into Light', cursive;

  font-weight: 400;

  font-style: normal;

  text-transform: uppercase;
}

.music-player #song-name {
  font-size: 2.4rem;
}

.player {
  width: 100%;

  display: flex;

  align-items: center;

  gap: 3rem;

  margin-top: 3rem;
}

/* Music Player Progress */

#progress {
  appearance: none;

  -webkit-appearance: none;

  width: 100%;

  height: 3px;

  background: #484848;

  border-radius: 4px;

  cursor: pointer;
}

#progress::-webkit-slider-thumb {
  appearance: none;

  -webkit-appearance: none;

  background-color: var(--red-color);

  width: 10px;

  aspect-ratio: 1/1;

  border-radius: 50%;
}

/* Music Player Controls */

.controls {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 2rem;
}

.controls button {
  background-color: transparent;

  min-width: 1.5rem;
}

.controls button img {
  width: 100%;
}

.controls .play-pause-btn .pause-img {
  display: none;
}

.controls .play-pause-btn.active .pause-img {
  display: block;
}

.controls .play-pause-btn.active .play-img {
  display: none;
}

.main-logo img {
  max-height: 40rem;
}

#about-kosnica {
  margin-top: 12.5rem;
}

.about-kosnica-inner {
  display: flex;

  justify-content: space-between;

  gap: 2rem;
}

.about-kosnica-text {
  margin-top: 4rem;

  margin-bottom: 8.5rem;
}

.about-kosnica-text p {
  width: 100%;

  max-width: 53.5rem;
}

.about-konsica-list {
  display: flex;

  flex-direction: column;

  gap: 3.5rem;

  margin-top: 8.5rem;
}

.about-konsica-list div {
  display: flex;

  gap: 2.5rem;

  align-items: flex-start;
}

.about-konsica-list p {
  text-transform: uppercase;

  font-size: 2.2rem;

  font-family: 'Oswald', sans-serif;
}

.about-kosnica-photo .abs {
  display: flex;

  margin-right: 4rem;

  align-items: flex-end;

  position: relative;

  bottom: 9rem;

  right: 4rem;
}

.about-kosnica-photo .abs .note {
  width: max-content;

  margin-right: 2.5rem;
}

.about-kosnica-flex-photos {
  width: 100%;

  max-width: 125rem;

  margin-left: auto;

  margin-right: auto;

  gap: 3rem;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  margin-top: 5rem;
}

#rakije-strsljen {
  background-color: #111111;

  padding-top: 20.6rem;

  padding-bottom: 13rem;

  clip-path: polygon(0 13%, 100% 0, 100% 100%, 0% 100%);

  margin-top: 13rem;
}

.rakije-strsljen-inner {
  display: flex;

  justify-content: space-between;

  gap: 7rem;
}

.rakije-strsljen-left {
  width: 100%;

  max-width: 49rem;
}

.rakije-strsljen-right {
  width: 100%;

  max-width: 83rem;

  margin-left: auto;

  display: flex;

  flex-direction: column;

  gap: 6rem;

  align-items: flex-end;

  position: relative;
}

.rakije-strsljen-right .top {
  margin-right: auto;
}

.rakije-strsljen-left p {
  margin-top: 3rem;

  margin-bottom: 3.6rem;
}

#rakije-strsljen h2 {
  line-height: 1.3;

  font-size: 12rem;
}

.rakija-strsljen-logo {
  position: absolute;

  top: 9rem;

  z-index: 3;

  right: 0;

  width: auto !important;
}

.rakije-strsljen-right .note {
  position: absolute;

  bottom: 0;

  left: 0;

  z-index: 2;
}

/* Music Player Progress */

#progress {
  appearance: none;

  -webkit-appearance: none;

  width: 100%;

  height: 3px;

  background: #484848;

  border-radius: 4px;

  cursor: pointer;
}

#progress::-webkit-slider-thumb {
  appearance: none;

  -webkit-appearance: none;

  width: 10px;

  aspect-ratio: 1/1;

  border-radius: 50%;
}

/* Music Player Controls */

.controls {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 2rem;
}

.controls button {
  background-color: transparent;

  min-width: 1.5rem;
}

.controls button img {
  width: 100%;
}

.controls .play-pause-btn .pause-img {
  display: none;
}

.controls .play-pause-btn.active .pause-img {
  display: block;
}

.controls .play-pause-btn.active .play-img {
  display: none;
}

.pogledaj-sve-rakije-container {
  display: flex;

  align-items: flex-end;

  position: absolute;

  bottom: -12rem;
}

.pogledaj-sve-rakije-container a {
  position: relative;

  bottom: 4rem;
}

.swiper-galerija .swiper-slide {
  width: auto;

  height: auto;
}

.swiper-galerija img {
  display: block;

  height: auto;

  max-width: 100%;
}

#smoke {
  height: 30rem;

  width: 30rem;
}

@media only screen and (max-width: 1655px) {
  .strsljen2-left img:first-of-type {
    max-width: 35rem;

    height: 30rem;
  }
}

@media only screen and (max-width: 1210px) {
  .motofest-aftermovie {
    width: 50%;
  }

  h2 {
    font-size: 10.6rem !important;

    line-height: 13rem;
  }

  #kosnica h2 span {
    width: 100%;
  }

  .strsljen-linija-container .linija {
    width: 90%;

    display: block;

    margin-left: auto;
  }

  .about-kosnica-photo {
    max-width: 63rem;
  }

  .about-kosnica-photo .relative img {
    width: 100%;

    height: 100%;

    object-fit: cover;
  }

  .prijatelji-cesta-container .bottom {
    margin-right: unset;
  }

  #prijatelji-cesta h2,
  #prijatelji-cesta p {
    font-size: 10.6rem;
  }

  .prijatelji-cesta-container p:nth-of-type(1) {
    right: 0;
  }

  .prijatelji-cesta-container p:nth-of-type(2) {
    bottom: 44rem;

    left: 26rem;
  }

  .prijatelji-cesta-container .top {
    width: 100%;
  }
}

@media only screen and (max-width: 1480px) {
  .swiper-okupljanja-prev,
  .swiper-okupljanja-next {
    position: absolute;
  }

  .swiper-okupljanja-next {
    right: 2rem;
  }

  .swiper-okupljanja-container {
    margin-left: auto;

    margin-right: auto;
  }
}

@media only screen and (max-width: 1141px) {
  .rakije-strsljen-inner {
    gap: 2rem;
  }

  .rakije-strsljen-right img {
    width: 100%;
  }

  .rakije-strsljen-inner {
    flex-direction: column;

    gap: 1.5rem;
  }

  .rakije-strsljen-left {
    max-width: unset;
  }
}

@media only screen and (max-width: 1117px) {
  .pogledaj-sve-rakije-container .absolute img {
    width: 14rem;
  }

  .pogledaj-sve-rakije-container {
    bottom: 2rem;
  }

  .motofest-card {
    justify-content: space-between;

    min-height: 20rem;
  }

  .about-kosnica-flex-photos img:nth-of-type(1) {
    max-width: 60rem;
  }

  .motofest-cards-bottom {
    flex-direction: column;
  }

  .motofest-cards-top .motofest-card:nth-of-type(2),
  .motofest-cards-top .motofest-card:nth-of-type(3) {
    align-items: center;

    max-width: unset;
  }

  .motofest-cards-top {
    flex-direction: column;
  }

  #okupljanja h2 span {
    font-size: 16rem;
  }

  .kosnica-img-container .rel {
    min-width: 36rem;

    height: 31.8rem;
  }

  .motofest-card {
    padding: 4.4rem 2.6rem 2.5rem 2.6rem;
  }
}

@media only screen and (max-width: 1380px) {
  .motofest-card p {
    font-size: 4.4rem;
  }

  .motofest-card {
    gap: 2rem;
  }
}

@media only screen and (max-width: 1090px) {
  .about-kosnica-inner {
    flex-direction: column;
  }

  .about-kosnica-text {
    margin-bottom: 3rem;
  }

  .about-kosnica-photo {
    margin-left: auto;

    margin-right: auto;
  }

  .about-kosnica-text p {
    max-width: unset;
  }

  .about-kosnica-flex-photos {
    margin-top: unset;

    flex-direction: column;

    position: relative;
  }

  .about-kosnica-flex-photos img:nth-of-type(1) {
    position: absolute;

    bottom: -23rem;

    max-width: 34rem;
  }

  .about-kosnica-flex-photos img:nth-of-type(2) {
    margin-right: auto;
  }

  #about-kosnica {
    padding-bottom: 13rem;
  }
}

@media only screen and (max-width: 1024px) {
  .swiper-blog-navigation {
    display: flex;
  }
}

@media only screen and (max-width: 950px) {
  .sloboda-na-dva-tocka-inner {
    flex-direction: column;
  }

  #sloboda-na-dva-tocka {
    padding-top: 6.5rem;
  }

  #sloboda-na-dva-tocka .graphic1 {
    width: 12rem;
  }

  #okupljanja h2 span {
    font-size: 11rem;
  }
}

@media only screen and (max-width: 900px) {
  .link {
    font-size: 2.2rem;
  }

  .blog-top div {
    flex-direction: column;

    margin-top: 4rem;
  }

  .pogledaj-sve-rakije-container a {
    width: 16rem;
  }

  .red-link {
    font-size: 2.2rem;
  }

  .motofest-top-flex {
    flex-direction: column;
  }

  .pogledaj-sve-rakije-container {
    bottom: -12rem;
  }

  .about-kosnica-flex-photos img:nth-of-type(1) {
    max-width: 40rem;
  }

  .brojac-inner .card p {
    font-size: 1.8rem;
  }

  .brojac-inner .card h3 {
    font-size: 5.2rem;
  }

  #motofest-cards {
    padding-bottom: 10.5rem;
  }

  .motofest-card {
    gap: 2rem;
  }

  .motofest1-inner {
    flex-direction: column;
  }

  .motofest-aftermovie {
    width: 100%;

    margin-left: 4rem;
  }

  .motofest1-text p {
    max-width: unset;
  }

  .strsljen {
    width: 10rem;
  }

  #strsljen1 .graphic-right {
    width: 11rem;
  }

  #hero-inner h1 {
    font-size: 6rem;
  }

  .note {
    font-size: 2rem;
  }

  .strsljen2-left img:first-of-type {
    height: 26rem;
  }

  .strsljen1-left div img:last-of-type {
    height: 45rem;

    object-fit: contain;
  }

  .strsljen1-right {
    max-width: 51rem;
  }

  .strsljen1-inner {
    flex-direction: column;

    gap: 5rem;

    align-items: flex-start;

    margin-top: 5rem;
  }

  .strsljen1-right {
    margin-left: unset;

    max-width: unset;
  }

  .bratstvo-strsljen {
    bottom: unset;

    margin-top: 4rem;

    flex-direction: column;

    align-items: flex-start;
  }

  #strsljen2 {
    flex-direction: column;
  }

  #prijatelji-cesta h2,
  #prijatelji-cesta p {
    font-size: 12.2rem;
  }

  .blog-top {
    flex-direction: column;

    align-items: flex-start;
  }

  .sloboda-na-dva-tocka-inner {
    flex-direction: column;
  }

  .sloboda-na-dva-tocka-inner .text {
    max-width: unset;

    margin-top: 3.8rem;
  }

  #sloboda-na-dva-tocka .images {
    margin-left: auto;

    margin-right: auto;
  }

  .kosnica-inner {
    flex-direction: column-reverse;
  }

  .footer-flex {
    flex-direction: column;

    gap: 5rem;

    justify-content: center;

    align-items: center;
  }

  h2 {
    font-size: 6.6rem !important;

    line-height: 9rem;
  }

  .motofest-top {
    flex-direction: column;

    align-items: flex-start;
  }

  .motofest-top div {
    margin-left: unset;

    max-width: 100%;
  }

  #kosnica {
    padding-top: 9rem;
  }

  #kosnica::after {
    clip-path: polygon(0 7%, 100% 0, 100% 100%, 0% 100%);
  }

  #prijatelji-cesta {
    padding-top: 7rem;
  }

  #bratski-klubovi h2 {
    line-height: 1;
  }

  footer::after {
    clip-path: polygon(0 17%, 100% 0, 100% 100%, 0 100%);
  }

  #motofest {
    margin-top: 15rem;
  }

  #okupljanja h2 span:nth-of-type(1) {
    top: 17rem;
  }

  #okupljanja h2 span:nth-of-type(2) {
    bottom: 5rem;
  }

  .strsljen2-right {
    margin-top: 2rem;
  }

  .strsljen2-right div > img {
    width: 60%;
  }

  #strsljen2 .graphic2 {
    display: none;
  }
}

@media only screen and (max-width: 800px) {
  .rakije-strsljen-right {
    gap: 1.5rem;
  }

  .rakije-strsljen-right .note {
    transform: translateY(100%) rotate(-4deg) !important;
  }

  .rakija-strsljen-logo {
    top: unset;

    right: 4rem;

    bottom: -10rem;
  }

  .about-kosnica-photo .abs .note {
    position: relative;

    left: 5rem;

    z-index: 2;
  }

  .header-logo-container p {
    font-size: 2.2rem;
  }

  .prijatelji-cesta-container .top img:nth-of-type(1) {
    display: none;
  }

  .prijatelji-cesta-container .middle div:nth-of-type(3),
  .prijatelji-cesta-container .bottom .flex img:nth-of-type(1) {
    display: none;
  }

  #prijatelji-cesta .graphic {
    display: none;
  }

  .prijatelji-cesta-container .bottom img {
    height: 100%;
  }

  #prijatelji-cesta .sloboda {
    bottom: 0;

    transform: translateY(100%) !important;
  }

  #prijatelji-cesta .cesta {
    width: max-content;

    left: unset !important;

    transform: rotate(270deg) !important;

    right: -4.5rem !important;

    top: 53%;
  }

  #galerija .motofest-galerija {
    padding-bottom: 10rem;
  }

  .prijatelji-cesta-container .bottom .flex {
    height: 20.6rem;
  }

  .prijatelji-cesta-container .bottom .flex img {
    width: 100%;

    height: 100%;

    object-fit: cover;
  }

  .brojac-inner .card {
    min-width: unset;
  }

  .brojac-inner .card p {
    margin-left: 4rem;
  }

  #bratski-klubovi .note {
    margin-bottom: unset;
  }

  .footer-logo {
    width: 18rem;
  }

  .footer-logo img {
    width: 100%;
  }

  #bratski-klubovi {
    padding-bottom: 5rem;
  }

  .strsljen2-right div .note {
    z-index: 2;
  }

  .pogledaj-sve-rakije-container .absolute img {
    width: 10rem;
  }

  .kosnica-img-container .rel {
    min-width: unset;
  }

  #sloboda-na-dva-tocka .images p {
    top: 28rem;

    z-index: 2;
  }

  .swiper-galerija .swiper-slide img {
    height: 100%;

    object-fit: cover;
  }

  .swiper-galerija-prev,
  .swiper-galerija-next {
    top: unset;

    bottom: -10rem;
  }

  .swiper-galerija-prev {
    left: 30%;
  }

  .swiper-galerija-next {
    right: 30%;

    left: unset;
  }

  #hero-inner {
    min-height: 32rem;

    padding-bottom: unset;

    padding-top: 16rem;
  }

  .prijatelji-cesta-container .top img:nth-of-type(1) {
    height: 40rem;

    object-fit: cover;
  }

  .prijatelji-cesta-container .top {
    flex-direction: column;

    gap: 2rem;
  }

  .prijatelji-cesta-container .bottom,
  .prijatelji-cesta-container .middle {
    flex-direction: column;

    gap: 2rem;
  }

  #prijatelji-cesta h2,
  #prijatelji-cesta p {
    font-size: 6rem;
  }

  #prijatelji-cesta p {
    left: 0;
  }

  .prijatelji-cesta-container .middle div {
    height: 100%;
  }

  .prijatelji-cesta-container .middle div img {
    height: 100%;

    width: 100%;
  }

  .prijatelji-cesta-container .bottom {
    margin-top: 2rem;

    bottom: unset;
  }

  .prijatelji-cesta-container .bottom img {
    width: 100%;
  }

  .prijatelji-cesta-container .bottom .flex {
    display: flex;

    gap: 2rem;

    flex-direction: column;
  }

  nav {
    position: fixed;

    inset: 0;

    background-color: var(--dark-grey-color);

    z-index: 10;

    padding-top: 14rem;

    padding-inline: 3rem;

    transform: translateX(100%);

    transition: 0.3s ease;
  }

  nav.active {
    transform: translateX(0);
  }

  .hamburger-container {
    display: block;
  }

  .header-logo-container {
    position: relative;

    z-index: 11;
  }

  nav ul {
    flex-direction: column;
  }

  .prijatelji-cesta-container .middle div {
    height: 35rem;

    object-fit: cover;
  }

  .prijatelji-cesta-container img {
    object-fit: cover;
  }

  h2 span {
    font-size: 6rem !important;
  }

  .kosnica-text-container div {
    margin-right: unset;
  }

  .prijatelji-cesta-container p:nth-of-type(1) {
    top: 60%;

    right: 0 !important;

    left: unset;

    z-index: 2;

    text-align: right;
  }

  .prijatelji-cesta-container .middle .first {
    height: 21.4rem;
  }
}

@media only screen and (max-width: 700px) {
  header.active .header-logo {
    height: 6rem;
  }

  header .header-logo {
    height: 6rem;
  }

  .motofest-card {
    padding: 2rem;
  }

  #brojac {
    padding-bottom: 12rem;
  }

  .najbolji-provod {
    font-size: 2.2rem;
  }

  .strsljen2-right .absolute {
    width: 23rem;

    bottom: 11rem;

    left: -4rem;
  }

  .swiper-galerija .swiper-slide {
    max-width: 40rem;
  }

  .strsljen2-left {
    flex-direction: column;

    gap: 2rem;
  }

  .strsljen2-left img:nth-child(2) {
    margin-left: auto;

    margin-right: 4rem;
  }

  .strsljen2-left .note {
    margin-right: 4rem;
  }

  #strsljen2 .graphic1 {
    width: 6rem;

    top: -11rem;

    left: 15px;
  }

  .brojac-inner {
    flex-wrap: wrap;

    justify-content: center;

    gap: 3rem;
  }

  .brojac-inner .card {
    flex-direction: column;

    gap: 3rem;

    width: 17rem;
  }
}

@media only screen and (max-width: 590px) {
  .motofest-card {
    align-items: center;
  }

  .motofest-card img {
    opacity: 1;
  }

  .motofest-card p {
    font-size: 2.4rem;
  }

  .swiper-galerija .swiper-slide {
    max-width: 28rem;
  }

  #galerija .container {
    flex-direction: column;
  }

  footer .note {
    margin-top: 5rem;
  }

  .motofest-card img {
    max-width: 9rem;
  }
}

@media only screen and (max-width: 570px) {
  .blog-cards {
    flex-direction: column;
  }

  .about-kosnica-flex-photos img:nth-of-type(1) {
    width: 70%;
  }

  .motofest-aftermovie {
    height: 21rem;
  }

  .motofest-aftermovie .video {
    height: 100%;

    width: 100%;

    object-fit: cover;
  }

  .motofeest-aftermovie img {
    height: 100%;
  }

  #okupljanja h2 span:nth-of-type(2) {
    font-size: 8rem;

    bottom: 7rem;
  }

  #motofest {
    margin-top: 10rem;
  }

  #okupljanja h2 span {
    font-size: 8rem;
  }

  #okupljanja h2 span:nth-of-type(1) {
    top: 20rem;
  }

  .swiper-okupljanja-prev,
  .swiper-okupljanja-next {
    bottom: 0;
  }

  .swiper-okupljanja-container {
    width: 100%;
  }

  .swiper-okupljanja-next {
    right: 30%;
  }

  .swiper-okupljanja-prev {
    left: 30%;
  }
}
