body{
  font-family: 'Roboto', sans-serif;
}


.topmenu{
	display: flex;
}

.card-container {
    width: 100%;
  position: relative;
    background-image: url(../Img/1647002375_32-vsegda-pomnim-com-p-reka-gizeldon-foto-37.jpg);
  background-size: cover;
  background-position: 50% 50%;
    display: flex;
  flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  align-content: center;  
  height: 800px;
  margin: 20px 0;
}



.card-container:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}
.card-container .card {
  margin: -20px 20px;
  width: 300px;
}
.card-container .card .face {
    width: 100%;
  height: 200px;
    transition: 0.5s;
  background: #FFF;
  overflow: hidden;
}
.card-container .card .face-1 {
    position: relative;
    z-index: 2;
    transform: translateY(50px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
}
.card-container .card:hover .face-1 {
    transform: translateY(0);
}
.card-container .card .face-1 img {
  filter: brightness(0.8);
    width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.card-container .card:hover .face-1 img {
    filter: brightness(1)
}
.card-container .card .face-1 h3 {
    padding: 10px 0;
  margin: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  color: #FFF;
  width: 100%;
    color: #fff;
    text-align: center;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
}
.card-container .card .face-2 {
    position: relative;
  z-index: 1;
  opacity: 0;
    background: #fff;
    padding: 20px 20px 10px;
    box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    transform: translateY(-100px);
  height: 100px;
  transition: 0.5s;
}
.card-container .card:hover .face-2 {
    transform: translateY(0);
  opacity: 1;
  height: 300px !important;
  overflow-y: visible;
}
.card-container .card:nth-child(1):hover .face-2 {
  height: var(--face_height_1);
}
.card-container .card:nth-child(2):hover .face-2 {
  height: var(--face_height_2);
}
.card-container .card:nth-child(3):hover .face-2 {
  height: var(--face_height_3);
}
.card-container .card .face-2 p {
    margin: 0;
    padding: 0 0 10px;
  font-size: 15px;
  line-height: 1.3;
  font-family: Verdana, sans-serif; 
}
@media screen and (max-width: 696px) {
  .card-container {
    margin: 140px 0;
    height: auto;
  }
}

.imgfix img{
  object-fit: contain !important;

}


.text_news_zogolovok{
  font-weight: bold;
  font-weight: 400;
  margin: 0 auto;
  width: 80%;
  font-size: 26px;
  padding-bottom: 20px;
}



.zаgolovok{
  
  padding-top: 15px;
  margin: 0 auto;
  width: 50%;
  font-weight: bold;
	font-weight: 400;
	text-align: center;
	
}

body{

    min-width: 320px;
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1.15;
    color: #231815;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto; 
}

.topmenu{
  display: flex;
  width: 100%;
}

.slider {
  border-radius: 15px;
  background: rgba(111,111,111, 0.1);
  padding-top: 25px;
  position: relative;
}

.slider__container {
  overflow: hidden;
}

.slider__wrapper {
  /* overflow: hidden; */
}

.slider__items {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.slider_disable-transition {
  transition: none;
}

.slider__item {

  flex: 0 0 100%;
  max-width: 100%;
  user-select: none;
  will-change: transform;
}

/* кнопки влево и вправо */

.slider__control {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 50px;
  color: #fff;
  text-align: center;
  background: rgb(0 0 0 / 20%);
  border: none;
  transform: translateY(-50%);
  cursor: pointer;
}

.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;
  background: rgb(0 0 0 / 30%);
  outline: 0;
}

.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("../Img/control-7-70386.png");
}

.slider__control[data-slide="next"]::before {
  background-image: url("../Img/control-1-70368.png");
}

/* индикаторы */

.slider__indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  margin: 0 15%;
  padding-left: 0;
  list-style: none;
}

.slider__indicators li {
  flex: 0 1 auto;
  box-sizing: content-box;
  width: 30px;
  height: 5px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  background-color: rgb(255 255 255 / 50%);
  background-clip: padding-box;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  cursor: pointer;
}

.slider__indicators li.active {
  background-color: rgb(255 255 255 / 90%);
}


#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}



.footer{
  margin: 0 auto;
  background: #f8f8f8;
    position: relative;
    z-index: 2;
       display: block;
       font-size: 26px;
    line-height: 1.25;
    transition: color .2s;
    color: #929395;
    text-align: center;
}


.copyrights{

  margin-right: 15px;
  justify-content: space-between;
    text-decoration: none;
}

.copyrights a{
    text-decoration: none;
}


.copyrights a:hover{
    color: grey;
    transition: 0.3s;
    border: 2px solid black;
    border-left: none;
    border-top: none;
    border-right: none;
}