@charset "UTF-8";
/* CSS Document */
body {
    background-color: #DBEFFF;
    background-image: url("img/backgroud_white.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: 80%;
-webkit-user-select: none; /* Chrome/Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE/Edge */
  user-select: none; /* Стандартный синтаксис */
-webkit-font-smoothing: antialiased;     /* Chrome, Safari (macOS) */
-moz-osx-font-smoothing: grayscale;      /* Firefox (macOS) */
  text-rendering: optimizeLegibility;
}
.tree {
    width: 100%;;
    max-width: 670px;
    height: 100%;
    max-height: 790px;
}
.tree:hover {
  cursor:
    -webkit-image-set(
      url("img/lupa@1x.png") 1x,
      url("img/lupa@2x.png") 2x
    ) 16 16,
    pointer;
}

h1 {
    margin: 0; 
    }
   @font-face {
  font-family: 'Boogaloo';
  src: url('timer/Boogaloo-Regular.woff2') format('woff2'),
      url('timer/Boogaloo-Regular.ttf') format('truetype');
        font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.sw-png {
    margin-right: 5px
}
.img-bg-sw {
  position: relative;
  padding: 0;
  margin-top: 0;
  width: 38px; /* фиксируем ширину */
    height: 28px;
  vertical-align: top;
}

/* ФОН Ëлки - полностью независимый */
.img-bg-sw::before {
  content: '';
  position: absolute;
  top: 0;        /* прижимаем к верху без отступа */
  left: -5px;    /* смещение влево от картинки */
  width: 48px;   /* ширина фона (больше картинки) */
  height: 58px;  /* высота фона */
  background-color: #DBEFFF; /* ЛЮБОЙ цвет */
  z-index: 1;
    margin-top: -24px;
    border-radius: 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

/* КАРТИНКА поверх фона */
.img-bg-sw img {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0;
}

.timer18 {
  margin: 0px;
      margin-left: 10px;
      margin-right: 10px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'Boogaloo';
  font-size: 43px;
  font-weight: normal;

  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  box-sizing: border-box;
  outline: 1px solid transparent;
}
    .time {
      color: #94BF65;
    }

    .seconds {
      color: #ffffff;
    }
      .separator {
  color: #94BF65;
         	margin-left: 5px;
          margin-right: 5px;
}
.nopointer {
   pointer-events: none; 
}

/*ЛУПА            */

.img-magnifier-container {
  position: relative;
  display: inline-block;
  cursor: default; /* 👈 стандартный курсор по умолчанию */
}

#myimage {
  width: 400px;
  height: 300px;
  background: url("img/tree.svg") no-repeat 0 0 / 100% 100%;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #88C157;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
  background-repeat: no-repeat;
  overflow: hidden;
  background-color: #E1ECF8; /* белый фон вместо прозрачности */
}

.img-magnifier-glass::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(255,255,255,0.4) 0%, transparent 60%);
}

.img-magnifier-glass::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.4);
}

.highlight {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: white;
}