@font-face {
  font-family: ZTBros;
  src: url(ZTBrosOskon90s-Regular.woff2) format('woff2');
}

@font-face {
  font-family: "Cedarville Cursive", cursive;
  font-weight: 400;
}


body {
  padding: 20px;
  margin-left: 25px;
  background-color: #6b492c;
  color: #e3c3d9;
  font-family: helvetica;
}

h1 {
  font-size: 70px;
  font-family: ZTBros;
}

h2 {  
  color: #eba4d4;
  font-family: ZTBros;
  font-size: 34px;
} 

h3 {
  color: #eba4d4;
}

a {
  color: #e087c4;
}

#postcard {
  position: relative;
}

#message {
  position: absolute;
  top: 24px;
  left: 10px;
  width: 200px;
  height: 250px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 9px;
  font-size: 17px;
  line-height: 1;
  color: black;
  font-family: "Cedarville Cursive", cursive;
}

#currentDate {
  position: absolute;
  top: 282px;
  left: 10px;
  font-family: courier;
  color: black;
  background: none;
}

#dropdown {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  overflow: visible;
  position: absolute;
  top: 120px;
  left: 240px;
  width: 220px;
  font-size: 17px;
  color: black;
  font-family: "Cedarville Cursive", cursive;
}

select {
  font-size: 17px;
  color: black;
  font-family: "Cedarville Cursive", cursive;
  padding-left: 3px;
  padding-right: 3px;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.4);
}

.stamps {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
    /*border: 3px dotted;*/
}


@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.stamps img:hover {
  animation: shake 0.5s; 
  animation-iteration-count: infinite;
}

.stamps img:active {
  pointer-events: none;
}

.book {
  border: 7px solid black;
  background-color: white;
  border-radius: 15px;
  padding: 0 4px;
  width: 500px; /* adjust size */
  max-width: 100%;
  aspect-ratio: 3 / 2;
  display: flex;
}
.pageL,	.pageR {
  height: 100%;
  width: 50%;
  display: inline-block;
  position: relative;
  border-radius: 10px;
}
.pageL {
  border-left: 1px grey solid;
}
.pageR { 
  border-right: 1px grey solid;
}
.seam {
  width: 7px;
  background:
    linear-gradient(to right,
    white, grey, white);
}
.booktext {
  margin: 15px;
  font-size: 9px;
  color: black;
  font-family: courier;
}

#sticker-notebook {
  padding: 30px;
}
	

nav ul {
  background-color: #593b20;
  list-style-type:none;
  padding: 25px;
  display:flex;
  flex-wrap:wrap;
}

nav ul li {
  padding-right:10px;
}

.photopile { 
  margin-top: 30px;
  display: flex; 
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}
.photopile figure { 
  display: inline-block;
  max-width: 40%;
  max-height: 40%;
  background: white;
  box-shadow: 1px 4px 5px rgba(0,0,0,0.55);
  transform: rotate(2deg);
  margin: 0 -25px;
}
.photopile figure img {
  max-width: 350px;
  max-height: 350px;
  margin: 1rem 1rem 0 1rem;
  border: 2px rgb(0,0,0,0.55) inset;
}
.photopile figcaption {
  text-align: center;
  margin: 0.5rem 1rem 1rem 1rem;
  font-size: 1rem;
  font-family: courier;
  color: black;
}
.photopile figure:hover { 
  z-index: 3;
}
.photopile figure:nth-child(2n) { 
  transform: rotate(-10deg);
}
.photopile figure:nth-child(3n) {
  transform: rotate(5deg);
}
.photopile figure:nth-child(4n) { 
  transform: rotate(4deg);
}
.photopile figure:nth-child(5n) { 
  transform: rotate(-2deg);
}
.photopile figure:nth-child(6n) {
  transform: rotate(-7deg);
}
  
.homebutton {
  bottom: 30px;
  left: 40px;
  padding-top: 50px;
  font-size: 20px;
  font-family: ZTBros;
  color: white;
  position: fixed;
  padding: 10px 20px;
  background-color: #593b20;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  z-index: 1;
}

.navbar {
  display: flex;
  padding-top: 50px;
  gap: 10px;
  list-style-type:none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  z-index: 1;
}

.navbar a{
  font-size: 20px;
  font-family: ZTBros;
  color: white;
  position: relative;
  padding: 10px 20px;
  background-color: #593b20;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.5s ease-in-out,
}

.navbar a:hover, .homebutton:hover{
  transform: scale(1.06);
  background-color: #4f341c;
  color: #e3c3d9;
}
