/**=================================*/
/**============ GENERAL ============*/
/**=================================*/
:root {
	--primary-color: #d1a95c;
	--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;
}

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: -3px;
	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 {
	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: 60vh;
	display: flex;
	align-items: center;
}

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

.oText {
	width: 35%;
	font-family: cirilica1;
	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;
}

.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: 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: cirilica1;
	font-size: 2.08rem;
	background-image: linear-gradient(to right, #d1a95c, #e6bd72, #d1a95c, #d1a95c);
	color: #fff;
	box-shadow: 0 4px 15px 0 #d1a95c;
	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;
}

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

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

.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: 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);
}

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