* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-size: 0;
}

@font-face {
  font-family: MarckScript;
  src: url(../add/fonts/MarckScript-Regular.ttf);
}
body {
  min-height: 100vh;
  background-image: linear-gradient(to right top, lightgreen, lightskyblue);
}

.main-name {
  font-size: 100px;
  position: fixed;
  left: calc(50% - 550px);
  width: 1100px;
  text-align: center;
  z-index: 20;
  font-family: MarckScript;
  color: white;
  text-shadow: -5px -5px 5px black;
}

input {
  display: none;
}

.labels {
  position: fixed;
  right: 0;
  top: calc(50% - 125px);
  z-index: 10;
}
.labels label {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid white;
  margin: 10px 30px;
}

input:nth-child(1):checked ~ .labels label:nth-child(1) {
  background-color: white;
}

input:nth-child(2):checked ~ .labels label:nth-child(2) {
  background-color: white;
}

input:nth-child(3):checked ~ .labels label:nth-child(3) {
  background-color: white;
}

input:nth-child(4):checked ~ .labels label:nth-child(4) {
  background-color: white;
}

figure {
  display: flex;
  justify-content: center;
}

figure img:nth-child(1) {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: -100%;
}

input:nth-child(1):checked ~ figure img:nth-child(1) {
  animation-name: move-img;
  animation-duration: 1.1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

figure img:nth-child(2) {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: -100%;
}
@media (min-width: 2561px) {
  figure img:nth-child(2) {
    width: 75%;
  }
}

input:nth-child(2):checked ~ figure img:nth-child(2) {
  animation-name: move-img;
  animation-duration: 1.1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

figure img:nth-child(3) {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: -100%;
}
@media (min-width: 2561px) {
  figure img:nth-child(3) {
    width: 75%;
  }
}

input:nth-child(3):checked ~ figure img:nth-child(3) {
  animation-name: move-img;
  animation-duration: 1.1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

figure img:nth-child(4) {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: -100%;
}

input:nth-child(4):checked ~ figure img:nth-child(4) {
  animation-name: move-img;
  animation-duration: 1.1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes move-img {
  100% {
    top: 0;
  }
}

/*# sourceMappingURL=style.css.map */
