
@font-face {
    font-family: 'Slenderfont';
    src: url('./src/assets/fonts/Slender.ttf');
}
body { margin: 0; }
#blocker{
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url('./src/assets/images/FindingDoggoIntroScreen.png');
    background-size: cover; 
    background-repeat: no-repeat; 
    background-color: rgba(255, 255, 255, 0.5);
}

#instructions{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Slenderfont';
    text-align: center;
    font-size: 14px;
    color: white;
    cursor: pointer;
}


.hidden{
    display: none;
}

.interaction-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    display: none;
}

.prompt {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0);
    color: #fff;
    padding: 10px;
    display: none;
    font-family: monospace;
    border: #fff;

}

.gameOver {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding: 10px;
    display: 'block';
    font-family: 'Slenderfont';
    font-size: 48px;
    display: none;
}


.gameMessage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding: 10px;
    display: 'block';
    font-family: 'Slenderfont';
    font-size: 36px;
    display: none;
}




.progress-bar-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Slenderfont';
}

.credits{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
    font-family: monospace;
    overflow-y: scroll;
}

#progress-bar {
    width: 30%;
    margin-top: 0.5%;
    height: 2%;
}

label {
    color: white;
    font-size: 2rem;
}

#PlayerSpeech {
    font-family:'Slenderfont' ;
      position: absolute;
    width: 100%;
      top: 80%; 
      /* left: 30%; */
      background-color: rgba(0, 0, 0, 0.7);
      background-color: transparent; /* Remove background */
      color: white;
      padding: 10px;
      font-size: 24px;
    opacity: 1;
      display: none; /* Initially hide the text */
}

#speechText {
    text-align: center;
    width: 100%;
      margin: 0; /* Remove default margin for <p> */
}

#noteText {
    position: fixed;
    top: 25%;
    left: 33%;
    width: 400px;
    height: 400px;
    background: rgba(0, 0, 0, 0.639); /* Black background with 70% opacity */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure the overlay appears above other content */
    }

    #noteText-content {
        width: 400px;
        height: 400px;
        background: rgba(115, 111, 111, 0.983); /* Slightly transparent black background for content */
        border: 2px solid white; /* White border around the content */
        border-radius: 10px;
        padding: 20px;
        text-align: center;
    }

    #noteText-content p {
    color: rgb(1, 0, 0); /* White text color */
    font-size: 24px;
}

#noteText {
    position: fixed;
    top: 25%;
    left: 33%;
    width: 400px;
    height: 400px;
    background: rgba(0, 0, 0, 0.639); /* Black background with 70% opacity */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure the overlay appears above other content */
    }

    #noteText-content {
        width: 400px;
        height: 400px;
        background: rgba(115, 111, 111, 0.983); /* Slightly transparent black background for content */
        border: 2px solid white; /* White border around the content */
        border-radius: 10px;
        padding: 20px;
        text-align: center;
    }

    #noteText-content p {
    color: rgb(1, 0, 0); /* White text color */
    font-size: 24px;
}

/* PASSCODE START-------------------- */
.PCoverlay {
    position: fixed;
    top: 25%;
    left: 30%;
    width: 100px;
    height: 130px;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

.keypad {
    background: #574f4f;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 300px;
}

.passcode-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 15px;
}

.keypad-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    justify-content: center;
}

.keypad-button {
    background: #6f6b6be8;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    border: 1px solid #aaa;
    border-radius: 5px;
}

/* .keypad-button:hover {
    background: #848181;
} */

.submit-button {
    background: #06520dc0;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.submit-button:hover {
    background: #05203cd4;
}

.message {
    margin-top: 10px;
    color: red;
    font-size: 14px;
}
/* PASSCODE END-------------------- */

.ending-screen {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.961);
    text-align: center;
    padding: 20px;
    color: white;
}

h1 {
    font-size: 36px;
    color: #e3e3e3;
}

p {
    font-size: 24px;
    color: #d8d8d8;
    line-height: 1.5;
}


#gui_container{
    position: absolute;
    top: 50%;
    left: 50%;
}
#gui{
    transform:translate(-50%, -75px);
}

.menu-button{
    background-color: #660000; /* Dark red background */
    color: #fff; /*for text*/
    border: none;
    padding: 15px 0; 
    width: 100%; /* Make buttons fill the container width */
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px; 
    font-family:'Slenderfont';
    transition: background 0.3s;
}
.menu-button:hover {
    background: url('./src/assets/images/blood-splatter-png-44463.png');
    background-size: cover;
    background-size: 120%;
    background-position: center;
    background-color: #420000; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8); 
    animation: shake 0.35s ease-in-out infinite; /* shiver me timbers */
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
}

.button-container {
    width: 10%;
    position: absolute; 
    left: 15%; 
    top: 50%; 
    transform: translateY(-50%);
    text-align: center; 
}

.instructions-container{
    /* width: 10%; */
    position: absolute; 
    left: 15%; 
    top: 80%; 
    transform: translateY(-50%);
    text-align: left; 
    font-size: 24px;
}

#countdown {
    position: absolute;
    top: 10px; 
    right: 10px; 
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px;
  }

/* remove bullet points in ul in instrucs */
ul {
    list-style: none;
    padding: 0;
}