@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=EB+Garamond:ital,wght@0,400..700;1,400..700&display=swap');

:root {
/* Mobile Sizes (Larger for readability) */
	--big-text: 1.3rem;
	--big-text-td: 3rem;
	--standard-text: 1.2rem;
	
	/*--font-heading: 'Cinzel', 'Trajan Pro', 'Baskerville', serif;*/
	--font-heading: 'EB Garamond', 'Georgia', 'Garamond', serif;
	--font-body: 'EB Garamond', 'Georgia', 'Garamond', serif;
}

* {
    /*font-family: "Comic Sans MS", fantasy;*/
    font-family: var( --font-body );
    background-color: black;
    color: gray;
    font-size: var(--standard-text);
    
}

#title {
    font-weight: bold;
    font-family: var( --font-heading );
    font-size:var(--big-text);    
}

.location_heading {
    font-weight: bold;
    font-family: var( --font-heading );
}

a.verb {
    color: lightgreen;
    text-decoration: none;
    font-size:var(--big-text);
    white-space: nowrap;
    cursor: pointer;
/*    padding: var(--big-text-padding);*/
/*    margin: var(--big-text-padding); */
    margin: 1rem;
}

a.entity {
    color: lightgreen;
    cursor: pointer;
}

/* key messages related to the player's progress */
.progress {
    color: gold;
}

.hostile {
    color: red !important;
}

.party {
    color: royalblue !important;
}

.path {
    color: lightgreen;
    cursor: pointer;
    margin-bottom: 0.5rem;
}
.path:hover {
    text-decoration: underline;
}

.cmd {
    /*border: 1px solid purple;*/
    font-weight: bold;
    color: lightcyan;
}

.tags {
    font-weight: bold;
}

.keyword {
    /*text-decoration: dotted purple underline;*/
    color: darkgray;
    /*text-decoration: underline dashed;*/
    /*color: */
    /*font-style: italic;*/
}

/* contains both the image and the textx */
.container {
    display: flex;
    flex-direction: column; /* Mobile first: Stacked vertically */
    align-items: left;
    gap: 20px;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    font-family: sans-serif;
    float: left;
}
/* text that appears next to or under the image */
.content {
    flex: 1; /* Allows text to take up remaining space on desktop */
    font-size: var(--standard-text);
}

.btn {
  border: 0;
  line-height: 1.5;
  padding-left: 15px;
  padding-right: 20px;
  font-size: var(--big-text);
  text-align: center;
  color: white;
  text-shadow: 1px 1px 1px black;
  border-radius: 7px;
  background-color: lightgreen;
  background-image: linear-gradient(
    to top left,
    rgb(0 0 0 / 0.2),
    rgb(0 0 0 / 0.2) 30%,
    transparent
  );
  box-shadow:
    inset 2px 2px 3px rgb(255 255 255 / 0.6),
    inset -2px -2px 3px rgb(0 0 0 / 0.6);
}

.btn:hover {
  background-color: green;
}

.btn:active {
  box-shadow:
    inset -2px -2px 3px rgb(255 255 255 / 0.6),
    inset 2px 2px 3px rgb(0 0 0 / 0.6);
}

.table_left {
    color: darkslategray;
    /*border-right: 1px solid gray;*/
    width: 6em;
    padding-bottom: 8px;
}

.table_right {
    min-width: 6em;
    padding-bottom: 8px;
    /*height: 3rem;*/
    /*padding-left: 8px;*/
    /*border: 1px solid blue;*/
}

.table_nopadding {
    padding-bottom: 0px;
}

.description {
    min-width: 12em;
}

.numfield {
    width: 2em;
    /*background: yellow;*/
    text-align: right;
    display: inline-block;
}


table { 
    border-spacing: 0px;
    border-collapse: separate;
    /*width: 100%;*/
}

td, th { /* table cells */
    padding: 0px;
}

img.entity_image {
    width: 300px;
/*    width: 25rem; */
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 10px;
    border-radius: 10px;
}

img.combat_icon {
    border-radius: 50%;
    width: 50px;
    vertical-align: middle;
    margin-bottom: 3px;
    display: inline-block;
}

.ministatus {
    white-space: nowrap;
    padding-left: 5px;
    /*display:inline-block;*/
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

#menu {
    top:0px; right: 0px;
    margin-right: 2em;
    margin-top: 6px;
/*    position: absolute;  */
    color: darkslategray;
}
    .menuitem {
        color: darkslategray;
    }
    .menuitem:hover {
        color: blue;
        cursor: pointer;
    }

#work {
    margin-left: 1em;
    padding-left: 1em;
    margin-bottom: 6px;
    border-left: 6px solid  darkslategray;
}

#player_info {
    border-top: 1px solid  darkslategray;
    padding-top: 1em;
}

#entity_choices {
    /*border-left: 6px solid  darkslategray;*/
    padding-left: 2em;
    border-top: 1px solid  darkslategray;
    padding-top: 1em;
}

#main {
    margin-bottom: 15px;
}

#cmd {
     margin-bottom: 15px; 
     margin-top: 15px;
     min-width: 600px;
     width: 100%;
}

#expl {
    display: none;
}

#debug {
     margin-bottom: 15px; 
     margin-top: 15px;
}


@media (min-width: 1000px) {
    :root {
	--big-text: 1.3rem;
	--standard-text: 1rem;
    }
    .container {
        flex-direction: row; /* Switch to horizontal */
        align-items: flex-start; /* Align text to top of image */
    }
}
