html {
  scroll-behavior: smooth;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

body {
  margin: 0;
  min-height: 100vh;
  cursor: url('assets/images/cursor/cursor.png') 3 3, cell;
  user-select: none;
}

.copyright {
  padding-left: 50px;
}

.cousine-regular {
  font-family: "Cousine", monospace;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -1px;
}

.cousine-italics {
  font-family: "Cousine", monospace;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -1px;
}

/* A11y helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sticky bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 3000;
  background: white;
}

/* Flex layout */
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 14px;

  padding: 10px clamp(16px, 4vw, 50px) 10px;
  transition: padding 220ms ease;
}

/* Stop floats fighting you */
.heading {
  margin: 0;
  float: none;
  height: auto;
  min-width: 0;
}

.navigation {
  float: none;
  height: auto;
  min-width: 0;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  /* shown only when collapsed (below) */
  width: 44px;
  height: 44px;
  border: 1px solid black;
  border-radius: 999px;
  background: #ff7cb9;
  cursor: pointer;
  position: relative;
}

.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 18px;
  background: black;
  margin: 2px auto;
}

/* Nav default (expanded top state) */
.navigation {
  display: flex;
  gap: clamp(4px, 0.9vw, 10px);
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

/* Make HR flush */
.topbar hr {
  margin: 0;
}

/* -------- collapsed after first screen -------- */
.topbar.collapsed .topbar-inner {
  padding: 8px 24px 8px 20px;
}

/* Smaller title when collapsed */
.topbar.collapsed .heading {
  font-size: 38px;
  /* adjust */
  -webkit-text-stroke: 1px black;
}

/* Show hamburger when collapsed */
.topbar.collapsed .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hide the inline nav when collapsed; becomes dropdown */
.topbar.collapsed .navigation {
  display: none;
  position: absolute;

  right: 0;
  top: 100%;
  background: white;
  border-bottom: 1.5px solid black;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 12px;
  z-index: 3100;


}

/* Open state */
.topbar.collapsed.menu-open .navigation {
  display: flex;
  border-left: 1.5px solid black;
  border-right: 1.5px solid black;
}

/* While actively scrolling, force menu closed visually */
.topbar.collapsed.is-scrolling .navigation {
  display: none !important;
}



/*.topbar::after {
  content: "";
  display: block;
  clear: both;
}*/
.heading {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  color: #ff7cb9;
  -webkit-text-stroke: 1px black;
  float: none;
  width: auto;
  height: auto;
  white-space: nowrap;
  flex: 0 1 auto;
  transition: font-size 220ms ease, -webkit-text-stroke 220ms ease;
}

.navigation {

  float: none;
  width: auto;
  max-width: 100%;
  flex: 1 1 auto;

}

.navigation a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.navigation a:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(166, 255, 0);
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
  cursor: url(images/cursor/cursor2.png) 3 3, cell;
}

#works,
#about,
#contact,
#selling {
  font-size: clamp(16px, 1.5vw, 20px);
  border: 1px solid black;
  text-align: center;
  padding: 5px clamp(10px, 1.4vw, 20px);
  border-radius: 35px;
  background: #ff7cb9;
  margin: 2px;
  float: none;
  white-space: nowrap;

}


hr {
  border: none;
  height: 1.5px;
  color: #000000;
  background-color: #000000;
  width: 100%;

}

.homecarousel-container {
  width: 100%;
  height: 70vh;
  overflow: hidden;
  position: relative;
}

.homecarousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.8s ease-in-out;
}

.homecarousel-track img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

.homecarousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.homecarousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid black;
  background: white;
  cursor: pointer;
  padding: 0;
}

.homecarousel-dots button.is-active {
  background: #ff7cb9;
}


.welcome {
  font-size:clamp(16px, 1.5vw, 20px);
  margin: 50px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 1px;
}

.PINKTEXT {
  color: #ff7cb9;
}




@keyframes blink {
  50% {
    opacity: 0;
  }
}


.homeimg {
  max-width: 45%;
  float: right;
  padding-right: 5%;
  padding-bottom: 5%;
  margin-top: -1%;
}

.homePF {
  max-width: 20%;
  float: left;
  padding-left: 5%;
  margin-top: -5%;
}

.subhead {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "width" 100;
  font-size: 38px;
  color: #ff7cb9;
  padding-left: 60px;
  height: 50px;
  margin-top: -30px;

}

.WhatsOn {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 1000;
  font-style: normal;
  font-variation-settings: "width" 100;
  font-size: 60px;
  color: #ff7cb9;
  text-align: center;


}

@keyframes changecolor {
  0% {
    color: #ff7cb9;
  }

  50% {
    color: #01ec0d;
  }
}

.colorchange {
  animation: changecolor 5s steps(1, end) infinite;
}

.men {
  text-align: center;
  font-size: 300px;

}

.men a {
  color: black;
  text-decoration: none;
}

.men a:hover {
  color: blue;
  font-family: "Rubik Mono One", monospace;
  font-weight: 400;
  font-style: normal;
  cursor: url(images/cursor/cursor2.png) 3 3, cell;

}

#workdeet {
  padding-left: 60px;
}

.coverimages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
  z-index: 1;
}


.coverpic {
  width: 100%;
  max-width: 700px;
  height: auto;
  /* Optional: Set a max width for the images */
  transition: opacity 0.3s ease;
  /* Smooth opacity transition */
}


.coverlink {
  position: relative;
  display: inline-block;
}


.title {
  position: absolute;
  bottom: 10%;
  /* Position the title at the bottom of the image */
  left: 0;
  right: 0;
  color: rgb(0, 0, 0);
  background-color: #ff7cb9;
  text-align: center;
  max-width: 300px;
  padding: 10px;
  font-size: 15px;
  font-style: italic;
  opacity: 0;
  /* Hide the title initially */
  transition: opacity 0.3s ease;
  /* Smooth transition for the title */
  border-radius: 30px;

}


.coverlink:hover .coverpic {
  opacity: 0.3;
  /* Reduce image opacity on hover */
  cursor: url(images/cursor/cursor2.png) 3 3, cell;
}

.coverlink:hover .title {
  opacity: 1;
  /* Make the title visible on hover */
  cursor: url(images/cursor/cursor2.png) 3 3, cell;
}

.About {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
  justify-content: space-between;
  /* Distribute space between columns */
  align-items: center;
  /* Vertically align text and image */
  width: 100%;
  /* Full width container */
  gap: 20px;
  /* Space between text and image */
  margin: 0 auto;

}

.abouttext {
  width: 39%;
  /* Text column takes up 45% of the container */
  max-width: 700px;
  padding-top: -30px;
  margin-left: 50px;
}


#artistname {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #ff7cb9;
  display: inline;
  /* Make sure it flows inline with the rest of the paragraph */
  margin-right: 5px;
  /* Small space between the name and the following text */
}

#artisttext {
  font-size: clamp(16px, 1.5vw, 20px);
  padding-left: 50px;
  /* Adjust padding for better spacing */
  padding-right: 10px;
}

.artistimg {
  width: 39%;
  padding-top: 50px;
  margin-right: 50px;
}

.artistimg img {
  width: 90%;
  /* Ensure the image takes the full width of its container */
  height: auto;
  /* Maintain aspect ratio */

}

.exhibitions {
  width: 100%;
  /* Text column takes up 45% of the container */
  max-width: 700px;
  padding-top: -30px;
  margin-left: 70px;
  font-size: 12px;
  padding-left: 50px;
  /* Adjust padding for better spacing */
  padding-right: 10px;
  font-style: italic;
  padding-bottom: 100px;
}

#exhibitiontitle {
  margin-left: -20px;
  font-style: normal;
}

#instagram,
#email {
  font-size: clamp(16px, 1.5vw, 20px);
  border: 1px solid black;
  text-align: center;
  padding: 5px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 35px;
  background: #ff7cb9;
  margin: 3px;
  float: left;
}

.contactnav {
  margin-top: 20px;
  width: 240px;
  height: 120px;
  padding-left: 70%;

}

.contactnav a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.contactnav a:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(166, 255, 0);
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
  cursor: url(images/cursor/cursor2.png) 3 3, cell;
}


.contact {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
  justify-content: space-between;
  /* Distribute space between columns */
  align-items: center;
  /* Vertically align text and image */
  width: 100%;
  /* Full width container */
  gap: 20px;
  /* Space between text and image */
  margin: 0 auto;

}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

/* Left column setup */
.contact-left {
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.contactrightdiv {
  width: 48%;
}


.contactimg img,
.contactright {
  width: 100%;
  height: auto;
}

.contactflower {
  max-width: 30%;
  padding-left: 20%;
  padding-top: 10%;

}

.contactman {
  max-width: 80%;
  margin-top: -10%;
}

#popup-overlay #regpopup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(125, 125, 125, 0.096);
  z-index: 999;
  display: none;
}

#popup,
#regpopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  background: rgb(255, 255, 255);
  border: 1px solid black;
  padding: 5px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  border-radius: 8px;
  z-index: 1000;
  display: none;
  font-family: "Cousine", monospace;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -1px;
}

#popup button,
#regpopup button {
  font-family: "Cousine", monospace;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -1px;
  font-size: clamp(16px, 1.5vw, 20px);
  color: #000000;
  border: 1px solid black;
  text-align: center;
  padding: 5px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 35px;
  background: #ff7cb9;
  margin: 3px;


}

#popup button a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

#popup button a:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(166, 255, 0);
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
  cursor: url(images/cursor/cursor2.png) 3 3, cell;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff7cb9;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 5000;
  visibility: visible;
  opacity: 1;
  transition: visibility 0s 2s, opacity 2s ease-out;
}

.loader {
  border: 8px solid white;
  border-top: 8px solid #7cf99b;
  border-radius: 50%;
  width: 80px;
  height: 50px;
  animation: spin 2s linear infinite;

}

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

  100% {
    transform: rotate(360deg);
  }
}


@media only screen and (max-width: 840px) {
  .topbar:not(.collapsed) .topbar-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 8px clamp(10px, 4vw, 18px) 10px;
  }

  .topbar:not(.collapsed) .navigation {
    order: 1;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .topbar:not(.collapsed) .heading {
    order: 2;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .cousine-regular,
  .cousine-italics,
  .cousine-regular p,
  .cousine-regular a,
  .cousine-regular span,
  .cousine-italics p,
  .cousine-italics a,
  .cousine-italics span {
    font-size: 14px !important;
    line-height: 1.35;
  }

  .heading {
    font-size: clamp(34px, 8vw, 50px);
    width: auto;


  }

  .topbar {
    background-color: white;
  }

  .text {
    padding-left: 0px;
    padding-right: 0px;
  }

  .welcome {
    font-size: 18px;
    margin: 20px;
  }

  #works,
  #about,
  #contact,
  #selling {
    font-size: 15px;
    border: 1px solid black;
    text-align: center;
    background: #ff7cb9;
    margin: 2px;
    padding: 5px 12px;
  }

  .navigation {
    margin-top: 0;
    float: none;
    width: auto;
    height: auto;
    padding-right: 0;
  }

  .homeimg {
    max-width: 90%;
    padding: 2%;

  }

  .homePF {
    max-width: 25%;
    margin-top: -20%;
    padding: 10%;
  }

  .subhead {
    font-size: 30px;
    color: #ff7cb9;
    height: 30px;
    padding-left: 15px;
  }

  #workdeet {
    padding-left: 20px;
  }

  .coverpic {
    width: 100%;
    /* Each image will take 45% of the row */
    max-width: 700px;
    height: auto;
    /* Optional: Set a max width for the images */
    margin-top: 10%;
  }

  .coverlink {
    width: 90%;
    /* Set the images to take up most of the width */
    max-width: none;
    /* Remove max-width constraint */
  }

  .title {
    bottom: 85%;
    /* Position the title at the bottom of the image */
    left: 0;
    right: 0;
    color: rgb(0, 0, 0);
    background-color: #ff7cb9;
    text-align: center;
    max-width: 300px;
    padding: 10px;
    font-size: 18px;
    opacity: 1;
  }

  .abouttext {
    width: 90%;
    margin: 20px;

  }

  #artistname {
    font-size: 30px;
    margin-right: 1px;

  }

  #artisttext {
    font-size: 18px;
    padding-left: 25px;
    padding-right: 25px
  }

  .exhibitions {
    font-size: 12px;
    width: 100%;
    max-width: 400px;
    padding-bottom: 50px;

  }

  .artistimg {
    width: 70%;
    margin-top: -40px;
    padding-left: 35px;
    padding-right: 30px;
  }

  .artistimg img {
    width: 100%;
    /* Ensure the image takes the full width of its container */
    height: auto;
    /* Maintain aspect ratio */
  }

  #instagram,
  #email {
    font-size: 18px;
    border: 1px solid black;
    text-align: center;
    background: #ff7cb9;
    margin: 3;
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact {
    flex-direction: column;
    /* Stack the columns vertically on smaller screens */
    align-items: center;
    /* Center align the content */
  }

  .contact-left,
  .contactrightdiv {
    width: 100%;
    /* Full width for both columns */
  }

  .contactnav {
    text-align: center;
    width: 200px;
    height: 120px;
    padding-left: 50%;

  }

  .contactflower {
    max-width: 15%;
  }

  .contactman {
    margin-top: -15%;
  }

  .contactright {
    margin-top: -15%;
    float: right;
  }

  .men {
    font-size: 100px;
  }

  .WhatsOn {
    font-size: 50px;
  }



}
