body {font-family: Verdana, sans-serif; 
max-width: 60%; 
margin: auto; 
padding: 5px;
background: #f1f1f1;
/* background-image: url('/img/spring_2-min.avif'); */
background-size: cover;
background-repeat: no-repeat;
}

.mySlides {display: none;}
img {vertical-align: middle;
margin-left: auto;
margin-right: auto;
}

/* Контейнер слайд-шоу */
.slideshow-container {
  max-width: 1120px;
  position: relative;
  margin: auto;
}

/* Подпись текста */
.text {
  color: #f2f2f2;
  font-size: calc(10px + 1.5vw);;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: left;
  font-weight: bold;
}

/* Номер текста (1/3 и т.д.) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Точки/пули/индикаторы */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: none;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Исчезающая анимация */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 2s;
  animation: fade_in 1s,
   fade_out 1s 14s;
      }

@-webkit-keyframes fade {
  from {opacity: 0;} 
  to {opacity: 1} 
  }

@keyframes fade_in {
 0% {opacity: 0; 
    filter: blur(1rem);
    }
  100% {opacity: 1;
    filter: blur(0px);
    }
}

@keyframes fade_out {
 0% { opacity: 1;
    filter: blur(0px);
    }
  100% {opacity: 0;
    filter: blur(1rem);
    }
}
* {
    box-sizing: border-box;
}

/* Заголовок / Название Блога */
.header {
    padding: 5px;
    text-align: center;
    background: white;
}

.header h1 {
    font-size: 50px;
}

.header img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    }

/* Стиль верхней панели навигации */
.topnav {
    overflow: hidden;
    background-color: white;
    margin-top: 5px;
    clear: both;
}

/* Стиль верхних навигационных ссылок */
.topnav a {
    float: left;
    display: block;
    color: #236B8E;
    text-align: center;
    padding: 5px 5px;
    text-decoration: none;
}

/* Изменение цвета при наведении */
.topnav a:hover {
    background-color: #ddd;
    color: black;

}

/* Создайте две неравные колонки, которые плавают рядом друг с другом */
/* Левая колонка */
.leftcolumn {
   float: left;
   width: 65%; 
   margin-right: 5px;
   margin-top: 5px;
   background-color: white;
   overflow: auto;
   opacity: 0.8;
}

/* Правая колонка */
rightcolumn {
  float: left;
  width: 35%;
  flex-basis: auto;
  flex-shrink: 0;
  margin-top: 5px;
  background-color: white;
  opacity: 0.8;
}

/* Добавление эффекта карточки для статей */
.card {
    background-color: white;
    padding: 5px;
    margin-top: 5px;
    }

.row {
      padding: 0px;}

/* Нижний колонтитул */
.footer {
    padding: 5px;
    text-align: center;
    background: #ddd;
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.8;
    clear:both
}

/* Отзывчивый макет  -когда экран меньше, чем 800px широкий, сделать два столбца стека друг на друга, а не рядом друг с другом */
@media screen and (max-width: 860px) {
    .leftcolumn, rightcolumn, .card{   
        width: 100%;
        padding: 0;
    }
}

/* Отзывчивый макет - когда экран меньше, чем 400px широкий, сделать навигационные ссылки стек поверх друг друга, а не рядом друг с другом */
@media screen and (max-width: 400px) {
    .topnav a {
        float: none;
        width: 100%;
    }
}

.banners {
        max-width: 425px;
        margin-top: 2em;
        margin: auto;
        text-align: center;
        }

.banners img {
        object-fit: cover;
        max-width: 100%;
        height: auto;
        border: solid 2px;
}
.banners a {
        display: inline-block;
        margin-top: 3px;
}

h1 {
        font-family: Verdana;
        font-size: 12pt;
        color: #0000a0;
        text-align: center;
}

/* непросмотренная ссылка */
a:link, a:visited {
   color:  #236B8E;
   text-decoration: none;
   line-height: 1.5;
   }
/* наведение мыши на ссылку */
a:hover {
   text-decoration: underline;
   color: #0000a0;
}
@media (min-width: 860px) {
  .row {
    display: flex;
  }
}
@media (max-width: 859px) {
  .leftcolumn, .card {
    margin: 0 0 30px 0;
  }
}
/* Стиль табуляции */
.tab {
  float: left;
  border: none;
  background-color: white;
  width: 100%;
  height: auto;
}

/* Стиль кнопок, которые используются для открытия содержимого вкладки */
.tab button {
  display: block;
  background-color: inherit;
  color: #236B8E;
  font-size: 16px;
  padding: 10px 5px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.5s;
}

/* Изменение цвета фона кнопок при наведении курсора */
.tab button:hover {
  background-color: #ddd;
}

/* Создать активный текущий класс "вкладку кнопок" */
.tab button.active {
  background-color: #ccc;
}

/* Стиль содержимого вкладки */
.tabcontent {
  float: left;
  padding: 0px 12px;
  border: none;
  width: 100%;
  border-left: none;
  height: 300px;
}

