/* Dracula palette
   Background      #282A36
   Current Line    #6272A4
   Selection       #44475A
   Foreground      #F8F8F2
   Comment         #6272A4
   Red             #FF5555
   Orange          #FFB86C
   Yellow          #F1FA8C
   Green           #50FA7B
   Cyan            #8BE9FD
   Purple          #BD93F9
   Pink            #FF79C6
*/

body {
  color: #F8F8F2;
  background: #282A36;
  font-family: "Lucida Console"; /* TODO: pick a font later */
  font-size: 1rem;
  }
  
a {
  color: inherit;
  font-weight: bold;
  }
  
a:focus {  
  outline: 2px solid #BD93F9;
  }
  
hr {
  border-color: #44475A;
  margin: 1.75rem 1.5rem;
  }
  
blockquote {
  border-left: 2px solid #BD93F9;
  margin: 0.1rem 0.5rem;
  padding: 1px 1rem;
  }
      
/* Main container; all content goes in here. */  
.wrapper {
  margin: 2rem 10rem;
  }

/* Top section with page title, optional description.*/
.header {
  padding: 0 0.25rem 0.75rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  }
  
.header h1 {
  margin: 0.15em 0;
  font-weight: bold;
  color: #BD93F9;
  }
  
.header p {
  font-size: 0.95em;
  color: #BD93F9;
  }
.header .tagline {
  font-size: 0.95em;
  color: #50FA7B;
  }
.profile-pic {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #BD93F9;
  flex-shrink: 0;
  }
  
.navigation {
  margin-bottom: -2px;
  margin-left: 1rem;
  }
  
.navigation a {
  color: #F8F8F2;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.05rem;
  }
  
.nav-button {
  background: #44475A;
  padding: 0.35em 1.5em 0em 1.5em;
  border-radius: 15px 3px 0 0;
  display: inline-block;
  text-align: center;
  border-bottom: 4px solid #44475A;
  }
  
.navigation .current-page {
  background: #BD93F9;
  color: #282A36;
  border: 2px solid #44475A;
  border-bottom: 4px solid #BD93F9;
  margin-bottom: -2px;
  padding-top: 6px;
  padding-bottom: 2px;
  border-radius: 15px 3px 5px 5px;
  }
  
.nav-button:focus-within {
  outline: 2px solid #BD93F9;
  background: #6272A4;
  border-bottom-color: #6272A4;
  }
  

.main {
  border: 2px solid #44475A;
  border-radius: 2px 10px 2px 2px;
  overflow: hidden; /*so background doesn't overflow corners*/
  }
  
.main a {
  color: #BD93F9;
  }
    
.main-inner {
  background: #21222C;
  color: #F8F8F2;
  padding: 0.25rem 1.5rem 1rem 1.5rem;
  display: block;
  }
  
/* Prevent large image overflow. */
.main-inner img {
  max-width: 100%;
  height: auto;
  }
  

/* Decorative animated scene (underwater, garden, etc.) at the bottom of a page */
.scene-banner {
  margin: 1.5rem 0;
  border-radius: 10px;
  overflow: hidden;
  }

.scene-banner img {
  display: block;
  width: 100%;
  height: auto;
  }


/*Text outside the box, at the bottom of the page.*/
.footer {
  font-size: 0.9em;
  text-align: center;
  color: #6272A4;
  }

.footer-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
  }

.footer-icons a {
  display: inline-flex;
  transition: transform 0.2s ease, opacity 0.2s ease;
  }

.footer-icons a:hover,
.footer-icons a:focus {
  transform: scale(1.15);
  opacity: 0.85;
  }

.footer-icon {
  display: block;
  width: 26px;
  height: 26px;
  }


/* --- Gallery pages (2D Animation / Motion Graphics / Illustrations & More) --- */

/* Masonry-style "wall" of mixed videos, gifs, and images. */
.wall-gallery {
  column-count: 3;
  column-gap: 1rem;
  margin-top: 1rem;
  }

.wall-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  background: #44475A;
  border-radius: 8px;
  overflow: hidden;
  }

.wall-item img {
  display: block;
  width: 100%;
  height: auto;
  }

/* Keeps embedded videos at a proper 16:9 ratio without a fixed height. */
.wall-item .video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  }

.wall-item .video-embed iframe,
.wall-item .video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: cover;
  }


/* --- Commissions page --- */

.commission-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40rem;
  margin-top: 1.5rem;
  }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  }

.form-field label {
  font-weight: bold;
  color: #BD93F9;
  }

.form-field input,
.form-field select,
.form-field textarea {
  background: #44475A;
  color: #F8F8F2;
  border: 2px solid #6272A4;
  border-radius: 6px;
  padding: 0.55em 0.75em;
  font-family: inherit;
  font-size: 1em;
  }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #BD93F9;
  }

.form-field textarea {
  resize: vertical;
  min-height: 8rem;
  }

.commission-submit {
  align-self: flex-start;
  background: #BD93F9;
  color: #282A36;
  border: none;
  font-weight: bold;
  font-family: inherit;
  font-size: 1em;
  padding: 0.6em 1.75em;
  border-radius: 20px;
  cursor: pointer;
  }

.commission-submit:hover,
.commission-submit:focus {
  background: #FF79C6;
  }

.tos-note {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: #44475A;
  border-radius: 8px;
  font-size: 0.9em;
  }


/* For narrower screens. */
@media (max-width: 1280px) {
  .wrapper {
    width: 80%;
    margin: 1.5rem auto;
    }
  }

@media (max-width: 800px) {
  .wrapper {
    width: 87%;
    margin: 1rem auto;
    }

  .wall-gallery {
    column-count: 2;
    }
  }
  
/* Rearrange into column format for mobile. */
@media (orientation: portrait), (max-width: 750px) {
  .wrapper {
    width: 95%;
   }

  .wall-gallery {
    column-count: 1;
    }
   
  .header {
    padding-bottom: 1px;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    }

  .profile-pic {
    width: 80px;
    height: 80px;
    }
   
  .navigation {
   margin: 0;
   }
   
   /* Since the 'tab' look doesn't work in a vertical layout, undo our fiddly padding/border tricks and do something more normal instead. */
  .nav-button {
    font-size: 1.05em;
    text-align: center;
    display: block;
    padding: 0.5rem 1.5rem;
    margin: 0.375rem 0;
    border-radius: 5px;
    }
  
  .navigation .current-page {
    border-bottom: 2px solid #44475A;
    margin-bottom: 0.375rem;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    }
  
  .main {
    border-radius: 2px; 
    }
  }
  

/* Effects */ 
 #shake {
         padding:1px;
 animation: shake 0.9s infinite;
 }
 
 @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(0deg);
 }
 }
 
#tilt {
  text-align: left;
  animation: tilt 1s infinite alternate;
}

@keyframes tilt {
  from { transform: rotate(3deg); }
  to { transform: rotate(-2deg); }
}

#jerky {
      animation: jerky 0.4s infinite;
    }

    @keyframes jerky {
      0% {
        transform: rotate(2deg);
      }

      50% {
        transform: rotate(2deg);
      }

      51% {
        transform: rotate(-2deg);
      }

      100% {
        transform: rotate(-2deg);
      }
    } 
/* cr koiwaprimevera */
   
#pop {
 -webkit-animation: pop 1s ease-in-out infinite alternate;
 animation: pop 1s ease-in-out infinite alternate;
 -moz-animation: pop 1s ease-in-out infinite alternate;
}

@keyframes pop {
from {
transform:scale(0.95)
}

50% {
transform:scale(1)
}

to {
transform:scale(0.95)
}
}

@-webkit-keyframes pop {
from {
-webkit-transform:scale(0.95)

}

50% {
-webkit-transform:scale(1)

}

to {
-webkit-transform:scale(0.95)

}
    
             
            
        

}
