html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
}

/* Global Classes */
.room-title {
    color: white;
    font-size: 52px;
    position: absolute;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-img {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;

    z-index: -100;
}

.invisible-action-btn {
    position: absolute;
    border: 0px red solid;
}

.toggle-hitboxes-btn {
    position: absolute;

    background-color: white;
    opacity: 50%;
    border: none;
    border-radius: 10px;

    color: black;
    font-size: 15px;

    padding: 0.5%;
    margin-left: 0.5%;
    margin-top: 0.5%;

    cursor: pointer;

    transition: background-color 0.125s
}

.toggle-hitboxes-btn:hover {
    background-color: rgb(220, 220, 220)
}

.toggle-hitboxes-btn:active {
    background-color: rgb(150, 150, 150)
}

.info-div {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;

    width: 10%;
}

.info-div-background {
    background-color: saddlebrown;
    opacity: 20%;

    position: absolute;

    height: 100%;
    width: 100%;
}

.info-title {
    flex: 1;
    color: white;
    font-size: 40px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-subtitle {
    flex: 1;
    color: white;
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-div {
    flex: 6;

    display: flex;
    flex-direction: column;
}

.stat-text {
    flex: 1;
    text-shadow: 2px 0 white, -2px 0 white, 0 2px white, 0 -2px white, 1px 1px white, -1px 1px white, -1px -1px white, 1px -1px white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inventory-div {
    flex: 11;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
}

.inventory-item {
    background-color: black;
    width: 50%;
    margin-left: 25%;
    aspect-ratio: 1;

    border: 2px white solid;

    display: flex;
    flex-direction: column;

    text-decoration: none;

    z-index: 50;
    opacity: 50%;
}

.inventory-item-text {
    flex: 1;

    font-size: 24px;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
}

/* Interactives */

.Chest-Img {
    width: 10%;
    position: absolute;
}

.key-img {
    width: 2%;
    position: absolute;
}

.lock-img {
    width: 3%;
    position: absolute;
}

.portal {
    position: absolute;
    height: 60%;

    margin-top: 7%;
    margin-left: 27%;
}

/* PvE */
.Spider-Img {
    width: 20%;
    position: absolute;
}

.Troll-Img {
    height: 90%;
    position: absolute;
    margin-left: 32%;
    margin-top: 5%;
}

.Goblin-Img {
    height: 40%;
    position: absolute;
}

.Golem-Img {
    position: absolute;
    height: 85%;
}

.Skeleton-Img {
    position: absolute;
    height: 60%;
}

.Wraith-King-Img {
    position: absolute;
    height: 70%;
}

.enemy-stats-container {
    border: 1px white solid;
    position: absolute;

    display: flex;
    flex-direction: column;

    padding: 2%;
}

.enemy-stat-text {
    flex: 1;
    margin: 0;
    
    color: white;
    font-size: 24px;
}