html,body {
  height:100%;
  min-height:100%;
  margin:0;
}
body {
	color: white;
  display:flex;
  align-items:center;
  justify-content:center;
  background-image:url("bg-1.jpg");
  background-size:auto;
background-repeat: repeat;
}
a{
	color: white;
	text-decoration: none;
}


#panelbottom {
	padding: 4px;
 height: 20px;
	width: 300px;
 overflow: hidden;
 position: absolute;
	bottom: 42px;
 background: #000000;
 color: white;
}


#panel_select {
    
    position:absolute;
    top:30px;
	text-align: center;
    max-width: 90%;
    
    
}

#panel_pay {
    
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

img.coverbig  {   
    width: 80%;
    max-height: 50%;
}
img.coversmall {
    width: 70px;
    height: 70px;
    
}

#paneltop {
	
	position:absolute;
    top:30px;
	text-align: center;
   
}

.tl_link {
    color: crimson;
    font-weight: bold;
    font-size: 200%;
    text-decoration: underline;
}


.thumbs {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  width:500px;
  max-width:100%;
}

.thumbs a {
    max-width:150px;
    height:150px;
    margin:10px;
    overflow:hidden;
    border-radius:2px;
	border: 2px black solid;
}

.thumbs	a img {
      transform:scale(1);
      transition:transform 0.1s ease-in-out;
      filter:grayscale(60%);
      min-width:100%;
      min-height:100%;
      max-width:100%;
      max-height:100%;
    }
.thumbs a:hover img {
        filter:invert();
    }
  


.lightbox {
  position:fixed;
  background:rgba(black,0.5);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height:100%;
  width:100%;
  left:0;
  top:0;
  transform:translateY(-100%);
  opacity:0;
  transition:opacity 0.3s ease-in-out;
&:has(div:target) {
    transform:translateY(0%);
    opacity:1;
  }
   a.nav {
    text-decoration:none;
    color:white;
    font-size:50px;
    text-shadow:0 2px 2px rgba(black,0.8);
    opacity:0.8;
    font-weight:400;
    &:hover {
      opacity:1;
		background: #000000;
    }
  }
  .target {
    position:absolute;
    height:100%;
    width:100%;
    display:flex;
    transform:scale(0);
    align-items:center;
    justify-content:space-between;
    *:first-child,*:last-child {
      flex:0 0 100px;
      text-align:center;
      @media all and (max-width:600px){
        flex:0 0 50px;
      }
    }
    .content {
      transform:scale(0.9);
      opacity:0;
      flex:1 1 auto;
      align-self: center;
      max-height:100%;
      min-height:0;
      // max-width:calc(100% - 200px);
      min-width:0;
      border-radius:3px;
      overflow:hidden;
      box-shadow:0 0 0 3px white, 0 5px 8px 3px rgba(black, 0.6);
      transition:transform 0.25s ease-in-out,opacity 0.25s ease-in-out;
      img {
        min-width:100%;
        min-height:100%;
        max-width:100%;
        max-height:calc(100vh - 80px);
        display:block;
        margin:0;
      }
    }
    &:target {
      transform:scale(1);
      .content {
        transform:scale(1);
        opacity:1;
      }
    }
  }
  .close {
    position:absolute;
    left:30px;
    top:30px;
  }
}
.homesite {
    position:absolute;
    right:30px;
    bottom:30px;
  }