/**=================================*/
/**============ GENERAL ============*/
/**=================================*/
html {
  font-size: 62.5%; }

body {
  font-size: 1.6rem; }

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

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

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;
}

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

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

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;
}

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

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

/**==========================================*/
/**=============== 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 PSUEDO CLASS CONTROLS THE FLIP ON MOUSEOVER AND MOUSEOUT */
/* .thecard:hover{
transform: rotateX(180deg);
} */

/* 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;
  /* border: 2px solid red; */
}

/* 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;
}

.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: cirilica1;
    color: #313131;
    font-size: 3.2rem;
    margin: 0;
}

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

.desktop {
  display: block;
}

.kontakt-forma {
  background-color: #ffffff;
  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: white;
  width: 100%;
}

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

.half {
  display: flex;
  align-items: center;
  margin-bottom: 2.4rem;
}

.form-container h2 {
  text-align: center;
  margin: 0 auto;
  width: 70%;
  font-family: cirilica1;
  color: #d998af;
}

.txt-dodatak {
  text-align: center;
  margin: 0 auto;
  width: 70%;
  padding-bottom: 5.4rem;
  color: #b1b1b1;
}

.form-select {
  color: #6c757d;
}

.form-container form {
  margin: 0 auto;
  width: 60%;
  display: flex;
  flex-direction: column;
  color: #d998af;
  font-weight: 600;
}

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

.txt-btn {
  text-align: center;
  margin: 0 auto;
  width: 70%;
  padding-bottom: 2.4rem;
  color: #b1b1b1;
  font-weight: 400;
}

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

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

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

.form-control:focus,
.form-select:focus {
    color: #6c757d;
    border-color: #d998af;
    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;
}

option:checked{
   color: #d998af;
}

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

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

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

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

@font-face {
  font-family: cirilica1;
  src: url(assets/fonts/MIROSLN.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: #d998af; 
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
    background: #d998af;
    border-radius: 10px;
}

/**==========================================*/
/**============== SLIDE SHOW ================*/
/**==========================================*/

.splide {
  visibility: visible;
}

.splide__slide a {
  width: 25%;
}

.splide__pagination,
.splide__arrow {
  display: none;
}

.splide__slide {
  display: flex;
  cursor: pointer;
}

.thumb-dg-1,.thumb-dg-2,.thumb-dg-3,.thumb-dg-4,.thumb-dg-5,.thumb-dg-6,.thumb-dg-7,.thumb-dg-8,.thumb-dg-9,.thumb-dg-10,.thumb-dg-11,.thumb-dg-12 {
  /* background-position: center; */
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
  object-fit: cover;
  height: 220px;
  width: 100%;
}

/* .thumb-dg-4,
.thumb-dg-6,
.thumb-dg-9 {
  background-position: bottom;
} */

.thumb-dg-5,
.thumb-dg-9
{
  background-position: top;
}


.thumb-dg-1 {
  background-image: url('assets/thumbnails/1.jpg');
}
.thumb-dg-2 {
  background-image: url('assets/thumbnails/2.jpg');
}
.thumb-dg-3 {
  background-image: url('assets/thumbnails/3.jpg');
}
.thumb-dg-4 {
  background-image: url('assets/thumbnails/4.jpg');
}
.thumb-dg-5 {
  background-image: url('assets/thumbnails/5.jpg');
}
.thumb-dg-6 {
  background-image: url('assets/thumbnails/6.jpg');
}
.thumb-dg-7 {
  background-image: url('assets/thumbnails/7.jpg');
}
.thumb-dg-8 {
  background-image: url('assets/thumbnails/8.jpg');
}
.thumb-dg-9 {
  background-image: url('assets/thumbnails/9.jpg');
}
.thumb-dg-10 {
  background-image: url('assets/thumbnails/10.jpg');
}
.thumb-dg-11 {
  background-image: url('assets/thumbnails/11.jpg');
}
.thumb-dg-12 {
  background-image: url('assets/thumbnails/12.jpg');
}

/**==========================================*/
/**================= 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: #313131;
    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: #313131;
    font-weight: 600;
}

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

footer a:hover {
  color: #313131;
  transform: scale(1.05);
}