body {
  margin: 0;
  font-family: Georgia, serif;

  background-image: url("../general/textures/backgrounds/orphanage.png");
  background-size: cover;        
  background-position: center;   
  background-repeat: no-repeat;  
}


/* hide page scrollbar */
html { scrollbar-width: none; } /* Firefox */
body { -ms-overflow-style: none; } /* IE and Edge */
body::-webkit-scrollbar, body::-webkit-scrollbar-button { display: none; } /* Chrome */
/* end hide page scrollbar */

::-webkit-scrollbar { /* global scrollbar , the one on the right*/
  width: 12px;
}

.wrapper {
 /*test height to try the on scroll animations */
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

:root {
  --border-brown: #8b6a3e;    /*#8b6a3e*/
  --box-bg: #f6edd2;    /*#f6edd2 */
}

.logo {
  background: transparent;
  border: none;
  height: 220px;
  width: 600px;
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 260px;
  width: auto;
}

.buttonArea {
  position: relative;

  width: 100vw;                
  left: 50%;                   
  transform: translateX(-50%); 

  height: 105px;
  margin-top: 30px;

  background: url("../general/textures/info_boxes/frame.png");
  background-size: auto;
  background-position: center -40px;
  background-repeat: repeat-x;

  border: 0px solid var(--border-brown);

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.btn {
  width: 250px;
  height: 100px;
  background: url("../general/textures/info_boxes/5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border: 0px solid var(--border-brown);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 22px;
  border-radius: 6px;
  transition: 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.row {
  width: 1400px;
  margin: 30px auto 0 auto;
  display: flex;
  gap: 30px;
}

.gallery {
  background: url("../general/textures/backgrounds/gallery_bg.png");
  background-size: 950px 620px;
  background-position: center;
  background-repeat: no-repeat;
  border: 5px solid var(--border-brown);
  width: 950px;
  height: 610px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
}

.abyss {
  margin-top: 50px;
  width: 100vw; 
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #000; 
}

.abyss img {
  width: 100%;
  height: auto;
  display: block;
}

.abyss a img {
  transition:
    transform 0.4s ease,
    opacity 0.2s ease;
}

/*.abyss img:hover {
  filter: drop-shadow(0 0 15px rgba(211, 197, 7, 0.8));
  -webkit-mask-image: radial-gradient(circle at center, black 80%, transparent 100%); 
  /* Shadow test , might get deleted since its broken
}*/

.changeLog {
  background: #3a2b1a;    /* #3a2b1a*/
  border: 2px solid var(--border-brown);
  width: 1000px;
  height: 250px;
  margin-top: 30px;
  padding: 20px;
  font-size: 20px;
  color: #ffe596;   /* #ffe596*/
  overflow-y: auto;
  overflow-x: hidden;
}

.changeLog::-webkit-scrollbar {
  width: 12px;
}

.changeLog::-webkit-scrollbar-thumb {
  background-color: #6b4e2d;    /* #6b4e2d*/
  border-radius: 0;
}

.info {
  background: var(--box-bg);
  border-top: 2px solid var(--border-brown);
  width: 100%;
  height: 140px;
  margin-top: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.abyss a {
  position: relative;
}

.abyss a img.hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  /*transition: opacity 0.2s ease 0.2s;*/
}

.abyss a:hover img.normal {
  opacity: 0;
}

.abyss a:hover img.hover {
  opacity: 1;
}

@font-face {
  font-family: 'abyssfont';
  src: url('fonts/playhouse-medium.woff') format('woff');
}

.layer-title {
  font-family: 'abyssfont';
  position: absolute;
  top: 10px;         
  left: 50%;
  z-index: 5; 
  transform: translateX(-50%);
  font-size: 36px;
  color: #000;
  text-shadow: 0 0 6px rgba(0,0,0,0.8);
  pointer-events: none;    
  white-space: nowrap;
}

.abyss a:hover .layer-title {
  color: #fff7a8;
  text-shadow: 0 0 10px rgba(255, 240, 120, 0.9);
}