/*fontovi*/
@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap'); /*glavni tekst*/
@import url('https://fonts.googleapis.com/icon?family=Material+Icons'); /*strelice galerija*/
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap'); /*prva navigacija*/
/*micanje previous*/
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: sans-serif;
}

/*pozadina početna*/
.pozadina {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
  background-image: url("apartmani_danijel_slike/ostale_slike/plaza_jert_krk.jpg"); 
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

/*https://codepen.io/ig_design/pen/XWXZaGb*/

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked){
  position: absolute;
  left: -9999px;
}

/*bijele crte menu početak*/
.menu-icon:checked + label,
.menu-icon:not(:checked) + label{
  position: fixed;
  top: 63px;
  right: 75px;
  display: block;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 10;
}

.menu-icon:checked + label:before,
.menu-icon:not(:checked) + label:before{
  position: absolute;
  content: '';
  display: block;
  width: 30px;
  height: 20px;
  z-index: 20;
  top: 0;
  left: 0;
  border-top: 2px solid #42627b;
  border-bottom: 2px solid #42627b;
  transition: border-width 100ms 1500ms ease, 
              top 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
              height 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1), 
              background-color 200ms ease,
              transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked + label:after,
.menu-icon:not(:checked) + label:after{
  position: absolute;
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  z-index: 20;
  top: 10px;
  right: 4px;
  background-color: #42627b;
  margin-top: -1px;
  transition: width 100ms 1750ms ease, 
              right 100ms 1750ms ease,
              margin-top 100ms ease, 
              transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked + label:before{
  top: 10px;
  transform: rotate(45deg);
  height: 2px;
  background-color: #42627b;
  border-width: 0;
  transition: border-width 100ms 340ms ease, 
              top 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
              height 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1), 
              background-color 200ms 500ms ease,
              transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked + label:after{
  width: 30px;
  margin-top: 0;
  right: 0;
  transform: rotate(-45deg);
  transition: width 100ms ease,
              right 100ms ease,  
              margin-top 100ms 500ms ease, 
              transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-icon:checked ~ .nav {
  animation-play-state: paused;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 200%;
  height: 200%;
  transition: top 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),  
              right 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 250ms 700ms ease,
              width 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1),
              height 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked ~ .nav  ul li {
  pointer-events: all;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 350ms ease,
              transform 250ms ease;
}

.menu-icon:checked ~ .nav ul li:nth-child(1){
  transition-delay: 1500ms;
}
.menu-icon:checked ~ .nav ul li:nth-child(2){
  transition-delay: 1580ms;
}
.menu-icon:checked ~ .nav ul li:nth-child(3){
  transition-delay: 1660ms;
}
.menu-icon:checked ~ .nav ul li:nth-child(4){
  transition-delay: 1740ms;
}

/*navigacija*/
.nav{
  position: fixed;
  top: 33px;
  right: 50px;
  display: block;
  width: 80px;
  height: 80px;
  padding: 0;
  margin: 0;
  z-index: 9;
  overflow: hidden;
  box-shadow: 0 8px 30px 0 rgba(0,0,0,0.3);
  background-color: #eee4d4;
  animation: border-transform 7s linear infinite;
  transition: top 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),  
              right 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 250ms 1100ms ease,
              width 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1),
              height 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav ul{
  position: absolute;
  top: 100vh;
  left: 0;
  display: block;
  width: 200vw;
  padding: 0;
  margin: 0;
  z-index: 6;
  text-align: center;
  transform: translateY(-50%);
  list-style: none;
}

.nav ul li{
  position: relative;
  display: block;
  width: 200vw;
  padding: 0;
  margin: 1vh 0;
  text-align: center;
  list-style: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 250ms linear;
}
.nav ul li:nth-child(1){
  transition-delay: 200ms;
}
.nav ul li:nth-child(2){
  transition-delay: 150ms;
}
.nav ul li:nth-child(3){
  transition-delay: 100ms;
}
.nav ul li:nth-child(4){
  transition-delay: 150ms;
}

.nav ul li a {
  text-decoration: none;
  font-family: "Dosis", sans-serif;
  font-size: 5.5vw;
  font-weight: 400;
  text-transform: uppercase;
  transition: transform 1.2s;
  line-height: 1.2;
  display: inline-block;
  position: relative;
  color: rgba(66, 98, 123, 0.6);
  transition: all 250ms linear; 
}

.nav ul li a:hover {
  color: rgb(66, 98, 123);
  transform: scale(1.07); 
}

/*blob menu*/
@keyframes border-transform{
    0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; } 
  14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; } 
  28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; } 
  42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; } 
  56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; } 
  70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; } 
  84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; } 
}

.trakaiza {
  width: 100vw; 
  box-sizing: border-box;
  margin: 0; 
  padding: 0; 
  position: absolute;
  margin-top: 7vh; }

  .trakaiza a {
    text-decoration: none; 
    color: rgba(238, 228, 212, 1);
  }
  
/*val teksta*/
/*https://codepen.io/Gouwenkang/pen/dyYNwpK*/
.valovi {
  margin-top: 0.6em;
  font-size: 3vw;
  text-align: center;
  background-color:rgba(238, 228, 212, 0.7);
}

.valovi span {
  display: inline-block;
  animation: wave-text 1s ease-in-out 1;
  color: #42627b;
	text-align:center;
	font-size:13vh;
	margin-top: 1vh;
  margin-bottom: 1vh;
	font-family: 'Acme', sans-serif;
  letter-spacing: -10px;
  margin-top: 20px;
}

.valovi span:nth-of-type(1) {
  animation-delay: 0s;
}
.valovi span:nth-of-type(2) {
  animation-delay: 0.2s;
}
.valovi span:nth-of-type(3) {
          animation-delay: 0.4s;
}
.valovi span:nth-of-type(4) {
          animation-delay: 0.6s;
}
.valovi span:nth-of-type(5) {
          animation-delay: 0.8s;
}
.valovi span:nth-of-type(6) {
          animation-delay: 1s;
}
.valovi span:nth-of-type(7) {
          animation-delay: 1.2s;
}
.valovi span:nth-of-type(8) {
          animation-delay: 1.4s;
}
.valovi span:nth-of-type(9) {
          animation-delay: 1.6s;
}
.valovi span:nth-of-type(10) {
          animation-delay: 1.8s;
}
.valovi span:nth-of-type(11) {
          animation-delay: 2s;
}
.valovi span:nth-of-type(12) {
          animation-delay: 2.2s;
}
.valovi span:nth-of-type(13) {
          animation-delay: 2.4s;
}
.valovi span:nth-of-type(14) {
          animation-delay: 2.6s;
}
.valovi span:nth-of-type(15) {
          animation-delay: 2.8s;
}
.valovi span:nth-of-type(16) {
          animation-delay: 3s;
}
.valovi span:nth-of-type(17) {
          animation-delay: 3.2s;
}
 
@keyframes wave-text {
  00% {
    transform: translateY(0em);
  }
  60% {
    transform: translateY(-0.3em);
  }
  100% {
    transform: translateY(0em);
  }
}

/*APARTMANI*/
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-image: url("apartmani_danijel_slike/ostale_slike/more.png"); 
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-x: hidden;
  min-height: 100vh;
}

.header {
  position: fixed;
  top: 0;
  height: 10vh; 
  padding-top: 2vh; 
  left: 0;
  right: 0;
  background-color: rgba(238, 228, 212, 1);
  z-index: 1000;
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 800px) {
  .header {
    height: 14vh; 
    padding-top: 2vh; 
  }
}

/*https://codepen.io/EvyatarDa/pen/waKXMd*/
.second-nav {
  font-family: "Dosis", sans-serif;
  font-size: 3.5vh; 
  font-weight: 500;
  margin: 0 auto;
  padding: 1vh 2vw; 
  text-align: center;
  display: flex;
  justify-content: center;
  list-style: none;
  text-transform: uppercase;
}

.second-nav a {
  color: rgb(66, 98, 123);
  text-decoration: none;
  font-family: "Dosis", sans-serif;
  font-weight: 500;
  margin: 1vh 2vh; 
  padding: 1.5vh; 
  position: relative;
  z-index: 0;
  cursor: pointer;
}

.second-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.second-nav li {
  margin-right: 2vw;
}

.crtewidth a:before,
.crtewidth a:after {
  position: absolute;
  opacity: 0;
  width: 0%;
  height: .2vh; 
  content: '';
  background: rgb(66, 98, 123);
  transition: all 0.5s;
}

.crtewidth a:before {
  left: 0px;
  top: 0px;
}

.crtewidth a:after {
  right: 0px;
  bottom: 0px;
}

.crtewidth a:hover:before,
.crtewidth a:hover:after {
  opacity: 1;
  width: 100%;
}

.crtewidth .blue-link:before,
.crtewidth .blue-link:after {
  opacity: 1;
  width: 100%;
}


@media only screen and (max-width: 768px) {
  .second-nav {
    font-size: 3vw; 
    padding: 2vh 2vw; 
  }

  .second-nav a {
    margin: 1vh auto; 
    padding-top:2.5vh;
    padding-bottom: 5vh;  
  }
}

/*tijelo*/
.rounded-section {
  width: 85%;
  margin: auto;
  background-color: rgba(238, 228, 212, 0.8);
  border-radius: 15px;
  margin-top: 20vh; 
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.5);
}

h2{
  padding-top: 4vh;
	color: rgb(66, 98, 123);
  text-align: center;
	font-size:12vh;
	font-family: 'Acme', sans-serif;
}

@media only screen and (max-width: 768px) {
  h2 {
    font-size: 12vw; 
  }
}


/*galerija*/
/*https://www.youtube.com/watch?v=PsNaoDhzQm0&list=PLpwngcHZlPae68z_mLFNfbJFIJVJ_Zcx2*/
img{
  float:left;
  background-color: rgb(90, 90, 124);
  border-radius: 8pt;
}

.slajder{
  display: flex;
  justify-content: center;
}

.container {
  max-width: 75vw;
  width: 95%;
  margin-top: 6vh;  
}

.container .slider-scrollbar {
  height: 4vh;
  width: 75vw;
  display: flex;
  align-items: center;
}

.slider-wrapper {
  position: relative;
}

.slider-wrapper .slide-button {
  position: absolute;
  top: 30vh;
  outline: none;
  border: none;
  height: 7vh;
  width: 7vh;
  z-index: 5;
  color: rgba(238, 228, 212, 1);
  display: flex;
  cursor: pointer;
  font-size: 2.2rem;
  background: rgb(66, 98, 123);;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translateY(-50%);
}

.slider-wrapper .slide-button:hover {
  background: #42627b;
}

.slider-wrapper .slide-button#prev-slide {
  left: -3.5vh;
  display: none;
}

.slider-wrapper .slide-button#next-slide {
  right: -3.5vh
}

.slider-wrapper .image-list {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1vw;
  font-size: 0;
  list-style: none;
  margin-bottom: 5vh;
  overflow-x: auto;
  scrollbar-width: none;
}

.slider-wrapper .image-list .image-item {
  width: 400px;
  height: 400px;
  object-fit: cover;
}

.slider-scrollbar .scrollbar-track {
  background: rgb(236, 220, 195);
  width: 75vw;
  height: 0.7vh;
  display: flex;
  align-items: center;
  border-radius: 4px;
  position: relative;
}

.slider-scrollbar:hover .scrollbar-track {
  height: 1vh;
}

.slider-scrollbar .scrollbar-thumb {
  position: absolute;
  background: rgb(66, 98, 123);
  top: 0;
  bottom: 0;
  width: 30vw;
  height: 1vh;
  cursor: grab;
  border-radius: inherit;
}

.slider-scrollbar .scrollbar-thumb:active {
  cursor: grabbing;
  height: 1vh;
}

.slider-scrollbar .scrollbar-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2vh;
  bottom: -2vh;
}

/*review*/
/*https://www.geekshelp.in/2023/01/responsive-clients-review-design-using-html-css.html*/
.kontejner{
  color: rgba(238, 228, 212, 1);
  display:flex;
  align-items: center;
  flex-direction: column;
}

h3{
  padding-top: 5vh;
  padding-bottom: 2vh;
	color: rgb(66, 98, 123);
  text-align: center;
	font-size:8vh;
	font-family: 'Acme', sans-serif;
}

.reviewSection {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.reviewItem {
  position: relative; 
  flex: 1;
  width: 45vw; 
  max-width: 400px; 
  padding: 2vh;
  margin: 1rem;
  cursor: pointer;
  border-radius: 10px;
  background-color: rgb(66, 98, 123);
  border: 1px solid rgb(66, 98, 123, 0.9);
  transition: all .2s linear;
}

.reviewItem:hover {
  transform: scale(1.01);
  background-color: rgb(66, 98, 123);
}

.reviewItem a {
  text-decoration: none; 
  color: inherit; 
}

.reviewItem .date {
  text-decoration: none; 
}

.top {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.top ul {
  display: flex;
  list-style: none;
}

.top ul li {
  padding-left: 1vh;
}

.clientImage {
  display: block;
  flex-direction: row;
  align-items: center;
}

.clientImage span {
  margin-left: 1vh;
}

.artikl {
  flex: 1; 
}

.artikl p {
  font-size: 1.7vh;
  font-weight: 100;
  margin-bottom: 1rem;
  font-family: system-ui;
}

.date {
  position: absolute; 
  bottom: 1vh; 
  right: 1vh; 
  color: rgba(238, 228, 212, 1);
  font-size: 1vw; 
}



@media only screen and (max-width: 768px) {
  h3 {
    font-size: 8vw; 
  }

  span{
    font-size: 4vw;
  }

  .reviewItem {
    width: 80vw; 
  }

  .artikl p {
    font-size: 3vw;
  }

  .date {
    font-size: 3vw; 
  }

  .top ul li{
    font-size: 3vw;
  }

}


/*sadržaj apartmana*/
.sadrzaj {
  color: rgb(66, 98, 123);
  font-size: 4vh;
  align-self: center;
  padding: 5vh;
  margin: 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  margin: auto; 
}

.icon-row {
  display: flex;
  justify-content: space-between;
  width: 70vw;
}

.icon {
  text-align: center;
}

.icon p {
  font-size: 2vh; 
  margin: 0; 
}

@media only screen and (max-width: 768px) {
  .sadrzaj {
    font-size: 2.5vh; 
    padding: 3vh; 
  }

  .icon {
    width: 45%; 
  }

  .icon p {
    font-size: 1vh; 
  }
}

.sadrzaj2 .icon p {
  font-size: 2vh; 
  margin: 0; 
  color: rgb(66, 98, 123);
}

.sadrzaj2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  align-items: center;
  text-align: center; 
  color: rgb(66, 98, 123);
}

.sadrzaj2 h3 {
  width: 100%;
  font-size: 5vh;
  margin-bottom: 20px;
}

.sadrzaj2 .icon-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 4vh;
  width: 30vw; 
  margin: 0 auto; 
}

.sadrzaj2 .icon {
  text-align: center;
  padding: 4vh;
}

.sadrzaj2 i {
  font-size: 5vh; 
  margin-bottom: 0.5vh; 
}

@media only screen and (max-width: 768px) {
  .sadrzaj2 h3 {
    font-size: 8vw; 
    margin-bottom: 1vh; 
  }

  .sadrzaj2 .icon-container {
    width: 90vw;
    gap:1vh;
  }

  .sadrzaj2 .icon p {
    font-size: 1vh; 
  }

  .sadrzaj2 i {
    font-size: 2.5vh; 
    margin-bottom: 0.5vh; 
  }
}

/*rezervacija*/
input[type="submit"] {
  background-color: rgb(66, 98, 123);
  color: rgba(238, 228, 212, 1);
  padding: 2vh 3vh;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: rgb(66, 98, 123);
}

.sadrzaj2 p {
  font-size: 2vh; 
  margin: 0;
}

.button-container {
  text-align: center; 
}

.first-submit-button {
  display: inline-block; 
  width: 15vw; 
  height: 10vh; 
  font-size: 3vh; 
  margin-bottom: 2vh; 
  margin-top: 10vh;
}

.napomena {
  text-align: center;
  text-decoration: none;
  color: darkred;
  padding-bottom: 5vh;
}

@media only screen and (max-width: 768px) {
  .sadrzaj2 p {
    font-size: 1.5vh; 
  }

  .first-submit-button {
    width: 30vw; 
    height: 8vh; 
    font-size: 3vw; 
    margin-top: 5vh; 
  }

  .napomena {
    padding-bottom: 3vh; 
  }
}

/*upit forma*/
form {
  background-color: rgba(238, 228, 212, 1);
  max-width: 400px;
  width:20vw;
  margin: 9vh auto;
  margin-top: -2vh;
  padding: 2vh;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

textarea {
  width: 17vw;
  padding: 2vh;
  color: rgb(66, 98, 123);
  background-color: rgba(238, 228, 212, 1);
  margin-bottom: 3vh;
  box-sizing: border-box;
  border: 1px solid rgb(66, 98, 123);
  border-radius: 4px;
  resize: vertical;
}

.button-link-cet {
  text-decoration: none; 
  text-align: center;
  background-color: rgb(66, 98, 123);
  color: rgba(238, 228, 212, 1);
  padding: 2vh;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block; 
  font-size: 2vh; 
}

@media only screen and (max-width: 768px) {
  form {
    width: 70%; 
    max-width: none; 
    margin-top: 5vh; 
  }

  textarea {
    width: 90%; 
    max-width: none; 
  }

  .button-link-cet {
    font-size: 2.5vh; 
  }
}

/*footer*/
footer {
  position: relative;
  bottom: 0;
  height: 10vh;
  margin-top: 10vh;
  padding-top: 1.5vh;
  left: 0;
  right: 0;
  background-color: rgba(238, 228, 212, 1);
  z-index: 1000;
}

.third-nav {
  font-family: "Dosis", sans-serif;
  font-size: 4vh;
  margin: 0 auto;
  padding: 1.5vh 3vw;
  text-align: center;
  display: flex;  
  justify-content: center;  
  list-style: none; 
  text-transform: uppercase;
}

.third-nav a {
  color: rgb(66, 98, 123);
  text-decoration: none;
  margin: 2vw 2vh;
  padding: 2vh;
  position: relative;
  z-index: 0;
  cursor: pointer;
}

.third-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.third-nav li {
  margin-right: 2vw;
}

.widthcrte a:before,
.widthcrte a:after {
  position: absolute;
  opacity: 0;
  width: 0%;
  height: 0.3vh;
  content: '';
  background: rgb(66, 98, 123);
  transition: all 0.5s;
}

.widthcrte a:before {
  left: 0px;
  top: 0px;
}

.widthcrte a:after {
  right: 0px;
  bottom: 0px;
}

.widthcrte a:hover:before,
.widthcrte a:hover:after {
  opacity: 1;
  width: 100%;
}

.button-link {
  text-decoration: none; 
}

/*PREPORUKE*/
/*https://www.youtube.com/watch?v=Q0KNxDpt71c*/
.mjesto {
  margin-top: 20vh; 
  margin-left: auto;
  margin-right: auto;
  padding: 5vh; 
  width: 80%;
  border-radius: 15px;
  background-color: rgba(238, 228, 212, 0.8);
}

.slika{
  width:45%;
  height: auto;
  margin-right: 30px;
  transition: all .2s linear; 
}

.slika:hover{
  transform: scale(1.03); 
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.5);
}

.opis p{
  font-size: 2.5vh; 
  margin: 0; 
  color: rgb(66, 98, 123);
}

.opis h4{
  font-size: 7vh; 
  margin: 0; 
  margin-bottom: 3vh;
  font-family: 'Acme', sans-serif;
  color: rgb(66, 98, 123);
}

@media only screen and (max-width: 768px) {
  .mjesto {
    width: 90%; 
    margin-top: 20vh; 
    padding: 2vh; 
  }

  .slika {
    margin-bottom: 2vh; 
  }

  .opis p {
    font-size: 2.5vh; 
  }

  .opis h4 {
    font-size: 8vw; 
    margin-bottom: 1vh; 
  }
}

/*POTVRDA*/
/*https://codepen.io/warrendunlop/pen/YmVKzm*/
/*https://foolishdeveloper.com/css-wave-animation/*/
.tijelo {
  margin: 0;
  padding: 0;
  height: 100vh; 
  overflow: hidden;
  position: relative; 
}

.box {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.box:before {
  position: absolute;
  content: '';
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.7);
  filter: blur(0);
  opacity: 1;
  transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1);
}

.box:hover:before {
  transform: translate(-50%, -50%) scale(1);
  filter: blur(50px);
}

.box-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.box:before,
.box-inner {
  background-color: rgb(66, 98, 123);
  background-image: 
    url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='198'%3e%3cdefs%3e%3clinearGradient id='a' x1='50%25' x2='50%25' y1='-10.959%25' y2='100%25'%3e%3cstop stop-color='%2388acf0' stop-opacity='.25' offset='0%25'/%3e%3cstop stop-color='%2388acf0' offset='100%25'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' fill-rule='evenodd' d='M.005 121C311 121 409.898-.25 811 0c400 0 500 121 789 121v77H0s.005-48 .005-77z'/%3e%3c/svg%3e"),
    url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='198'%3e%3cdefs%3e%3clinearGradient id='a' x1='50%25' x2='50%25' y1='-10.959%25' y2='100%25'%3e%3cstop stop-color='%23214281' stop-opacity='.25' offset='0%25'/%3e%3cstop stop-color='%23214281' offset='100%25'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' fill-rule='evenodd' d='M.005 121C311 121 409.898-.25 811 0c400 0 500 121 789 121v77H0s.005-48 .005-77z'/%3e%3c/svg%3e"),
    url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='198'%3e%3cdefs%3e%3clinearGradient id='a' x1='50%25' x2='50%25' y1='-10.959%25' y2='100%25'%3e%3cstop stop-color='%230f45ad' stop-opacity='.25' offset='0%25'/%3e%3cstop stop-color='%230f45ad' offset='100%25'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' fill-rule='evenodd' d='M.005 121C311 121 409.898-.25 811 0c400 0 500 121 789 121v77H0s.005-48 .005-77z'/%3e%3c/svg%3e");
  background-repeat: repeat-x;
  background-size: 1600px 50%;
  background-position: 0 130%, -50px 130%, 500px 130%;
  animation: 20s waves linear infinite forwards;
}

@keyframes waves {
  to {
    background-position: 1600px 130%, 3150px 130%, 5300px 130%;
  }
}

.forma {
  text-align: center;
  padding: 40px 0;
}

.card {
  padding: 60px;
  border-radius: 4px;
  display: inline-block;
  margin: 0 auto;
}

.checkmark {
  color: rgb(66, 98, 123);
  font-size: 100px;
  line-height: 180px;
  margin-right: 5px;
}  .naslov {
  color: rgba(238, 228, 212, 1);
  font-family: 'Acme', sans-serif;
  font-weight: 900;
  font-size: 40px;
  margin-bottom: 10px;
}
.sitno {
  color: rgba(238, 228, 212, 1);
  font-family: system-ui;
  font-size:20px;
  margin: 0;
}