/*===== N A S L O V N A   S L I K A   I   V I D E O =====*/

#strPrazninaIznadNaslovneSlike {
  height: 0;
}

#strPrazninaIznadNaslovneSlikeClanak01 {
  height: 7rem;
}

#strNaslovnaSlikaVideo {
  width: 100%;
  max-width: 1280px;
  position: relative;
  margin: 0 auto;
}

#strNaslovnaSlika {
  position: absolute;
  top: 0;
  z-index: 4;
}

#strNaslovniVideo {
  position: absolute;
  top: 0;
  z-index: 5;
}

/*===== T E L O   S T R A N E =====*/

#strTelo {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

#strTeloKutija {
  width: var(--kutijaSirinaDesktop);
  margin: 0 auto;
}

#strPolozaj {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

#strKontaktPraznina {
  height: 10rem;
}

#strUvodniTekst {
  width: 75%;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

#strUvodniTekst h1 {
  padding-bottom: 1rem;
}

#strUvodniTekst p {
  padding-top: 0.5rem;
}

.strNoMob {
  display: none;
}

.strTekst {
  width: 75%;
  margin: 0 auto;
  text-align: center;
}

.strTekst h2 {
  padding-bottom: 1rem;
}

.strTekst h5 {
  padding-bottom: 0.5rem;
}

.strSlike {
  width: 100%;
  margin: 0 auto;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.strSlike3 {
  width: 100%;
  margin: 0 auto;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/*========== A K T I V N O S T I ==========*/
#strAktivnosti {
  width: 100%;
  margin: 0 auto;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.strAktivnost {
  background-color: var(--bojaPozadinaSlikaTamno);
  text-align: center;
  border-style: solid;
  border-width: 2px;
}

.strAktivnost:hover {
  background-color: var(--bojaPozadinaSlikaTamnoHover);
  border-color: var(--bojaLinkHover);
}

.strAktivnost a:hover {
  color: var(--bojaOsnovna);
}

.strAktivnostNaslov {
  height: 7rem;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.strAktivnostLink {
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: start;
}

.strAktivnostLink p:hover {
  color: var(--bojaLinkHover);
  cursor: pointer;
}

/*========== N O V O S T I ==========*/
#strNovosti {
  width: 100%;
  margin: 0 auto;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.strNovost {
  padding-bottom: 2rem;
  background-color: var(--bojaPozadinaSlikaTamno);
  text-align: center;
  border-style: solid;
  border-width: 2px;
}

.strNovostTekst {
  padding-top: 2rem;
}

/*=========== T R E N E R I ============*/
.strTreneri {
  width: fit-content;
  max-width: 75%;
  margin: 0 auto;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem;
}

.strTrener {
  max-width: 180px;
  background-color: var(--bojaPozadinaSlikaTamno);
  text-align: center;
}

.strTrenerTekst {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

/*========== C L A N C I ==========*/
#strClanci {
  width: 100%;
  margin: 0 auto;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.strClanak h5 {
  padding-top: 0.5rem;
  text-align: center;
}

/*=========== F O T O  S O L J E ============*/
#strSolje {
  margin-top: 3rem;
}

#strSoljeOkvir {
  width: 100%;
  margin: 0 auto;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
}

.strSolja {
  padding-bottom: 0.5rem;
  text-align: center;
  border-style: solid;
  border-width: 2px;
}


/*============ MEDIA QUERIES (TABLETS) ==============*/
@media screen and (max-width: 1024px) {
  #strTeloKutija {
    width: var(--kutijaSirinaTablet);
  }

  h1 {
    font-size: 2.2rem;
  }

  .strUvodniTekst {
    width: 85%;
    padding: 0;
  }
  .strTekst {
    width: 85%;
  }
  #strAktivnosti {
    grid-template-columns: repeat(2, 1fr);
  }
  #strNovosti {
    grid-template-columns: repeat(2, 1fr);
  }
  .strTreneri {
    width: 80%;
    gap: 5rem;
  }
  #strSoljeOkvir {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/*============ MEDIA QUERIES (PHONES) ==============*/
@media screen and (max-width: 600px) {
  #strPrazninaIznadNaslovneSlike {
    height: 6rem;
  }

  #strTeloKutija {
    width: var(--kutijaSirinaMobilni);
  }
  
  h1 {
    font-size: 1.6rem;
  }

  #strUvodniTekst {
    width: 100%;
    padding: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .strTekst {
    width: 100%;
    margin-bottom: 1rem;
  }

  #strAktivnosti {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }

  .strAktivnostNaslov {
    height: 4rem;
    line-height: 1.3;
  }
  
  .strAktivnostLink {
    display: none;
  }

  #strNovosti {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }

  .strSlike {
    margin-top: 0;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }

  .strTreneri {
    width: 85%;
    margin-top: 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  #strClanci {
    margin-top: 1rem;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
  #strSoljeOkvir {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}