/* ===========================
   STAT SEKCE
=========================== */

.stat-card{
    position:relative;
    padding-left:14px;

    border-left:none;
    opacity:0;

    transform:
        translateY(40px)
        scale(.92);

    filter:blur(6px);
    overflow:hidden;
}

.stat-card::before{
    content:"";

    position:absolute;

    left:0;
    top:0;

    width:2px;
    height:100%;

    /* background:var(--bs-secondary); */
    background:#198754;

    transform:scaleY(0);

    transform-origin:top;
}

.stat-card.show{
    opacity:1;

    transform:
        translateY(0)
        scale(1);

    filter:blur(0);

    transition:
        transform .9s cubic-bezier(.22,1,.36,1),
        opacity .9s ease,
        filter .9s ease;
        
    border-radius: 15%;
}

.stat-card.show::before{
    animation:borderGrow .9s forwards;
}

.stat-card.active{
    box-shadow:
        0 0 24px rgba(25,135,84,.22); 

    transition:box-shadow .5s;
}

@keyframes borderGrow{
    0%{
        transform:scaleY(0);
        box-shadow:none;
    }
    60%{
        box-shadow:0 0 14px rgba(25,135,84,.8);
    }
    100%{
        transform:scaleY(1);
        box-shadow:0 0 6px rgba(25,135,84,.35);
    }

}

.stat-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(25,135,84,.18),
        transparent
    );
    
    transform:translateX(-130%);
    pointer-events:none;
}

.stat-card.active::after{
    animation:shine 900ms ease;
}

@keyframes shine{
    from{
        transform:translateX(-130%);
    }
    to{
        transform:translateX(130%);
    }
}
.stat-number{
    display:inline-block;
    transform-origin:center;
}

/* Sticky */
.sticky {
  position: fixed;
  top: 0;
  /* width: 100%; */
  margin-top: 100px;
}
.hero-img {
    /* animation: sunrise 1s linear 0s 1 normal forwards; */
    /* animation: fadeIn 0.5s ease-in-out; */
    /* animation: fadeInFromTopLeft 1.2s ease-out;   */
    /* animation: sunset 2s linear 0s 1 normal forwards; */
    animation: fadeInFromTopLeft 1.2s ease-out;
}   
/*  fadeInFromTopLeft
 animation: fadeInFromTopLeft 2.5s ease-out-in;  
*/ 
@keyframes fadeInFromTopLeft {
  0% {
    opacity: 0;
    clip-path: circle(0% at 0% 0%);
    /* clip-path: polygon(0% 0%, 0% 0%, 0% 0%, 0% 0%);  */
  }
  50% {
    opacity: 0.5;
    
  }  
  100% {
    opacity: 0.8;
    clip-path: circle(150% at 0% 0%);
    /* clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);  */
  }
}  

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* sunrise 
animation: sunrise 1s linear 0s 1 normal forwards;
*/
@keyframes sunrise {
	0% {
    bottom: 60px;
		transform: scaleY(0);
		transform: scaleX(0);
		transform-origin: 0% 100%;
	}
	100% {
		transform: scaleY(1);
		transform: scaleX(1);
		transform-origin: 0% 100%;
    bottom: 0;
	}
}

/* sunset 
animation: sunset 2s linear 0s 1 normal forwards;
*/
@keyframes sunset {
	0% {
    bottom: 0;
		transform: scaleY(1);
		transform-origin: 0% 100%;
	}
	100% {
		transform: scaleY(0);
		transform-origin: 0% 100%;
    bottom: -100px;
	}
}
/* form */
/*
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*/

.contact-panel {
  display: block;
  scroll-margin-top: 90px;
}

.contact-panel-hidden {
  display: none;
}

.contact-form-shell {
  width: min(100%, 760px);
  margin: 0 auto;
}

.contact-form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
}

.contact-form h2 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--foreground);
  font-family: Orbitron, Space Grotesk, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.08;
}

.form-group {
  position: relative;
  min-width: 0;
}

.form-group.full-width,
.privacy-consent,
#contact-form-status,
.submit-btn {
  grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 58px;
  padding: 22px 16px 10px;
  color: var(--foreground);
  caret-color: var(--secondary);
  font-size: 16px;
  line-height: 1.45;
  border: 1px solid oklch(72% .18 215/.34);
  border-radius: 8px;
  outline: none;
  background: oklch(13% .02 240/.82);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0/.03);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  background: oklch(16% .025 240/.92);
  box-shadow: 0 0 0 4px oklch(82% .22 150/.14), inset 0 0 0 1px oklch(100% 0 0/.04);
}

.form-group label {
  position: absolute;
  top: 18px;
  left: 16px;
  transform-origin: left top;
  color: var(--muted-foreground);
  font-size: 15px;
  pointer-events: none;
  transition: transform .18s ease, color .18s ease, top .18s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 8px;
  transform: scale(.76);
  color: var(--secondary);
}

.privacy-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.55;
}

.privacy-consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--secondary);
  cursor: pointer;
}

.privacy-consent label {
  cursor: pointer;
}

.privacy-consent a {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid oklch(82% .22 150/.38);
  border-radius: 8px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  background: oklch(82% .22 150/.08);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.privacy-consent a:hover,
.privacy-consent a:focus-visible {
  border-color: var(--secondary);
  color: var(--foreground);
  background: oklch(82% .22 150/.16);
}

#contact-form-status {
  min-height: 24px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.submit-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 190px;
  padding: 14px 28px;
  border: 0;
  border-radius: 8px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--glow-green);
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  opacity: .92;
}

.submit-btn:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.contact-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 36px));
  padding: 16px 18px;
  border: 1px solid oklch(82% .22 150/.5);
  border-radius: 8px;
  background: oklch(15% .025 240/.96);
  color: var(--foreground);
  box-shadow: var(--glow-green), 0 18px 50px oklch(0% 0 0/.38);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.contact-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .submit-btn {
    width: 100%;
  }
}
/* ver 1 
https://medium.com/idea42/floating-labels-with-only-css-81079b14fccb
https://codepen.io/JonLehman/pen/yOdbOG
*/
/*
body {
    background-color: #444442;
    padding-top: 85px;
}
*/
/* h1 h4 nahradit defaultem a tady smazat */
h1 {
    font-family: 'Poppins', sans-serif, 'arial';
    font-weight: 600;
    font-size: 72px;
    color: white;
    text-align: center;
}

h4 {
    font-family: 'Roboto', sans-serif, 'arial';
    font-weight: 400;
    font-size: 20px;
    color: #9b9b9b;
    line-height: 1.5;
}

/* ///// inputs /////*/

input:focus ~ label, textarea:focus ~ label, input:valid ~ label, textarea:valid ~ label {
    font-size: 0.75em;
    color: #999;
    top: -5px;
    -webkit-transition: all 0.225s ease;
    transition: all 0.225s ease;
    
}

.styled-input {
    
    /* 
    float: left;
    width: 293px; 
    */
    width: 100%;
    margin: 1rem 0;
    position: relative;
    
    /* border-radius: 4px; */

}

@media only screen and (max-width: 768px){
    .styled-input {
        width:100%;
    }
}

.styled-input label {
    color: #999;
    padding: 1.3rem 30px 1rem 30px;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    pointer-events: none;
}

.styled-input.wide { 
    /* width: 650px; */
    max-width: 100%;

}

input,
textarea {
    padding: 30px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    /* background-color: #2d2d2d; */
    background-color: transparent;
    color: white;
    /* border-radius: 4px; */
}

input:focus,
textarea:focus { 
  outline: 0; 
   
}

input:focus ~ span,
textarea:focus ~ span {
    width: 100%;
    -webkit-transition: all 0.075s ease;
    transition: all 0.075s ease;
}

textarea {
    width: 100%;
    min-height: 15em;
}

.input-container {
    /* width: 650px; */
    max-width: 100%;
    margin: 20px auto 25px auto;
    backdrop-filter: blur(6px); 
}

input[type=checkbox] + label {
  color: #ccc;
  font-style: italic;
}

input[type=checkbox]:checked + label {
  color: #f00;
  font-style: normal;
}


/* ver 2 oogle bott */
.login-wrapper {
    position: relative;
    width: 400px;
    background: #111;
    padding: 50px 40px;
    border-radius: 20px;
    border: 2px solid #00fff2;
    box-shadow: 0 0 15px #00fff2, inset 0 0 15px #00fff2;
}

.login-form h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 0 0 5px #fff, 0 0 15px #00fff2, 0 0 30px #00fff2;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    border: none;
    border-bottom: 2px solid #fff;
    background: transparent;
    outline: none;
}

.input-group label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -20px;
    color: #00fff2;
    font-size: 12px;
    text-shadow: 0 0 5px #00fff2;
}

.input-group input:focus {
    border-bottom-color: #00fff2;
    box-shadow: 0 1px 0 #00fff2;
}

.neon-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #00fff2;
    border: 2px solid #00fff2;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 0 5px #00fff2, inset 0 0 5px #00fff2;
    transition: all 0.5s ease;
}

.neon-btn:hover {
    background: #00fff2;
    color: #000;
    box-shadow: 0 0 15px #00fff2, 0 0 25px #00fff2, 0 0 50px #00fff2;
}

/*
ver 2
https://codepen.io/afx-abu/pen/jOzQVWm
*/

  .login-box {
    width: 100%; /*400px;*/
    padding: 40px;
    background: rgba(0,0,0,.5);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.6);
    border-radius: 10px;
  }
  
  .login-box h2 {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    text-align: center;
  }
  
  .login-box .user-box {
    position: relative;
  }
  
  .login-box .user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
  }
  .login-box .user-box label {
    position: absolute;
    top:0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s;
  }
  
  .login-box .user-box input:focus ~ label,
  .login-box .user-box input:active ~ label{
    top: -20px;
    left: 0;
    color: #03e9f4;
    font-size: 12px;
  }
  
  .login-box form a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #03e9f4;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-top: 40px;
    letter-spacing: 4px
  }
  
  .login-box a:hover {
    background: #03e9f4;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px #03e9f4,
                0 0 25px #03e9f4,
                0 0 50px #03e9f4,
                0 0 100px #03e9f4;
  }
  
  .login-box a span {
    position: absolute;
    display: block;
  }
  
  .login-box a span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03e9f4);
    animation: btn-anim1 1s linear infinite;
  }
  
  @keyframes btn-anim1 {
    0% {
      left: -100%;
    }
    50%,100% {
      left: 100%;
    }
  }
  
  .login-box a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03e9f4);
    animation: btn-anim2 1s linear infinite;
    animation-delay: .25s
  }
  
  @keyframes btn-anim2 {
    0% {
      top: -100%;
    }
    50%,100% {
      top: 100%;
    }
  }
  
  .login-box a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #03e9f4);
    animation: btn-anim3 1s linear infinite;
    animation-delay: .5s
  }
  
  @keyframes btn-anim3 {
    0% {
      right: -100%;
    }
    50%,100% {
      right: 100%;
    }
  }
  
  .login-box a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s
  }
  
  @keyframes btn-anim4 {
    0% {
      bottom: -100%;
    }
    50%,100% {
      bottom: 100%;
    }
  }
  
