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

* {
    margin: 0;
    padding: 0;
}

html, body {
    background: #fff;
}

.header {
    width: 100%;
    margin: 0 auto;
    min-height: 720px;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 4rem;
    background: #ede9e6;
    overflow: hidden;
}

.hcontent {
    width: 100%;
    max-width: 1224px;
    min-height: 720px;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    align-content: space-between;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    position: relative;
    z-index: 2;
}

.cta{
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    position: absolute;
    width: 50%;
    top: 50%;
    right: 0;
}

.logo {
    width: 40%;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 10vh;
}

.map {
    width: 60%;
    margin: 0 auto;
    padding: 1rem;
    padding-top: 10vh;
}

.karta {
    position: relative;
}

.cvarak {
    width: 60px;
    height: 60px;
    display: block;
    position: absolute;
    transition: all .3s ease-in-out;
    transform: scale(.9);
    cursor: pointer;
}

.cvarak:hover{
    transform: scale(1.1) rotate(16deg);
}

#cvarakzagreb {
    top: 15%;
    left: 40%;
}

#cvarakistra {
    top: 28%;
    left: 12%;
}

#cvaraklika {
    top: 12%;
    left: 52%;
}

#cvarakdalmacija {
    top: 60%;
    left: 40%;
}

#cvarakslavonija {
    top: 26%;
    left: 65%;
}

.grad {
    width: 100%;
}

.gradimg {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.selfieplace{
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    padding-top: 2rem;
    color: #808080;
    font-weight: 700;
}

.mininav{
    width: 80%;
    margin: 0 auto;
    max-width: 960px;
    display: flex;
    list-style: none;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    color: #808080;
}

.listitem{
    padding-left: 1rem;
    text-align: center;
    color: #b51d25;
    text-transform: uppercase;
    cursor: pointer;
}

.listitem:hover{
    text-decoration: underline;
}

.flower {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    padding-top: 2rem;
    animation-name: wiggle;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: center center;
}

@keyframes wiggle{
    0%{
        transform: rotate(0deg);
    }
    2%{
        transform: rotate(2deg);
    }
    4%{
        transform: rotate(-2deg);
    }
    6%{
        transform: rotate(0deg);
    }
    8%{
        transform: rotate(2deg);
    }
    10%{
        transform: rotate(0deg);
    }
    12%{
        transform: rotate(-2deg);
    }
    14%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(0deg);
    }
}

.mapimg {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 1rem;
}

.cityimg {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.storyblock {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding-top: 2rem;
}

.city {
    width: 100%;
    background: url(img/pozadina-grad.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    position: relative;
}

.htz{
    width: 100%;
    max-width: 460px;
    display: block;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.thnx{
    width: 100%;
    max-width: 460px;
    display: block;
    margin: 0 auto;
    opacity: 0;
    transition: all .4s linear;
}

.selfie {
    width: 100%;
    background: url(img/pozadina-selfie.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.pisma {
    width: 100%;
    background: url(img/pozadina-video.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.content {
    width: 100%;
    max-width: 1224px;
    margin: 0 auto;
}

.cityblock {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

.citypic {
    width: 60%;
    padding: 2rem;
}

.cityname {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 760px;
    padding: 3rem 0 5rem 10rem;
}

.piecename {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 580px;
    padding: 4rem 0;
}

.pieceselfie {
    max-width: 440px;
}

.piecesecret{
    max-width: 800px;   
}

.pic {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.citystory {
    width: 40%;
    padding: 2rem 2rem 4rem 2rem;
    display: flex;
    align-content: space-between;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.text {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #808080;
}

.textcenter {
    width: 80%;
    max-width: 560px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #808080;
    text-align: center;
    padding-top: 2rem;
}

.textup{
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #808080;
    text-align: center;
    padding-top: 2rem;
    text-transform: uppercase;
}

.more {
    display: block;
    width: 160px;
    height: 40px;
    background: #808080;
    color: #fff;
    border-radius: 1rem;
    outline: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    text-decoration: none;
    align-items: center;
}

.author {
    padding-top: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #808080;
}

.citytitle{
    padding-top: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #808080;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
}

.video {
    padding-top: 6rem;
    width: 100%;
    background: url(img/pozadina-video.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.tvbox {
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
}

.tv {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 560px;
    cursor: pointer;
}

.vox {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 280px;
    padding-top: 2rem;
    padding-left: 4rem;
}

.grid{
    width: 100%;
    max-width: 1224px;
    margin: 0 auto;
    display: flex;
    align-content: center;
    padding: 2rem 0 4rem 0;
    transition: all .4s linear;
}   

.item{
    margin: 0 auto;
    cursor: pointer;
}

.item:hover > .circle{
    background: #808080;
    transform: scale(1.4);
}

.item15{
    width: 15%;
}

.item20{
    width: 20%;
}

.item30{
    width: 30%;
}

.star{
    text-align: center;
    padding-left: 2rem;
    padding-top: 1rem;
}

.grid iframe{
    margin: 0 auto;
    width: 600px;
    height: 250px;
}


.circle{
    margin: 0 auto;
    width: 20px;
    height: 20px;
    border: 1px solid #808080;
    border-radius: 50%;
}

.selfieslider{
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
}

.pismaslider{
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
}

.slide {
    position: relative;
    padding: 3rem;
    text-align: center;
    outline: none;
    margin: 0 auto;
}

.slick-prev, .slick-next {
    width: 60px;
    height: 60px;
    z-index: 10;
}

/* .slick-prev {
    left: -50px;
    top: 40%;
}

.slick-next {
    right: -50px;
    top: 40%;
} */

.slick-prev:before, .slick-next:before{
    color: #808080;
    font-size: 3rem;
}

.slick-slide img{
    margin: 0 auto;
}

.pismaslider .slick-slide img{
    width: 100%;
}

.selfiepicture{
    display: block;
    margin: 0 auto;
    width: 80%;
    max-width: 260px;
}

.none{
    display: none;
}

.snow {
    position: absolute;
    background: #fff;
    width: 30px;
    height: 30px;
    opacity: .8;
    top: 1%;
    left: 1%;
    border-radius: 50%;
    transition: all 1s linear;
}


canvas{
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    background-color: #ede9e6;
}

.video2{
    position: fixed;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    transition: all .4s linear;
    z-index: 55;
}

.holder{
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
}

.close{
    position: absolute;
    right: 20px;
    top: 20px;
    background: #2c2c2c;
    border-radius: 50%;
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    line-height: 2;
    cursor: pointer;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}


@media screen and (max-width: 1441px){
    .hcontent{
        max-width: 1024px;
    }
}

@media screen and (max-width: 1368px){
    .hcontent{
        max-width: 860px;
    }
}


@media screen and (max-width: 668px){
    .hcontent{
        display: block;
    }
    .logo{
        width: 100%;
    }
    .map{
        width: 100%;
        padding-top: 0;
    }
    .cityname{
        padding: 1rem;
    }
    .cityblock{
        display: block;
    }
    .citypic,
    .citystory{
        width: 100%;
        padding: 1rem;
    }
    .more{
        margin: 0 auto;
        margin-top: 2rem;
    }
    .piecename{
        padding: 2rem;
    }
    .selfieslider,
    .pismaslider{
        width: 80%;
    }
    .grid{
        display: block;
    }
    .item15,
    .item20,
    .item30{
        width: 100%;
        padding: 1rem;
    }
    .thnx{
        width: 80%;
    }
    .none{
        display: none;
    }
    .cta{
        top: 100%;
        right: 50%;
        width: 100%;
        transform: translateX(50%);
        text-align: center;
    }
    .mininav{
        display: block;
    }
    .listitem{
        padding-top: .6rem;
    }
    .embed-container {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        max-width: 100%;
        left: 25%;
    }
    .grid iframe{
        margin: 0 auto;
        width: 100%;
    }


}