body {
  margin: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  overflow-y: scroll;
}

.contentflexbox {
  max-width: 600px;
}

.contentflexbox2 {
  background-color: #e0e0e0;
  max-width: 600px;
}

.navbar {
  height: 46px;
  border-bottom: 1px solid var(--color-stroke-quaternary,#DFDFDF);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  width: 100%;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000000000000;
  align-items: center;
  justify-content: center;
  display: flex;
  box-sizing: border-box;
}

.buttons {
  width: auto;
  display: flex;
  justify-content: space-between;
}

.buttons > button {
  margin: 0.5rem;
}

button {
  border: none;
  background-color: transparent;
  font-family: lato;
}

button > a {
  color: black;
  text-decoration: none;
}

button > a:hover {
  color: #717171;
}

button:hover {
  text-decoration: underline;
  cursor: pointer;
}

#john:hover {
  text-decoration: none;
  color: black;
  cursor: auto;
}

#john {
  font-size: 1rem;
}

img {
  width: 100%;
}

h1, h2, p {
    font-family: "lora";
} 

h1 {
    font-size: 2.25rem;
    line-height: 3rem;
}

p {
    font-size: 1.25rem;
    line-height: 1.875rem;
}

.authorline p {
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0;
    font-family: "lato";
}

.description {
    position: absolute;  /* Position it absolutely within the .text-wrapper container */
    top: 50%;            /* Adjust the top positioning to place it at the center (or adjust as needed) */
    right: 0;            /* Align it to the right edge of the parent container */
    width: 360px;        /* Set a width for the additional text (you can adjust as needed) */
    transform: translateY(-50%); /* Vertically center it relative to the parent container */
    background-color: #e0e0e0; /* Optional background for visibility */
    padding-left: 30px;
    padding-right: 30px;
    font-size: 1.125rem; /* Adjust the font size for this text */
    line-height: 1.6875rem;
}

.description > button {
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  margin-bottom: 10px;
}

.description > button > a {
  color: #717171;
}

.description > button > a:hover {
  color: black;
  text-decoration: underline;
}

.marginremover {
  margin-bottom: 0;
}

.description > h3 {
  font-family: "lato";
  color: #363636;
}

.description > p {
  font-family: "lato";
  color: #717171;
  width: 100%;
} 



footer {
  height: 46px;
  width: 100%;
  border-top: 1px solid var(--color-stroke-quaternary,#DFDFDF);
  display: flex;
  align-items: center;
  justify-content: center;
}

footer > p {
  font-size: 0.8rem;
  color: white;
}

a {
  color: rgb(50, 103, 145);
}


/* Style the slideshow container */
.slideshow-container1 {
  position: relative;
  max-width: 600px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: hidden; /* Hide anything outside the slide */
}

.slideshow-container2 {
  position: relative;
  max-width: 600px;
  height: 512px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: hidden; /* Hide anything outside the slide */
}

.slideshow-container3 {
  position: relative;
  max-width: 600px;
  height: 512px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: hidden; /* Hide anything outside the slide */
}

/* Ensure images are contained within the fixed size without distortion */
.slide img {
  width: 100%;        /* Make images stretch to fill the width */
  height: 100%;       /* Make images stretch to fill the height */
  object-fit: cover;  /* Cover the container while maintaining aspect ratio */
}

/* Hide all images by default */
.slide {
  display: none;
}

/* Style the navigation arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  z-index: 1;
  transform: translateY(-50%); /* Fine-tune to center vertically */
}

.prev {
  left: 0;
  border-radius: 0 3px 3px 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Dots for navigation */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 4px;      /* Increase margin to create space between dots */
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor: pointer;
}

/* Active dot */
.active {
  background-color: #717171;
}

/* Fade effect for the slides */
/*.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from { opacity: 0.8 }
  to { opacity: 1 }
}

/* Style the dots container to center the dots */
.dots-container {
  text-align: center;      /* Centers the dots container */
  margin-top: 10px;        /* Space between the slideshow and dots */
}


@media (max-width: 1446px) {
  .description {
    display: none;
  }
}
@media (max-width: 740px) {
  h1 {
    /* font-size: 4rem; */
    line-height: normal;
    font-size: 2rem;
  }
  h1, h2, p {
    margin-left: 20px;
    margin-right: 20px;
  }
  h2, p {
    line-height: 1.5;
  }
  .contentflexbox {
    max-width: 100%;
  }
  .slideshow-container1 {
    max-width: 100%;
  }
  .slideshow-container2 {
    max-width: 100%;
  }
  .slideshow-container3 {
    max-width: 100%;
  }
  .navbar {
    height: auto;
    justify-content: center;
  }
  button > a {
    /* font-size: 2.5rem; */
  }
  .buttons > button {
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-right: 0.3rem;
    /* font-size: 2.5rem; */
  }
  .prev, .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    padding-top: 25%;
    padding-bottom: 25%;
    color: white;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    z-index: 1;
    transform: translateY(-50%); /* Fine-tune to center vertically */
  }
}
