/* -- default stylings!! */
@import url('https://fonts.googleapis.com/css2?family=Mali:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grandstander:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  height: 100%;
  padding: 0;
  overflow: hidden;
  min-height: 100vh;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 190%;
  font-family: Mali, sans-serif;
  color: deepskyblue;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: grandstander, cursive;
  letter-spacing: 0.025em;
  text-align: left;
}

#title {
  font-size: 52px;
  margin: 1vw auto;
  text-align: center;
  text-shadow: 1px 1px deepskyblue, -1px -1px deepskyblue, 1px -1px deepskyblue, -1px 1px deepskyblue, 2px 2px white, 5px 5px #d2e7e7;
}

.subtitle {
  font-size: 28px;
  font-family: grandstander, cursive;
  font-weight: 300;
}

h1 {
  color: #c4ebff;
  text-shadow: 1px 1px deepskyblue, -1px -1px deepskyblue, 1px -1px deepskyblue, -1px 1px deepskyblue;
  font-size: 25px;
}

p {
  font-size: 18px;
}

/* main box */
#box {
  background-color: white;
  height: calc(720px - 4em);
  width: calc(1280px - 4em);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2em;
}

.mySlides {
  display: none;
  width: 100%;
  height: 100%;
}

.centered {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Position the "next button" to the right */
.next {
  right: 2vw;
}

.prev {
  left: 2vw;
}

.next,
.prev {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev:hover,
.next:hover {
  cursor: pointer;
}

button {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

@-webkit-keyframes fade {
  from {
    opacity: 0.4
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: 0.4
  }

  to {
    opacity: 1
  }
}
