/**=================================*/
/**============ GENERAL ============*/
/**=================================*/

:root {
   --primary-color: #d998af;
   --secondary-color: #313131;
   --light-silver-color: #b1b1b1;
   --form-color: #6c757d;
}

html {
   font-size: 62.5%;
}

body {
   font-size: 1.6rem;
}

/**==========================================*/
/**================= HEADER =================*/
/**==========================================*/

header {
   height: 100vh;
   background-image: url('assets/1.jpg');
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   overflow: hidden;
   position: relative;
}

header img.move {
   width: 100%;
   height: 100vh;
   object-fit: cover;
}

header img.confets {
   width: 100%;
   height: 100vh;
   object-fit: cover;
   position: relative;
   position: absolute;
   left: 0;
}

header img.confets {
   position: absolute;
   animation: confettiAnimation 3.25s ease infinite;
}

@keyframes confettiAnimation {
   0% {
      transform: scale(0);
      opacity: 0;
   }
   100% {
      transform: scale(1);
      opacity: 1;
   }
}

header .ballons-left,
header .ballons-right {
   position: absolute;
   width: 100%;
   height: 100vh;
   object-fit: cover;
}

header .ballons-left {
   animation: ballons 3s infinite ease-in-out;
}

header .ballons-right {
   animation: ballons1 3s infinite ease-in-out;
}

header .ballons-left-mob,
header .ballons-right-mob {
   display: none;
}

header .ballons-left-mob {
   animation: ballons-mob 3s infinite ease-in-out;
}

header .ballons-right-mob {
   animation: ballons1-mob 3s infinite ease-in-out;
}

/**==========================================*/
/**=============== POZIVNICA ================*/
/**==========================================*/

.pozivnica {
   overflow-x: hidden;
}

.pismo {
   height: 100vh;
}

#flip-card-inner {
   display: flex;
   justify-content: center;
   align-items: self-end;
   position: relative;
   width: 100%;
   height: 100%;
   text-align: center;
   transition: transform 0.6s;
   transform-style: preserve-3d;
}

#flip-card-front {
   background-image: url('/assets/pismo/1-3.png');
   background-repeat: no-repeat;
   background-position: top;
   background-size: contain;
   z-index: 2;
   position: absolute;
   /** pozicija pisma  */
   bottom: 10%;
   height: 600px;
   width: 600px;
}

#letter {
   position: absolute;
   top: 0px;
   width: 100%;
   height: 100%;
}

#letter img {
   width: 80%;
   height: auto;
}

#envelope {
   background-image: url('/assets/pismo/1.png');
   background-repeat: no-repeat;
   background-position: center;
   background-size: contain;
   z-index: 4;
   position: absolute;
   height: 600px;
   width: 600px;
}

/* THE MAINCONTAINER HOLDS EVERYTHING */
.maincontainer {
   position: absolute;
   width: 600px;
   height: 600px;
   background: none;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}

/* THE CARD HOLDS THE FRONT AND BACK FACES */
.thecard {
   position: absolute;
   top: 208px;
   left: 0;
   width: 100%;
   height: 100%;
   border-radius: 10px;
   transform-style: preserve-3d;
   z-index: 6;
}

/* THE FRONT FACE OF THE CARD, WHICH SHOWS BY DEFAULT */
.thefront {
   position: absolute;
   top: 0;
   left: 54px;
   width: 82%;
   height: 100%;
   backface-visibility: hidden;
   overflow: hidden;
   color: #000;
   background-image: url('assets/pismo/1-1.png');
   background-position: top;
   background-size: contain;
   background-repeat: no-repeat;
}

/* THE BACK FACE OF THE CARD, WHICH SHOWS ON MOUSEOVER */
.theback {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 35%;
   backface-visibility: hidden;
   overflow: hidden;
   transform: rotateX(180deg);
   background-image: url('assets/pismo/1-2.png');
   background-position: top;
   background-size: contain;
   background-repeat: no-repeat;
}

.scroll-indicator-top,
.scroll-indicator-bottom {
   display: none;
   animation: arrowIndicatorBounce 2.3s infinite;
   justify-content: center;
   position: relative;
   z-index: 999;
}

.scroll-indicator-top img,
.scroll-indicator-bottom img {
   cursor: pointer;
   width: 20px;
}

.obavestenje {
   background-image: url('assets/baloni-section.png');
   background-position: top;
   background-size: cover;
   background-repeat: no-repeat;
   background-attachment: fixed;
   height: 60vh;
   display: flex;
   align-items: center;
}

.kontejner {
   width: 80%;
   margin: 0 auto;
}

.oText {
   width: 35%;
   font-family: century_bold;
   color: var(--secondary-color);
   font-size: 3.2rem;
   margin: 0;
}

/**==========================================*/
/**============= CONTACT FORM ===============*/
/**==========================================*/

.desktop {
   display: block;
}

.kontakt-forma {
   background-color: #fff;
   margin: 10rem 0;
}

.form-container h2 {
   font-size: 3.2rem;
}

input.form-control,
textarea.form-control,
select.form-select,
.txt-dodatak,
.txt-btn {
   font-size: 1.6rem;
}

input[type='text'],
select,
textarea {
   box-sizing: border-box; /* Make sure that padding and width stays in place */
   margin-bottom: 2.4rem; /* Bottom margin */
   resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
}

input[type='submit'] {
   background-color: #95a09c;
   color: #fff;
   width: 100%;
}

input[type='submit']:hover {
   background-color: #436947;
}

.first-half,
.second-half {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 2.4rem;
}

.first-half label,
.second-half label {
   width: 30%;
}

.first-half select,
.second-half select {
   width: 70%;
}

.form-container h2 {
   text-align: center;
   margin: 0 auto;
   width: 70%;
   font-family: century_bold;
   color: var(--primary-color);
}

.txt-dodatak {
   text-align: center;
   margin: 0 auto;
   width: 70%;
   padding-bottom: 5.4rem;
   color: var(--light-silver-color);
}

.form-select {
   color: var(--form-color);
}

.form-container form {
   margin: 0 auto;
   width: 60%;
   display: flex;
   flex-direction: column;
   color: var(--primary-color);
   font-weight: 600;
}

.form-select {
   margin-bottom: 0;
}

.txt-btn {
   text-align: center;
   margin: 0 auto;
   width: 70%;
   padding-bottom: 2.4rem;
   color: var(--light-silver-color);
   font-weight: 400;
}

.btn {
   margin: 0 auto;
   padding: 0.9rem 1.8rem;
   font-family: century_bold;
   font-size: 2.08rem;
   background-image: linear-gradient(to right, #d998af, #cc869f, #ecb9cb, #d998af);
   color: #fff;
   box-shadow: 0 4px 15px 0 #cc869f;
   background-size: 300% 100%;
   transition: all 0.4s ease-in-out;
}

.btn:hover {
   color: #fff !important;
   background-position: 100% 0;
   transition: all 0.4s ease-in-out;
}

.submit-btn.disabled {
   opacity: 0.6 !important;
   pointer-events: none !important;
   cursor: not-allowed !important;
}

label {
   margin-bottom: 1rem;
   /* text-indent: 1rem; */
}

.form-control:focus,
.form-select:focus {
   color: var(--form-color);
   border-color: var(--primary-color);
   box-shadow: 0 0 0 0.25rem rgb(222 184 103 / 43%);
}

.form-messages {
   margin: 0 auto;
   padding: 1rem;
   border-radius: 3px;
   font-size: 1.6rem;
   margin-top: 2rem;
   color: #fff;
   text-align: center;
}

option:checked {
   color: var(--primary-color);
}

.success {
   background-color: rgba(140, 198, 63, 0.7);
}

.error {
   background-color: rgba(198, 94, 63, 0.7);
}

.input-error {
   color: #fff;
   /* background-color: red; */
   background-color: rgba(198, 94, 63, 0.7);
   margin: 1rem 0;
   padding: 1rem;
   border-radius: 3px;
   display: none;
}

.form-loader {
   display: flex;
   gap: 0.5rem;
   align-items: center;
   font-size: 1.2rem;
   color: #555;
   margin: 2rem auto 0 auto;
}

.loader {
   width: 18px;
   height: 18px;
   border: 3px solid #ddd;
   border-top: 3px solid #555;
   border-radius: 50%;
   animation: spin 1s linear infinite;
}

@keyframes spin {
   0% {
      transform: rotate(0deg);
   }
   100% {
      transform: rotate(360deg);
   }
}

/**==========================================*/
/**================= FONTS ==================*/
/**==========================================*/

@font-face {
   font-family: century_normal;
   src: url(assets/fonts/Century_Normal.ttf);
}

@font-face {
   font-family: century_bold;
   src: url(assets/fonts/Century_Bold.ttf);
}

/***** Let's get this party started *****/

::-webkit-scrollbar {
   width: 12px;
}

/* Track */

::-webkit-scrollbar-track {
   -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
   /* border-radius: 10px; */
}

/* Handle */

::-webkit-scrollbar-thumb {
   /* border-radius: 10px; */
   background: var(--primary-color);
   border-radius: 10px;
   -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
   background: var(--primary-color);
   border-radius: 10px;
}

/**==========================================*/
/**============== SLIDE SHOW ================*/
/**==========================================*/
.sample-slider {
   width: 100%;
   overflow: hidden;
}

.sample-slider img {
   width: 100%;
   height: 250px;
   object-fit: cover;
   object-position: top;
}

.sample-slider .swiper-wrapper {
   transition-timing-function: linear !important;
   will-change: transform;
}

/**==========================================*/
/**================= FOOTER =================*/
/**==========================================*/

footer {
   height: 30vh;
   background-image: url(assets/baloni-section.png);
   background-position: top;
   background-size: cover;
   background-repeat: no-repeat;
   background-attachment: fixed;
   color: var(--secondary-color);
   font-weight: 500;
}

footer div {
   height: inherit;
   display: flex;
   flex-direction: column;
   justify-content: center;
   text-align: center;
}

footer div p {
   font-size: 1.6rem;
}

footer img {
   height: inherit;
   width: inherit;
   position: absolute;
}

a {
   text-decoration: none;
   color: var(--secondary-color);
   font-weight: 600;
}

footer a {
   display: inline-block;
   transition: 0.3s linear;
   font-size: 1.6rem;
}

footer a:hover {
   color: var(--secondary-color);
   transform: scale(1.05);
}

/**==========================================*/
/**============== CSS ANIMATIONS =============*/
/**==========================================*/

@keyframes arrowIndicatorBounce {
   0%,
   20%,
   50%,
   80%,
   100% {
      transform: translateY(0);
   }
   40% {
      transform: translateY(-20px);
   }
   60% {
      transform: translateY(-10px);
   }
}

@keyframes ballons-mob {
   0% {
      right: -200px;
   }
   50% {
      right: -120px;
   }
   100% {
      right: -200px;
   }
}

@keyframes ballons1-mob {
   0% {
      left: -200px;
   }
   50% {
      left: -120px;
   }
   100% {
      left: -200px;
   }
}

@keyframes ballons {
   0% {
      right: 80px;
   }
   50% {
      right: 0;
   }
   100% {
      right: 80px;
   }
}

@keyframes ballons1 {
   0% {
      left: 80px;
   }
   50% {
      left: 0;
   }
   100% {
      left: 80px;
   }
}
