/* css file for all pages in the animals folder */

/* Regions page */
#regions .card-img-top{
    width: 100%;
    height: 30vh;
    object-fit: cover;
}

#regions .card:hover{
    color: white;
}

.card.savanna:hover{
    background-color: #E4A11B; !important
}

.card.jungle:hover{
    background-color: #14A44D; !important
}

.card.mountains:hover{
    background-color: #9FA6B2; !important
}

.card.tundra:hover{
    background-color: #54B4D3; !important
}


/* Other pages */
.region-home-button{
    font-size: 26px;
}

/*Sets styling for iframe (video on region) */
iframe{
    width: 70vw;
    aspect-ratio: 16/9;
}


/* Sets styling for animal encyclopedia */
.animals h4{
    font-size: 28px;
}

.animals img{
    width: 100%;
    height: 45vh;
    object-fit: cover;
}

.animal-info h6{
    font-size: 18px;
    line-height: 1.5;
}

/* Sets text colour depending on animal's conservation status */
.least-concern{
    color: green;
}

.near-threatened{
    color: #FFEE00
}

.vulnerable{
    color: orange;
}

.endangered{
    color: red;
}

.critically-endangered{
    color: #c80000
    font-weight: bold;
}