/* Hero face panel styles */


#face_and_lower_panel {
    opacity: 0.9;
    z-index: 100000;
    transition-duration: 0.3s;
}

#face_and_lower_panel:hover {
    opacity: 1;
}

#face_panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 19vw;
    height: 34vh;
    box-sizing: border-box;
    border-radius: 10% 80% 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
    background-color: rgb(221, 210, 210);

}

#face_panel::after {
    border-radius: 10% 80% 0 0;
}

/* Hero image placement */
#hero_image_place {
    width: 100%;
    height: 90%;
    overflow: visible;
    border-radius: 20px 20px 0px 0px;
    position: relative;
}

#hero_image_place img {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 130%;
    box-sizing: border-box;
    object-fit: contain;
    opacity: 1;
}

/* Hero name */
#hero_name_place {
    min-width: 50%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    background-color: rgb(255, 255, 255);
    border-radius: 10px 10px 0 0;
}

/* Hero parameters */
#hero_params {
    position: absolute;
    left: 0;
    bottom: 10%;
    width: 22%;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px;
    opacity: 0.9;
}

.hero_param {
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.hero_param_header {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px 0 0 5px;
}

.hero_param_value {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 5px 5px 0;
}

/* Hidden hero description panel */
#hidden_hero_description {
    height: 100%;
    width: 320px;
    white-space: pre-line;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    padding: 0 16px;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
    background-color: rgb(59, 62, 71);
    transition-duration: 0.4s;
    overflow: hidden;
    overflow-y: auto;
}

@media (max-width: 320px) {
    #hidden_hero_description {
        width: 100%;
    }
}

@media (min-width: 1066px) {
    #hidden_hero_description {
        width: 30%;
    }
}