* {
    color: #eee3c5;
    text-align: center;
}
/* 1.  Remove all scroll bars and overflow rules from the scaled box */
html{
  background: url('/atteli/patterns/sar4.gif') repeat;
      min-height:100%;
    height:100%;
}
body{
  overflow-x:hidden;
      display: inline-block;
    min-height: 100vh;
    width: 100%;
}

#page{
  transform:scale(0.8);
  transform-origin:0 0;
  width:125vw;
  display:flex;
  flex-direction:column;   /* centre vertically if you wish */
  justify-content:center;
  align-items:center;
  font-family:Arial, sans-serif;

}


.a4-div {
    background: url('/atteli/patterns/zal1.gif') repeat;
    width: 250mm;
    height: 1500mm;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #000;                               /* black text */
    font-size: 12pt;
    line-height: 1.5;
    position: absolute;
    top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 9px ridge darkgreen;


}

.aparats {
    width: 200mm;
    height: 150mm;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #000;                               /* black text */
    font-size: 12pt;
    line-height: 1.5;
    position: absolute;
    top: 200px;
    border: 9px groove #322e2e;
    background-color: #322e2e;
}
.striipa{
       	position:absolute;
	width: var(--w);
	height:100%;
	background: url('/atteli/patterns/flize.jpg') repeat;
        left:var(--x);
	top:15px;
}
.kaste_augsa{
	    width: 250mm;
	    height: 100px;
            display: flex;
            justify-content: space-between;
            align-items: center;
	    position: relative;
	    top: 40px;


}
.galerija{
	position:absolute;
	top: 800px;
}
.attels{
  left:var(--x);
  top:var(--y);
  border: var(--corner) solid;
  border-image-source: radial-gradient(closest-side, transparent 70%, var(--bg) 70%);
  border-image-slice: 49%;
  border-color: #531807;


}
.parklajs{
	width:1241px;
	height:800px;
	left: 100px;
}
.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: px;
    margin: 2rem auto 0 auto;
    border: solid #352b2b;
    box-shadow: 0 0 5px 0 #969292;
    background-color: #696860;
}

.box {
    border: 10px solid #352b2b;
    height: 100px;
    width: 100px;
    margin: 1rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px 0 #969292;
    background-color: white;
    border-radius: 5px;
}

.slotText, .slotText2, .slotText3 {
    font-size: 50px;
    color: black;
    background-color: inherit;
    font-weight: bold;
}
button {
    padding: 1rem 2rem;
    border-radius: 10px;
}

.banner {
    border: solid #352b2b;
    width: 500px;
    padding: 0;
    margin: 0 auto;
    background: 40px linear-gradient(90deg, #fee501, #f55504);
    box-shadow: 0 0 15px 0 yellow;
    display: none;
    z-index: 5;
    position:relative;
}

.winText {
    margin: 0;
    padding: 0;
    font-size: 25px;
    color: #1a1714;
    background-color: inherit;
    z-index:5;
}
.cash{
	position: relative;
z-index: 4;
}
.play{
	position: relative;
z-index: 4;

    background: linear-gradient(90deg, pink, magenta);
}
.navbar {
    background: url('/atteli/fenka/paveiksies2.png') repeat;
    color: white;
    padding: 10px 0;
    font-size: 2em;
    font-family: "Times New Roman", Times, serif;
    position: absolute; /* Ensures the navbar is positioned relative to the normal document flow */
    top: 0; /* Places the navbar at the top of the screen */
    width: 100%; /* Ensures the navbar spans the full width of the viewport */
    z-index: 100;
    border: 9px ridge gold;

}
.sticky-rectangle {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 300px;       /* 3 × 120px */
  height: 100px;       /* 1.5 × 60px */
  background-color: #ff6b6b;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  background: url('/atteli/fenka/sodienpaveiksies.png');
      background-size: contain; /* This will fit the image within the div while maintaining its aspect ratio */
    background-position: center; /* This will center the image within the div */
    background-repeat: no-repeat; /* This will prevent the image from repeating */
    border: 1px solid #000; /
}
.sticky-rectangle.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(100px);
  pointer-events: none;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  font-size: 18px;
  cursor: pointer;
  color: white;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #333;
}
.image-container{
    position: absolute;
    top: 42%; /* Center vertically */
    left: 56%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    z-index: 2; /* Ensure it stays on top */

}
