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

.scroll-indicator {
	position: absolute;
	bottom: 4rem;
	right: 4rem;
	animation: arrowIndicatorBounce 1.5s infinite;
}

.scroll-indicator img {
	width: 100px;
}

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

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

.oText {
	width: 30%;
	font-family: cirilica1;
	color: var(--secondary-color);
	font-size: 3.2rem;
	margin-bottom: 2rem;
}

button a:hover {
	color: var(--secondary-color);
}

.btn {
	margin: 0 auto;
	padding: 0.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 0.4s ease-in-out;
}

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

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

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

.sample-slider .swiper-wrapper {
	transition-timing-function: linear;
}

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

/**==========================================*/
/**============== GALERIJA.HTML =============*/
/**==========================================*/
.galerija {
	background: #f3eee8;
}

.galerija-rov {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	margin: 7rem auto;
}

.galerija-rov a {
	width: 25%;
	height: 30rem;
	overflow: hidden;
	border-radius: 0.4rem;
	padding: 1rem;
	box-sizing: border-box;
}

#start {
	margin-left: 1rem;
	margin-top: 7rem;
}

.arrow {
	border: solid #000;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 0.3rem;
	vertical-align: middle;
}

.left {
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

.up {
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}

#myBtn {
	display: none;
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 99;
	cursor: pointer;
}

.back-to-top {
	display: flex;
}

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