* {box-sizing: border-box}

html {
  scroll-padding-top: 75px;
  scroll-behavior: smooth;
}

body {
  font-family: Verdana, sans-serif;
  margin: 0;
  padding-top: 100px;
  min-height: 100vh;
  background-image: url("../wspics/buddies4.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-color: #f3efe8;
}

.maincontent {
  min-height: calc(100vh - 100px);
}

section {
  scroll-margin-top: 25px;
}

.section_padding {
  padding: 10px 50px 100px 50px;
}

.mySlides {display: none}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  /* margin: auto; */
  margin-left:50px
}

.testimonial_header {
  font-size: 20px;
 /* max-width: 50px;*/
  font-weight: bold;
  margin-bottom: 10px;
  word-wrap: wrap;
}



.testimonialcontainer  {
    /* vertical-align: top; */
    display: flex;       /* Forces children into a row */
    align-items: flex-start; /* Vertically aligns image and text perfectly */
    gap: 15px;          /* Adds clean spacing between image and text */
    height: 400px;
    overflow: auto;
}

.testimonialcontainer img {
   width: 35%;
   object-fit: scale-down;
   object-position: top;
}

h2 {
    font-size: 40px;
    color: rgb(0,0,0);
    font-family: Solitreo, serif;
    text-align: center;
}

.testimonialcontainer img[src$="../wspics/pawslogo_missing.png"] {
   height: 60%;
   object-fit:scale-down;
   object-position: top;
} 

@media (max-width: 768px) {
  body {
    background-size: contain;
    padding-top: 80px;
    background-image: none;
  }

  html {
    scroll-padding-top: 60px;
  }

  .section_padding {
    padding: 10px 15px 50px 15px;
  }

  .slideshow-container {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .testimonialcontainer {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }
  
  .testimonial_header {
    font-size: 16px;
  }
  
  h2 {
    font-size: 22px;
    padding: 0 10px;
  }
  
  .button-container {
    gap: 10px;
  }
  
  .button-container button {
    padding: 8px 15px;
    font-size: 14px;
  }
}

 .testimonialcontainer img[src$="../wspics/pawslogo_missing.png"] {
   width:40%;
   /* height: 50%; */
   object-fit:scale-down;
   object-position: top;
} 

.testimonialcontainer text{
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  /* bottom: 8px; */
  left:50%;
  width: 100%;
  min-width: 400px;
  text-align: left;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.button-container button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
}

.button-container .prev:hover:hover .next:hover{
  background-color: #0056b3;
}



/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
