* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html {
    overflow:visible;
}
body {
    margin: 0;
}

main {
    display: flex;
    min-height:40vh;
    justify-content: space-evenly;
    align-items: center;
    z-index: -2;
}

/* nav */
/* /////////////////////////// */
nav {
    position: absolute;
    top: 0px;
    right: 15px;
    z-index: 3;

    font-size: 1.85em;
    font-weight: normal;
    color: #888;
    letter-spacing: 0.025em;
    overflow: hidden;
}
span a {
    color: #888;
    text-decoration: none;
}
span a:hover {
    color: #f08060;
}
.altNav {
    display: none;
    background-color: #f07f602f;
}
/* /////////////////////////// */

/* paragraph */
/* /////////////////////////// */
.info { width: 45%; }
strong { color: #60ef98; }
p a { color: #f08060 !important; }

h3 {
    font-size: 2.5em;
    margin-bottom: 5px;
    font-weight: 600;
    font-style: italic;
}
p {
    margin-top: 3px;
    font-size: 1.5em;
    font-weight: 550;
    padding-left: 10px;
}
/* /////////////////////////// */

/* reviews */
/* ///////////////////// */
.recenzije {
    width: 738px;
    height: 250px;
    position: relative;
    align-self: flex-end;
}

.recenzije h1 {
    font-style: italic;
    font-size: 3.1em;
    position: absolute;
    width: 75%;
    right: -75px;
    top: -10px;

    font-weight: 600;
}

.recenzije p {
    position: absolute;
    font-style: italic;
    width: 65%;
    right: 0px;
    bottom: -35px;
}

.recenzije p::after, .recenzije p::before {
    content: '"';
    position: absolute;
    color: #f08060;
    font-size: 3em;
    font-weight: bold;
    transform: skew(15deg, 0);
}

.recenzije p::before {
    top: -35px;
    left: -25px
}

/* review classes */
/* ////////////////////////////// */
.decoration_Square {
    position: absolute;
    width: 75.5%;
    rotate: -2.5deg;
    height: 48px;
    left: 100px;
    top: 4.25em;
    background-color: #60ef98;
    z-index: -1;
}

.starFiller {
    position: absolute;
    width: 62.5%;
    height: 44px;
    right: 0px;
    top: 5em;

}

.star, .pfp {
    max-width: 100%;
    max-height: 100%;
}

.pfp {  /* slika */
    border-radius: 50%;
    height: 250px;

    position: absolute;
    top: 0px;
    left: 0px;
}
/* ///////////////////// */

/* clanke */
/* //////////////////////// */
.articles {
    margin-top: 50px;
    width: 65%;
    display: flex;
    flex-direction: column;
}

/* section article */
section article {
    display: flex;
    flex-direction: row;
    padding-left: 15px;
    border-left: #a7a7a7 solid 3px;
    margin-bottom: 20px;
    position: relative;
}
section article::before {
    background-color: #ffc2a9;
    height: 100%;
    width: 0%;
    position: absolute;
    content: "";
    z-index: -2;
    
    transition: width 0.25s ease-in-out;
}

a {
    text-decoration: none;
}
article p {
    color: black;
}

section article:hover::before {
    width: 100%;
}

/* img */
/* //////////////////// */
header section img, .decoHeader {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
}
.decoHeader {
    bottom: 0px;
    height: 75%;
}
.index {
    z-index: -2;
    left: 2.5%;
    bottom: 0px;
}
.test {
    height: 55%;
    bottom: 0px;
    position: absolute;
}
.priroityImg {
    right: 3.5%;
    top: 15.5%;
}
/* //////////////////// */


/* lines */
.decorationLineHeader_bottom,.decorationLineHeader_bottom_pushed,.decorationLineHeader_top {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    z-index: -3;

    height: 45%;
}

/* Let me tell you how much I've come to hate. */
/* //////////////////////////////////////////////////////////////////////////////////////////// */
.decorationLineHeader_top { height: 35%; right: 0px; top: 0px;}
.decorationLineHeader_bottom, .decorationLineHeader_bottom_pushed { left: 0px; bottom: -25px; }
.decorationLineHeader_bottom_pushed { left: 75px; z-index: -1; }
/* //////////////////////////////////////////////////////////////////////////////////////////// */

.deco {
    position: absolute;
    width: 100vw;
    height: 550px;

    bottom: 0px;
}

section article div {
    display: flex;
    flex-direction: column;
}
section article div h4 {
    margin: 0;
}
/* /////////////////////////////////// */

/* img */
section article img {
    width: 150px;
    height: 150px;
}

.firstArticle {
    width: 165px;
    height: 165px;
}
/* //////////////////// */

/* txt */
.articleTitle {
    color: #f08060;
    font-size: 1.75em;
    width: 250%;
    padding-left: 15px;
}
.articleText {
    padding-left: 30px;
    margin-bottom: 6px;
}
.underText {
    color: #777;

    font-style: italic;
    font-size: 1em;
}

/* decoration */
.searchBox {
    width: 75%;
    height: 55px;
    border-bottom: #a7a7a7 3px solid;
    margin-bottom: 15px;
}
/* //////////////////////////////////// */
/* clanke end */


/* extras */
.extraInfo {
    width: 22.5%;
    position: relative;
    align-self: flex-start;
}

.extraInfo p {
    margin-top: 1px;
    margin-bottom: 1px;
}
.ad {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    width: 65%;
}

.map {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    width: 95%;
}
/* ///////////////////////////// */


/* media */
@media (max-width: 1580px) {
    
    main {
        flex-direction: column;
    }
    html {
        overflow: auto !important;
    }
    .deco {display: none;}
    .recenzije {
        align-self: center;
    }
    .info {width: 75%;}
    .articleTitle {width: 100%;}
    .searchBox {width: 100%;}
    .articles {
        width: 95%;
    }
    .extraInfo {
        width: 50%;
        align-self: center;
    }
}

@media (max-width: 1000px) {
    section article {
        display: flex;
        flex-direction: column;
        padding-left: 0;
        border-left: none;
        border-bottom: #a7a7a7 3px solid;
        margin-bottom: 15px;
    }

    section article img,.firstArticle {
        width: 35%;
        height: 35%;
        align-self: center;
    }
    section article div {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .recenzije {
        width: 95%;
        margin-top: 40px;
    }
    .pfp {
        top: -25% !important;
        left: 50% !important;
        transform: translate(-50%);
        opacity: 0.75;
        z-index: -2;
        clip-path: inset(0 0 45% 0);                           
    }
    .starFiller {
        display: flex;
        justify-content: flex-end;
    }
    .recenzije h1 {
        right: 95px;
        top: -3px;
        z-index: 4;
    }
    .recenzije p {
        width: 85%;
        background-color: white;
    }
    .decoration_Square {
        left: 50% !important;
        transform: translate(-50%);
        top: 4.5em;
        width: 85%;
        height: 55px;
        rotate: 2.5deg;
    }
}