

/* Cool font from Google Fonts! */
@import url('https://fonts.googleapis.com/css?family=Raleway:900&display=swap');

.onas-text #container {
	/* Center the text in the viewport. */
	position: absolute;
	margin: auto;
	width: 100%;
  height: 80pt;
	top: 0;
	bottom: 0;
	
	/* This filter is a lot of the magic, try commenting it out to see how the morphing works! */
  filter: url(#threshold) blur(0.7px);
}



/**** text odlesky****/

.ledovy-text {
    font-family: 'Arial Black', sans-serif;
    font-size: 4rem;
    text-transform: uppercase;
    /* Základní barva textu (zmrzlá modrá) */
    background: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 50%, #a1c4fd 100%);
    /* Přidání odlesku */
    background-image: linear-gradient(
        70deg,
        rgba(255,255,255,0) 40%, 
        rgba(255,255,255,1) 50%, 
        rgba(255,255,255,0) 60%
    );
    background-size: 300% 100%;
    /* Oříznutí */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Zprůhlednění textu, aby bylo vidět pozadí */
    
    animation: shimmer 5s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -50% 0; }
}

/* Your average text styling */

.onas-text #text1, #text2 {
	position: absolute;
	width: 100%;
	display: inline-block;
	font-family: 'Raleway', sans-serif;
	font-size: 80pt;
	color: white;
	left: 0;
    text-align: center;
	margin: auto;
    font-size: inherit;
	user-select: none;
}

.onas-text {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 300;
    
    font-family: 'Raleway', sans-serif;
    font-size: calc(2rem + 4vw); 
    color: white;
    user-select: none;
}

.onas {
    position: relative;
    margin: 10px;
    border-radius: 30px;
    background: radial-gradient(circle at bottom, var(--main-color) 10%, rgb(0, 0, 0) 80%, var(--main-color) 100%);
    height: 100%;
    overflow: hidden;
    object-fit: contain;
    /* šířka a výška */
    width: calc(100% - 20px); 
    box-sizing: border-box;  
}

.onas-para {
    text-align: center;
    z-index: 300;
    color: white;
    margin: auto;
    text-transform: capitalize;
}
.onas-para p {
    font-size: 25px;
}
.onas-para b {
    font: inherit; /* DŮLEŽITÉ: použije stejný font, velikost atd. */
    background: linear-gradient(to top right, var(--yellow-color), rgb(133, 159, 255));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/*******onas 2*******/

.onas-dva {
    position: relative;
    margin: 10px;
    border-radius: 30px;
    background: radial-gradient(circle at bottom, var(--main-color) 10%, rgb(0, 0, 0) 80%, var(--main-color) 100%);
    height: 100%;
    overflow: hidden;
    object-fit: contain;
    /* šířka a výška */
    width: calc(100% - 20px); 
    box-sizing: border-box;  
}


/*****zakazky*****/
.onas-contact-udaje {
  display: block;
  text-align: center;
}
.onas-contact-udaje i{
  margin-right: 10px;
  font-size: 12px;
  justify-content: center;
  text-align: center;
  text-align: center;
}
.onas-contact-udaje .social-blade {
  justify-content: center;
  text-align: center;
  min-width: 100px;
  display: flex;
}
.onas-contact-udaje a{
  color: white;
}
.onas-contact {
  text-transform: uppercase;
  justify-content: space-between;
  display: flex;
  color: white;
}
.onas-contact h3{
  color: white;
  text-transform: uppercase;
  font: inherit; /* DŮLEŽITÉ: použije stejný font, velikost atd. */
    background: linear-gradient(to top right, var(--yellow-color), rgb(133, 159, 255));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/*****counter*****/

.counter {
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
    min-width: 110px; 
    text-align: center;
}
.social-blade {
    display: flex;
}
.social-blade a{
    transition: 1s ease;
    display: flex;
}
.social-blade a:hover {
    scale: 1.2;
}
.social-blade i{
    color: white;
    font-size: 30px;
    margin-top: 14px;
    margin-right: 5px;
}
.social-blade b {
    font-size: 30px;
    font-weight: 600;
    margin-top: 7px;
    margin-left: 5px;
    background: linear-gradient(to top right, var(--yellow-color), rgb(133, 159, 255));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-blade-con {
    display: flex;
    position: absolute;
    bottom: 20px;  
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0px 200px; 
    width: 100%;     
    box-sizing: border-box;
}


/*****obrazky jezdici****/

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

.carousel-track {
  display: flex;
  width: fit-content;
}

.carousel-track img {
  width: calc(100vw / 5); 
  flex-shrink: 0;
  margin: 0 5px;
  border-radius: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.297);
  object-fit: cover;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s;
}

.carousel-track img:hover {
  transform: scale(1.05);
}



.carousel-left .carousel-track {
  animation: scroll-left 50s linear infinite;
}

.carousel-right .carousel-track {
  animation: scroll-right 50s linear infinite;
}


@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/*@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}*/

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
  background: radial-gradient(circle at bottom, rgba(59, 59, 59, 0) 50%, rgb(0, 0, 0) 80%);
  backdrop-filter: blur(30px); 
  -webkit-backdrop-filter: blur(30px); 
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 70px;
  color: white;
  cursor: pointer;
  transition: 1s ease;
}
.lightbox-close:hover {
  scale: 1.2;
  color: var(--main-color);
}


/* MOBIL PORTFOLIO */
.portfolio-obrazky-mobil {
  display: grid;
  width: 70%;
  margin: auto;
  overflow: hidden;
  background: linear-gradient(to top right, var(--main-color), var(--second-color));
  border-radius: 50px;
  transition: 1s ease;
  padding: 20px;
}

.portfolio-obrazky-mobil h2 {
  color: white;
  text-transform: uppercase;
  margin: auto;
  font-weight: 500;
}
.portfolio-obrazky-mobil-plus {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin: auto;
  overflow: hidden;
  gap: 2rem;
}
.portfolio-obrazky-mobil-plus img {
  width: 100%;           /* Roztáhne se na šířku sloupce */
  height: 200px;         /* Vynutí výšku */
  object-fit: cover;     /* Magie: obrázek vyplní plochu a přebytek se ořízne (nedeformuje se) */
  object-position: center;
  border-radius: 30px;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.335);
  transition: ease 1s;
  margin-bottom: 10px;
}

.portfolio-obrazky-mobil-plus img:hover {
  transform: scale(1.05);
}
@media (max-width: 1500px) {
  .portfolio-obrazky-mobil-plus {
  grid-template-columns: repeat(2,1fr);
}
}
@media (max-width: 800px) {
  .portfolio-obrazky-mobil {
    width: 95%;
    border-radius: 30px;
  }
  .portfolio-obrazky-mobil-plus img {
  height: 100%;         /* Vynutí výšku */
}
  .portfolio-obrazky-mobil-plus {
    grid-template-columns: repeat(1,1fr);
    gap: 0.5rem;
}
}

/*******megia query*********/



@media (max-width: 1100px) {
  .social-blade-con {
    padding: 0px 100px; 
  }
  .carousel-track img {
    width: calc(100vw / 2); 
  }
}
@media (max-width: 740px) {
    .onas-contact {
    justify-content: center;
    display: block;
  }
  .onas-contact-udaje {
    margin: 30px;
  }
}
@media (max-width: 700px) {
  .carousel-track img {
    width: calc(100vw / 1); 
  }
    .onas-para p {
      font-size: 15px;
  }
  .onas-para {
      margin-top: 60px;
  }
    .social-blade-con {
    position: static;   
    display: block;  
    width: auto;
    text-align: center; 
    margin: 20px auto 0;  
    padding: 0;
  }

  .social-blade {
    display: block;    
    margin: 10px auto; 
    text-align: center;   
  }

  .social-blade a {
    justify-content: center; 
  }
}
@media (max-width: 320px) {
  .onas-contact-udaje span{
    font-size: 13px;
  }
}
