@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  position: relative;
}

.stranica-lijeva {
  height: 100%;
  width: 50%;
  background-position: center left;
  background-repeat: no-repeat;
  background-size: 200%;
}

.stranica-desna {
  position: relative;
  height: 100%;
  width: 50%;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 200%;
}
.stranica-u-okretu {
  position: absolute;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 200%;
  background-color: #d3d3d3;
  opacity: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}
.okreni-stranicu {
  transform-origin: left center;
  animation: flipPage 2s forwards;
}

.oblak {
  position: absolute;
  display: none;
  z-index: 10;
  width: 25%;
  background-color: #fff;
  padding: 16px;
  border-radius: 20px;
}

.oblak-11 {
  top: 40px;
  left: 50px;
}

.oblak-12 {
  bottom: 40px;
  right: 40px;
}

.oblak-21 {
  bottom: 40px;
  left: 40px;
}

.oblak-22 {
  top: 30px;
  right: 30px;
}

.oblak-23 {
  bottom: 50px;
  right: 30px;
}

.oblak-31 {
  top: 40px;
  left: 50px;
}

.oblak-32 {
  top: 30px;
  right: 30px;
}

.oblak-33 {
  bottom: 50px;
  right: 30px;
}

.oblak-34 {
  bottom: 50px;
  left: 30px;
}

.oblak-35 {
  top: 30px;
  right: 30px;
}

.oblak-36 {
  bottom: 200px;
  left: 50px;
}

.oblak-37 {
  bottom: 250px;
  right: 200px;
}

.oblak-38 {
  bottom: 50px;
  right: 30px;
}

.oblak-39 {
  top: 40px;
  left: 50px;
}

.oblak-40 {
  bottom: 40px;
  right: 40px;
}

.oblak-41 {
  bottom: 50px;
  left: 50px;
}

.oblak-42 {
  top: 30px;
  right: 30px;
}

.oblak-43 {
  bottom: 40px;
  right: 40px;
}

.oblak-44 {
  top: 10px;
  left: 400px;
}

.oblak-45 {
  top: 100px;
  right: 30px;
}

.prikazi {
  display: block;
}
/* Definiramo animaciju okretanja stranice */
@keyframes flipPage {
  0% {
    opacity: 1;
    transform: perspective(1500px) rotateY(0deg);
  }
  50% {
    opacity: 0.9;
  }
  75% {
    opacity: 0.2;
  }
  95% {
    opacity: 0;
  }
  100% {
    transform: perspective(1500px) rotateY(-180deg);
    opacity: 0;
  }
}
