/**=================================*/
/**============ 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/BG-grad.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	position: relative;
}

header .content {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #4c4c4c;
	width: 100%;
	z-index: 2;
}

header .content h1 {
	font-family: GreatVibes, 'Times New Roman', Times, serif;
	font-size: 14rem;
	margin-bottom: 1rem;
}

header .content p {
	font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
	font-size: 2.5rem;
	margin-bottom: 6rem;
	text-transform: uppercase;
}

.countdown {
	width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-evenly;
}

.countdown .bloc-time {
	float: left;
	text-align: center;
}

.countdown .bloc-time:last-child {
	margin-right: 0;
}

.countdown .count-title {
	display: block;
	margin-bottom: 15px;
	font: normal 1.5rem 'Lato';
	color: #1a1a1a;
	text-transform: uppercase;
}

.countdown .figure {
	position: relative;
	float: left;
	height: 100px;
	width: 80px;
	margin-right: 5px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2), inset 2px 4px 0 0 rgba(255, 255, 255, 0.08);
}

.countdown .figure:last-child {
	margin-right: 0;
}

.countdown .figure>span {
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	font: normal 5.94em/102px 'Lato';
	font-weight: 700;
	color: var(--primary-color);
}

.countdown .figure .top:after,
.countdown .figure .bottom-back:after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.countdown .figure .top {
	z-index: 3;
	background-color: #f7f7f7;
	transform-origin: 50% 100%;
	-webkit-transform-origin: 50% 100%;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	transform: perspective(200px);
}

.countdown .figure .bottom {
	z-index: 1;
}

.countdown .figure .bottom:before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background-color: rgba(0, 0, 0, .02);
}

.countdown .figure .bottom-back {
	z-index: 2;
	top: 0;
	height: 50%;
	overflow: hidden;
	background-color: #f7f7f7;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.countdown .figure .bottom-back span {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
}

.countdown .figure .top,
.countdown .figure .top-back {
	height: 50%;
	overflow: hidden;
	backface-visibility: hidden;
}

.countdown .figure .top-back {
	z-index: 4;
	bottom: 0;
	background-color: #fff;
	-webkit-transform-origin: 50% 0;
	transform-origin: 50% 0;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	transform: perspective(200px) rotateX(180deg);
}

.countdown .figure .top-back span {
	position: absolute;
	top: -100%;
	left: 0;
	right: 0;
	margin: auto;
}

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;
	object-position: left;
}

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

/**==========================================*/
/**=============== 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: Cambria;
	color: var(--secondary-color);
	font-size: 3.2rem;
	margin: 0;
	margin-bottom: 2rem;
}

/**==========================================*/
/**=============== TIMELINE =================*/
/**==========================================*/
.timeline {
	text-align: center;
}

.timeline h1 {
	font-family: GreatVibes, 'Times New Roman', Times, serif;
	font-size: 9rem;
	margin-bottom: 10rem;
}

.timeline-wrapper {
	width: 100%;
	padding: 10rem 10rem 2rem 10rem;
	margin-bottom: 10rem;
	position: relative;
}

.timeline-wrapper:before {
	content: '';
	position: absolute;
	top: 0px;
	left: calc(50% + 1px);
	bottom: 0px;
	width: 4px;
	background: #ddd;
}

.timeline-wrapper:after {
	content: "";
	display: table;
	clear: both;
}

.timeline-wrapper .entry:last-child .icon {
	margin: 0;
}

.entry {
	clear: both;
	text-align: left;
	position: relative;
}

.entry .year {
	margin-bottom: 0.5em;
	float: right;
	width: 50%;
	padding-left: 60px;
	position: relative;
}

.entry .year:before {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	border: 6px solid var(--primary-color);
	background-color: #fff;
	border-radius: 100%;
	top: 15%;
	left: -3px;
	z-index: 99;
}

.entry .year h3,
.entry .year p {
	margin: 0;
	font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.entry .year h3 {
	font-size: 3rem;
}

.entry .year p {
	font-size: 1.7rem;
	text-transform: uppercase;
}

.entry .icon {
	margin: 0 0 3em;
	width: 50%;
	float: left;
	padding-right: 60px;
	text-align: right;
	bottom: 40px;
	position: relative;
}

.entry .icon img {
	width: 100px;
}

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

.desktop {
	display: block;
}

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

.form-container h2 {
	font-size: 3.2rem;
	text-align: center;
	margin: 0 auto;
	font-family: Cambria;
	color: var(--primary-color);
	text-transform: uppercase;
}

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

textarea {
	height: 11rem;
}

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

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

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

.form-container form {
	margin: 0 auto;
	width: 50%;
	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;
	padding-bottom: 2.4rem;
	color: var(--light-silver-color);
	font-weight: 400;
}

.btn {
	margin: 0 auto;
	padding: 0.9rem 1.8rem;
	font-family: Cambria;
	font-size: 2.08rem;
	font-weight: bold;
	background-image: linear-gradient(to right, #d1a95c, #e6bd72, #d1a95c, #d1a95c);
	color: var(--secondary-color);
	box-shadow: 0 4px 15px 0 #d1a95c;
	background-size: 300% 100%;
	transition: all 0.4s ease-in-out;
}

.btn:hover {
	color: var(--secondary-color) !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);
}

/**==========================================*/
/**============== GALERIJA.HTML =============*/
/**==========================================*/

.galerija button {
	display: inline-flex;
    align-items: center;
    gap: 1rem;
}

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

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

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

@font-face {
	font-family: Cambria;
	src: url('/assets/fonts/Cambria.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;
}

.object-position-center {
	object-position: center !important;
}

.object-position-bottom {
	object-position: bottom !important;
}

/**==========================================*/
/**================= 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 {
	0% {
		right: 80px;
	}

	50% {
		right: 0;
	}

	100% {
		right: 80px;
	}
}

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

	50% {
		left: 0;
	}

	100% {
		left: 80px;
	}
}