/*building. im not really sure what i am doing yet. */

body {
	background: #FDFDFD;
}

	
a:link {

  text-decoration: none;
  font-size: 30px;
  font-family: "Yomogi", cursive;
  font-weight: 400;
  font-style: bold;
  color: black;
}

a:visited {
  color: blue;
}

a:hover {
  color: #FDFDFD;
  background-color: blue;
}

a:active {
  color: #000;
}



ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #FDFDFD;
}

ul li {
  float: right;
}

ul li a {
  display: block;
  color: black;
  text-align: center;
  padding: 5px 10px;
  margin: 10px;
  text-decoration: none;
}

ul li a:hover {
  background-color: blue;
}



#hello {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
		padding-bottom: 200px;
}

#bebechi {
	width: 120px;
	height: 120px;
	background-color: #FDFDFD;
        position: absolute;
        top: 25px;
        left: 25px;
        display: inline-block;

	
}

    #bebechi .img-top {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99;
    }
    #bebechi:hover .img-top {
        display: inline;
		        top: 0;
        left: 0;
    }

h1 { 
	font-family: "Rock 3D", system-ui;
	font-weight: 400;
	font-size: 100px;
	font-style: normal;
	color: blue;
}

p { 
  font-family: "Yomogi", cursive;
  font-weight: 400;
  font-size: 30px;
  font-style: normal;
  color: black;
}

.rock-3d-regular {
  font-family: "Rock 3D", system-ui;
  font-weight: 400;
  font-style: normal;
}
.yomogi-regular {
  font-family: "Yomogi", cursive;
  font-weight: 400;
  font-style: normal;
}


.list {
	margin-left: auto;
	margin-right: auto;
	padding: 15px 15px;
	padding-bottom: 200px;
}

h3 {
	font-family: "Yomogi", cursive;
	font-weight: 400;
	font-size: 28px;
	font-style: normal;
	color: black;
	text-decoration: underline blue 0.5px;
	text-underline-offset: 10px;

}

.photopile { 
  display: flex; 
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}
.photopile figure { 
  display: inline-block;
  background: white;
  box-shadow: 1px 4px 5px rgba(0,0,0,0.55);
  transform: rotate(2deg);
  margin: 0 -25px;
}
.photopile figure img {
  max-width: calc(100% - 2rem);
  margin: 1rem 1rem 0 1rem;
  border: 2px rgb(0,0,0,0.55) inset;
}
.photopile figcaption, .popovers figcaption {
  font-family: /* set this to have it match the rest of the page */;
  text-align: center;
  margin: 0.5rem 1rem 1rem 1rem;
  font-size: 1rem;
  color: black;
}
.photopile button { 
  background: none; 
  border: none;
  max-width: 40%;
}
.photopile button:hover, .photopile button:focus { 
  z-index: 3;
  cursor:pointer;
}
.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;
  box-shadow: 1px 4px 5px rgba(0,0,0,0.55);
  position: fixed;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%,-50%);
}
.popovers figure:popover-open {
  display: block;
  background: white;
  width: 88vmin;
}
.popovers figure:popover-open figcaption {
  margin: 2.5vmin 1rem 4vmin 1rem;
  font-size: 175%;
  color: black;
}
.popovers figure:popover-open img {
  margin: 4vmin 4vmin 0 4vmin;
  width: 80vmin;
  border: 4px rgb(0,0,0,0.55) inset;
}