/**
* Template Name: JPS - v1.0.0
* Author: ToDo4y.com
* License: free
*/

/*--------------------------------------------------------------
# ToDo4y.com
--------------------------------------------------------------*/
.logoTodo {
    justify-content: center;
    align-items: center; 
    /* background: linear-gradient(0deg, #0084ff 0%, #ffffff 100%); */
    background: linear-gradient(0deg, black 0%, gold 100%);

    border-radius: 50%;
    width: 51px;
    height: 51px;
}
.logoTodo img {
    justify-content: center;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.logoTodo.active img{
    position: relative;
    animation: fadeInFromTopLeft 2.5s ease-out none;
    /* animation: todo 4s cubic-bezier(0.36, 0, 0.66, -0.56) 0s 1 alternate backwards; */
}

@keyframes todo {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0), 0 0 0 0 rgba(0, 0, 0, 0);
        transform: scale(0.1);
        opacity: 0.1;
    }
50% {
        transform: scale(0.8);
        opacity: 0.5;
}
    100% {
        box-shadow: -12px 0 20px -12px rgba(0, 0, 0, 0.35), 12px 0 20px -12px rgba(0, 0, 0, 0.35);
        transform: scale(2.0);
        opacity: 1;
    }
}

.todoanim {
    /* animation: todo 4s cubic-bezier(0.36, 0, 0.66, -0.56) 0s 1 alternate backwards; */
    animation: fadeInFromTopLeft 2.5s ease-out none;
}


/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
/*--- new ver 1.1 in jps ---*/ 
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--color-primary);
    transition: all 0.4s;
    overflow: hidden;
  }
  
  /* Ikona chevronu */
  .scroll-top i {
    font-size: 24px;
    color: var(--color-secondary);
    line-height: 0;
    z-index: 2;
    transition: opacity 0.4s;
  }
  
  /* Log jako overlay přes tlačítko, zobrazí se jen při hoveru */
  .scroll-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/jps/png/jps_bila_ikona_png_150x150.png');
    background-size: 100% 100%;
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;
    
    z-index: 1;
  }
  
  /* Hover efekt – zobrazí obrázek a sníží chevron */
  .scroll-top:hover::after {
    opacity: 1;
    transition: opacity 0.4s;
  }
  
  .scroll-top:hover i {
    opacity: 0.4;
  }
  
  .scroll-top.active {
    visibility: visible;
    opacity: 1;
  }