body {
    margin: 0;
    min-height: 100vh;
    background-image: url('/backgrounds/static/backrooms-dithered.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.window-container {
    display: flex;
    gap: 20px;
    margin: 20px;
    align-items: flex-start;
}

.br-body-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 2;
}

.br-body {
    outline: solid 2px black;
    background-color: rgba(0, 0, 0, 0.6);
    height: auto;

}

.br-body h1 {
    color: white;
    font-family: 'DotGothic16', 'MS Gothic', Tahoma, monospace;
    padding: 20px;
}

.br-body p {
    color: white;
    font-family: 'DotGothic16', 'MS Gothic', Tahoma, monospace;
    padding: 20px;

}

.gallery {
    box-sizing: border-box;
    column-width: 250px;
    column-gap: 30px;
    padding: 20px;
    width:100%;
}

.lim-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    position: relative;

}

.lim-item img {
    width: 100%;
    height: auto;
    display: block;
}

.br-side {
    outline: solid 2px black;
    background-color: rgba(0, 0, 0, 0.6);
    flex: 1;
    height: auto;
}

.br-side h1, h2 {
    color: white;
    font-family: 'DotGothic16', 'MS Gothic', Tahoma, monospace;
    padding: 5px 10px;
}

.br-side p {
    color: white;
    font-family: 'DotGothic16', 'MS Gothic', Tahoma, monospace;
    padding: 0 10px;
}

.side-gallery {
    box-sizing: border-box;
    column-width: 150px;
    column-gap: 15px;
    padding: 10px;
    width:100%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); 
  opacity: 0; 
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lim-item:hover .overlay {
  opacity: 1;
}

.back-button {
    display: block;
    align-self: flex-start;
}

.back-button img {
    width: 300px;
    height: auto;
}

