:root {
  --banner-width: clamp(120px, 14vw, 320px);
}

img { 
  max-width: 100%; 
  height: auto; 
  display: block; 
}

.frame {
  position: relative;
  border: 2px solid rgba(166, 199, 126, 0.6);
  background-color: rgba(91, 156, 112, 0.12);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.window {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/3;
  height: auto;
  padding: 30px 35px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgb(166, 199, 126);
  position: absolute;
  top: 160px; 
  left: 130px;
  z-index: 10;
  cursor: move;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.banner {
  position: fixed;
  top: 0;
  bottom: 0;
  width: var(--banner-width);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  pointer-events: none;
  filter: saturate(0.95) brightness(0.95);
  opacity: 0.95;
}
.banner-left { 
  left: 0; 
  background-image: url('./banner-left.jpg'); 
}
.banner-right { 
  right: 0; 
  background-image: url('./banner-right.png'); 
}

.header-title-group{
  display: flex;
  align-items: center;
  gap: 12px;
}


.top-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.title-row {
  display: flex;
  justify-content:flex-start;
  align-items: center;
  margin-bottom: 20px;

}

.top-row h1 {
  
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 72px;
  margin: 0;
  line-height: 1;
}

.time-link-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.smiski-image{
  display: block;
  position:absolute;
  top:200px;
  left: -45px;
  z-index: 8;
  cursor: move;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.BIG-SMISKI {
  display: block;
  position: absolute;
  top: -50px;
  left: 265px;
  z-index: 10;
  cursor: move;
  width: 100%;
  max-width: 250px;
  height: auto;
}

.timestamp {
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', sans-serif;
}

.repo-link{
  color: rgb(166, 199, 126);
  text-decoration: none;
  font-size: 20px;
  font-family: Impact, Haettenschweiler, 'Arial Narrow', sans-serif;

}



@media (max-width: 900px) {
  .banner { 
    display: none; 
  }
  body { 
    padding-left: 0 !important; 
    padding-right: 0 !important; 
  }
  .link {
    margin-left: 0;
  }
}


.window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: #e6d47f 
}

.close-btn {
  position: absolute;
  top:10px;
  right: 45px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  color:rgb(170, 210, 120);
  z-index: 15;
}

.close-btn:hover{
  color:rgb(216, 191, 69)
}

.app-close-btn{
  position:  absolute;
  top: 4px !important; 
  right: 4px !important;
  background: rgb(151, 194, 99);
  color: rgb(255, 254, 171);
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;

}

.app-close-btn:hover {
  background: rgb(255, 220, 114);
  transform: scale(1.1);
}

.app-icon {
  position: absolute;
  text-align: center;
  padding: 12px;
  width: max-content;
  white-space: nowrap;
  z-index: 20;
}

#timerApp {
  top: 50px;
  left: 600px;
}

#notesApp {
  top: 200px;
  left: 600px !important;
}

.timer-btn{
  background-color:blanchedalmond;
  color: rgb(151, 194, 99);
  border: 1px solid rgba(166, 199, 126, 0.6);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 13px;
  cursor: pointer;

}

