@keyframes slowGifAnimation {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 200%; }
  /* 75% { background-position: 100% 0%; } */
  /* 100% { background-position: 0% 0%; } */
}

#titlePage {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("assets/ezgif.com-gif-maker.gif");
  animation: slowGifAnimation 6s infinite ease-in-out;
  width: 100%;
  height: 100vh;
  margin: 0 0;
  
}

.titleContainer {
  background-color: #fff;
  text-align: center;
  width: 100%;
  padding: 20px;
}

.titleContainer > h1 {
  font-size: 50px;
}

.titleContainer > h2 {
  font-size: 30px;
}

/* --------------------- */

body {
  /* font-family: 'Arial', sans-serif; */
  font-family: "Courier New", Courier, monospace;
  /* background-color: #f0f0f0; */
  background-image: url("./assets/spacetime.gif");
  background-size: 25% 25%; 
  background-repeat: repeat;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.slidePage {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  /* text-align: center; */
  display: flex;
  flex-direction: column;
  max-width: 70%;
  min-width: 30%;
  max-height: 85%;
  margin: 25px;
  overflow: auto;
}

.block {
  margin-bottom: 20px;
}

h1 {
  font-size: 45px;
  color: #0078d4;
  text-align: center;
}

h2 {
  padding-left: 8px;
  padding-right: 10px;
  align-self: center;
  font-size: 30px;
}

p {
  font-size: 18px;
  line-height: 1.5;
  padding-left: 50px;
  padding-right: 50px;
}

.blurb {
  color: #000000; 
  padding: 15px; 
  margin: 10px;
  border-radius: 10px;
  border: 1px solid #5e5e5ed0; 
  text-align: center;
  font-weight: 900;
  /* display: inline-block; */
  /* width: 50%; */
  width: fit-content;
  align-self: center;
}

.ada-button {
  text-decoration: none;
  font-weight: 800;
  color: white;
  background-color: #000000;
  text-align: center;
  margin: 10px;
  border-radius: 30px;
  padding: 15px 25px;
  /* display: inline-block; */
  align-self: center;
  max-width: 50%;
}

.final-slide-text {
  text-align: center;
}

.button-container {
  display: inline-block;

  max-width: 500px; 
  max-height: 875px; 
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  align-self: center;
  margin: 50px;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.to-slides {
  text-decoration: none;
  color: black;
  margin: 20px;
}

.img-row-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  max-height: 400px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.img-row-item {
  max-width: 500px;
  max-height: 500px;
  display: block;
  margin: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  /* border: 3px black; */
}


/* -------------------------------------- */

@keyframes changeBackgroundColor1 {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: transparent;
  }
  75% {
    background-color: #ca1414;
  }
  100% {
    background-color: transparent;
  }
}

@keyframes changeBackgroundColor2 {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: transparent;
  }
  75% {
    background-color: rgb(21, 214, 54);
  }
  100% {
    background-color: transparent;
  }
}

.nextButton, .prevButton {
  font-size: 32px;
  font-weight: 900;
  padding: 10px 20px;
  /* background-color: transparent; */
  color: #ffffff;
  margin: 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.nextButton {
  position: fixed;
  bottom: 10%;
  right: 1%;
  /* animation: changeBackgroundColor2 2s infinite; */
  /* animation-play-state: running; */
}

.prevButton {
  position: fixed;
  bottom: 10%;
  left: 1%;
  /* animation: changeBackgroundColor1 2s infinite; */
  /* animation-play-state: running; */
}

.prevButton:hover {
  animation-play-state: paused;
  background-color: #ca1414;
  transition: background-color 0.3s;

}

.nextButton:hover {
  animation-play-state: paused;
  background-color:  rgb(21, 214, 54);
  transition: background-color 0.3s;
}