
a {
    color: #FF6347; /* Цвет ссылок */
   }
   a:visited {
    color: #9daba9; /* Цвет посещенных ссылок */
   }
   a:active {
    color: #ffff00; /* Цвет активных ссылок */
   }

body {
  margin: 0;
  background: linear-gradient(90deg, #b9deed, #efefef), url(pics/bg.png?1785632240/>);/*that wierd prefix needed to make impossible for browser keep pics in cash*/
  background-blend-mode: screen;
  background-size: cover;
}
@media screen and (orientation: portrait) /*книжная ориентация*/
{
    .slider__item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    img {
        height: 100vh;
        width:100%;
        object-fit: fill;
        border-radius: 20px;
    }
    div {
        height: 100vh;
    }
}

@media screen and (orientation: landscape) /*альбомная ориентация*/
{
    .slider__item {
        flex: 0 0 70%;
        max-width: 50%;
    }
    img {
        height: 100vh;
        width:100%;
        object-fit: fill;
        border-radius: 20px;
    }
    div {
        height: 100vh;
    }
}

.logo, .logodiv {
  width: 100px;
  height: 100px;
  position:absolute;
}


.x {
  -webkit-animation: x 13s linear infinite alternate;
          animation: x 13s linear infinite alternate;
}

.y {
  -webkit-animation: y 7s linear infinite alternate;
          animation: y 7s linear infinite alternate;
}

@-webkit-keyframes x {
  100% {
    transform: translateX(calc(100vw - 100px));
  }
}

@keyframes x {
  100% {
    transform: translateX(calc(100vw - 100px));
  }
}
@-webkit-keyframes y {
  100% {
    transform: translateY(calc(100vh - 100px));
  }
}
@keyframes y {
  100% {
    transform: translateY(calc(100vh - 100px));
  }
}


/*chief-slider.php*/

.container {
    max-width: 100%;
    margin: 0 0;
    }

.slider {
  position: relative;
}

.slider__container {
  overflow: hidden;
}

.slider__wrapper {
  /*overflow: hidden;*/
}

.slider__items {
  display: flex;
  transition: transform 0.5s ease;
}

.slider_disable-transition {
  transition: none;
}

/*теперь этот блок живёт наверху в определении ориентации экрана
.slider__item {
  flex: 0 0 100%;
  max-width: 100%;
  user-select: none;
}*/

.hover_text { /*текст поверх всего*/
    position: absolute;
    left: 20px;
    text-align:center;
    z-index: 100;
    font-weight: 600;
    }

/* кнопки влево и вправо */

.slider__control {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  color: #fff;
  text-align: center;
  height: 50px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.2);
}

.slider__control_hide {
  display: none;
}

.slider__control[data-slide='prev'] {
  left: 0;
}

.slider__control[data-slide='next'] {
  right: 0;
}

.slider__control:hover,
.slider__control:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  background: rgba(0, 0, 0, 0.3);
}

.slider__control::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
}

.slider__control[data-slide='prev']::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.slider__control[data-slide='next']::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

/* индикаторы */

.slider__indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
}

.slider__indicators li {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 5px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
  background-clip: padding-box;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.slider__indicators li.active {
  background-color: rgba(255, 255, 255, 0.9);
}