*,
*::before,
*::after {
	box-sizing: border-box;
    padding: 0;
    margin: 0;
}

*:focus {
    outline: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: clamp(16px, 1.2vw, 20px);
    background: linear-gradient(180deg, #500 3.37%, #900707 49.04%, #370404 100%) no-repeat fixed;
    color: #F1DFC6;
    font-family: "Instrument Sans", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

@font-face {
    font-family: 'Icons';
    src: url('/assets/fonts/icons.woff2') format('woff2'),
         url('/assets/fonts/icons.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

ul, ol {
    margin: 0;
}

a, a:link, a:hover, a:focus, a:active {
    text-decoration: none;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Staatliches", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    line-height: 1.5;
}

.container {
    max-width: 1440px;
    padding: 0 60px;
    margin: 0 auto;
}

.rules {
    max-width: 860px;
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

section {
    margin: 100px 0;
}

header {
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 170px;
    margin-bottom: -50px;
}

header ul { 
    list-style: none;
}

header ul li {
    display: inline-block;
}

header ul li:not(:last-child) {
    margin-right: clamp(70px, 7vw, 110px);
}

header ul li a {
    color: #fff;
}

.nav-toggle { 
    display: none;
    position: relative; 
}

.nav-toggle .bar { 
    position: absolute;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #F1DFC6; 
    transition: all 0.3s;
}

.nav-toggle .bar.bar1 { 
    top: 0;
    transform: translateX(-50%);
}

.nav-toggle .bar.bar2 { 
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-toggle .bar.bar3 { 
    bottom: 0;
    transform: translateX(-50%);
}

.mob-nav-active .nav-toggle .bar1 { 
    top: 50%;
    transform: translate(-50%, 0) rotate(45deg);
}

.mob-nav-active .nav-toggle .bar2 { 
    opacity: 0;
}

.mob-nav-active .nav-toggle .bar3 { 
    top: 50%;
    bottom: auto;
    transform: translate(-50%, 0) rotate(-45deg);
}

.hero { 
    margin: 0; 
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.ilustracija-img {
    width: clamp(200px, 17vw, 320px);
}

.hero .hero-text {
    text-align: center;
}

.hero .section-title {
    margin-top: 80px;
}

.button {
    font-family: "Staatliches", sans-serif;
    display: inline-block;
    background: #FF6804;
    color: #860707;
    font-size: clamp(24px, 1.8vw, 30px);
    padding: 20px;
    line-height: 1;
    text-align: center;
    border-radius: 60px;
    transition: all 0.3s;
}

.button:hover {
    background: #ff8b3f;
}

.button img {
    width: clamp(20px, 2vw, 30px);
    height: clamp(20px, 2vw, 30px);
    margin-left: 5px;
}

.cta {
    margin-top: 0;
}

.cta p {
    max-width: 500px;
    margin: 0 auto;
}

.cta .buttons-group {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.cta .buttons-group div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.cta .buttons-group div img {
    width: clamp(140px, 30vw, 240px);
    transition: all 0.6s ease-in-out;
}

.cta .buttons-group div:hover img {
    transform: rotate(4deg);
} 

.cta .buttons-group div:hover:last-child img {
    transform: rotate(-4deg);
} 

.cta .buttons-group a {
    width: 100%;
    margin-bottom: 0;
}

.cta .buttons-group a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.ilustracija-img-3 {
    display: none;
}

.section-title {
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
}

.sub-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
}

.mw-text {
    max-width: 900px;
    margin: 0 auto;
}

.row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 60px -30px 0 -30px;
}

.row .col-box {
    width: 33.333%;
    padding: 0 30px;
}

.box {
    background: rgba(248, 31, 31, 0.20);
    padding: 30px;
    height: 100%;
    border-radius: 16px;
}

.box span {
    display: block;
    font-size: clamp(50px, 4vw, 70px);
    line-height: 1;
    font-weight: 700;
    color: #FF6804;
    margin-bottom: 15px;
}

.box h3 {
    font-size: clamp(26px, 2vw, 32px);
    font-weight: 400;
    margin-bottom: 20px;
}

.box p {
    max-width: 300px;
    margin: 0 auto 30px auto;
}

.box img {
    max-height: 220px;
    width: auto;
    margin-top: 15px;
}

.row .col-gallery {
    width: 25%;
    padding: 0 30px;
    margin-bottom: 60px;
    text-align: center;
}

.col-gallery img {
    margin-bottom: 15px;
}

.col-gallery p strong {
    font-size: 22px;
}

.col-gallery p {
    font-size: 18px;
}

.col-gallery a {
    color: #F1DFC6;
}

.col-gallery h3 {
    font-size: clamp(21px, 3vw, 26px);
    font-weight: 400;
} 

.rules {
    padding-bottom: 60px;
}

.style-text p {
    font-size: 18px;
    line-height: 1.8;
    margin: 16px 0;
}

.style-text li {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.style-text ol, .style-text ul {
    margin: 16px 0;
    padding-left: 20px;
}

.style-text h6 {
    font-size: 16px;
    line-height: 1.8;
    margin: 16px 0;
    font-weight: 400;
}

.style-text h5 {
    font-size: 20px;
    line-height: 1.5;
    margin: 20px 0 16px 0;
    font-weight: 400;
}

.style-text h4 {
    font-size: 24px;
    line-height: 1.4;
    margin: 24px 0 18px 0;
    font-weight: 400;
}

.style-text h3 {
    font-size: 32px;
    line-height: 1.3;
    margin: 32px 0 20px 0;
    font-weight: 400;
}

.style-text h2 {
    font-size: 38px;
    line-height: 1.2;
    margin: 38px 0 22px 0;
    font-weight: 400;
}

.style-text h1 {
    font-size: 50px;
    line-height: 1.1;
    margin: 50px 0 24px 0;
    font-weight: 400;
}

.style-text > :first-child {
    margin-top: 0;
}

.share-socials {
    margin: 30px 0 0 0;
}

.share-socials span {
    display: block;
    margin-bottom: 15px;
}

.iconfont { 
    font-family: 'Icons'!important;
    font-size: 2rem;
    color: #F1DFC6;
}

div .iconfont:not(:last-child) {
    margin-right: 30px;
}

.single-page h1 {
    font-size: clamp(44px, 5vw, 70px);
    font-weight: 400;
    line-height: 1;
    flex-wrap: balance;
}

.single-header {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    margin: 50px 0 80px 0;
}

.single-header > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0;
}

.single-header > div {
    width: 50%;
}

#loading {
    padding-bottom: 60px;
}

@media only screen and (max-width: 1399px) {
    .row .col-gallery {
        width: 33.333%;
    }
}

@media only screen and (max-width: 1024px) {
    header nav {
        display: none;
    }
    header .container {
        flex-wrap: wrap;
    }
    header nav {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }
    header ul li {
        display: block;
        text-align: center;
    }
    header ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 25px;
    }
    header ul li a {
        font-family: "Staatliches", sans-serif;
        color: #F1DFC6;
        font-weight: 400;
    }
    .logo img {
        margin-bottom: 0; 
    }
    .nav-toggle {
        display: block;
    }
    .mob-nav-active { 
        overflow: hidden; 
    }
    .mob-nav-active header {
        height: 100vh;
    }
    .mob-nav-active header nav {
        display: block; 
    }
    .hero .container {
        flex-wrap: wrap;
    }
    .hero .naslov-img {
        max-width: 80%;
    }
    .hero .hero-text {
        width: 100%;
    }
    .hero .section-title {
        margin-top: 40px;
    }
    .ilustracija-img-1, .ilustracija-img-2 { 
        display: none;
    }
    .ilustracija-img-3 {
        display: block;
        width: 100%;
        margin-top: 30px;
    }
    .box img {
        margin-top: 0;
    }
    .row .col-gallery {
        width: 50%;
    }
    .single-header {
        flex-direction: column;
        gap: 0;
        margin:  0 0 40px 0;
    }
    .single-header > div {
        width: 100%;
    }
    .single-header > div:first-child {
        padding: 0 0 40px 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    .logo img {
        width: 110px;
    }
    header ul li a {
        font-size: 40px;
    }
    .nav-toggle { 
        width: 40px;
        height: 34px;
    }
    .ilustracija-img-1, .ilustracija-img-2 {
        width: calc(40% - 30px);
    }
    section {
        margin: 70px 0;
    }
    .row {
        margin: 40px -10px 0 -10px;
    }
    .row .col-box {
        padding: 0 10px;
    }
    .box {
        padding: 20px;
    }
    .box img {
        max-height: 120px;
    }
}

@media only screen and (max-width: 767px) {
    .container {
        padding: 0 25px;
    }
    header {
        padding: 15px 0 25px 0;
    }
    header ul li a {
        font-size: 30px;
    }
    .logo img {
        width: 90px;
    }
    .nav-toggle { 
        width: 34px;
        height: 28px;
    }
    .button {
        padding: 16px 40px;
    }
    section {
        margin: 50px 0;
    }
    .cta .buttons-group {
        flex-direction: column;
        gap: 0;
    }
    .cta .buttons-group div {
        gap: 25px;
    }
    .cta .buttons-group div:first-child {
        margin-bottom: 50px;
    }
    .cta .buttons-group a:last-child {
        margin-top: 0;
    }
    .gallery, .rules {
        margin: 0;
    }
    .section-title {
        margin-bottom: 15px;
    }
    .row {
        margin: 30px -25px 0 -25px;
    }
    .row .col-box {
        width: 100%;
        padding: 0px 25px;
        margin-bottom: 20px;
    }
    .box img {
        max-height: 140px;
    }
    .gallery .row {
        margin: 0 -10px;
    }
    .row .col-gallery {
        width: 50%;
        padding: 0 10px;
        margin-bottom: 40px;
    }
    .col-gallery p strong {
        font-size: 18px;
    }
    .col-gallery p {
        font-size: 16px;
    }
    .col-gallery img {
        margin-bottom: 10px;
    }
    .style-text p, .style-text li {
        font-size: 16px;
    }
    .single-page h1 {
        margin-top: 0;
    }
    div .iconfont:not(:last-child) {
        margin-right: 20px;
    }
    .iconfont {
        font-size: 1.5rem;
    }
}
