*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.game {
    display: grid;
    grid-template-columns: 0.75fr 0.25fr;
    grid-template-rows: 4ch 1.00fr 1.00fr 4ch;
    grid-template-areas: 
        "world map"
        "main map"
        "main inventory"
        "input inventory";
    height: 100vh;
    background-color: black;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.50;
    overflow: hidden;
}

.game__world,
.game__main,
.game__map,
.game__inventory {
    padding-inline: 0.50em;
    padding-block: 0.50em;
}

.game__world {
    display: flex;
    justify-content: center;
    gap: 1.00em;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
}

.game__main {
    grid-area: main;
    border-right: 1px solid white;
    overflow-y: scroll;
}

.game__map {
    grid-area: map;
    border-bottom: 1px solid white;
}

.current-location {
    display: block;
    text-align: center;
}

.location-exits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas: 
        "north-west north north-east"
        "west center east"
        "south-west south south-east";
    width: 100%;
    height: 100%;
    list-style: none;
}

.location-exits > * {
    display: flex;
    justify-content: center;
    align-items: center;
    word-break: break-all;
    cursor: pointer;
}

.game__input {
    grid-area: input;
}

.game__input input {
    width: 100%;
    height: 100%;
    border: 1px solid white;
    background-color: black;
    color: white;
    font-size: 1.00rem;
    font-family: Arial, Helvetica, sans-serif;
}

.message {
    padding-bottom: 0.25em;
    margin-bottom: 0.25em;
    border-bottom: 1px solid hsl(0 0% 100% / 25%);
}

.message > p {
    margin-bottom: 0.50em;
}

.button {
    padding-inline: 0.50em;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.icon {
    display: inline-block;
    width: 1.00em;
    height: 1.00em;
}
