html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background-color: white;
  font-family: Roboto;
  font-weight: 400;
  max-width: 100%;
  max-height: 100vh;
  margin: auto;
  overflow-y: auto;
  text-align: center;
  line-height: 0.8;
}

img {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
}

.bullet {
  color: lightgray;
  font-size: 36px;
  line-height: 1.0;
}

.footer {
  bottom: 10px;
  position: fixed;
  color: grey;
  font-size: 12px;
  width: 100%;
}

.handwritten {
  color: royalblue;
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
  line-height: 1.1;
}

.boxtext {
  font-family: Roboto;
  font-weight: 400;
  position: absolute;
  bottom: 10;
  line-height: 1.4;
  z-index: 999;
}

.slider {
  display: block;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  width: 300px;
  z-index: 1;
}

.slides {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slides>div {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 300px;
  height: 350px;
  border-radius: 10px;
  background: whitesmoke;
  transform-origin: center center;
  transform: scale(1);
  transition: transform 0.5s;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.slider>a {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  background: white;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 0 0.5rem 0;
  position: relative;
}

.slider>a:active {
  top: 1px;
}

.slider>a:focus {
  background: #000;
}