/*general*/
* {
  cursor: url("https://imagesforblogsite.carrd.co/assets/images/image05.png?v=83ad52c0") 4 4, auto;
}

body {
  font-family: 'Pixelify Sans', sans-serif;
  background-color: #ffeab7;
  background-image: url("https://imagesforblogsite.carrd.co/assets/images/image16.jpg?v=3eb31069");
  background-repeat: repeat;
  background-position: top left;
  background-attachment: fixed;
  background-size: 500px auto;
  color: #4b2e05;
  margin: 0;
  padding: 40px 0;
}

h1 {
  font-family: 'Pixelify Sans', sans-serif;
  text-align: center;
  color: #4b2e05;
  margin: 20px auto 40px auto;
}

p, span, li, a, div {
  font-family: 'Courier New', sans-serif;
  color: #333;
  font-size: 13px;
  line-height: 1.5;
}

#container {
  width: 760px;
  margin: auto;
  border: 15px solid transparent;
  border-image: url("https://dl.dropbox.com/s/rr5se47u373c2yn/orange%20lace.png") 8 fill round;
  padding: 20px;
  text-align: center;
}

#content {
  flex: 1;
  background: #fffdf4;
  border: 3px dotted #f6d28d;
  padding: 20px;
  text-align: left;
  line-height: 1.6;
  height: auto;
  overflow: auto;
  margin-bottom: 20px;
}

.button:hover {
  background: #fffdf4;
  color: #b26e00;
}

#main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
}

#sidebar {
  width: 220px;
  background: #fffdf4;
  border: 3px dotted #f6d28d;
  padding: 15px;
  box-sizing: border-box;
  text-align: left;
}

#nav {
  margin: 15px 0;
  font-size: 18px;
}
#nav a {
  color: #6a3d00;
  text-decoration: none;
  padding: 4px 10px;
  transition: 0.3s;
}
#nav a:hover {
  background: white;
  border-radius: 25px;
}

#main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
}


#sidebar {
  width: 220px;
  background: #fffdf4;
  border: 3px dotted #f6d28d;
  padding: 15px;
  box-sizing: border-box;
  text-align: left;
}

#sidebar h3 {
  margin-top: 0;
  font-size: 20px;
  color: #6a3d00;
}

#sidebar ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

#sidebar ul li {
  margin: 8px 0;
}

#sidebar ul li a {
  text-decoration: none;
  color: #4b2e05;
  transition: 0.3s;
}

#sidebar ul li a:hover {
  color: #b26e00;
}

#sidebar {
  width: 220px;
  background: #fffdf4;
  border: 3px dotted #f6d28d;
  padding: 15px;
  box-sizing: border-box;
  text-align: left;
  height: 100%;
  overflow-y: auto;       
}


#sidebar h3 { margin-top: 0; font-size: 20px; color: #6a3d00; }
#sidebar ul { list-style: none; padding: 0; margin: 10px 0 0 0; }
#sidebar ul li { margin: 8px 0; }
#sidebar ul li a { text-decoration: none; color: #4b2e05; transition: 0.3s; }
#sidebar ul li a:hover { color: #b26e00; }


#content {
  flex: 1;
  background: #fffdf4;
  border: 3px dotted #f6d28d;
  padding: 20px;
  text-align: left;
  line-height: 1.6;
  height: 100%;
  overflow-y: auto;      
}

 ::selection {
  background: #ffcc80;
  color: #3a2403;     
}

::-moz-selection {
  background: #ffcc80;
  color: #3a2403;
}

#footer {
  border-top: 1px solid #f0dba7;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 14px;
  color: #7a5b1a;
}

/*general*/

/*buttons*/

.back-button {
  display: block;
  width: 50%;
  margin: 15px auto;
  padding: 8px 0;
  background: #fffdf4;
  border: 3px dotted #f6d28d;
  color: #4b2e05;
  font-family: 'Pixelify Sans', sans-serif;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.back-button:hover {
  background: #fef7e5;
}

.commission-button {
  font-family: 'Pixelify Sans', sans-serif;
  display: inline-block;
  padding: 8px 16px;
  background: #fce6ed;
  color: #6a3d00;
  text-decoration: none;
  border: 2px dotted #b26e00;
  border-radius: 25px;
  margin-top: 10px;
  transition: 0.3s;
}

.commission-button:hover {
  background-color: #fef7e5;
  transform: scale(1.05);
}

/*buttons*/

#video01 {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.headerimage {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 20px auto;
  border-radius: 10px;
}

/*gallery stuffs */

.pinned-image {
  text-align: center;
  margin-bottom: 20px;
}

.pinned-image img {
  width: 100%;
  max-width: 300px;   
  cursor: pointer;
  transition: transform 0.3s;
}

.pinned-image img:hover {
  transform: scale(1.05);
}

.gallery {
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
  gap: 15px;  
  padding: 20px 0;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}

.gallery img,
.gallery-video {
  width: 100%;     
  display: block;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery img:hover,
.gallery-video:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow-y: auto;
  text-align: center;
  padding-top: 30px;
}

.modal-content {
  display: block;
  max-width: 90%;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

.caption {
  color: #fff;
  font-size: 1.1em;
  text-align: center;
  margin-top: 10px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ccc;
}