@import "./styles/reset.css";

/* Add global styles here */

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: #f0f8ff;
  text-align: center;
  padding: 2em;
  color: #333333;
}

h1 {
  color: #1D3557;
  margin: 0.4em 0;
  font-size: 3.5rem;
}

p, li {
  font-size: 1.2em;
  color: #666666;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.body-txt {
  font-size: 1.5rem;
  color: #2D6A4F;
  margin: 0.4em 0;
  font-weight: bold;
}

a {
  color: #d20000;
  /* background-color: #F1FAEE; */
  padding: 0.1em 0.3em;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 2rem;
}

a:hover,
a:focus {
  /* color: #1D3557; */
  background-color: #A8DADC;
  text-decoration: underline;
  outline: none;
}

.text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.no-select {
  user-select: none;
}

.imgwrap {
  display: flex;
  justify-content: center;
}



/* Breakpoints for responsive css */

/* Small devices (phones in portrait mode) */
@media (min-width: 320px) {
    .body-story-txt {
    max-width: 100vw;
    text-align: center;
  }

  .heroimg {
    max-width: 30rem;
}
  /* Styles for small devices */
}

/* Medium devices (phones in landscape mode or smaller tablets) */
@media (min-width: 480px) {
  /* Styles for medium devices */
}

/* Larger phones or small tablets */
@media (min-width: 600px) {
  /* Styles for larger phones or small tablets */
}

/* Tablets */
@media (min-width: 768px) {
    .body-story-txt {
    max-width: 50vw;

    text-align: center;
  }
  /* Styles for tablets */
}

/* Small desktop or large tablets in landscape */
@media (min-width: 1024px) {
    .body-story-txt {
    max-width: 30vw;

    text-align: center;
  }

    .heroimg {
    max-width: 45;
}

.slideshow-container {
   width: 70vw;
}

  /* Styles for small desktops or larger tablets */
}

/* Laptops and desktops */
@media (min-width: 1280px) {
  /* Styles for laptops and desktops */
}

/* Larger desktops */
@media (min-width: 1440px) {
  /* Styles for larger desktops */
}

/* Very large screens */
@media (min-width: 1920px) {
  /* Styles for very large screens (4K and above) */
}





/* Slideshow container */
.slideshow-container {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  /* color: rgb(0, 0, 0); */
  color: black;
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}