html{height:100%;margin:0;padding:0;}
body{height:100%;color:#000;margin:0px;padding:0px;width: 100%;}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {margin: 0;padding: 0;border: 0;outline: 0;
vertical-align: baseline;background: transparent;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {content: '';content: none;}
:focus {outline: 0;}ins {text-decoration: none;}
del{text-decoration: line-through;}
table {border-collapse: collapse;border-spacing: 0;}
body {/*background: rgb(81, 0, 213);*/
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.4;
    background: rgb(113 100 135);
}

#forecastText {
    font-size: 10px;
    width: 109px;
    text-align: left;
    line-height: normal;
}
#snowCanvas{position: fixed;
    z-index: 111111;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;}


#cont_h1{width: 100%;
    text-align: center;
    color: #fff;}
.h1_home {
    width: 100%;
    text-align: center;
    font-size: 17px;
    /* margin-top: 10px; */
    color: #fff;
    margin-bottom: 15px;
}

/* Контейнер всегда по центру экрана */
.cont_img_top {
    position: fixed;
    /* top: 50%; */
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 660px;
     margin-top: 5%; 
}
.top_adres {
    color: #fff;
    width: 100%;
    font-size: 14px;
    text-align: center;
    opacity: 0.5;
}

.reload_data {
    font-size: 12px;
    text-align: left;
    background: #ffffff;
    display: inline-block;
    color: #ff04fb;
    padding-left: 11px;
    padding-right: 11px;
    transform: rotate(7deg);
    border-radius: 60px;
    box-shadow: 4px 4px 0px #19f9fd;
    border-right: 6px solid #c3fa0a;
    border-top: 4px solid #c3fa0a;
    /* max-width: 160px; */
    line-height: normal;
    font-weight: bold;
    transform: rotate(-2deg);
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Прелоадерная область 200×200 */
.preloader-box {
    width: 130px;
    height: 130px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

#preloader {
    max-width: 100%;
    max-height: 100%;
}

.main-gif {
    opacity: 0;
    transition: opacity 0.5s ease, filter 0.2s ease;
    filter: blur(0px);
    width: 100%;
    max-width: 800px;
}









footer{width:100%;padding-top:25px;padding-bottom:22px;text-align:center;color:#fff;
    font-size:11px;position:relative;z-index: 1999;font-weight:100;}
footer .copy a{color:#fff;font-size:11px;}
footer .copy a:hover{text-decoration:none;}


.weather {
    width: 100%;
    text-align: center;
    color: #fff;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.weather b {
    display: block;
    font-size: 40px;
    width: 94px;
    text-align: center;
    display: flex;
    justify-content: flex-end;
    align-content: center;
    padding-right: 13px;
    text-align: right;
}
.weather div {
    /* background: #ccc; */

    text-align: left;
    margin-left: 0px;
    border-left: 1px dotted #fff;
    padding-left: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.weather b i {
    display: inline-block;
    font-size: 15px;
    opacity: 0.6;
}

.weather i{display: block;
    font-style: normal;
    font-size: 11px;}
.weather small{display: block;
    font-style: normal;
    font-size: 11px;}







    







/** ---------------------------------------------- **/
.bt_check {
    display: block;
    padding: 14px 36px;
    background: linear-gradient(#caffcf, #46b852);
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
    transform-origin: center;
    text-align: center;
    margin-bottom: 11px;
    margin-top: 10px;
    width: 100%;
    border-radius: 58% 40px;
    /* max-width: 150px; */
    display: inline-block;
}

/* мягкое свечение при наведении */
.bt_check:hover {
    background: linear-gradient(#68dd73, #4fc45b);
    animation: shakeX 1s;
}

@keyframes shakeX {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
  }

/* эффект нажатия */
.bt_check:active {
    box-shadow: 
        0 3px 0 #3a8f44,
        0 6px 10px rgba(0,0,0,0.25);
    transform: translateY(3px);
}


.bt_page {
    display: inline-block;
    /* padding: 4px 14px; */
    background: linear-gradient(#119fff, #0b8fe8);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.25s ease;
    position: relative;
    transform-origin: center;
    text-align: center;
    margin-bottom: 11px;
    margin-top: 10px;
    line-height: 60px;
    height: 60px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 40px 40%;
}

/* мягкое свечение при наведении */
.bt_page:hover {

    animation: wobble 0.4s ease;
}

/* эффект нажатия */
.bt_page:active {
    box-shadow: 
        0 3px 0 #3a8f44,
        0 6px 10px rgba(0,0,0,0.25);
    transform: translateY(3px);
}


/* Анимация “колыхания” */
@keyframes wobble {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(1.5deg); }
    50%  { transform: rotate(-1.5deg); }
    75%  { transform: rotate(0.8deg); }
    100% { transform: rotate(0deg); }
}

.dn_cont{padding: 15px;}

 
/* Кнопка-пульсирующий кружок */
#dn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    /* position: fixed; */
    top: 10px;
    right: 10px;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse 1.5s infinite;
    z-index: 1000;
    display: inline-block;
}

/* Анимация пульса */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.3);
        box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}
 


@media (max-width:900px){

    .cont_img_top {
        top: 4%;
        transform: translate(-50%, 0%);
        max-width: none;
        /* background: red; */
        width: 90%;
    }

}

/** ****** **/

  /* КНОПКА */
  .fab {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ff4757;
    color: white;
    font-size: 30px;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }

  /* МОДАЛКА */
  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80vmin;
    height: 80vmin;
    background: #1e1e1e;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(10px);
  }

  .modal.open {
    transform: translate(-50%, -50%) scale(1);
  }

  /* КНОПКИ ВНУТРИ */
  .modal button {
    padding: 10px 20px;
    border: none;
    background: #2f3542;
    color: white;
    border-radius: 6px;
    cursor: pointer;
  }

  /* КРЕСТИК */
  .close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: white;
  }

  .modal .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

  .forma_1_modal {
    /* width: 100%; */
    padding: 18px 0;
    font-size: 18px;
    color: #fff;
    border: none;
    cursor: pointer;
    animation: mor1 5s ease-in-out infinite;
    transition: 0.3s ease;
    border-radius: 0px;
    /* display: inline-block; */
    /* padding-left: 20px; */
    padding-right: 20px;
    display: flex;
    flex-direction: column-reverse;
    /* flex-wrap: nowrap; */
    /* align-content: flex-start; */
    /* justify-content: center; */
    /* align-items: center; */
}

 

/* Ломаная форма с разными углами, но не перегружено */
@keyframes mor1 {
  0% {
      clip-path: polygon(
          0% 25%, 10% 10%, 25% 4%, 40% 15%, 55% 5%, 70% 18%, 85% 8%, 100% 20%,
          100% 80%, 85% 90%, 70% 95%, 55% 88%, 40% 98%, 25% 90%, 10% 95%, 0% 75%
      );
  }

  50% {
      clip-path: polygon(
          0% 30%, 12% 5%, 28% 12%, 42% 3%, 57% 15%, 72% 2%, 88% 18%, 100% 25%,
          100% 70%, 88% 88%, 72% 92%, 57% 85%, 42% 95%, 28% 90%, 12% 100%, 0% 65%
      );
  }

  100% {
      clip-path: polygon(
          0% 25%, 10% 10%, 25% 4%, 40% 15%, 55% 5%, 70% 18%, 85% 8%, 100% 20%,
          100% 80%, 85% 90%, 70% 95%, 55% 88%, 40% 98%, 25% 90%, 10% 95%, 0% 75%
      );
  }
}

.over_1 {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    background: #00000026;
    z-index: 10000;
 
}

.over_1.show {
  opacity: 1;
  pointer-events: all;
}

/** ****** **/