header {z-index: 2}
body {z-index: 1}
footer {z-index: 2}
main {flex: 1;}

body {
    height: 100%;
}

/* =========== MEDIA STYLE CHANGE =========== */

/* When at 900px in width adjust the html to have left and right margins. */
@media screen and (min-width: 901px) {html {margin-inline: 20%;}}

html {
    height: 100%;
    color: #797979; /* Main Font Color */
    background-color: #767676; /* HTML BORDER BG COLOR */
}

/* =========== FONTS =========== */


.museomoderno-database {
  font-family: "MuseoModerno", sans-serif;
  font-size: xx-large;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  opacity: 50%;
}

.museomoderno-welcome {
  font-family: "MuseoModerno", sans-serif;
  font-size: x-large;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  margin-bottom: 0;
}

.museomoderno-direction {
  font-family: "MuseoModerno", sans-serif;
  font-size: medium;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  margin-top: 0;
}

html {font-family: 'Times New Roman', Times, serif;}
#context {font-family: 'Courier New', Courier, monospace;}
form input, form select, form button {
  font-family: "MuseoModerno", sans-serif;
  font-size: small;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;

}

/* =========== HEADER =========== */

header {
    background-color: #FFFFFF; /* HEADER BG COLOR */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom-right-radius: 60px;

    padding-block: 5px;
    padding-left: 20px;
    padding-right: 40px;

}

header img {
    height: auto;
    width: 70px;
}

/* =========== BODY =========== */

body {
    flex-direction: column;
    display: flex;
    margin: 0;
    background-color: #D9D9D9; /* HEADER BOT-RIGHT-CORNER COLOR */
}

main {
    padding-inline: 3%;
    background-color: #D9D9D9; /* BODY BG COLOR */
}

#input-header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

/* FORM */
form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
}
form input, form select, form button {
    border-radius: 3px;
    border-style: none;
}
form input {
    height: 26px;
    padding-inline: 5px;
}
form select {padding-inline: 5px;}


/* CONTEXT */
#context {
    background-color: #e1e1e1;
    border-radius: 7px;
    padding: 3%;
    margin-top: 70px;
    margin-bottom: 7px;
    color: rgb(81, 81, 81);
}
#context:has(p.content:empty) { /* If id=content is empty then: Set BG_Color of id=context to #D9D9D9 */
    background-color: #D9D9D9;
}
.title, .author {font-weight: 900;}
.title {
    margin-bottom: 0;
}
.author {
    margin-top: 0;
    margin-bottom: 30px;
}
.content {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    margin-top: 0;
    line-height: 1.3;
    border-radius: 7px;
}

/* =========== FOOTER =========== */

footer {
    background-color: #626262; /* FOOTER BG COLOR */
    color: rgba(255, 255, 255, 0.377);

    font-family: 'Times New Roman', Times, serif;
    font-size: small;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

footer p {
    align-self: center;
    justify-self: center;
    margin-block: 10px;
}







