/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
:root {
  --text-color: #70d7ff;
  --link-color: #8fe0ff;
  --bg-color: #d5f2fe;
  --mainbg-color: #fff;
  --border-color: #4ccdff;
  --accent-color: #effaff;
  --colorShadow: #4ccdff;
}

body {
  background: var(--bg-color);
  background-image: none;
  background-attachment: fixed;
  color: var(--text-color);
  max-width: 800px;
  margin: 60px auto;
  padding: 0px;
  font-family: verdana;
  font-size: 0.8rem;
  scrollbar-color: var(--bg-color) var(--mainbg-color);
  scrollbar-width: thin;
}
.container {
  position: fixed;
  width: 100%;
  min-height: 100%;
  left: 0;
  top: 0;
  background-image: none;
  background-size: 100% 200%;
  background-position: top;
  opacity: 0.25;
  filter: saturate(2);
  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;
}
p1 {
  color: var(--link-color);
  text-decoration: none;
  font-family: times new roman;
  font-size: 1.2rem;
  font-style: italic;
  text-shadow: 1px 1px 10px var(--link-color);
}
p1:hover {
  letter-spacing: 2px;
}
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%,
    rgba(239, 250, 255, 1) 25%,
    rgba(239, 250, 255, 1) 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 dotted;
  height: 240px;
  background-image: url("https://m.media-amazon.com/images/I/91Jz43uzx9L._AC_SL1500_.jpg");
  background-position: top;
  background-size: 800px 1020px;
  background-repeat: no-repeat;
  opacity: 0.8;
    filter: saturate(1);

}
header h1 {
  margin-top: -42px;
  margin-right: -20px;
  font-family: "Major Mono Display", monospace; 
  font-size: 1.6rem;
  font-style: italic;
  text-align: right;
  vertical-align: text-bottom;
  background: none;
  text-transform: none;
  color: white;
  text-shadow: 2px 2px 3px var(--colorShadow);
}

footer {
  text-shadow: 1px 1px 10px var(--link-color);
  background: none;
  border: none;
  font-style: italic;
  text-align: center;
  margin-top: 18px;
}

nav {
  padding: 0;
  border: none;
  flex-display: wrap;
  width: 28%;
  border-right: 1px solid var(--border-color);
  height: auto;
}
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: 1rem;
  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: 1px solid;
  display: flex;
  padding: 0;
  margin-top: 5px;
  box-shadow: 1em 1em var(--colorShadow); 
}

section {
  height: 500px;
  overflow: auto;
  width: 100%;
  margin: 15px;
  
}

@media screen and (max-aspect-ratio: 16/9) {
  body {
    margin: auto;
    padding:15px;
  }
  header {
    height: 100px;
  }
  main {
    display: block;
  }

  nav {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid var(--border-color);
  }

  nav ul {
    display: flex;
    list-style-type: none;
  }

  section {
    width: 95%;
    height:auto;
    padding:15px;
    margin:15px auto;

  }
}
