*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  background-image: linear-gradient(to bottom right, #EAB7C7, black, black, #EAB7C7, black, black, #EAB7C7);
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-around;
  align-items: stretch;
}

.homepageanchor {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.heading{
  margin: 0 auto;
}

.abril-fatface-regular {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
}

.headersection {
  font-family: "Times New Roman", Times, Arial, sans-serif;
  display: flex;
  background-image: linear-gradient(to bottom right, gray, #EAB7C7, #EAB7C7, white, #EAB7C7, #EAB7C7, gray);
  text-shadow: 0.3125rem 0.3125rem 0.5rem pink;
  font-size: clamp(1.8rem, calc(7vw + 1rem), 5rem);
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: center;
}

.kiddtattoosheader {
  font-size: clamp(2.4rem, calc(7vw), 5rem);
  text-align: center;
  white-space: normal;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: center;
  font-weight: 200;
}

#kiddtattoologo {
  max-width: 23%;
  height: auto;
  margin: -1px;
  animation: spin 3s ease-in-out 1;
}

@keyframes spin {
  0% {

  }
  100% {
    transform: rotate(360deg);
    border-radius: 50%;
  }
}


.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-image: linear-gradient(to right, pink, white);
  padding: 0.5rem 0;
  margin: 0;
  border-bottom: 0px solid white;
  border-top: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


ul {
  font-family: "Times New Roman", Times, Arial, sans-serif;
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(2.5rem, 3vw, 3.5rem);
}

ul li {
  position: relative;
}


ul li a {
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  color: black;
  transition: all 0.3s ease;
  border-radius: 5px;
}

ul li a:hover {
  color: rgb(235, 46, 156);
  background-color: rgb(229, 183, 213);
}

.navbar li:not(:first-child)::before {
  content:"";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.3);
}


@media (max-width: 900px) {
  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .navbar li:not(:first-child)::before {
    display: none;
  }
}


.abril-fatface-regular {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
}



.tattoo-gun {
  height: 3.3rem;
  width: 3rem;
  margin: 4px 4px 5px 10px;
  animation-name: leave;
  animation-duration: 3s;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: center;
}

@keyframes leave {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-55px);
  }
}

.tattoo-gun2 {
  height: 3.3rem;
  width: 3rem;
  margin: 4px 4px 5px 10px;
  animation-name: leaverev;
  animation-duration: 3s;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: center;
}

@keyframes leaverev {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(55px);
  }
}


/*#slider-image {
  display: block;
  margin: 50px auto;
  margin-bottom: 10px;
  width: 85%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

#slider-image.loaded {
  opacity: 1;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.controls button {
  padding: 12px 24px;
  font-size: 18px;
  border: none;
  border-radius: 25px;
  background-color: #444;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.controls button:hover {
  background-color: rgb(255, 194, 205);
}

@media (max-width: 600px) {
  #slider-image {
    width: 100%;
  }

  .controls button {
    font-size: 16px;
    padding: 10px 18px;
  }
}

.dot-navigation {
  text-align: center;
  margin-top: 15px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.dot.active {
  background-color: #444;
}


.slider-caption {
  text-align: center;
  font-size: 1.7rem;
  font-style: italic;
  color: #333;
  padding: 20px 15px;
  margin: 8px 10px;
}*/

.gallery {
    width: min(1200px, 95%);
    margin: 4rem auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width:768px) {
    .gallery {
        grid-template-columns: 1fr;
        width: 90%;
        margin: 2rem auto;
    }
}

.card {
    border: 5px solid pink;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s;
    background-image: linear-gradient(to bottom right, gray, #EAB7C7, #EAB7C7, white, #EAB7C7, #EAB7C7, gray);
    border-radius:1px;
    padding: 4px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
}

.cardheader {
  color: black;
}

a:link {
  color: black;
}

.jersey-15-regular {
  font-family: "Jersey 15", sans-serif;
  font-weight: 400;
  font-style: normal;
}


footer {
  justify-content: center;
  padding: 30px 25px;
  border: 25px;
  background-image: linear-gradient(to bottom left, grey, #EAB7C7, white, white, white, #EAB7C7, grey);
  width: 100%;
  box-shadow: 3px 5px 12px 2px black;
  text-align: center;
}

.contact {
  text-decoration: underline;
  font-size: clamp(1.4rem, calc(5vw + 1rem), 4.2rem);
  font-family: "Jersey 15";
}

.insta-link {
  font-size: clamp(1.2rem, calc(4vw + 1rem), 3.8rem);
  font-family: "Abril Fatface";
}


#footerinfo {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

#footerinfo a:visited {
  color: rgb(223, 43, 133);
}

.contact-info {
  text-align: center;
}




/*.card {
  transition: transform .3s ease,
              box-shadow .3s ease;
}

.card:hover {
  transform: scale(1.04);
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
}


.group {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: slide 20s linear infinite;
}


.group[aria-hidden="true"] {
  display: none;
}

.image-wrapper {
  height: 85%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.imagecard {
  object-fit: contain;
}


@media (max-width: 768px) {

  .card {
      flex: 0 0 90vw;
    }

  .group {
      gap: .75rem;
    }
  .image-wrapper {
      flex: 0 0 100vw;
    }

}

@media (max-width: 480px) {

    .card {
        flex: 0 0 92vw;
    }

    .cardheader {
        font-size: 1.5rem;
    }
}

@media (min-width: 480px) {

    .card {
        flex: 0 0 92vw;
    }

    .cardheader {
        font-size: 1.5rem;
    }

}

.card {
  flex: 0 0 clamp(260px, 75vw, 380px);
  height: clamp(360px, 90vw, 520px);
  background: white;
  border: 5px solid pink;
  border-radius: .5rem;
  padding: .75rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card,
.card a {
  pointer-events: auto;
}

.card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
}*/

.image-wrapper {
    aspect-ratio: 0.8 / 1;
    overflow: hidden;
}

.imagecard {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cardheader {
  padding: 1rem;
  text-align: center;
  font-size: clamp(1.6rem,3vw,2.6rem);
  font-family: "Abril Fatface", serif;
}

/*.cardheader {
  height: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: clamp(1.4rem, 5vw, 2.5rem);
  line-height: 1.1;
}

.imagecard {
  width: 100%;
  height: 100%;
  object-fit: contain;
}*/

@media (max-width:768px) {

.gallery{
    grid-template-columns:1fr;
    width:90%;
}
}


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

.card a:visited {
  color: black;
}

.card a:hover {
  color: rgb(223, 43, 133);
  text-decoration: underline;
}

.card a:active {
  color: rgb(223, 43, 133);
}







