
body {
    height: 100%;
    font-family: 'Press Start 2P', cursive;
    cursor: default;
    background-color: #1D1D1D;
    background-size: cover;
    overflow: scroll;
}

.dark-mode {
    background-image: url('/bg/desk6.png');
    background-color: #1D1D1D;
}

.main-content {
    height: 100vh; 
    display: flex;
    flex-direction: column;
}

/* navbar */
.menu-dropdown {
    position: fixed;
    display: inline-block;
    top: 1px;
    left: 0;
    z-index: 1001; 
} 
.menu-button { 
    padding: 8px; 
    cursor: pointer; 
    border: none;
    background-color: #222;
    color: #00FF00;
    text-align: center;
    font-size: 14px;
    font-family: 'Press Start 2P', cursive;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.menu-button:hover {
    color: #ff4081;
    background-color: rgba(0, 0, 0, 0.9);
}
.menu-content {
    display: none;
    position: fixed;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: auto; 
}
    .menu-content a {
        background-color: #222;
        color: #00FF00;
        text-align: center;
        font-size: 14px;
        font-family: 'Press Start 2P', cursive;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        padding: 12px 16px;
        display: block; 
    }
          .menu-content a:hover {
              color: #ff4081;;
          }
          .menu-dropdown:hover .menu-content {
              display: block;
          }

/* restart */
.dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9); 
    padding: 20px;
    border: 3px solid #00FF00;
    border-radius: 10px;
    box-shadow: 0 0 10px 3px #00FF00; 
    color: #00FF00; 
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    z-index: 1000;
    text-align: center;
}

button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    border: 2px solid #00FF00;
    background-color: transparent;
    color: #00FF00;
    text-shadow: 1px 1px 2px #000, 0 0 25px #00FF00, 0 0 5px #00FF00; 
    outline: none;
}
  button:hover {
    background-color: #00FF00;
    color: #000;
    text-shadow: none;
    border-color: #00FF00;
}
  button:focus {
    outline: none;
    border-color: #FFFF00; 
}

.dialog:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* back button */
.back-link {
    position: fixed;
    top: 60px;
    left: 1px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    color: #00FF00;
    z-index: 110;
    transition: color 0.3s;
}
      .back-link:hover {
          color: #ff4081;
          background-color: rgba(0, 0, 0, 0.9);
      }

/* score */
#score-bar {
    border: none;
    background-color: #222;
    color: #00FF00;
    font-size: 13px;
    font-family: 'Press Start 2P', cursive;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: inline-block; 
    position: fixed;
    top: 10px;
    right: 10px; 
    padding: 5px 10px;
    width: 190px;
    text-align: center;  
}

/*info */
#info-button {
    cursor: pointer;
    bottom: 1px;
    left: 10px;
    padding: 5px 10px;
    border: none;
    background-color: #222;
    color: #00FF00;
    font-size: 14px;
    font-family: 'Press Start 2P', cursive;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: inline-block; 
    position: fixed;
}
      #info-button a {
          color: inherit;
          text-decoration: none;
      }
      
      #info-button:hover {
          color: #ff4081;
          background-color: rgba(0, 0, 0, 0.9);
      }

.info-popup {
    display: none; 
    background-color: rgba(0, 0, 0, 0.5); 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 6000; 
}
      .info-popup:target {
          display: flex;
      }
.info-popup-content {
    background-color: rgba(0, 0, 0, 0.9); 
    color: #00FF00; 
    padding: 20px;
    border-radius: 10px;
    border: 3px solid #00FF00; 
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    box-shadow: 0 0 10px 3px #00FF00;
    z-index: 2100;
    width: 80%;
    max-width: 600px;
    text-align: center;
    line-height: 1.5;
}
.info-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000; 
    cursor: pointer; 
}
#info-button-center {
    position: fixed;
    bottom: 10px;
    left: 50%;
    padding: 5px 10px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #00FF00;
    border: 2px solid #00FF00;
    border-radius: 5px;
    font-family: 'Press Start 2P', cursive;
    cursor: pointer;
}


/* bg image */

.background-container {
   flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; 
    margin-top: 1px; 
}
#background-image {
  max-width: 100%;
  height: 120%;
}


/* popup */
.popup {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2000; 
}
    .popup:target {
    display: flex;
}

    .popup-content {
        padding: 5px; 
        background-color: black; 
        display: flex; 
        justify-content: center;
        align-items: center;
    }

    iframe {
        border-radius: 10px; 
        border: none;
    }
    #video-overlay {
            border-radius: 10px; 
            pointer-events: none;
        }
.popup-content {
    background-color: transparent;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2100; 
}
    .popup-content img {
        max-width: 100%;
        height: auto;
    }
.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000; 
}

#pumbacamcontent {
    pointer-events: none;
}

#random-video-varanda {
    pointer-events: none;
}

#random-video {
    pointer-events: none;
}



@media (max-width: 480px) {
    .iframe {
        width: 300px; 
    }
}

/* cursor */
.link-area {
    cursor: url('/favicon/arrow2.png'), auto !important; 
}
.popup-click {
    cursor: url('/favicon/garrow.png'), auto !important; 
}
.popup-area {
    cursor: url('/favicon/eye.png'), auto !important;
}
.sound-area {
    cursor: url('/favicon/eye.png'), auto !important;
}
a, area {
    cursor: inherit !important;
}
    .link-area:hover {
        cursor: url('/favicon/arrow2.png'), auto !important;
    }
    .popup-area:hover {
        cursor: url('/favicon/eye.png'), auto !important; 
    }
    .popup-click:hover {
        cursor: url('/favicon/garrow.png'), auto !important;
    }
      .link-area:active {
          cursor: url('/favicon/arrow2.png'), auto !important;
      }
      .popup-area:active {
          cursor: url('/favicon/eye.png'), auto !important;
      }
      .popup-click:active {
          cursor: url('/favicon/eye.png'), auto !important;
      }


/* boar */
.boar {
    position: absolute;
    width: 50px; 
    top: 451px; 
    left: 274px; 
    transition: transform 0.3s;
}
  .boar img {
  width: 50px;  
  height: auto;
}
@keyframes boarWalk {
    0% { left: 0; }
    50% { left: calc(100% - 143px); }
    100% { left: 0; }
}
@keyframes flipBoar {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(-1); }
}

/* chat */

.website-message {
    position: fixed;
    z-index: 99999;
    color: white;
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #0000ff;
    font-family: 'Press Start 2P', cursive;
    font-size: 11px;
    max-width: 250px;
    pointer-events: none;
    transition: opacity 0.5s;
    line-height: 1.4;
    opacity: 1;
}

.user-message {
    position: fixed;
    z-index: 99999;
    color: #00ff00;
    text-shadow: 0 0 3px #00aa00;
    font-family: 'Press Start 2P', cursive;
    font-size: 11px;
    max-width: 250px;
    pointer-events: none;
    transition: opacity 0.5s;
    line-height: 1.4;
    opacity: 1;
    bottom: 100px;
    right: 10%;
    transform: translateX(-50%);
}

#website-chat-text {
    position: fixed;
    bottom: 10px; 
    right: 20px;
    transform: none;
    width: 190px;
    z-index: 10000;
    background-color: #222;
    color: #00ff00;
    padding: 8px 12px;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    box-sizing: border-box;
    outline: none;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#website-chat-text:focus {
    outline: none;
}

.typing-indicator {
    bottom: 170px;
    right: 20px;
    left: auto;
    transform: none;
}

.drawing-top { top: calc(50% - 370px); left: 50%; transform: translateX(-50%); }
.drawing-left { top: 50%; left: calc(50% - 520px); transform: translateY(-50%); }
.drawing-right { top: 50%; right: calc(50% - 520px); transform: translateY(-50%); }
.drawing-bottom { bottom: calc(50% - 370px); left: 50%; transform: translateX(-50%); }
.drawing-top-left { top: calc(50% - 370px); left: calc(50% - 550px); }
.drawing-top-right { top: calc(50% - 370px); right: calc(50% - 510px); }
.drawing-bottom-left { bottom: calc(50% - 370px); left: calc(50% - 590px); }
.drawing-bottom-right { bottom: calc(50% - 370px); right: calc(50% - 620px); }