
/* TITLE PAGE */
#slide_1 {
    background-image: url("../img/Hellshot_GameTitle_Design_.png");
    width: 1920px;
    height: 1200px;
    position: absolute;
    margin: 0 auto;
    background-size: cover;
    z-index: 5;
    display: flex;
    justify-content: center; 
    align-items: center;
}

#title_page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hellshot_title {
    display: flex;
    position: absolute;
    font-size: 280px;
    margin: 0;
    transform-origin: center center;
    margin-bottom: 210px;
}

#button_box {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin-top: 270px;
}

.title_buttons {
    font-family: "Micro 5", sans-serif;
    font-weight: 400;
    font-style: normal;
    border: none;
    
}

.play_button:hover {
    background-color: rgb(26, 55, 49);
    cursor: pointer;
}

.instructions_button:hover {
    background-color: rgb(26, 55, 49);
    color: rgb(219, 206, 170);
    cursor: pointer;
}

.play_button {
    font-size: 70px;
    color: rgb(219, 206, 170);
    background-color: rgb(8, 17, 15);
    padding: 5px 80px;
    border-radius: 50px;
}

.instructions_button {
    font-size: 50px;
    color: rgb(19, 36, 31);
    background-color: rgb(219, 206, 170);
    padding: 15px 35px;
    border-radius: 50px;
}

.page {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.page-content {
    background-size: cover;
    background-position: center;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    font-family: sans-serif;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.title_score {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    height: 280px;
    margin-top: auto;
}

h1 {
    color: rgb(142, 46, 46);
    font-family: "jacquard-24", sans-serif;
    font-weight: 400;
    font-style: normal;
}


html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgb(39, 36, 30);
    display: flex;
    justify-content: center;
    align-items: center;
}   

.game-container {
    width: 1920px;
    height: 1200px;
    background-image: url("../img/BG.png");
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-size: cover;
}

.title_score {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    height: 280px;
    margin-top: auto;
}

.counter {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0px;
    line-height: 0px;

}

.counter1 {
    display: flex;
    flex-direction: row;
}

.counter2 {
    display: flex;
    flex-direction: row;
}

.hellshot_ingame {
    font-size: 150px;
    display: flex;
    align-items: center;
    margin: 0;
    padding-right: 800px;
}

.time_demons_remaining {
    font-family: "Micro 5", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:rgb(55, 51, 40);
    font-size: 65px;
    line-height: 60px;
    display: flex;
    align-items: center;
    margin: 0;
    
}

h4 {
    /* This keeps the text's position from moving */
    /* when the coundown changes to a number with a different width */
    /* because this font isn't monospace */
    min-width: 120px; 
    text-align: right;
}

h4, h5 {
    font-family: "Micro 5", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:rgb(158, 51, 51);
    font-size: 150px;
    display: flex;
    align-items: center;
    flex-direction: row;
    margin: 0;
    margin-left: 25px;
   
}

/* position: absolute; and z-index: 2; below are SOURCED BY CHAT GPT: 
https://chatgpt.com/share/67f7d23d-af14-800b-99aa-370387dfc285 */

.tree_demon_1, .tree_demon_2, .tree_demon_3, .tree_demon_4, .tree_demon_5  {
    position: absolute;
}

.tree_demon_1 {
    top: 265px;
    left: 10px;
    position: absolute;
}

.tree_demon_1 .tree {
    width: 360px;

    position: absolute;
    height: auto;
    z-index: 2;
}

.tree_demon_1 .demon {
    position: absolute;
    width: 150px;
    height: auto;
    top: 385px;
    left: 100px;
    z-index: 1;
}

.tree_demon_2 {
    top: 10px;
    left: 340px;
    position: absolute;
}

.tree_demon_2 .tree {
    width: 200px;
    position: absolute;
    height: auto;
    z-index: 2;
}

.tree_demon_2 .demon {
    width: 90px;
    top: 180px;
    left: 50px;
    height: auto;
    position: absolute;
    z-index: 1;
}

.tree_demon_3 {
    top: 110px;
    left: 570px;
    position: absolute;
}

.tree_demon_3 .tree {
    width: 280px;
    /* SOURCED WITH CHATGPT */
    position: absolute;
    height: auto;
    z-index: 2;
}

.tree_demon_3 .demon {
    width: 125px;
    top: 280px;
    left: 75px;
    /* SOURCED WITH CHATGPT */
    height: auto;
    position: absolute;
    z-index: 1;
}

.tree_demon_4 {
    top: -45px;
    left: 1050px;
    position: absolute;
}

.tree_demon_4 .tree {
    width: 160px;

    position: absolute;
    height: auto;
    z-index: 2;
}

.tree_demon_4 .demon {
    width: 80px;
    top: 140px;
    left: 40px;

    height: auto;
    position: absolute;
    z-index: 1;
}

.tree_demon_5 {
    top: 60px;
    left: 1220px;
    position: absolute;
}

.tree_demon_5 .tree {
    width: 250px;
    position: absolute;
    height: auto;
    z-index: 2;
}

.tree_demon_5 .demon {
    width: 100px;
    top: 250px;
    left: 70px;

    height: auto;
    position: absolute;
    z-index: 1;
}

.tree_demon_6 {
    top: 190px;
    left: 1620px;
    position: absolute;
}

.tree_demon_6 .tree {
    width: 345px;
    position: absolute;
    height: auto;
    z-index: 2;
}

.tree_demon_6 .demon {
    width: 125px;
    top: 350px;
    left: 100px;
    height: auto;
    position: absolute;
    z-index: 1;
}

.treebg1 {
    position: absolute;
    width: 120px;
    height: auto;
    top: -80px;
    left: 700px;
}

.treebg2 {
    position: absolute;
    width: 125px;
    height: auto;
    top: -40px;
    left: 20px;
}

.treebg3 {
    position: absolute;
    width: 180px;
    height: auto;
    top: 20px;
    left: 1800px;
}

.treebg4 {
    position: absolute;
    width: 140px;
    height: auto;
    top: -60px;
    left: 1550px;
}

.bow {
    left: 879px;
    top: 885px;
    transform-origin: center center; 
}

.bow_pulled {
    position: absolute;
    width: 350px;
    height: 350px;
    top: 850px;
    left: 730px;
    transform-origin: center center;
    pointer-events: none;
}

.arrow {
    position: absolute;
    height: 275px;
    left: 0;
    top: 0;
    transform: translate(879px, 885px);
}

.demon {
    position: absolute;
    transition: transform 0.5s ease;
}

.no-highlight {
    user-select: none;
    -webkit-user-select: none; /* FOR Safari */
    -moz-user-select: none; /* FOR Firefox */
    -ms-user-select: none; /* FOR ETC  */
}

/* This section was sourced from ChatGPT: */

.demon.fadeOut {
    animation: fadeOut 0.15s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* End of source */


/* This section was sourced from ChatGPT from Carson Source: */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#gameOverMessage {
    font-family: "jacquard-24", sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color:rgb(219, 206, 170);
    background-color: rgb(66, 24, 24);
    width: 1920px;
    height: 1200px;
    font-size: 150px;
    display: none; 
    z-index: 15;
    animation: fadeIn 0.75s forwards;
    margin: 0;
}

#gameOverContent {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 250px;
}

#levelCompletepage {
    font-family: "jacquard-24", sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color:rgb(219, 206, 170);
    background-color: rgb(16, 33, 29);
    width: 1920px;
    height: 1200px;
    font-size: 150px;
    display: none;  
    z-index: 15;
    animation: fadeIn 0.75s forwards;
    margin: 0;
}

#levelCompleteContent {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 350px;
    margin-bottom: 200px;
}

.home_button {
    display: flex;
    font-family: "Micro 5", sans-serif;
    font-weight: 400;
    font-style: normal;
    border: none;
    position: absolute;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    margin-top: 400px;
    background-color: rgb(158, 51, 51);
    color: rgb(219, 206, 170);
    cursor: pointer;
    padding: 5px 80px;
    border-radius: 50px;
}

.level_complete_hb {
    background-color: rgb(158, 51, 51);
    color: rgb(219, 206, 170);
}

.level_complete_hb:hover {
    color: rgb(219, 206, 170);
    background-color: rgb(66, 24, 24);
}


.game_over_hb {
    background-color: rgb(16, 33, 29);
    color: rgb(219, 206, 170);
}

.game_over_hb:hover {
    background-color: rgb(8, 17, 15);
    color: rgb(219, 206, 170);
}

