

/*General*/


.search-bar{
    display: flex;
    position: absolute;
    top: 1.5vh;
    left: 1vw;
    z-index: 700;

}
.search-box{
    position: fixed;
    display: flex;
    width: 12vw;
    font-size: 24px;
    resize: none;
    color: white;
    background-color: black;
    padding-left: 0.8vh;
    margin-right: 1vw;
    box-sizing: border-box;
    border: 0.1vw solid white;
    z-index: 900;
    
}

.search-results{
    visibility: hidden;
    width: 12vw;
    height: 50vh;
    position: fixed;
    background-color: black;
    top: 4vh;
    left: 1vw;
    border: 0.1vw solid white;
    box-sizing: border-box;
    z-index: 700;
    justify-content: center;  
    align-items: center;
    overflow: scroll;
    overflow-x: hidden;
    


}

input:focus {
    color: white;
    background-color: black;
    border: solid;
    margin-right: 1vw;
    box-sizing: border-box;
    border-radius: 0;
    border: 0.1vw solid white;
  }

input:focus-visible {
    outline: none;
  }


::-webkit-scrollbar {
    width: 0.2vw;
  }



/* Track */
::-webkit-scrollbar-track {
    background: black;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: white;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

/* .result-item{
    position: relative;
    width: 100%;
    height: 2vw;
    color: white;
    background-color: black;
    margin-left: 0.8vh;
    margin-top: 0.1vh;
    align-self: start;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-size: 24px;
    text-align: left;
    

} */



.result-item{
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: auto;
    color: white;
    background-color: black;
    border-bottom: 0.2vh solid white;
    box-sizing: border-box;
    padding: 0.5vw;
    box-sizing: border-box;
}




.result-item:hover{
    text-decoration: underline;
    cursor: pointer;
}



.result-title{
    cursor:default;
    font-size: 2vh;
    width: 100%;
    line-height: 2vh;
    cursor: pointer;
}

.result-sub-title{
    cursor:default;
    font-size: 1.5vh;
    width: 100%;
    cursor: pointer;
}


.x-button{
    visibility: hidden;
    position: fixed;
    left: 11.4vw;
    top: 2.1vh;
    width: 1.5vh;
    height: 1.5vh;
    z-index: 800;
    background-color: black;
    border: 0;
    filter: sepia(0%) saturate(0%) brightness(50%) contrast(100%);
    font-size: 24px;
}

.x-button:hover{
    cursor: pointer;
    filter: sepia(0%) saturate(0%) brightness(100%) contrast(100%);
}

.close-button{
    position:fixed;
    top: 7%;
    right: 3%;
    width: 3%;
    height: 3%;
    flood-color: white;
    cursor: pointer;
    z-index: 4;
}
.close-button:hover{
    filter: invert(55%) sepia(100%) saturate(10000%) hue-rotate(0deg) brightness(100%) contrast(90%);

}

.main-paragraph{
    position: absolute;
    display: flex;
    color: white;
    z-index: 200;
    justify-content: center;
    font-size: 2vh;
    top: 0vh;
    text-align: center;
}

.main-header{
    display: flex;
    background: black;
    position: fixed;
    justify-content: center;
    width: 100%;
    height: 5vh;
    z-index: 100;
    font-size: 3vh;
    top: 0vh;
    align-items: center;
    
}

#container {
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 52.8vw;
    height: 80vh;
    border-style: solid;
    border-width: 0.1vw;
    border-color: white;
  }

#dendrogram{
    position: absolute;
    display: block;
    width: 4000px;
    height: 4000px;
    left: -1995px;
    top: -1995px;
}

#info{
    display: flex;
    position: absolute;
    bottom: 10vh;
    text-align: center;
    font-size: 3vh;
    align-self: center;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0);
    padding: 10px;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    pointer-events: none;
    color: white;
    width: 18vw;
    height: 4vh;
    z-index: 100;
}
.secondary-header{
    display: flex;
    background: black;
    position: fixed;
    justify-content: center;
    width: 100%;
    height: 3vh;
    z-index: 20;
    font-size: 2vh;
    top: 7vh;
    align-items: center;
    
}



.tab-button-deactive{
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    transition: color 0.15s;
    text-decoration: none;
    font-family: "Calibri";
    cursor:pointer;
}

.tab-button-active{
    padding-left: 10px;
    padding-right: 10px;
    color: green;
    transition: color 0.15s;
    font-family: "Calibri";
    cursor:pointer;

}
.tab-button-deactive:hover{
    color: rgb(0, 180, 0);

}

.dark-body{
    display: flex;
    justify-content: center;

    background: black;
    overflow-y: scroll;
    overflow-x: hidden;
}

.center-box{
    display: flex;
    justify-content: center;
    height: 70%;
    width: 100%;
    z-index: 3;
}

#home-page-box{
    top: 7vh;
    position: absolute;
}

.slide-show {
    height: 100%;
    width: 70%;
    object-fit: scale-down;
    background-color: black;
    position: absolute;
    top: 100px;
    transition: opacity 0.5s;
    cursor: pointer;

}




/* Tree*/

.rect-h{
    position: absolute;
    background: white;
    height: 2vh;

}   

.rect-v{
    position: absolute;
    background: white;
    width: 2vh;

}   

.tree-container{
    display: flex;
    width: 14000vh;
    height: 14000vh;
    position: relative;
    left: 0;
    right: 0;
}

#tree-background{
    width: 140000px;
    height: 140000px;
    background: black;
    z-index: 2;
}

.species-label{
    overflow: hidden;
    white-space: nowrap;
    background-image: url("/res/label_texture.webp");
    background-size:cover;
    padding: 0.1vh;
    padding-left: 1vh;
    padding-right: 1vh;
    top: 280px;
    font-size: 36px;
    font-style: italic;
    position: absolute;
    z-index: 3;
    cursor: pointer;
    font-family: 'Charm', cursive;
    
}


.category-label{
    overflow: hidden;
    white-space: nowrap;
    background-image: url("/res/label_texture.webp");
    background-size:cover;
    padding: 0.1vh;
    padding-left: 1vh;
    padding-right: 1vh;
    top: 130px;
    font-size: 18px;
    font-style: italic;
    position: absolute;
    z-index: 3;
    font-family: 'Charm', cursive;
    
}


.taxa-label{
    overflow: hidden;
    white-space: nowrap;
    background-image: url("/res/label_texture.webp");
    background-size:cover;
    padding: 0.1px;
    padding-left: 1px;
    padding-right: 1px;
    top: 10px;
    font-size: 1px;
    font-style: normal;
    position: absolute;
    z-index: 3;
    cursor: pointer;
    font-family: 'Charm', cursive;

}
.clade{
    position: absolute;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 300px;
    height: 300px;
}

.icon{
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    object-fit: cover;
    width: 300px;
    height: 300px;
    border-width: 15px;
    border-style: solid;
    border-color: green;
    z-index: 2;
    transition: border-color 0.15s;
    cursor: pointer;
}

.category-icon{
    position: fixed;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100px;
    height: 100px;
    z-index: 600;
}

.category-icon-image{
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    object-fit: cover;
    width: 100px;
    height: 100px;
    top: 40px;
    border-width: 5px;
    border-style: solid;
    border-color: green;
    z-index: 2;
    transition: border-color 0.15s;

}




.tree-clade{
    position: absolute;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 10px;
    height: 10px;
}

.tree-icon{
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    object-fit: cover;
    width: 10px;
    height: 10px;
    border-width: 1.2px;
    border-style: solid;
    border-color: green;
    z-index: 2;
    transition: border-color 0.15s;
    cursor: pointer;
}

.icon:hover{
    border-color: rgb(0, 180, 0);
}
.icon:active{
    border-color: green;
}

.tree-icon:hover{
    border-color: rgb(0, 180, 0);
}
.tree-icon:active{
    border-color: green;
}

/*gallery*/

#gallery-clade{
    position: fixed;
    z-index: 4;
    scale: 0.5;
    top: 2vh;
    
}



#gallery-icon{
    cursor: auto;

}

#gallery-icon:hover{
    border-color: green;
}


.gallery{
    top: 2vh;
    position: absolute;
    display: none;
    justify-content: center;
    z-index: 4;
    width: 100%;
    height: 100%;
    

}

.image-gallery{
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 80%;
    flex-wrap: wrap;
    top: 15vh;
}

.gallery-image{
    display: none;
    height: 20vh;
    cursor: pointer;
    margin: 0.5vh;

}

.shade-background{
    background-color: rgba(0, 1, 0, 0.8);
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
}

.black-background{
    background-color: rgba(0, 1, 0, 1);
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Slide*/


.slide-clade{
    position:relative;
    z-index: 4;
    scale: 0.8;
}

.taxon-clade{
    scale: 0.5;
}
.slide-icon{
    cursor: auto;
}

.slide-icon:hover{
    border-color: green;
}
.slide-view{
    position: fixed;
    display: none;
    flex-direction: column;
    justify-content: center;

    width: 100%;
    height: 100%;

    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);

    z-index: 5;
}


.taxa-list-label{
    overflow: hidden;
    white-space: nowrap;
    background-image: url("/res/label_texture.webp");
    background-size:cover;
    padding-left: 1vh;
    padding-right: 1vh;
    font-size: 2vh;
    font-style: normal;
    text-align: center;
    z-index: 3;
    cursor: pointer;
    font-family: 'Charm', cursive;
    margin: 0.2vh;
    width: 12vw;

}

.slide-arrow-container{
    justify-content: center;
    display: flex;
    width: 100%;
    height: 10vh;
}

.left-arrow-button{
    margin: 5vh;
    transform: scaleX(-1);
    width: 5vh;
    height: 5vh;
    cursor: pointer;
    bottom: 0vh;
    position: absolute;
    left: 40vw;

}

.right-arrow-button{
    margin: 5vh;
    width: 5vh;
    height: 5vh;
    cursor: pointer;
    bottom: 0vh;
    right: 40vw;
    position: absolute;

}

.large-image-view{
    position: absolute;
    top: 10vh;
    object-fit: scale-down;
    height: 77vh;
}

.species-panel{
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 15vw;
    height: 75vh;
    top: 10vh;
    right: 1vw;
    border-width: 1vh;
    border-style: solid;
    border-color: green;
    background: black;
    align-items: center;
    flex-wrap: wrap;

}

.threat_icon{
    margin-top: 2vh;
    width: 12vw;
}

.wiki-link{
    margin: 1vw;
    margin-top: 1vh;
    height: 3vw;
    width: 3vw;
    cursor: pointer;

}

.inat-link{
    margin: 1vw;
    margin-top: 3vh;
    height: 1vw;
    width: 1vw;
    cursor: pointer;
}


.taxonomy-panel{
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 15vw;
    height: 75vh;
    top: 10vh;
    left: 1vw;
    border-width: 1vh;
    border-style: solid;
    border-color: green;
    background: black;
    align-items: center;
    justify-content: center;
}

/*gallery-Page*/

.gallery-page-container{
    position: relative;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    width: 80%;
    top: 10vh;
    place-items: center;
    justify-content: center;
    align-items: center;

}

.gallery-page-picker{
    display: flexbox;
    position: relative;
    width: 12vw;
    justify-content: center;
    align-items: center;
    
}

.gallery-page-photo{
    position: relative;
    object-fit: scale-down;
    width: 12vw;
    margin-top: 12%;
    cursor: pointer;
}

.gallery-page-label{
    color: white;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.1vh;
    padding-left: 1vh;
    padding-right: 1vh;
    font-size: 2.2vh;
    font-style: normal;
    position: relative;
    z-index: 3;
    cursor: pointer;
    font-family: 'Calibri';
    margin: 1%;
    
    
}

.socials{
    position: fixed;
    right: 5vw;
    top: 1vh;
    z-index: 500;
}

.insta-button{
    content: url('res/instagram.svg');
    cursor: pointer;
    width: 3vh;
    height: 3vh;
    margin: 1vh;
    filter: invert(100%) sepia(0%) saturate(0%) brightness(100%) contrast(100%);

}

.insta-button:hover{
    filter: invert(55%) sepia(100%) saturate(1000%) hue-rotate(90deg) brightness(100%) contrast(90%);

}

.linkedin-button{
    content: url('res/linkedin.svg');
    cursor: pointer;
    width: 3vh;
    height: 3vh;
    margin: 1vh;
    filter: invert(100%) sepia(0%) saturate(0%) brightness(100%) contrast(100%);

}

.linkedin-button:hover{
    filter: invert(55%) sepia(100%) saturate(1000%) hue-rotate(90deg) brightness(100%) contrast(90%);

}

.github-button{
    content: url('res/github.svg');
    cursor: pointer;
    width: 3vh;
    height: 3vh;
    margin: 1vh;
    filter: invert(100%) sepia(0%) saturate(0%) brightness(100%) contrast(100%);

}

.github-button:hover{
    filter: invert(55%) sepia(100%) saturate(1000%) hue-rotate(90deg) brightness(100%) contrast(90%);

}


@media only screen and (orientation:portrait){

    .gallery-image{
    display: none;
    height: 10vh;
    cursor: pointer;
    margin: 0.5vh;
    }
    #slide-clade{
        position: fixed;
        z-index: 4;
        scale: 0.5;
        right: auto;
        top: 1vh;
    }


}