/* FOR MOBILE */

@media screen and (max-width: 768px) {
 body {
  background-image: url("graphix/redbg.jpg");
  background-attachment: initial;
 }
  .sidenav {
 height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 100px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: rgba(0, 0, 0, 0.75); /* Black 75% transparent*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
}

  .sidenav a {
  font-size: 12px;
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  color: #ff23e8;
  display: block;
}

.main {
  margin-left: 110px; /* Same as the width of the sidebar */
  margin-right: 10px;
  padding: 0px 20px;
  font-family: "Comic Sans MS", cursive, sans-serif;
  font-size: 9px;
  color: white;
  border: 3px white;
  border-style: double;
  background-color: rgba(0, 0, 0, 0.75);
}

.main h1 {
  font-family: "Garamond", serif;
  font-size: 12px; 
  color: red;
}
}


 /* For desktop: */
@media only screen and (min-width: 768px) {
  
  body {
  background-image: url("graphix/redbg.jpg");
  background-attachment: fixed;
  
}
  
.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 160px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: rgba(0, 0, 0, 0.75); /* Black 75% transparent*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
}

/* The navigation menu links */
.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #ff23e8;
  display: block;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: yellow;
}

/* Style page content */
.main {
  margin-left: 190px; /* Same as the width of the sidebar */
  margin-right: 50px;
  padding: 0px 20px;
  font-family: "Comic Sans MS", cursive, sans-serif;
  font-size: 18px;
  color: white;
  border: 3px white;
  border-style: double;
  background-color: rgba(0, 0, 0, 0.75);
}

.main h1 {
  font-family: "Garamond", serif;
  font-size: 30px; 
  color: red;
}

.main p2 {
  font-size: 12px;
  color: white;
}
  
.main  a:link {
  color: white;
}

/* visited link */
.main a:visited {
  color: hotpink;
}

/* mouse over link */
.main a:hover {
  color: yellow;
}

/* selected link */
.main a:active {
  color: blue;
}

img {
  max-width: 100%;
  height: auto;
}

}
