/* Melon's Gallery Maker! 0.0.2+ */
@font-face {
            font-family: 'Poppin';
            src: url('https://withbirds.neocities.org/fonts/Poppin-Regular.woff') format('woff');
        }
        h1 {
            font-family: 'Poppin';
        }

html {
min-width: 550px;
position: relative;
}

header {
font-family: 'Poppin';
font-size: 2em;
margin-bottom: 1rem;
text-align: center;
transition: transform 1s;
}

.zoom {
  transition: transform .2s; 
  width: 200px;
  height: 200px;
}

.zoom:hover {
  transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.title {
filter: drop-shadow(2px 10px 4px #756829);
margin-bottom: 1rem;
text-align: center;
}

.cont {
max-width: 700px;
position: relative;
left: 50%;
transform: translate(-50%, 5%);
}

.cont2 {
max-width: 700px;
position: absolute;
left: 50%;
}


hover {
  transform: scale(1.01); 
  cursor: crosshair;
}

body {
    font-family: "Times New Roman", serif;
    background-color: #d6d6d6;
    font-size: 1.1em;
    width: 100%;
    background-image: url('/images/kidpix.png');
}

.wrapper {
  padding-left: 250px;
  padding-right: 250px;
  padding-top: 20px;
  padding-bottom: 10px;
}

.star {
  position: absolute;
  top: 5%;
  left: 15%;
  transform: rotate(-25deg);
  z-index: 2;
    transition: transform 1.5s ease-in-out;
}

.star:hover {
  transform: rotate(360deg);
}

.tra {
  position: absolute;
  top: 30%;
  left: 56%;
  transform: rotate(10deg);
  z-index: 0;
  filter: drop-shadow(4px 5px 10px #000000);
  transition: transform 1s;
}

.eight {
  position: absolute;
  top: 10%;
  left: 16%;
  transform: rotate(-15deg);
  z-index: 3;
}

.scrapisland {
  position: absolute;
  top: 80%;
  left: 10%;
  transform: rotate(-15deg);
  z-index: -3;
}

.scrap2 {
  position: absolute;
  top: 90%;
  left: -50%;
  transform: rotate(200deg) translate(500px, 100px);
  z-index: -1;
  filter: drop-shadow(1px 5px 3px #000000);
}

.scrap3 {
  position: absolute;
  top: 85%;
  left: 40%;
  transform: rotate(-15deg);
  z-index: -4;
}

.yellow {
  position: absolute;
  top: 10%;
  left: -50%;
  transform: rotate(-50deg) translate(600px, 10px);
  z-index: -2;
  filter: drop-shadow(1px 5px 3px #000000);
}

.back2 {
  position: absolute;
  top: -40%;
  left: 8%;
  z-index: -5;
    transform: rotate(-5deg);
}

@keyframes animate {
  0% {
  transform: translateY(0);
  opacity: 1;
  }
    50% {
  transform: translateY(-4px);
  opacity: 1;
  }
    100% {
  transform: translateY(0);
  opacity: 1;
  }
}

.oderama {
  position: absolute;
  top: 25%;
  left: 77%;
  transform: rotate(50deg);
  z-index: 5;
  animation: animate 2s ease-in-out infinite;
 filter: drop-shadow(5px 5px 7px #ffffff);
 transition: transform 1s ease-in-out;
}


.tra:hover{ 
   transform: scale(1.3);
}

a,
a:visited {
    color: #6138ff;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

header,
body > section,
footer {
    padding: 5px;
}

nav {
    margin: 10px;
    clear: both;
}

footer {
    clear: both;
    font-size: 0.7em;
    padding-top: 30px;
}

/* Gallery Pages */

#photos {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

#photos figure {
    margin: 10px;
    max-width: min-content;
}

#photos img {
    border: 3px ridge #c3c3c3;
    /* Enable this for pixel art!! */
    /* image-rendering: pixelated; */
}

#photos img:hover {
    border-color: #ffda00;
}

#photos span {
    text-align: center;
    display: block;
}

#photos figcaption {
    padding: 10px 0px;
}

#photos figure:nth-child(1) img {
    transform: rotate(2deg) translate(-170px, -50px); 
}

#photos figure:nth-child(2) img {
    transform: rotate(-1deg) translate(-80px, -50px); 
}

#photos figure:nth-child(3) img {
    transform: rotate(-2deg) translate(-380px, 50px); 
}

#photos figure:nth-child(4) img {
    transform: rotate(-3deg) translate(270px, -270px); }

#photos figure:nth-child(5) img {
    transform: translate(-80px, -330px); 
}

#photos figure:nth-child(6) img {
    transform: rotate(2deg) translate(-150px, -80px); 
}

#photos figure:nth-child(7) img {
    transform: rotate(2deg) translate(-25px, -300px); 
}

#photos figure:nth-child(8) img {
        transform: translate(270px, -250px); 
}

#photos figure:nth-child(9) img {
        transform: translate(-200px, -150px); 
}

#photos figure:nth-child(10) img {
        transform: translate(-200px, -500px); 
}


.page-links {
    text-align: center;
}

.page-links ul {
    padding: 0px 5px;
    margin: 10px 0px;
    display: inline-block;
}
.page-links li {
    list-style: none;
    display: inline;
    margin: 0px 3px;
}

/* Mobile Styling */

@media (max-width: 800px) {
    body {
        padding: 10px;
    }

    #photos figure {
        width: 95%;
        max-width: unset;
    }

    #photos img {
        width: 100%;
    }
}

/* Styling for JavaScript viewer (if enabled) */

#js-viewer {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.612);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

#js-viewer img {
    max-width: 95%;
    max-height: 80%;
    height: auto;
    width: auto;
    border: 3px ridge #c3c3c3;
}

#js-viewer span {
    margin-top: 10px;
}

#js-viewer span button {
    border-radius: 0px;
    border: 2px outset #cecece;
    background-color: #e2e2e2;
    cursor: pointer;
}

#js-viewer span button:hover {
    border: 2px inset #cecece;
    background-color: #b8b8b8;
}
