@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

:root {
  --text-color: #e5ddd6;
  --link-color: #7f7569;
  --bg-color: #453930;
  --mainbg-color: #342c27;
  --border-color: black;
  --accent-color: #cbc0b6;
}

body {
  background: var(--bg-color);
  background-attachment: fixed;
  color: var(--text-color);
  max-width: 800px;
  margin: 50px auto;
  padding: 5px;
  font-family: "Caveat", cursive;
  font-size: 1.2rem;
  scrollbar-color: var(--bg-color) var(--mainbg-color);
  scrollbar-width: thin;
  z-index: 1;
  position: relative;
}
.container {
  position: fixed;
  width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

::selection {
  background: var(--accent-color);
}

a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-shadow: 1px 1px 10px var(--link-color);
  letter-spacing: 2px;
}

hr {
  border: none;
  border-bottom: 1px dotted var(--border-color);
  margin: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  font-family: times new roman;
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: 1px;
}
h1 {
  text-shadow: 1px 1px 5px var(--link-color);
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgb(74, 70, 65) 25%,
    rgb(74, 70, 65) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  padding: 3px;
  text-transform: uppercase;
}
h2 {
  text-shadow: 1px 1px 5px var(--link-color);
}
h3 {
  border-bottom: 1px solid;
  margin-right: 15px;
}

header,
nav,
main,
footer {
  border: 1px solid var(--border-color);
  padding: 5px 20px;
  background: var(--mainbg-color);
}

header {
  border-bottom: 1px solid black;
  height: 240px;
  position: relative;
}
header h1 {
  margin: 15px;
  font-family: times new roman;
  font-size: 2.5rem;
  font-style: italic;
  text-align: right;
  vertical-align: text-bottom;
  background: none;
  text-transform: none;
}

footer {
  text-shadow: 1px 1px 10px var(--link-color);
  background: none;
  border: none;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 10px;
  text-align: center;
  margin-top: 10px;
}

nav {
  padding: 0;
  border: none;
  display: wrap;
  width: 200px;
  border-right: 1px solid var(--border-color);
  height: auto;
  position: relative;
}
nav li,
nav ul {
  padding: 2px;
  margin: 0;
  list-style-type: none;
}
nav a {
  color: var(--link-color);
  letter-spacing: 1px;
  text-shadow: 1px 1px 10px var(--link-color);
  font-family: times new roman;
  font-size: 1.2rem;
  font-style: italic;
  padding: 0 10px;
  font-weight: normal;
}
nav li:hover {
  background: var(--accent-color);
}
nav h1 {
  padding: 3px 10px;
  margin: 0;
  background: var(--bg-color);
  color: var(--mainbg-color);
  text-shadow: 1px 1px 1px var(--border-color);
  text-transform: uppercase;
  text-align: left;
}

main {
  text-align: left;
  border-top: none;  
  display: flex;
  padding: 0;
  position: relative;
}

#left {
  width: 200px;
  position: relative;
  top: 750px;
  left: -270px;
  border: 1px solid var(--border-color);
  padding: 5px 20px;
  background: var(--mainbg-color);
}

#right {
  width: 200px;
  position: relative;
  top: -825px;
  right: -825px;
  border: 1px solid var(--border-color);
  padding: 5px 20px;
  background: var(--mainbg-color);
}

.fidelity {
  height: 500px;
  overflow: auto;
  width: 95%;
  margin: 15px;
}
.fidelity img {
  float: right;
}

#mainheader {
  position: sticky;
  top: 0;
}

marquee {
  width: 780px;
  position: absolute;
  bottom: 0;
  right: 10px;
}

.intro {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: medium;
}

#house {
  z-index: 2;
  position: absolute;
  width: 400px;
  top: -50px;
  left: -235px;
}

#contents {
  z-index: 2;
  position: absolute;
  width: 225px;
  bottom: -20px;
  left: -50px;
}

#frame {
  z-index: 2;
  position: absolute;
  width: 300px;
  bottom: -10px;
  right: -300px;
}