.overlay {
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 z-index: 10;
 display: none;
 background-color: rgba(0, 0, 0, 0.65);
 position: fixed; 
 cursor: default;
}
.overlay:target {
 display: block;
}
.popup {
 top: -100%;
 left: 50%;
 font-size: 14px;
 z-index: 20;
 margin: 0;
 position: fixed;
 padding: 15px;
 border: 1px solid #383838;
 background: #fefefe;
 -webkit-border-radius: 4px;
 -moz-border-radius: 4px;
 -ms-border-radius: 4px;
 border-radius: 4px;
 font: 14px/18px 'Tahoma', Arial, sans-serif;
 -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
 -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
 -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
 box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
 -webkit-transform: translate(-50%, -500%);
 -ms-transform: translate(-50%, -500%);
 -o-transform: translate(-50%, -500%);
 transform: translate(-50%, -500%);
 -webkit-transition: -webkit-transform 0.6s ease-out;
 -moz-transition: -moz-transform 0.6s ease-out;
 -o-transition: -o-transform 0.6s ease-out;
 transition: transform 0.6s ease-out;
}
.overlay:target+.popup {
 -webkit-transform: translate(-50%, 0);
 -ms-transform: translate(-50%, 0);
 -o-transform: translate(-50%, 0);
 transform: translate(-50%, 0);
 top: 20%;
}

.popup img {
 width: 100%;
 height: auto;
}

.pic-left, 
.pic-right {
 width: 25%;
 height: auto;
}
.pic-left {
 float: left;
 margin: 5px 15px 5px 0;
}
.pic-right {
 float: right;
 margin: 5px 0 5px 15px;
}

.popup embed, 
.popup iframe {
 top: 0;
 right: 0;
 bottom: 0; 
 left: 0; 
 display:block;
 margin: auto;
 min-width: 320px;
 max-width: 600px;
 width: 100%;
}
.popup h2 {
 margin: 0;
 color: #008000;
 padding: 5px 0px 10px;
 text-align: left;
 text-shadow: 1px 1px 3px #adadad;
 font-weight: 500;
 font-size: 1.4em;
 font-family: 'Tahoma', Arial, sans-serif;
 line-height: 1.3;
}

.popup p {margin: 0; padding: 5px 0}

 /* Стиль для бирюзовой кнопки (Море) */
.vekgers24-ocean {
 background-color: #40E0D0; /* Бирюзовый цвет */
 border: none;
 display: inline-block;
 width: 25px;
 height: 25px;
 cursor: pointer;
 transition: background-color 0.3s ease;
 text-decoration: none;
}

.vekgers24-ocean:hover {
 background-color: #30b1a3; /* Темнее при наведении */
}

/* Стиль для зеленой кнопки (Лето) */
.vekgers24-summer {
 background-color: #32CD32; /* Зеленый цвет */
 border: none;
 display: inline-block;
 width: 25px;
 height: 25px;
 cursor: pointer;
 transition: background-color 0.3s ease;
 text-decoration: none;
}

.vekgers24-summer:hover {
 background-color: #28a428; /* Темнее при наведении */
}

/* Стиль для оранжевой кнопки (Малина) */
.vekgers24-raspberry {
 background-color: #973136; /* Оранжевый цвет */
 border: none;
 display: inline-block;
 width: 25px;
 height: 25px;
 cursor: pointer;
 transition: background-color 0.3s ease;
 text-decoration: none;
}

.vekgers24-raspberry:hover {
 background-color: #f25058; /* Темнее при наведении */
}

/* Стиль для темно-синей кнопки (Мороз) */
.vekgers24-frost {
 background-color: #143535; /* Темно-синий цвет */
 border: none;
 display: inline-block;
 width: 25px;
 height: 25px;
 cursor: pointer;
 transition: background-color 0.3s ease;
 text-decoration: none;
}

.vekgers24-frost:hover {
 background-color: #1570A1E6; /* Темнее при наведении */
}
 .btn-style-random1, .btn-style-random2 {
 background-color: #000; /* Черный цвет */
 color: #fff; /* Белый текст */
 border: none; /* Без границ */
 padding: 5px 10px; /* Маленький размер кнопок */
 font-size: 12px; /* Небольшой размер текста */
 cursor: pointer; /* Курсор при наведении */
 transition: background-color 0.3s ease; /* Плавный переход фона */
}

.btn-style-random1 {
 background-color: #111; /* Чуть светлее черный */
}

.btn-style-random2 {
 background-color: #222; /* Ещё чуть светлее черный */
}

.btn-style-random1:hover, .btn-style-random2:hover {
 background-color: #333; /* Серый цвет при наведении */
}

 @media screen and (min-width: 961px) and (max-width: 1001px) {
 .programs {
 display: none !important;
 }
}

 .language__img {
 width: 30px;
 height: 23px;
 border-radius: 5px;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .language__img:hover {
 transform: scale(1.2);
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
 }

 .Dvrss h3 {
 text-align: center;
 }

      #clock {
 font-family: 'Roboto', sans-serif; /* Стиль шрифта */
 font-size: 48px; /* Размер цифр */
 font-weight: bold; /* Жирный текст */
 letter-spacing: 2px; /* Расстояние между символами */
 padding: 10px;
 display: inline-block; /* Чтобы время было компактным */
}

 .gfrgesssgt {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 justify-content: center;
 padding: 10px;
 border-radius: 8px;
 }
 .gfrgesssgt a {
 display: block;
 transition: transform 0.3s, box-shadow 0.3s;
 }
 .gfrgesssgt a:hover {
 transform: scale(1.05);
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 }
 .gfrgesssgt img {
 width: 35px;
 height: auto;
 border-radius: 8px;
 }