/* CSS Reset */
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap");

:root {
  --black: #3a3a3e;
  --white: #ffffff;
  --red: #ee2d28;
}

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

html {
  font-size: 62.5%;
}

body {
  font-family: "Onest", sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
button,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
pre {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1;
}

@media screen and (max-width: 960px) {
  h1,
  h2,
  h3 {
    line-height: 1.3;
  }
}
section {
  width: 100%;
}

/*--------------*/
/*--- HEADER ---*/
/*--------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--white);
  z-index: 1001;
  width: 100%;
  border-bottom: 1px solid #ee2d2860;
}
.header-wrap {
  width: 100%;
  max-width: 148rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3.3rem 2rem 1.3rem 2rem;
}
@media screen and (max-width: 861px) {
  .header-wrap {
    padding: 2.5rem 3.5rem 1.3rem 3.5rem;
  }
}
.header-logo {
  max-width: 19.3rem;
  aspect-ratio: 193 / 61;
}
@media screen and (max-width: 861px) {
  .header-logo {
    max-width: 14.3rem;
  }
}
.nav {
  display: flex;
  justify-content: flex-end;
}
.nav-mob {
  display: none;
}
.barholder {
  display: none;
}
.bar {
  width: 41px;
  height: 4px;
  border-radius: 20px;
  background: var(--black);
  transition: all 0.3s ease-in-out;
}
.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(0px, 6px);
  transform: rotate(-45deg) translate(-4px, 14px);
}
.change .bar2 {
  opacity: 0;
}
.change .bar3 {
  -webkit-transform: rotate(45deg) translate(0px, -8px);
  transform: rotate(45deg) translate(1px, -8px);
}
@media screen and (max-width: 861px) {
  .nav {
    display: none;
  }
  .nav-mob {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: var(--white);
    padding: 3rem 0;
  }
  .li-mob {
    margin: 1rem 0;
  }
  .barholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
}
.toggle {
  transform: translateY(30%);
  opacity: 1;
}
.ul-desk {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3.9rem;
}
.li-desk {
  font-size: 2rem;
  transition: all 0.3s ease-in-out;
}
.li-desk:hover,
.li-desk:focus,
.li-desk:active {
  cursor: pointer;
  color: var(--red);
}
.ul-desk-mob {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.main-image {
  width: 100%;
  margin-top: 10.7rem;
  aspect-ratio: 640 / 289;
}
.main-image-mob {
  display: none;
}
@media screen and (max-width: 861px) {
  .main-image {
    display: none;
  }
  .main-image-mob {
    display: block;
    width: 100%;
    aspect-ratio: 393 / 490;
    margin-top: 8rem;
  }
}
/*-----------------*/
/*--- SECTION-2 ---*/
/*-----------------*/
.section-2 {
  width: 100%;
  background: url(img/cyclists-image.png) no-repeat center center/cover;
  aspect-ratio: 640 /289;
  margin-top: 5.7rem;
}
@media screen and (max-width: 861px) {
  .section-2 {
    background: url(img/cyclists-image-mob.png) no-repeat center center/cover;
    aspect-ratio: 393 / 400;
  }
}
@media screen and (max-width: 480px) {
  .section-2 {
    aspect-ratio: 393 / 649;
  }
}
.section-2-wrap {
  max-width: 98.9rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2.3rem;
  padding-top: 6.2rem;
}
@media screen and (max-width: 861px) {
  .section-2-wrap {
    padding-top: 0rem;
  }
}
.section-2-h2 {
  color: var(--red);
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
}
@media screen and (max-width: 861px) {
  .section-2-h2 {
    font-size: 3.2rem;
  }
}
.section-2-p {
  font-size: 2rem;
  text-align: center;
}
@media screen and (max-width: 861px) {
  .section-2-p {
    font-size: 1.6rem;
    max-width: 24rem;
  }
}
.prijava {
  color: var(--white);
  text-align: center;
  font-size: 2.7rem;
  font-weight: 900;
  padding: 1.6rem 3.2rem;
  background: var(--red);
  margin-top: 2.3rem;
}
@media screen and (max-width: 861px) {
  .prijava {
    font-size: 1.8rem;
    padding: 1.2rem 2.4rem;
  }
}
/*-----------------*/
/*--- SECTION-3 ---*/
/*-----------------*/
.section-3 {
  width: 100%;
  padding: 7rem 0 8.8rem 0;
}
@media screen and (max-width: 861px) {
  .section-3 {
    padding: 5rem 0;
  }
}
.section-3-wrap {
  position: relative;
  max-width: 148rem;
  padding: 0 2rem;
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  .section-3-wrap {
    max-width: 28rem;
    padding: 0 4.5rem;
  }
}
.swiper {
  position: relative;
  width: 100%;
}
.swiper-wrapper {
  display: flex;
}
.swiper-slide {
  /*width: 25%;*/
  max-width: 34.5rem;
  box-sizing: border-box;
}
.article-box {
  width: 100%;
  max-width: 34.5rem;
  text-align: left;
}
.article-image-box {
  width: 100%;
  aspect-ratio: 345 / 196;
  background-color: #ddd;
  margin-bottom: 1.5rem;
}
.article-image {
  width: 100%;
  object-fit: cover;
}
.article-title {
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media screen and (max-width: 861px) {
  .article-title {
    font-size: 2rem;
  }
}
.article-description {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
@media screen and (max-width: 861px) {
  .article-description {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}
.read-more {
  position: relative;
  color: var(--red);
  font-size: 1.6rem;
  font-weight: 700;
  display: inline-block;
  padding-right: 2.5rem;
}
@media screen and (max-width: 861px) {
  .read-more {
    font-size: 2rem;
  }
}
.read-more::after {
  position: absolute;
  content: "";
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(img/little-arrows.svg) no-repeat center;
  background-size: contain;
  width: 1.6rem;
  aspect-ratio: 16 / 10;
}
.forward,
.back {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
  width: 3.6rem;
  aspect-ratio: 36 / 50;
}
.forward {
  right: -50px;
}
.back {
  left: -50px;
}
@media screen and (max-width: 861px) {
  .forward,
  .back {
    top: 45%;
  }
  .forward {
    right: -20px;
  }
  .back {
    left: -20px;
  }
}
/*-----------------*/
/*--- SECTION-4 ---*/
/*-----------------*/
.section-4 {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 754;
}
.drag-hint {
  display: none;
}
.map-container {
  width: 100%;
  overflow: hidden;
}
.map-image {
  width: 100%;
  display: block;
  aspect-ratio: 1920 / 754;
}

@media screen and (max-width: 861px) {
  .map-container {
    width: 100%;
    overflow: hidden;
    cursor: grab;
  }
  .map-image {
    width: 960px;
    aspect-ratio: 1920 / 754;
    user-select: none;
    pointer-events: none;
    display: block;
    max-width: unset;
  }
  .drag-hint {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    z-index: 1000;
    pointer-events: none;
  }
  .map-container {
    cursor: grab;
  }
  .map-container.active-map {
    cursor: grabbing;
  }
}

/*-----------------*/
/*--- SECTION-5 ---*/
/*-----------------*/
.section-5 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 3.5rem auto 11.1rem auto;
  gap: 3.5rem;
  padding: 0 2rem;
}
@media screen and (max-width: 861px) {
  .section-5 {
    margin: 4rem auto 3.1rem auto;
    gap: 2.9rem;
  }
}
.section-5-h2 {
  font-size: 4rem;
  font-weight: 700;
}
@media screen and (max-width: 861px) {
  .section-5-h2 {
    font-size: 2rem;
    text-align: center;
  }
}
.section-5-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 11.3rem;
}
@media screen and (max-width: 861px) {
  .section-5-wrap {
    gap: 4.6rem;
  }
}
.icons-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 2.1rem;
}
.pin-size {
  max-width: 5.7rem;
  aspect-ratio: 57 / 80;
}
@media screen and (max-width: 861px) {
  .pin-size {
    max-width: 4.1rem;
  }
}
.pin-link {
  max-width: 13.2rem;
  color: var(--red);
  text-align: center;
  font-size: 2rem;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
@media screen and (max-width: 861px) {
  .pin-link {
    max-width: 9.9rem;
    font-size: 1.4rem;
  }
}

/*-----------------*/
/*--- SECTION-6 ---*/
/*-----------------*/
.section-6 {
  width: 100%;
  margin-bottom: 10.5rem;
}
.section-6-wrap {
  width: 100%;
  max-width: 148rem;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
@media screen and (max-width: 861px) {
  .section-6-wrap {
    padding: 0 4rem;
  }
}
.section-6-h2 {
  font-size: 9.6rem;
  font-weight: 700;
  margin-bottom: 4rem;
}
@media screen and (max-width: 861px) {
  .section-6-h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
  }
}
.start-cilj-wrap {
  display: flex;
  justify-content: flex-start;
  gap: 8.6rem;
  align-items: center;
}
@media screen and (max-width: 1180px) {
  .start-cilj-wrap {
    flex-direction: column;
    gap: 2.8rem;
    align-items: flex-start;
  }
}
.start-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.4rem;
}
@media screen and (max-width: 861px) {
  .start-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: none;
  }
}
.start-p {
  color: var(--red);
  font-size: 9.6rem;
  font-weight: 700;
}
@media screen and (max-width: 861px) {
  .start-p {
    font-size: 6.4rem;
  }
}
.start-span {
  font-size: 3.2rem;
  font-weight: 700;
  margin-top: 1rem;
}
@media screen and (max-width: 861px) {
  .start-span {
    display: block;
  }
}
.program-desk {
  width: 100%;
  margin: 0 auto;
  max-width: 76.8rem;
  aspect-ratio: 768 / 739;
  margin-top: 9.5rem;
}
.program-mob {
  display: none;
}
@media screen and (max-width: 861px) {
  .program-desk {
    display: none;
  }
  .program-mob {
    display: block;
    margin: 0 auto 0 0;
    width: 100%;
    max-width: 32.7rem;
    aspect-ratio: 327 / 1491;
    margin-top: 5.7rem;
  }
}

.program-note {
  margin-top: 40px;
  font-size: 30px;
  line-height: 1.4;
  color: #2d2d33;
}

.program-note strong {
  font-weight: 700;
}

/*-----------------*/
/*--- SECTION-7 ---*/
/*-----------------*/
.section-7 {
  width: 100%;
  margin-bottom: 13.2rem;
}
@media screen and (max-width: 861px) {
  .section-7 {
    margin-bottom: 4rem;
  }
}
.section-7-wrap {
  width: 100%;
  max-width: 148rem;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4rem;
}
@media screen and (max-width: 861px) {
  .section-7-wrap {
    gap: 2rem;
  }
}
.section-7-h2 {
  font-size: 9.6rem;
  font-weight: 700;
}
@media screen and (max-width: 861px) {
  .section-7-h2 {
    font-size: 4rem;
  }
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 0 auto;
}
@media screen and (max-width: 861px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.grid-image {
  width: 100%;
  max-width: 34.5rem;
  aspect-ratio: 345 / 303;
  background-color: var(--black);
  object-fit: cover;
}
.hide {
  display: none;
}
@media screen and (max-width: 861px) {
  .hide-mob {
    display: none;
  }
}
.load-more {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}
.load-more:hover {
  cursor: pointer;
}
.load-more span {
  color: var(--red);
  font-size: 4rem;
  font-weight: 700;
}
@media screen and (max-width: 861px) {
  .load-more span {
    font-size: 2.4rem;
  }
}
.arrow-down {
  max-width: 3.7rem;
  aspect-ratio: 37 / 43;
}

/*--------------*/
/*--- FOOTER ---*/
/*--------------*/
.footer {
  width: 100%;
}
.footer-top {
  width: 100%;
  max-width: 148rem;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
@media screen and (max-width: 1452px) {
  .footer-top {
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 861px) {
  .footer-top {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
}
.sponzori {
  min-height: 8.7rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-right: 0.8rem;
  border-right: 1px solid #3a3a3e;
}
@media screen and (max-width: 1452px) {
  .sponzori:nth-child(3) {
    border-right: none;
  }
}
@media screen and (max-width: 861px) {
  .sponzori {
    flex-direction: column;
    align-items: center;
    border-right: none;
    padding-right: 0;
  }
}
.mob-divider {
  display: none;
}
@media screen and (max-width: 861px) {
  .mob-divider {
    display: block;
    width: 8.7rem;
    height: 1px;
    background: #3a3a3e;
  }
}
.logos-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
@media screen and (max-width: 861px) {
  .logos-wrap {
    justify-content: center;
    flex-wrap: wrap;
  }
}
.footer-top-h3 {
  font-size: 2.4rem;
  font-weight: 700;
}
.stanic-logo {
  max-width: 8.5rem;
  aspect-ratio: 85 / 44;
}
.zala-logo {
  max-width: 9.5rem;
  aspect-ratio: 95 / 56;
  margin-left: 1.3rem;
}
.juicy-logo {
  max-width: 9.7rem;
  aspect-ratio: 97 / 71;
}
.zg-logo {
  max-width: 10.5rem;
  aspect-ratio: 171 / 104;
}
@media screen and (max-width: 861px) {
  .zg-logo {
    max-width: 11.8rem;
  }
}
.samobor-logo {
  max-width: 12.3rem;
  aspect-ratio: 239 / 85;
}
@media screen and (max-width: 861px) {
  .samobor-logo {
    max-width: 14.6rem;
  }
}
.intersport-logo {
  max-width: 15.9rem;
  aspect-ratio: 262 / 28;
  margin-top: 3.2rem;
  margin-right: 9rem;
}
@media screen and (max-width: 861px) {
  .intersport-logo {
    margin-top: 2.1rem;
    margin-right: 0;
  }
}
.hyundai-logo {
  max-width: 15.7rem;
  aspect-ratio: 157 / 22;
  margin-top: 2.2rem;
  margin-right: 3.5rem;
}
@media screen and (max-width: 861px) {
  .hyundai-logo {
    margin-top: 1.8rem;
    margin-right: 0;
  }
}
.sponzori-parneri {
  gap: 1.8rem;
  margin-top: 0.2rem;
}
.digo-logo {
  max-width: 10.4rem;
  aspect-ratio: 104 / 52;
}
.hep-logo {
  max-width: 8.2rem;
  aspect-ratio: 82 / 25;
}
.hpb-logo {
  max-width: 8.5rem;
  aspect-ratio: 85 / 37;
}
.ina-logo {
  max-width: 10.7rem;
  aspect-ratio: 107 / 29;
}
.huawei-logo {
  max-width: 5.3rem;
  aspect-ratio: 53 / 54;
}
.podravka-logo {
  max-width: 14rem;
  aspect-ratio: 140 / 44;
}
.hp-logo {
  max-width: 8.1rem;
  aspect-ratio: 81 / 44;
}
.groupama-logo {
  max-width: 11.5rem;
  aspect-ratio: 115 / 30;
}
.footer-bottom {
  width: 100%;
  background: var(--black);
  padding: 8.2rem 0;
  margin-top: 4.5rem;
}
@media screen and (max-width: 861px) {
  .footer-bottom {
    padding: 3.4rem 0 7rem 0;
    margin-top: 3.7rem;
  }
}
.div-bottom-wrap {
  width: 100%;
  max-width: 148rem;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
@media screen and (max-width: 861px) {
  .div-bottom-wrap {
    padding: 0 3.3rem;
  }
}
.vl-logo-footer {
  max-width: 26rem;
  aspect-ratio: 260 / 118;
}
@media screen and (max-width: 861px) {
  .vl-logo-footer {
    max-width: 14.1rem;
  }
}
