
		body {
			font-family: "National Park";
			background: #E9E3C6;
		  background-image: url('https://bog-body.neocities.org/bears/brooksfalls.jpg');
      background-size: cover;
      background-attachment: fixed; 
      background-size: 100% 100%;
       color: white;
       cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
		}
		
    h1 {
    display: block;
    font-family: Rockwell;
    text-align: center;
    font-size: 7vh;
    margin: 0;
    padding: 5px;
    top: 2vh;
  }
  
  a{
    color:inherit;
}

/*back button*/
.home{
  display: block;
  position: absolute;
  top: 4.5vw;
  right: 4%;
  transform: translate(-50%, -40%);
  width: 3vw;
}
.home span {
			opacity: 0;
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			font-size: calc(1.5rem);
			color: #D46A6A;
			line-height: 1;
			filter: drop-shadow(1px 1px 0 white)
				drop-shadow(-1px 1px 0 white) 
				drop-shadow(1px -1px 0 white) 
				drop-shadow(-1px -1px 0 white);
			text-transform: uppercase;
			z-index: 99;
			width: fit-content;
			height: fit-content;
			display: inline-block;
			position: absolute;
		}
.home:hover img {
			 transform: rotate(20deg);
			 cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
		}
.home:hover span {
			opacity: 1;
		  cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
    }

/*content*/  
.info{
    width:20vw;
    height: 100vh;
     position: absolute;
     bottom: 0px;
    left: 3vw;
    background-color: rgba(106, 132, 114, 0.6);
    margin: 0;
    padding: 10px;
}

		.content {
			background: #536982;
			border-radius: 5px;
		}

		.screen {
			width: 38vw;
			height: 21.4vw;
			background: #96A99A;
			border: 3px solid #D46A6A;
			margin: auto;
			margin-top: 4vh;
			position: relative;
			border-radius: 5px;
			z-index: 1;
			cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
		}

		iframe {
			border: 0;
			width: 100%;
			height: 100%;
			cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
		}
		
	.salmon{
  position: absolute;
  top: 35vh;
  left: 78vw;
  width: 13vw;
  rotate: 25deg;
  height: auto;
  margin: 0;
   transform: scaleX(-1);
}	
.salmon:hover {
    animation: wiggle 1.5s;
    cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
}

.salmonchart{
  width: 100%;
  height: auto;
}
  
.bear{
  position: absolute;
  top: 55vh;
  left: 80vw;
  width: 18vw;
  height: auto;
  margin: 0;
}	
.bear:hover {
    animation: wiggle2 1.5s;
     cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
}  

.bearchart{
  width: auto;
  height: 100%;
}
  
.photopile button { 
  background: none; 
  border: none;
  max-width: 40%;
}
.photopile button:hover, .photopile button:focus { 
  z-index: 3;
 cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;;
}
.photopile button:nth-child(2n) { 
  transform: rotate(-10deg);
}
.photopile button:nth-child(3n) {
  transform: rotate(5deg);
}
.photopile button:nth-child(4n) { 
  transform: rotate(4deg);
}
.photopile button:nth-child(5n) { 
  transform: rotate(-2deg);
}
.photopile button:nth-child(6n) {
  transform: rotate(-7deg);
}

:popover-open {
  border: none;
  position: fixed;
  top: 50vh;
  left: 30vw;
  max-height: 60vw;
  transform: translate(-35%,-40%);
}

.popovers figure:popover-open {
  display: block;
  background: white;
  width: 88vmin;
}
.popovers figure:popover-open img {
  margin: 4vmin 4vmin 0 4vmin;
  width: 80vmin;
}
.photopile figcaption, .popovers figcaption {
  text-align: center;
  margin: 0.5rem 1rem 1rem 1rem;
  font-size: 1rem;
  color: black;
}

/*bear video*/

.room{
  position: absolute;
  top: 35vh;
  left: -19vw;
  width: 5vw;
  height: auto;
  margin: 0;
}

.room span {
			opacity: 0;
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			font-size: calc(1.5rem);
			color: #D46A6A;
			line-height: 1;
			filter: drop-shadow(1px 1px 0 white)
				drop-shadow(-1px 1px 0 white) 
				drop-shadow(1px -1px 0 white) 
				drop-shadow(-1px -1px 0 white);
			text-transform: uppercase;
			z-index: 99;
		}
		.rotate, .appear {
			width: fit-content;
			height: fit-content;
			display: inline-block;
			position: absolute;
			color: transparent; background:transparent;
		}
.appear:hover, .appear:focus {
			color: transparent; background:transparent;
	cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
		}
		.rotate:hover img, .rotate:focus img {
			 animation: wiggle2 1.5s;
		cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
		}
		.rotate:hover span, .rotate:focus span, a:focus span {
			opacity: 1;
			cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
		}
		.appear img {
			opacity: 0;
		}
		.appear:hover img, .appear:hover span, a:focus img {
			opacity: 1;
	    cursor: url("https://bog-body.neocities.org/bears/cursor.png"), default;
		}

#fade {
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  -moz-opacity: 0.8;
  opacity: .80;
  filter: alpha(opacity=80);
}

#light {
  display: none;
  position: absolute;
  top: 30vh;
  left: 60vw;
  max-width: 600px;
  max-height: auto;
  margin-left: -300px;
  margin-top: -180px;
  border: 2px solid #FFF;
  background: #FFF;
  z-index: 1002;
  overflow: visible;
}

#boxclose {
  float: right;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  font-size: 31px;
  font-weight: bold;
  display: inline-block;
  line-height: 0px;
  padding: 11px 3px;
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: 1002;
  opacity: 0.9;
}

.boxclose:before {
  content: "×";
}

#fade:hover ~ #boxclose {
  display:none;
}

.test:hover ~ .test2 {
  display: none;
}

#bearvid{
  height: 80vh;
  width: auto;
}

/*animation*/
@keyframes wiggle {
    0% { transform: translate(2px, 2px) rotate(0deg) scaleX(-1);; }
    10% { transform: translate(-2px, -4px) rotate(-1deg) scaleX(-1);; }
    20% { transform: translate(-6px, 0px) rotate(1deg) scaleX(-1);; }
    30% { transform: translate(6px, 4px) rotate(0deg) scaleX(-1);; }
    40% { transform: translate(2px, -2px) rotate(1deg) scaleX(-1);; }
    50% { transform: translate(-2px, 4px) rotate(-1deg) scaleX(-1);; }
    60% { transform: translate(-6px, 2px) rotate(0deg) scaleX(-1);; }
    70% { transform: translate(4px, 2px) rotate(-1deg) scaleX(-1);; }
    80% { transform: translate(-2px, -2px) rotate(1deg) scaleX(-1);; }
    90% { transform: translate(2px, 4px) rotate(0deg) scaleX(-1);; }
    100% { transform: translate(2px, -4px) rotate(-1deg) scaleX(-1);; }
}
@keyframes wiggle2 {
    0% { transform: translate(2px, 2px) rotate(0deg); }
    10% { transform: translate(-2px, -4px) rotate(-1deg); }
    20% { transform: translate(-6px, 0px) rotate(1deg); }
    30% { transform: translate(6px, 4px) rotate(0deg); }
    40% { transform: translate(2px, -2px) rotate(1deg); }
    50% { transform: translate(-2px, 4px) rotate(-1deg); }
    60% { transform: translate(-6px, 2px) rotate(0deg); }
    70% { transform: translate(4px, 2px) rotate(-1deg); }
    80% { transform: translate(-2px, -2px) rotate(1deg); }
    90% { transform: translate(2px, 4px) rotate(0deg); }
    100% { transform: translate(2px, -4px) rotate(-1deg); }
}
