@font-face {
  font-family: "Auldmagic";
  src: url('fonts/Auldmagick-gvdp.ttf') format("truetype");
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}
body{ 
background-image: url('MedievalTavern2_Screenshot_02-1920x1080-90d22e2c53ccf3217dcc9a0378cd77a5.avif');
background-size: cover;
background-repeat: no-repeat;
background-color: brown;
font-family: times;
}
.tavern-chat {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* 2. Locks the chat container to exactly screen height */
  width: 100%;
}


.tavern-chat iframe {
  width: 27.95%;
  height: 54%; 
}
.wood{
  position: absolute; 
  bottom: 10%;
  left: 24.10%; 
  z-index: 10; 
  width: 50.50%;
  height: 115%;
  pointer-events: none
}
.tavern-grid {
  position: absolute;       
  top: 30%;                
  left: 5%;               
  z-index: 5;               
  display: inline-grid;
  grid-template-columns: 210px;   
  background-color: transparent;
  padding: 10px;
  gap: 0;
  border-collapse: collapse;
}
.tavern-grid div {
  background-image: url('images/old-paper-canvas-background-texture-free-vector.jpg');
  padding: 0px;
  font-size: 15px;
  text-align: center;
  overflow-wrap: break-word; 
  min-width: 0;
  border: 20px solid transparent;
  border-image: url('images/detrrl7-511be88b-5843-4e6d-acc7-0faa10918838.gif') 30 round;
  border-image-outset: 10px;
  box-sizing: border-box;
}
.tavern-grid div li { 
  font-size: 30px;
  color: purple;
  font-family: 'Auldmagic', bold;
  margin: 0;         
  line-height: 1.2;    
  padding: 0;
}

.tavern-grid div ul, 
.tavern-grid div ol {
  margin: 0;           /* removes space above/below the whole list */
  padding-left: 20px;  /* keeps the indent but removes excess */
}
.tavern-grid div h2 { 
  color: purple;
  font-family: Auldmagic;
  font-size: 30px;
  padding: 0;
}

.container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 6;
  display: flex;
  background: linear-gradient(to bottom,#50321a 0%, #602394 100%);
  flex-direction: row;
  background-color: beige;
}

.container div {
  background-color: white;
  margin: 10px;
  padding: 0px;
  font-size: 24px;
 }
.container button {
  background: rgba(255, 255, 255, 0.15); 
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-right-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.15);
 margin-right: 7px;
 margin-left: 25px;
  padding: 12px 0px;
  width: 120px;
  height: 40px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  
  transition: all 0.3s ease;
  
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.container button:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.beerbutton {
  background: rgba(255, 255, 255, 0.15); 
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-right-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.15);
 margin-right: 15px;
  padding: 12px 28px;
  height: 40px;
  width: 160px !important;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  
  transition: all 0.3s ease;
  
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.beerbutton:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

 #cornerImage {
    position: fixed;
    bottom: 20px; 
    right: 20px;  
    width: 16%;  
    height: auto;
    transition: opacity 0.3s ease;
  }
.hidden {
    display: none;
    opacity: 0;
  }
.arrow { 
  position: fixed;
  bottom: 62%;
  left: 1%;
  height: 15%;
  width: 15%;
  z-index: 20;
}
.yellowbutton{
  color: yellow !important;  
}
.actualvideo{
  height: 420px;
  width: 420px;
  position: fixed;
  right: 1%;
  bottom: 50%;
}
.videoOverlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 20%;
  height: 20%;
  display: none;           
  z-index: 9999;             
}
.videoOverlay.active {
  display: flex;             /* <-- CRITICAL: Makes the box appear */
}

  
  
  