/* 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." */

body {
  margin-top: 100px;
  background-color: #03091f;
  color: white;
  font-family: cursive, "Brush Script MT";
}

.page-titles {
  color: darkOrchid;
  font-family: "Brush Script MT",cursive;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  width: 99%;
  border: 3px dashed #FFA208;
  border-radius: 20px;
  text-align: center;
  background-color: black;
  z-index: 1000;
}

/* This code exists just to test scrolling. */
.divider {
  height: 3000px;
  width: 100%;
}

.right-aligned {
  text-align:right; 
  margin-right:30px;
  left:70%;
}

.held-container {
  width: 500px;
  height: 550px;
  margin-top: 40px;
  position:relative;
  display: block;
  margin-left: auto;
}

.held-container img{
  width: 100%;
  height:100%;
}

.squared {
  width: 600px;
  height: 500px;
}

.choked {
  position: absolute;
  z-index:1;
  left:0;
  top:0;
  opacity:0;
}

.rounded {
  border-radius:20px;
}

.shaken-gently:hover {
  animation: shake 1s;
  animation-iteration-count: infinite;
}

.choked:hover {
  opacity:1;
  animation:choke 0.2s;
  animation-iteration-count: infinite;
}

.choked:hover + .topper {
  opacity:0;
  z-index: -1;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); } 
}

@keyframes choke {
  0% { transform: translate(10px, 1px) rotate(0deg); }
  20% { transform: translate(-30px, 0px) rotate(2deg); }
  40% { transform: translate(10px, -1px) rotate(4deg); }
  60% { transform: translate(-30px, 1px) rotate(1deg); }
  80% { transform: translate(-10px, -1px) rotate(-1deg); }
  100% { transform: translate(10px, -2px) rotate(-3deg); }
}
