/*////  CARD INFO SLIDER BOX ////  */

*{
  box-sizing:border-box;
}

.card-2 {
  position:relative;
  
  padding:42px 32px;
  
  clip-path: circle(2% at 95% 11%);
  transition: all ease-in-out .3s;
  background-color:#ffffff;
  
  &__infoicon{
    position:absolute;
    
    top:10px;
    right:28px;
    
    font-size:1.4em;
    color:#FFFFFF;
    transition:ease-out .3s;
  }
  &__title{
    margin:0;
    
    font-size: 3em;
    line-height:1.8;
  }
  &__description{
    margin:0;
    
    font-size: 1.1em;
    line-height:1.6;
  }
  &__credits{
    margin:0;
    padding: 4px 0;
    
    font-size: 1.1em;
  }
  &__reference{
    display:inline-block;
    
    border-bottom: 1px solid transparent;
    color:#0099ff;
    text-decoration:none;
    transition: ease-in .3s;
    &:hover{
       border-bottom-color: #0099ff;
    }
  }
  
  &:hover, &:focus{
    clip-path: circle(75%);
    border-radius:20px;
    box-shadow: 0px 3px 9px rgba(0,0,0,0.12),
                0px 3px 18px rgba(0,0,0,0.08);
    background:#ffffff;
    
    outline:none;
    .card-2__infoicon{
      opacity: 0;
    }
  }
  &:focus{
    box-shadow: 0px 3px 9px rgba(0,0,0,0.12), 
                0px 3px 18px rgba(0,0,0,0.08), 
                0px 0px 0px 4px rgba(0,0,0,0.2);
  }
}

/*////  CARD INFO SLIDER BOX ////  */

*{
  box-sizing:border-box;
}

.card-2 {
  position:relative;
  
  padding:42px 32px;
  
  clip-path: circle(2% at 95% 11%);
  transition: all ease-in-out .3s;
  background-color:#ffffff;
  
  &__infoicon{
    position:absolute;
    
    top:10px;
    right:28px;
    
    font-size:1.4em;
    color:#FFFFFF;
    transition:ease-out .3s;
  }
  &__title{
    margin:0;
    
    font-size: 3em;
    line-height:1.8;
  }
  &__description{
    margin:0;
    
    font-size: 1.1em;
    line-height:1.6;
  }
  &__credits{
    margin:0;
    padding: 4px 0;
    
    font-size: 1.1em;
  }
  &__reference{
    display:inline-block;
    
    border-bottom: 1px solid transparent;
    color:#0099ff;
    text-decoration:none;
    transition: ease-in .3s;
    &:hover{
       border-bottom-color: #0099ff;
    }
  }
  
  &:hover, &:focus{
    clip-path: circle(75%);
    border-radius:20px;
    box-shadow: 0px 3px 9px rgba(0,0,0,0.12),
                0px 3px 18px rgba(0,0,0,0.08);
    background:#ffffff;
    
    outline:none;
    .card-2__infoicon{
      opacity: 0;
    }
  }
  &:focus{
    box-shadow: 0px 3px 9px rgba(0,0,0,0.12), 
                0px 3px 18px rgba(0,0,0,0.08), 
                0px 0px 0px 4px rgba(0,0,0,0.2);
  }
}





/*////  FOOTER ANIM  /////   */
.footer-anim {
/*  width: 190px;
  height: 254px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: red;
  border-radius: 1px;
  border: none;
  color: white;
  position: relative;
  transition-duration: .2s;
 /* background: linear-gradient(0deg, #000, #272727);*/
}

.footer-anim:before, .footer-anim:after {
  content: '';
  position: absolute;
  left: -2px;
  top: -2px;
  border-radius: 1px;
  background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000, #fb0094, 
		#0000ff, #00ff00,#ffff00, #ff0000);
  background-size: 400%;
  width: calc(100% + 0px);
  height: calc(100% + 0px);
  z-index: -1;
  animation: steam 50s linear infinite;
}

@keyframes steam {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.footer-anim:after {
  filter: blur(100px);
}
/*////  END FOOTER ANIM  /////   */





/** Это ЛОГОТИП картинка что движется **/
.text-bg-anim {
	text-transform: uppercase;
    
  span {

  	/*font: 700 4em/1 "Oswald", sans-serif;*/
  	 letter-spacing: 0.10em !important;
	  display: block;
	  margin: 0 auto;
  	text-shadow: 0 0 80px rgba(255,255,255,.5);

/* Clip Background Image */

	  background: url("../Images/Img/animated-text-fill.jpg") repeat-y;
	  -webkit-background-clip: text;
	  background-clip: text;

/* Animate Background Image */

	  -webkit-text-fill-color: transparent;
	  -webkit-animation: aitf 530s linear infinite;

/* Activate hardware acceleration for smoother animations */

	  -webkit-transform: translate3d(0,0,0);
	  -webkit-backface-visibility: hidden;

  }
}

/* Animate Background Image */

@-webkit-keyframes aitf {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}
/** Конец  ЛОГОТИП картинка **/




/*////  HEADER COLLOR ANIMATION ////   */
.card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0px 15px;
  background-color: red;
  border-radius: 10px;
  border: none;
  color: white;
  transition-duration: .2s;
 /* background: linear-gradient(0deg, #000, #272727);*/
}

.card:before, .card:after {
  content: '';
  position: absolute;
  left: -2px;
  top: -2px;
  border-radius: 10px;
  background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000, #fb0094, 
		#0000ff, #00ff00,#ffff00, #ff0000);
  background-size: 400%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  animation: steam 80s linear infinite;
}

@keyframes steam {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.card:after {
  filter: blur(100px);
}
/*////  END  HEADER COLLOR ANIMATION ////   */





/* Extra utilities *//* Блоки 2шт с Фотками 2 шт */
.flex-equal > * {
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    flex: 1;
  }
}
/*/// END ///*/





/*//////   PHOTO CARDS  ////// */
/*@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300&display=swap");*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.my-cont {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0rem;
  padding: 1rem;
}

.card-frame {
  height: fit-content;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 2rem;
  background: #f8f3e8;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.card-frame > img {
  width: 100%;
  height: auto;
  aspect-ratio: 600/400;
}

.card-frame > h6 {
  margin-top: 1rem;
 font-family: 'Caveat', cursive;
  font-weight: normal;
  font-size: 2.5rem;
  color: #4a4a7d;
  text-align: center;
}

.card-frame > p {
 font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: #5e5e89;
  text-align: center;
}
/*//////  END  PHOTO CARDS  ////// */



.bg-style {
background-image: linear-gradient(to right bottom, #081621, #0c141d, #0d111a, #0e0f16, #0d0d11, #0e0e11, #0f0f10, #101010, #131313, #161616, #191919, #1c1c1c);
 }

.bg-style-2 {
background-image: linear-gradient(to left bottom, #081621, #0c141d, #0d111a, #0e0f16, #0d0d11, #0e0e11, #0f0f10, #101010, #131313, #161616, #191919, #1c1c1c);
 }











/*/////  VALERA Image Carusel (исходный)  /////*/
@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(calc(-250px * 18), 0, 0);
            transform: translate3d(calc(-250px * 18), 0, 0);  /** Число фотографий **/
  }
}

@keyframes scroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(calc(-250px * 18), 0, 0);
            transform: translate3d(calc(-250px * 18), 0, 0);  /** Число фотографий **/
  }
}

.slider {
  background: #161616;
  height: 100%;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1.5rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.slider::before, .slider::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 200px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}

.slider .slide-track {
  -webkit-animation: scroll 40s linear infinite;
          animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 16);
  will-change: transform;
  -webkit-transform: translate3d(0,0,0);
          transform: translate3d(0,0,0);
}

/* пауза (JS будет добавлять/удалять этот класс) */
.slider .slide-track.vg-carousel-paused {
  -webkit-animation-play-state: paused !important;
          animation-play-state: paused !important;
}

.slider .slide {
  height: 100%;
  width: 250px;
}

.slider img /*/// Добавил Расстояние /// */
{
  min-width: 250px;
  padding: 0 20px;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-drag: none;
}

/* уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .slider .slide-track {
    -webkit-animation: none !important;
            animation: none !important;
  }
}

/*/////  END  Carusel  /////*/















