@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/Saira-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/Saira-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/Saira-ExtraBold.woff2') format('woff2');
}

html, body { 
	height: 100vh; 
	margin: 0; 
	padding: 0; 
}

body { 
	background-image: url('background.webp'), radial-gradient(circle,#b11013 30%, #510c01 100%);
	background-size: cover, cover;
	background-attachment: fixed, fixed;
	font-family: sans-serif;
	overflow-x: hidden;
}

.headline {
	display: block;
	margin-inline: auto;
	margin-top: 12vw;
	width: 90%;
	max-width: 800px;
	height: auto;
	filter: drop-shadow(-5px 10px 0 rgba(0,0,0,.4));
}

.chio {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 3vw;
	width: 18vw;
	height: auto;
	filter: drop-shadow(0 10px 10px rgba(0,0,0,.4));
}

.goldfish {
	position: absolute;
	top: 5vw;
	right: 10vw;
	width: 6vw;
	height: 6vw;
	padding: 2vw;
	border-radius: 50%;
	background-color: #1a457d;
	filter: drop-shadow(0 10px 10px rgba(0,0,0,.4));
}

.pombar {
	position: absolute;
	left: 10vw;
	top: 9vw;
	width: 15vw;
	height: auto;
	filter: drop-shadow(0 10px 10px rgba(0,0,0,.4));
}

.boxes {
	width: 90%;
	max-width: 1600px;
	display: flex;
	gap: 20px;
	margin-inline: auto;
	transform: rotate(-10.7deg) translateX(3vw); /* ovaj translate treba provjeriti kad se preslaguje za tablet i mobitel */
	filter: drop-shadow(0 10px 10px rgba(0,0,0,.4));
}



.box svg {
	width: 100%;
	height: auto;
}

.box svg:nth-child(2){
	width: 66%;
}

.box1 {
	width: calc(6 / 15 * 100%);
}

.box2 {
	width: calc(3 / 15 * 100%);
}

.box3 {
	width: calc(6 / 15 * 100%);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

text, 
tspan {
  font-family: 'Saira', sans-serif !important;
}

.tjedan {
	font-size: 6.89px;
	font-weight: 500;
	letter-spacing: -.03em;
}

.redni {
	font-size: 22.93px;
	font-weight: 800;
	fill: #d51317;
}

.dvax {
	font-size: 31.59px;
	font-weight: 800;
	fill: #d51317;
}

.tekst-nagrade {
	font-size: 9.49px;
	font-weight: 500;
	letter-spacing: -.03em;
}

.tekst-nagrade-small {
	font-size: 7.2px;
	font-weight: 500;
	letter-spacing: -.03em;
}

.tekst-title {
	font-size: 11.34px;
	font-weight: 600;
	letter-spacing: -.02em;
}


.pravila .content {
	width: 90%; 
	max-width: 840px; 
	margin: 0 auto;
	padding: 60px 0;
}

.pravila .content * {
	font-family: sans-serif;
	color: #fff;
}

.pravila .headline {
	margin-top: 0;
}

.pravila h1 {
	font-size: 48px;
}

.pravila h2 {
	font-size: 32px;
}

.pravila h3 {
	font-size: 26px;
}

.link {
	cursor: pointer;
	fill: #b11013;
	text-decoration: underline;
}

.link:hover {
	fill: #510c01;
}

#prijava {
	padding-inline: 20px;
}

.bottom {
	color: #fff;
	padding: 0 60px 60px 60px;
}

.bottom p {
	margin-top: 0;
}

.ai {
	width: 135px;
}

.konzum {
	width: 200px;
    height: auto;
}

@media only screen and (max-width: 1279px) {
	.headline {
		max-width: 600px;
	}
}

@media only screen and (max-width: 1023px) {
	.pombar {
		left: 6vw;
	}
	.goldfish {
		right: 6vw;
	}
	.headline {
		max-width: 500px;
	}
	.boxes {
		width: 80%;
		flex-direction: column;
		transform: unset;
	}
	.box1, .box3 {
		width: 100%;
	}
	.box1, .box2 {
		transform: rotate(-11deg);
		margin: 0 auto;
	}
	.box2 {
		width: 60%;
	}
	.box3 {
		gap: 30px;
	}
	.box3 svg {
		transform: rotate(-11deg);
	}
	.box svg:nth-child(2) {
		width: 80%;
		margin: 0 auto;
	}
	#prijava {
		margin-top: 40px;
		transform: unset;
	}
	.bottom {
        padding: 0 15px 40px 15px;
    }
}

@media only screen and (max-width: 767px) {
	.chio {
		top: 5vw;
    	width: 30vw;
	}
	.pombar {
		left: 22vw;
		top: 26vw;
    	width: 32vw;
	}
	.goldfish {
		top: 20vw;
		right: 19vw;
		width: 15vw;
    	height: 15vw;
	}
	.headline {
		margin: 43vw auto 6vw auto
	}

	.pravila .content {
		padding: 30px 0;
	}

	.pravila h1 {
		font-size: 38px;
		line-height: 1.1;
	}

	.pravila h2 {
		font-size: 28px;
		line-height: 1.2;
	}

	.pravila h3 {
		font-size: 22px;
		line-height: 1.3;
	}
}