@font-face {
font-family: pixel;
src: url(https://dl.dropbox.com/s/kmhe7d3n18vdz5e/w95fa.woff?dl=0);
}

body {
   background-color: #ffcae5;
   font-family: pixel;
   position: relative;
   margin: 0px;
   color: #414141;
   font-size: 15px;
   word-spacing: 3px;
   padding: 0 16px;
   margin: 0; 
   height: 100vh; 
   display: flex; 
   justify-content: center; 
   align-items: center; 
   text-align: center; 
}

wrapper {
    margin: auto;
    margin-top: 10px;
    display: block;
    max-width: 700px;
    width: 100%;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

main {
   display: grid;
   position: relative;
   grid-template-columns: 220px minmax(0, 1fr);
   grid-template-areas:
      "header header"
      "nav content";
   gap: 20px;
   align-items: start;
   line-height: 1.3;
}

.header-img,
header img {
   width: 100%;
   max-width: 700px;
   height: 290px;
   display: block;
   margin: 0 auto;
}

header {
   grid-area: header;
   max-width: 100%;
   margin-right: 0;
}

.content {
   grid-area: content;
   position: relative;
   margin: 0;
   display: block;
   width: auto;

}

nav {
   grid-area: nav;
   top: 0;
   position: relative;
   margin-right: 0;
}

ul {
   list-style-type: none;
   text-decoration: none;
   color: #002f3d;
   padding: 0px;
   margin: 0px;
}

.nav li a {
  font-weight:bold;
  text-decoration:none;
}

footer {
   position: relative;
   margin-top: 20px;
   text-align: center;
   display: block;
   unicode-bidi: isolate;
}

@media (max-width: 700px) {
   body {
      font-size: 14px;
      word-spacing: 1px;
      padding: 0 12px;
   }

   main {
      grid-template-columns: 1fr;
      grid-template-areas:
         "header"
         "content"
         "nav";
      gap: 16px;
   }

   nav,
   .content {
      margin: 0;
      width: 100%;
   }

   footer {
      margin-top: 12px;
   }
}



header h4 { 
  font-size: 1.6rem;
  margin: 0; 
  color: #FAF7F2 ;
}



a {   
   text-decoration: none;
   color: #161616;
}

a:hover {
   text-decoration: wavy;
}

/*splash screen*/

.intro {
   position: fixed;
   z-index: 1;
   left: 0;
   top: 0;
   width: 100%;
   height: 100vh;
   background-color: #161616;
   transition: 1s;
}

.logo-header {
   position: absolute;
   top: 40%;
   left: 50%;
   transform: translate(-50%, -50%);
   color: #ffffff;
}

.logo {
   position: relative;
   display: inline-block;
   bottom: -20px;
   opacity: 0;
}

.logo.active {
   bottom: 0;
   opacity: 1;
   transition: ease-in-out 0.5s;
}

.logo.fade {
   bottom: 150px;
   opacity: 0;
   transition: ease-in-out 0.5s;
}
/*the popup box*/
.button {
  padding: 5px 10px;
  background-color: none;
  text-decoration: none;
  cursor: pointer;
}

.overlay {
   position: fixed;
   inset: 0;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   background: rgba(0, 0, 0, 0.25);
   transition: opacity 200ms ease;
   visibility: hidden;
   opacity: 0;
   pointer-events: none;
}

.overlay.light {
    background: rgb(255, 255, 255);
  }
.overlay.cancel {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: default;
  }


.overlay:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

.popup {
  margin: 75px auto;
  padding: 20px;
  background: #ffa7a7;
  border: 1px solid #ffffff;
  width: 500px;
  height: 550px;
  box-shadow: 50px rgb(255, 255, 255);
  position: relative;
  border-radius: 30px;
  color: #000000;

  .close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 20px;
    right: 20px;
    opacity: 0.8;
    transition: all 200ms;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
  }
  .content {
    max-height: 400px;
    overflow: auto;
  }
  p {
    margin: 0 0 1em;
    &:last-child {
      margin: 0;
    }
  }
}

.popup .close,
.popup .close:hover {
   transform: none;
   transition: none;
   text-decoration: none;
}

.popup.molala {
   width: 1em;   
   height: 1.5em;

}

#container {
   overflow: scroll;
   overflow-x: hidden;
   height: 10em;
   padding: 1rem;
}

   ::-webkit-scrollbar {
        width: 14px;
        }

        ::-webkit-scrollbar:horizontal {
        height: 14px;
        }

        ::-webkit-scrollbar-corner {
        background: #eee;
        }

        ::-webkit-scrollbar-track:vertical {
        background: linear-gradient(90deg, #e5e5e5, #f0f0f0 20%);
        border-radius: 5px;
        }

        ::-webkit-scrollbar-track:horizontal {
        background: linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
        border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb {
        border: 1.5px solid #888;
        border-radius: 5px;
        box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
        }

        ::-webkit-scrollbar-thumb:vertical {
        background: linear-gradient(90deg, #eee 45%, #ddd 0, #bbb);
        }

        ::-webkit-scrollbar-thumb:horizontal {
        background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
        }

        ::-webkit-scrollbar-button:horizontal:end:increment,
        ::-webkit-scrollbar-button:horizontal:start:decrement,
        ::-webkit-scrollbar-button:vertical:end:increment,
        ::-webkit-scrollbar-button:vertical:start:decrement {
        display: block;
        }

        ::-webkit-scrollbar-button:vertical {
        height: 15px;
        }

        ::-webkit-scrollbar-button:vertical:start:decrement {
        background: white;
        background: url("https://dl.dropbox.com/s/n9ji42h9hdgdtpc/scroll3.png"), #eee;
        background-repeat: no-repeat;
        background-position: center;
        -moz-background-size: 100% auto, cover;
        -webkit-background-size: 100% auto, cover;
        -o-background-size: 100% auto, cover;
        background-size: 100% auto, cover;
        border: 1.5px solid #888;
        border-radius: 5px;
        }

        ::-webkit-scrollbar-button:vertical:start:increment {
        display: none;
        }

        ::-webkit-scrollbar-button:vertical:end:decrement {
        display: none;
        }

        ::-webkit-scrollbar-button:vertical:end:increment {
        background: white;
        background: url("https://dl.dropbox.com/s/cdcco6pih7n1lae/scroll4.png"), #eee;
        background-repeat: no-repeat;
        background-position: center;
        -moz-background-size: 100% auto, cover;
        -webkit-background-size: 100% auto, cover;
        -o-background-size: 100% auto, cover;
        background-size: 100% auto, cover;
        border: 1.5px solid #888;
        border-radius: 5px;
        }

        ::-webkit-scrollbar-button:horizontal {
        width: 14px
        }
        ::-webkit-scrollbar-button:horizontal:start:increment {
        display: none;
        }
        ::-webkit-scrollbar-button:horizontal:end:decrement {
        display: none;
        }

        ::-webkit-scrollbar-button:horizontal:start:decrement {
        background: white;
        background: url("https://dl.dropbox.com/s/xcm618ghd823271/scroll5.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
        background-repeat: no-repeat;
        background-position: center;
        -moz-background-size: 100% auto, cover;
        -webkit-background-size: 100% auto, cover;
        -o-background-size: 100% auto, cover;
        background-size: 100% auto, cover;
        background-position: center;
        border-radius: 5px;
        border: 1.5px solid #888;
        }

        ::-webkit-scrollbar-button:horizontal:end:increment {
        background: white;
        background: url("https://dl.dropbox.com/s/byeyi7am889ii9m/scroll6.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
        background-repeat: no-repeat;
        background-position: center;
        -moz-background-size: 100% auto, cover;
        -webkit-background-size: 100% auto, cover;
        -o-background-size: 100% auto, cover;
        background-size: 100% auto, cover;
        background-position: center;
        border-radius: 5px;
        border: 1.5px solid #888;
        }
        
.tooltip {
   position: relative;
   display: inline-block;
}

.tooltip::after {
   content: attr(data-tooltip);
   position: absolute;
   bottom: 110%;
   left: 50%;
   background: rgba(0, 0, 0, 0.8);
   color: white;
   padding: 6px 8px;
   border-radius: 4px;
   font-size: 14px;
   white-space: nowrap;
   opacity: 0;
   pointer-events: none;
}

.tooltip:hover::after {
   opacity: 1;
}