/* SITES */

.card-body {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-flow: column;
}

/* Events */
.event-tag {
    margin: 5px;
    border-radius: 20px;
    background: lightgray;
    padding: 5px 10px;
    cursor: default;
}

.card-title {
    text-align: center;
}
/******************/
/*** ANIMATIONS ***/
/******************/


/***** Wiggle *****/

.wiggle:hover, .wiggle-active {
    animation: wiggle 75ms infinite;
    animation-timing-function: linear;
    cursor: pointer;
}

@keyframes wiggle {
    0% {
        transform: translate(2px, 0);
    }

    50% {
        transform: translate(-2px, 0);
    }

    100% {
        transform: translate(2px, 0);
    }
}

/***** Shake *****/

.shake:hover, .shake-active {
    animation: shake 500ms infinite;
    animation-timing-function: linear;
    cursor: pointer;
}

@keyframes shake {
    0% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

/***** Pulse *****/

.pulse:hover, .pulse-active {
    animation: pulse 2s infinite;
    animation-timing-function: linear;
    cursor: pointer;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/***** Zoom *****/
.zoom:hover {
    transform: scale(1.1);
    transition: all ease 500ms;
    cursor: pointer;
}

/***** Slide Right *****/
.slide-right {
  animation: 1.4s slide-right;
}
@keyframes slide-right {
  from {
    margin-left: -100%;
  }
  to {
    margin-left: 0%;
  }
}

/***** Slide Left *****/
.slide-left {    
    animation: slide-left 1.0s, fadeIn 2.5s;
    overflow: hidden;
}
@keyframes slide-left {
  from {
    margin-left: 50%;
    margin-right : -50%;    
  }
  to {
    margin-left: 0%;
    margin-right: 0%;
  }
}


/***** Fade In *****/
.fade-in {  
    animation: 2.5s fadeIn;
    animation-fill-mode: forwards;
    opacity: 0;
}   
@keyframes fadeIn {
    0% {
        opacity: 0;
    }    
    100% {
        opacity: 1;
    }
}

/***** mirroring *****/
.mirror {
    animation: 2.5s mirror infinite;
    animation-fill-mode: forwards;
    border: 1px solid black;
}

@keyframes mirror {
    0% {   
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(-1);
    }
    100% {
        transform: scaleX(1);
    }
}


.slide-left-and-fade-In {   
    animation: slide-left 1.0s, fadeIn 2.5s;
    overflow: hidden;
}


/***** moving *****/
.moveImage {
    animation: move 150s infinite;
    animation-fill-mode: forwards;
}

@keyframes move {
    0% {
        background-position:center;
    }
    20% {
        background-position:top left;
    }
    40% {
        background-position:bottom right;
    }
    60% {
        background-position:top right;
    }
    80% {
        background-position:bottom left;
    } 
    100% {
        background-position:top left;
    }    
}


.crazy {
    animation: crazy 10s infinite;
    border: 1px solid;
}

@keyframes crazy {
    0% {
        border-radius: 43% 57% 48% 52% / 3% 46% 54% 97%;
    }
    20% {
        border-radius: 85% 15% 87% 13% / 73% 28% 72% 27%;
    }
    40% {
        border-radius: 0;
    }
    60% {
        border-radius: 60% 40% 20% 80% / 73% 76% 24% 27%;
    }
    80% {
        border-radius: 83% 17% 54% 46% / 31% 50% 50% 69%;
    }
    100% {
        border-radius: 43% 57% 48% 52% / 3% 46% 54% 97%;
    }
}

.background-move {
    animation: background-move 90s infinite;    
}

@keyframes background-move {
    0% {
        background-position: left;
    }
    50% {
        background-position: right;        
    }
    100% {
        background-position: left;
    }

}


/* scroll bar for mainlayout */

#scroll-container {  
    color: white;
    overflow: hidden;
    width: 100%;
    user-select: none;
    height: 25px;
    margin-left: -20px;
    width: calc(100% + 40px);
}

#scroll-text {
    /* animation properties */
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    width: max-content;
    -moz-animation: my-animation 30s linear infinite;
    -webkit-animation: my-animation 30s linear infinite;
    animation: my-animation 30s linear infinite;
}

/* for Firefox */
@-moz-keyframes my-animation {
    from { -moz-transform: translateX(100vw); }
    to { -moz-transform: translateX(-100%); }
}

/* for Chrome */
@-webkit-keyframes my-animation {
    from { -webkit-transform: translateX(100vw); }
    to { -webkit-transform: translateX(-100%); }
}

@keyframes my-animation {
    from {
        -moz-transform: translateX(100vw);
        -webkit-transform: translateX(100vw);
        transform: translateX(100vw);
    }
    to {
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}


/* glightbox */
img.glightbox {
    cursor: zoom-in;
}