:root {
	--text-color: rgb(255, 252, 251);
	--border-color: 3px solid rgb(253, 249, 249);	
  --body-textshadow: 1px 1px 5px rgb(250, 250, 250);
  --link-color: #f63500;
  --link-visitedcolor: #ffffff; 
  --hover-fontsize: 20px;
  --hover-textcolor: #f63500;
  --hover-textshadow: 2px 2px 2px #010101;
  --footer-fontsize: 15px;
}

html, body {
  height: 100%;
  background-image: url(../images/backgrounds/pinetrees_bw.gif);
  background-size: cover;
}

html, body, * {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scrollbar-color: rgb(0, 0, 0) rgb(250, 249, 250);
  cursor: url(../images/favicons-pixels/fishingrod.gif), auto;
}

body { 
  display: grid;
  place-items: center;
	font-family: var(--bodyfont), serif; 
	color: var(--text-color);
  background-size: cover;
  background-repeat: no-repeat;
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
}

img {
  max-width: 100%;
  height: auto;
}

.grid-container {
  display: grid;
  max-width: 100%;
  grid-template:
    ". main nav"
    ". main nav"
      /50px 1fr 70px;
  width: 580px;
  height: 400px;
}

main {
  grid-area: main;
  border: var(--border-color);
  box-shadow: 0px 3px 3px white;
  background-color: black;
}

.main-content > p {
  margin: 0 8px 0px 8px; 
  min-height: 150px;
  line-height: 1.6rem;
  letter-spacing: 1px;
  padding-top: 10px;
}

.main-content > p {
  padding-left: 5px;
}

.main-content a:hover {
  font-size: 18px;
  filter: drop-shadow(1px 1px 1px #f63500) brightness(105%);
}

.main-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

footer a:hover {
  font-size: 15px;
  transform: scale(1.1);
  filter: drop-shadow(1px 1px 1px #f63500) brightness(105%);
}

.my-button {
  justify-self: stretch;
  text-align: center;
  font-size: 14px;
  line-height: 2rem;
  margin-bottom: 1rem;
  margin-top: -2rem;
}

nav {
  grid-area: nav;
  filter: drop-shadow(0 1px 1px  rgb(215, 215, 215));
  overflow-y: hidden;
}

ul {
  display: flex;
  flex-direction: column;
  align-content: space-evenly;
  padding: 0;
  margin-left: 0;
  list-style: none;
  overflow-y: hidden;
}

li {
  align-content: stretch;
  width: 63px;
}

ul > li > a img {
  margin-left: 0;
  z-index: 0;
}

h1 {
  color: #f63500;
  display: flex;
  justify-content: center;
}

h2 {
  display: flex;
  justify-content: center;
}

a p, a p img, .main-content a {
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

footer {
  display: grid;
  grid-template-columns: 
    repeat(auto-fit, minmax(70px, 70px));
  justify-content: space-evenly;
  font-size: var(--footer-fontsize);
  text-align: center;
  align-items: center;
  padding: 1rem;
  border: 3px whitesmoke dashed;
  border-radius: 10px;
  margin: 0 2rem 1rem 2rem;
}

footer img, footer a {
  display: block;
  object-fit: cover;
}

footer a img:hover {
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

textarea {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  max-width:70%;
  line-height: 1.5;
  font-size: 0.6rem;
  letter-spacing: 1px;
}

a:link {
  color: var(--link-color);
}

a:visited {
  color: var(--link-visitedcolor);
}

/* animation and text hover stuff */
.rotate-right:hover img {
  transition-duration: 0.4s;
  rotate: 6deg;
}

.rotate-left:hover img {
  transition-duration: 0.4s;
  rotate: -6deg;
}

.horror-shrine span {
  opacity: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-size: var(--hover-fontsize);
  /* hides image scrollbar */
  line-height: 1.3rem;
  overflow: hidden;
  color: var(--hover-textcolor);
  text-shadow: var(--hover-textshadow);
  text-align: center;
  text-transform: uppercase;
}

.horror-shrine:hover span,
.horror-shrine:focus span {
  opacity: 1;
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;

}

.library span {
  opacity: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-size: var(--hover-fontsize);
  /* hides image scrollbar */
  overflow: hidden;
  line-height: 1.4rem;
  color: var(--hover-textcolor);
  text-shadow: var(--hover-textshadow);
  text-align: center;
  text-transform: uppercase;
}

.library:hover span,
.library:focus span {
  opacity: 1;
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

.music span {
  opacity: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-size: var(--hover-fontsize);
  /* hides image scrollbar */
  line-height: 1.3rem;
  overflow: hidden;
  color: var(--hover-textcolor);
  text-shadow: var(--hover-textshadow);
  text-align: center;
  text-transform: uppercase;
}

.music:hover span,
.music:focus span {
  opacity: 1;
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

.movies-and-tv span {
  opacity: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-size: var(--hover-fontsize);
  /* hides image scrollbar */
  line-height: 1.4rem;
  overflow: hidden;
  color: var(--hover-textcolor);
  text-shadow: var(--hover-textshadow);
  text-align: center;
  text-transform: uppercase;
}

.movies-and-tv:hover span,
.movies-and-tv:focus span {
  opacity: 1;
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

.video-games span {
  opacity: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-size: var(--hover-fontsize);
  /* hides image scrollbar */
  line-height: 1.3rem;
  overflow: hidden;
  color: var(--hover-textcolor);
  text-shadow: var(--hover-textshadow);
  text-align: center;
  text-transform: uppercase;
}

.video-games:hover span,
.video-games:focus span {
  opacity: 1;
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}

.grad-school span {
  opacity: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-size: var(--hover-fontsize);
  /* hides image scrollbar */
  line-height: 1.3rem;
  overflow: hidden;
  color: var(--hover-textcolor);
  text-shadow: var(--hover-textshadow);
  text-align: center;
  text-transform: uppercase;
}

.grad-school:hover span,
.grad-school:focus span {
  opacity: 1;
  cursor: url(../images/favicons-pixels/googlyeyes.gif), auto;
}


.pulsing-drop-shadow {
  animation: pulse-drop-glow 1.7s infinite alternate;
}

@keyframes pulse-drop-glow {
  from {
    filter: drop-shadow(0 0 2px #fdfdfd);
  }
  to {
    filter: drop-shadow(0 0 4px #ffffff);
  }
}



/* styles for viewports wider than 768px and narrower than 1024pxpx */
@media only screen and (768px <= width <=1024px) {
  body {
    overflow-x: auto !important;
    background-position: 3%;
  } 
  
  .grid-container {
    grid-area: 
      "nav"
      "main"
        /1fr;
    width: 700px;
    height: 520px;
  }
}

/* styles for viewports wider than 430px and narrower than 769 px */
@media only screen and (430px <= width <=768px) {
  body {
    overflow-x: auto !important;
    background-position: 3%;
  }
  .grid-container {
    grid-area: 
      "nav"
      "main"
        /1fr;
    width: 550px;
    height: 500px;
  }
}

/* styles for viewports wider than 0px and narrower than 330px */
@media only screen and (0px <= width <=330px) {
  body {
    overflow-x: auto !important;
    background-position: 3%;
  } 
  
  .grid-container {
    grid-area: 
      "nav"
      "main"
        /1fr;
    width: 300px;
    height: 450px;
  }
}

/*styles for viewports wider than 330px and narrower than 430px */
@media only screen and (330px <= width <=430px) {
  body {
    overflow-x: auto !important;
    background-position: 3%;
  } 
  
  .grid-container {
    grid-area: 
      "nav"
      "main"
        /1fr;
    width: 350px;
    height: 600px;
  }
}

