html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}
.carousel__item:hover,.carousel__item a:hover, .active {
    background: hsl(34 100% 47%);
    color:#000 !important;
    border:none;
    margin-bottom: 1px;
}

.carousel__item:hover img,.active img {
    -webkit-filter: saturate(0%) grayscale(100%) brightness(69%) contrast(1000%);
    filter: saturate(0%) grayscale(100%) brightness(69%) contrast(1000%);
}
.carousel__activator {
    display: none;
}

.carousel img {
    height: 25px;
    margin-right: 10px;
    /*filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(600%) contrast(0.8);*/
}
.carousel__item {
    display: flex;
    width: 100%;
    padding: 15px 10px;
    border-bottom: 1px solid #fff;
}

.carousel__track a {
    color: #fff;
}

.carousel {
    background: #0E1117;
    border-radius: 5px;
    padding: 10px;
}

.carousel__item:last-child {
  border:none;
}
/* Smartphones (portrait & landscape) ----------- */
@media only screen and (max-device-width: 823px) and (min-device-width: 320px) {
.carousel:before,.carousel:after {
    content: "";
    display: block;
    width: 8%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 90%;
    position: absolute;
}
.carousel1:before {
    content: "";
    background-image: url(img/left3860.png?v=1);
    left: 0;
     
    -webkit-animation: carousel1 1.5s step-end infinite;
            animation: carousel1 1.5s step-end infinite;
}
.carousel1:after {
    content: "";
    background-image: url(img/right3860.png?v=1);
    right: 0;
    top:0;
    
    -webkit-animation: carousel1 1.5s step-end infinite;
            animation: carousel1 1.5s step-end infinite;
}

@-webkit-keyframes carousel1 { 50% { filter: brightness(0.5); }}
@keyframes carousel1 { 50% { filter: brightness(0.5); }}

.carousel {
  width: 100%;
  z-index: 99;
  position: relative;
  padding: 0 8%;
  border: 9px solid #000000;
  border-radius: 0;
}

.carousel__activator {
  display: none;
}

.carousel__controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.carousel__controls:first-of-type {
  justify-content: flex-end;
}
.carousel__controls:last-of-type {
  justify-content: flex-start;
}

.carousel__control {
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #3d414a;
  font-size: 24px;
  justify-content: center;
  transition: 0.3s all;
  z-index: 1;
  height: 100%;
  width: 8%;
}
.carousel__control:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.carousel__activator:nth-of-type(1):checked
~ .carousel__controls:nth-of-type(1) {
  display: flex;
}

.carousel__activator:nth-of-type(1):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(0%);
          transform: translateX(0%);
}

.carousel__activator:nth-of-type(2):checked
~ .carousel__controls:nth-of-type(2) {
  display: flex;
}

.carousel__activator:nth-of-type(2):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}

.carousel__activator:nth-of-type(3):checked
~ .carousel__controls:nth-of-type(3) {
  display: flex;
}

.carousel__activator:nth-of-type(3):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(-200%);
          transform: translateX(-200%);
}

.carousel__activator:nth-of-type(4):checked
~ .carousel__controls:nth-of-type(4) {
  display: flex;
}

.carousel__activator:nth-of-type(4):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(-300%);
          transform: translateX(-300%);
}

.carousel__activator:nth-of-type(5):checked
~ .carousel__controls:nth-of-type(5) {
  display: flex;
}

.carousel__activator:nth-of-type(5):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(-400%);
          transform: translateX(-400%);
}

.carousel__activator:nth-of-type(6):checked
~ .carousel__controls:nth-of-type(6) {
  display: flex;
}

.carousel__activator:nth-of-type(6):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(-500%);
          transform: translateX(-500%);
}

.carousel__activator:nth-of-type(7):checked
~ .carousel__controls:nth-of-type(7) {
  display: flex;
}

.carousel__activator:nth-of-type(7):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(-600%);
          transform: translateX(-600%);
}

.carousel__activator:nth-of-type(8):checked
~ .carousel__controls:nth-of-type(8) {
  display: flex;
}

.carousel__activator:nth-of-type(8):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(-700%);
          transform: translateX(-700%);
}

.carousel__activator:nth-of-type(9):checked
~ .carousel__controls:nth-of-type(9) {
  display: flex;
}

.carousel__activator:nth-of-type(9):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(-800%);
          transform: translateX(-800%);
}

.carousel__activator:nth-of-type(10):checked
~ .carousel__controls:nth-of-type(10) {
  display: flex;
}

.carousel__activator:nth-of-type(10):checked
~ .carousel__screen
.carousel__track {
  -webkit-transform: translateX(-900%);
          transform: translateX(-900%);
}

.carousel__screen {
  background: #000;
  overflow: hidden;
}
.active img{filter:none!important}
.carousel__track {
  justify-content: flex-start;
  flex-wrap: nowrap;
  font-size: 0;
  transition: all 0.3s ease 0s;
  -webkit-overflow-scrolling: touch;
}

.carousel__item {
  text-transform: uppercase;
  font-size: 10px;
  width: 25%;
  margin: 0;
  flex-shrink: 0;
  border: none;
  text-align: center;
  display: block;
  padding: 10px 0;
  line-height: 1;
}

.carousel__item img {
    display: block;
    margin: 0 auto 5px;
    height: 30px;
    filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(600%) contrast(0.8)
}
