/* style.css */

body {
  background-image: url("images/background_3.jpg");
  background-repeat: repeat;
  background-size: 2100px;
  background-attachment: fixed;
  color: #003366;
  font-family: Verdana, Georgia, sans-serif;
  margin: 0;
  padding: 0;
  cursor: url('images/fish_cursor_3.png') 4 4, auto;
}

/*hide the scroll bar*/
html, body {
  -ms-overflow-style: none;  /* IE 10+ */
}

body::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}

/* Header Styling */
.header-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 999;
  background: transparent;
}

.header-inner {
  width: 760px;
}

header {
  background-color: #f9a179; /*e6aaaa*/
  border-bottom: 3px double #3d2b2c;
  padding-top: 30px; /*pushes header down*/
  margin: -40px;
  text-align: center;
  box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2.5em;
  color: #281f77;
  text-shadow: 2px 2px black;
}

nav {
  background: #e0e0e0;
  padding: 5px;
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
  margin-top: -10px;
  margin-bottom: 10px;
  margin-left: 0px;
  margin-right: 0px;
}

nav a {
  text-decoration: none;
  color: #003366;
  margin: 0 5px; /*spaces nav links*/
}

/* Page Container */
.container {
  width: 800px;
  margin: 0 auto;
  padding-top: 150px;
  padding-left: 20px;
  padding-right: 20px;
  background: #e6aaaa;
  border-left: 3px double #3d2b2c;
  border-right: 3px double #3d2b2c;
}

/*Painting.html Gallery Grid*/
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 20px 0;
}

.gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  display: block;
  border: 3px double #3d2b2c;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(143, 108, 108, 0.39);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh; /* Shrink image if too tall */
  border: 4px solid white;
  box-shadow: 0 0 20px black;
  object-fit: contain;
  margin-bottom: 1px;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  
  max-width: 80%;
  max-height: 80%;
}

.lightbox-caption {
  margin-top: 0px;
  color: white;
  text-align: center;
  font-size: 1.2em;
  max-width: 80%;
  word-wrap: break-word;
}

/* Zoomed-in image styling */
.lightbox-img.zoomed {
  transform: scale(2.5); /* Adjust zoom level here */
  cursor: zoom-out;
  transition: transform 0.3s ease;
}

.lightbox-img {
  transition: transform 0.3s ease;
  cursor: zoom-in;
  transform-origin: center center; /* Default, will be overridden */
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.close:hover {
  transform: scale(1.1);
}

/* Desktop layout: grid with 2 or 3 columns */
@media screen and (max-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (min-width: 1001px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}


/*styling for About page*/
.about-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f8e4e4;
  border-left: 3px double #3d2b2c;
  border-right: 3px double #3d2b2c;
}

.about-page h1 {
  font-size: 2.5em;
  text-align: center;
  color: #3d2b2c;
  margin-bottom: 30px;
}

.about-page section {
  margin-bottom: 30px;
}

.about-page h2 {
  font-size: 1.5em;
  color: #281f77;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.about-page p, .about-page li {
  font-size: 1em;
  line-height: 1.6;
  color: #003366;
}

.about-page ul {
  list-style-type: square;
  padding-left: 20px;
}

.tools-mediums {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.tools-mediums > div {
  flex: 1;
  min-width: 200px;
}

.photos img {
  max-width: 48%;
  margin: 1%;
  border: 3px solid #3d2b2c;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


/*drawing canvas*/
canvas {
  border: 2px solid #3d2b2c;
  background-color: rgb(233, 217, 206);
  touch-action: none;
  max-width: 100%;
  height: auto;
  display: block;
}

.no-scroll {
overflow: hidden;
touch-action: none;
}
  
.creative-wrapper {
display: flex;
flex-direction: column;
align-items: center;
margin: 40px 0;
}

.creative-header {
width: 300px;
margin-bottom: 10px;
}

.creative-controls {
margin-top: 10px;
margin-left: 70px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding-right: 10px;
}

.color-selector {
display: flex;
gap: 10px;
margin-left: 10px;
}

.color-dot {
width: 20px;
height: 20px;
border-radius: 50%;
border: 1px double black;
cursor: pointer;
box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.2);
}

.undo-button {
border: none;
background: transparent;
border-radius: 1px;
padding: 2px 6px;
cursor: pointer;
margin-right: 70px;
}

.undo-button img {
height: 20px;
width: auto;
}

.save-button {
  border: none;
  background: #3d2b2c;
  color: white;
  padding: 6px 12px;
  margin-left: 10px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 4px;
  box-shadow: 2px 2px 0 #888;
}

.save-button:hover {
  background-color: #5c3a3a;
}


/* begin wwww.htmlcommentbox.com */



/* Override HTMLCommentBox styles */
#HCB_comment_box {
  font-family: ktegaki;
  background-color: #fde7de;
  border: 3px double #3d2b2c;
  padding: 20px;
  margin: 0px auto;
  width: 80%;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

#HCB_comment_box, #HCB_comment_box * {
  font-family: 'Ktegaki' !important;
  font-size: 28px !important; /* font-size for entire comment section */
}


/* Target the Name label */
#HCB_comment_box label[for='hcb_form_name'] {
  color: #4a90e2 !important; /* Change this to your desired color */
  font-weight: bold;
}


/* Style the Name input box */
#HCB_comment_box #hcb_form_name {
  background-color: #fff8f5 !important; /* Name-Box Background */
  border: 1px solid #ccc; /*Name-Box Border*/
  color: #7a4d33; /* Name-font color (typed) */
  padding: 5px;
  border-radius: 10px; /* rounds button corners */
}


/* Style the comment input box */
#HCB_comment_box textarea#hcb_form_content {
  background-color: #fff8f5 !important;   /* Light background */
  border: 2px solid #ccc !important;   /* Pink border */
  color: #996677 !important;              /* Text color */
  padding: 10px;
  border-radius: 10px; /* rounds button corners */
}


/* Style the submit button */
#HCB_comment_box input[type="submit"] {
  background-color: #68483f !important;  /* Button background color */
  color: #dfcbbe !important;             /* Font color */
  border: 2px solid #68483f !important;  /* Border color */
  padding: 8px 16px;
  border-radius: 10px; /* rounds button corners */
  cursor: pointer;
}
/* submit button when hovering */
#HCB_comment_box input[type="submit"]:hover {
  background-color: #8b6255 !important;  /* Lighter on hover */
  border: 2px solid #8b6255 !important;  /* Border color */
  color: #f5eee9 !important;             /* Font color */
}




/* Change commenters' names color */
.author-name {
  color: #7a4d33 !important; /* Change to your preferred color */
  font-size: 36px; /* Optional: adjust font size */
}



.hcb-submit {
  background-color: #ffccdd !important;
  border: 1px solid #996677;
  color: #333;
  padding: 5px 10px;
  cursor: pointer;
}




/* end wwww.htmlcommentbox.com */


/* Fish Icon and GIF */
#fish-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1001;
}

#fish-icon {
  width: 200px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

/* Wiggle on hover */
@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

#fish-icon:hover {
  animation: wiggle 0.5s ease-in-out;
}

/* GIF Overlay */
#gif-overlay img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1000;
  pointer-events: none;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.8em;
  color: #888;
  margin-top: 20px;
}


