@font-face {
    font-display: swap;
    font-family: 'Varela Round';
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/varela-round.woff2") format("woff2");
}

:root {
    --heading-font-family: "Varela Round", sans-serif;
    --paragraph-font-family: "Varela Round", sans-serif;

    --edge-margin: max(30px, 3vw);
    --px-blue: #00315c;
    --px-orange: #f26611;
    --text-gray: #6a6a6a;
    --light-gray: #f3f6fa;
    --light-blue: #536F8E;

    --fluid-pixel: max(1px, 0.05vw);
    --paragraph-font-size: max(16px, 2px + 0.78vw);
    --paragraph-line-height: max(20px, 2px + 1.14vw);
    --small-paragraph-font-size: max(13px, 1px + 0.62vw);
    --heading-1-font-size: max(36px, 4px + 2.19vw);
    --heading-3-font-size: max(22px, 2px + 1.2vw);

    --content-border-radius: max(6px, 0.31vw);
    --shadow: 0 0 1vw 0px rgba(0,0,0,0.2);

    --hero-image-gradient: linear-gradient(to left, rgba(0, 49, 92, 0), rgba(0, 49, 92, 1));
}

* {
    margin: 0;
    padding: 0;
    font-family: var(--paragraph-font-family);
}
html {
    width: 100%;
    height: 100%;
}
body {
    width: 100%;
    min-height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: white;
    margin: auto;
    font-family: var(--paragraph-font-family);
    font-size: var(--paragraph-font-size);
    color: var(--text-gray);
}
body h1 {
    font-size: var(--heading-1-font-size);
    font-weight: bold;
}
body h2 {
    font-size: var(--heading-1-font-size);
}
body h3 {
    font-size: var(--heading-3-font-size);
}
a, a :visited {
    color: inherit;
    text-decoration: none;
}
input, textarea, button, select, a, div {
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4 {
    font-weight: normal;
}
ol, ul {
    list-style-position: inside;
}
iframe {
    border: none;
}
.clear {
    clear: both;
}
.button {
    font-family: var(--heading-font-family);
    font-size: max(14px, 1px + 0.67vw);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 9999px;
    padding: max(12px, 0.7vw) max(20px, 1.40vw);
    border: none;
}
.button.left span {
    margin-right: max(10px, 0.52vw);
}
.button.right span {
    margin-left: max(10px, 0.52vw);
}
.button.iconless {
    text-align: center;
}
.shadowed {
    box-shadow: var(--shadow);
}
.rounded {
    border-radius: var(--content-border-radius);
}
.half-blue-bottom {
    background-image: linear-gradient(white 50%, var(--px-blue) 50%);
}
.orange-to-white {
    color: white;
    background-color: var(--px-orange);
}
.orange-to-blue {
    color: white;
    background-color: var(--px-orange);
}
.orange-to-gray {
    color: white;
    background-color: var(--px-orange);
}
.background-light-gray {
    background-color: var(--light-gray);
}
.color-white {
    color: var(--light-gray);
}
.color-blue {
    color: var(--light-gray);
}
.slant {
    width: 100%;
    display: block;
}
header {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer {
    text-align: center;
    background-color: var(--px-blue);
    padding: calc(var(--edge-margin) * 2) 0;
    box-sizing: border-box;
    color: white;
}
footer > div {
    box-sizing: border-box;
    padding: var(--edge-margin);
}
footer .button {
    padding: max(12px, 0.7vw) max(20px, 1.40vw);
    margin: max(20px, 1.4vw) 0;
}
footer img {
    height: max(30px, 2vw);
}
footer p {
    font-size: var(--small-paragraph-font-size);
}
.paragraph-full {
    padding: var(--edge-margin);
    max-width: max(700px + 2 * var(--edge-margin), 36.45vw + 2 * var(--edge-margin));
}
.paragraph-full.centered {
    margin: auto;
}
.paragraph-full p {
    line-height: var(--paragraph-line-height);
    margin-bottom: var(--paragraph-line-height);
}
.paragraph-full h2, h3 {
    color: var(--px-blue);
}
.paragraph-full > :last-child {
    margin-bottom: 0;
}
.img {
    background: transparent center/cover no-repeat;
}
.img.two-to-1 {
    width: 100%;
    aspect-ratio: 2 / 1;
}
.hero {
    width: 100%;
    box-sizing: border-box;
}
.single-image-hero {
    color: white;
    display: flex;
    padding: var(--edge-margin);
    justify-content: center;
}
.solid-color-hero {
    background-color: var(--px-blue);
    color: white;
}
.hero.hotelska-rjesenja {
    background: var(--hero-image-gradient), url(../img/hotel.jpg) center/cover no-repeat;
}
.hero.index {
    position: relative;
    overflow: hidden;
}
.hero.index .hero-text {
    display: flex;
    flex-flow: column;
    box-sizing: border-box;
    gap: max(20px, 2vw);
}
.hero.index .hero-text :nth-child(1), .hero.index .hero-text :nth-child(2) {
    color: var(--px-blue);
}
.hero.index h2 {
    font-weight: bold;
    color: white;
    background-color: var(--px-blue);
}
/*.hero.index .hero-images :nth-child(1) { background-image: url("../img/hero-img-1.jpg"); }*/
/*.hero.index .hero-images :nth-child(2) { background-image: url("../img/hero-img-2.jpg"); }*/
/*.hero.index .hero-images :nth-child(3) { background-image: url("../img/hero-img-3.jpg"); }*/
/*.hero.index .hero-images :nth-child(4) { background-image: url("../img/hero-img-4.jpg"); }*/
/*.hero.index .hero-images :nth-child(5) { background-image: url("../img/hero-img-5.jpg"); }*/
/*.hero.index .hero-images :nth-child(6) { background-image: url("../img/hero-img-6.jpg"); }*/
.hero-info-box {
    color: var(--px-blue);
}
.solid-grid {
    background-color: var(--px-blue);
    box-sizing: border-box;
    padding: var(--edge-margin);
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
}
.solid-grid h3 {
    color: white;
    margin-bottom: max(10px, 1vw);
}
.solid-grid ul {
    list-style-type: none;
    color: var(--light-blue);
}
.solid-grid li {
    margin-bottom: max(3px, 0.3vw);
}
.quote-image {
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
}
.quote-image .quote-image-content {
    display: flex;
    flex-flow: column;
    gap: var(--edge-margin);
    text-align: center;
}
.quote-image.dark .quote-image-content {
    color: white;
}
.quote-image.light .quote-image-content {
    color: var(--px-blue);
}
/*.quote-image.index {*/
/*    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.5)), url("../img/qi1.jpg");*/
/*}*/
.quote-image.hotelska-rjesenja {
    background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.5)), url("../img/hotel.jpg");
}
.content-section {
    display: flex;
    gap: var(--edge-margin);
    flex-flow: column;
    padding: var(--edge-margin);
}
.content-section.double-tb-spacing {
    padding: calc(var(--edge-margin) * 2) var(--edge-margin);
}
.content-section.centered {
    text-align: center;
}
.content-section h2, .content-section h3 {
    color: var(--px-blue);
}
.content-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: max(20px, 1vw);
    grid-row-gap: max(20px, 1vw);
    box-sizing: border-box;
}
.content-grid.three-to-1 {
    grid-auto-rows: 1fr;
}
.content-grid .glyphicon {
    font-size: max(25px, 1.30vw);
    padding: max(20px, 1.04vw);
}
.content-grid .icon-style-1 {
    color: var(--px-orange);
    /*border: calc(var(--fluid-pixel) * 2) solid var(--px-orange);*/
    border-radius: 50%;
    background-color: var(--light-gray);
}
.content-grid .icon-style-2 {
    color: var(--px-blue);
    border-radius: 50%;
    background-color: var(--light-gray);
}
.content-grid.index p:last-child {
    color: var(--px-blue);
}
.content-box {
    background-color: white;
    box-sizing: border-box;
    padding: calc(var(--edge-margin) * 0.66);
    border-radius: var(--content-border-radius);
    box-shadow: var(--shadow);
}
.content-box.horizontal .button {
    float: right;
}
.content-box.horizontal.three-wide .icon-style-2 {
	margin-right: max(20px, 1vw);
}
.content-box.vertical, .content-box.horizontal.three-wide {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: max(20px, 1vw);
}
.client-list {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.client-list img {
    height: max(20px, 1.56vw);
    filter: grayscale(1);
    opacity: 0.2;
}
#news .content-grid img {
    width: 100%;
    height: 66%;
}
.contact-form {
    margin: auto;
    text-align: left;
    max-width: max(700px + 2 * var(--edge-margin), 36.45vw + 2 * var(--edge-margin));
}
.contact-form .input-field {
    border: none;
    background: var(--light-gray);
    border-radius: var(--content-border-radius);
    padding: max(20px, 1vw);
}
.contact-form textarea {
    grid-column: 1 / -1;
    resize: vertical;
}
.contact-form table {
    margin-top: var(--edge-margin);
}

/********************
        MOBILE
*******************/
@media screen and (max-width : 1024px) {
    .hide-on-mobile {
        display: none;
    }
    header {
        padding: calc(var(--edge-margin) / 2) var(--edge-margin);
    }
    header img {
        width: max(150px, 8vw);
        margin-top: max(10px, 0.4vw);
        height: auto;
    }
    .single-image-hero {
        min-height: 30vw;
        flex-flow: column;
        align-items: flex-start;
        gap: 100px;
        padding: var(--edge-margin);
    }
    .solid-color-hero {
        padding: max(40px, 2vw) var(--edge-margin);
    }
    /*.hero.index {*/
    /*    box-sizing: border-box;*/
    /*    background: url(../img/hex-comb.png) 0 0/cover no-repeat;*/
    /*}*/
    .hero.index .hero-text {
        height: 100%;
        justify-content: center;
        align-items: flex-start;
        padding: var(--edge-margin);
    }
    .hero.index h2 {
        padding: var(--edge-margin) 0 0 var(--edge-margin);
    }
    .solid-grid > * {
        border-bottom: var(--fluid-pixel) solid var(--light-blue);
        padding: var(--edge-margin) 0;
    }
    .solid-grid > :nth-child(6) {
        border-bottom: none;
    }
    .solid-grid li, .solid-grid h3 {
        max-width: 80%;
    }
    .content-grid.three-to-1 {
        grid-auto-rows: auto;
    }
    .quote-image .quote-image-content {
        padding: calc(var(--edge-margin) * 3) var(--edge-margin);
    }
    .client-list {
        width: 100%;
        gap: 35px;
    }
    .contact-form {
        display: flex;
        flex-flow: column;
        row-gap: max(10px, 0.5vw);
    }
    .contact-form label {
        display: none;
    }

}

/********************
    SPECIAL MOBILE
********************/
@media screen and (min-width : 600px) and (max-width: 1024px) {
    .solid-grid { grid-template-columns: 1fr 1fr; }
    .solid-grid > :nth-child(5) { border-bottom: none; }
    .content-grid.three-to-1 { grid-template-columns: 1fr 1fr; }
    .content-grid.three-to-1 > :nth-child(1), .content-grid.three-to-1 > :nth-child(2) { margin-top: 0; }
    #news .content-grid.three-to-1 > :nth-child(3) { display: none; }
}

/********************
    DESKTOP
********************/
@media screen and (min-width: 1025px) {
    .hide-on-desktop {
        display: none;
    }
    .button {
        transition-duration: 0.4s;
    }
    .orange-to-white:hover {
        color: black;
        background-color: white;
    }
    .orange-to-blue:hover {
        color: white;
        background-color: var(--px-blue);
    }
    .orange-to-gray:hover {
        background-color: var(--text-gray);
    }
    .paragraph-full {
        padding: var(--edge-margin) calc(var(--edge-margin) * 2);
        max-width: max(700px + 2 * var(--edge-margin), 36.45vw + 3 * var(--edge-margin));
    }
    .content-section.double-lr-spacing {
        padding: var(--edge-margin) calc(var(--edge-margin) * 2);
    }
    header {
        padding: calc(var(--edge-margin) / 2) calc(var(--edge-margin) * 2);
    }
    header img {
        width: max(150px, 10vw);
        margin-top: max(10px, 0.4vw);
        height: auto;
    }
    .single-image-hero {
        flex-flow: row;
        justify-content: space-between;
        align-items: center;
        height: max(20vw, 35vh);
        padding: var(--edge-margin) calc(var(--edge-margin) *2);
    }
    .single-image-hero > div {
        max-width: 50%;
    }
    .solid-color-hero {
        padding: max(40px, 2vw) calc(var(--edge-margin) * 2);
    }
    /*.hero.index {*/
    /*    background: url("../img/hex-comb.png") 0 0/contain no-repeat;*/
    /*}*/
    .hero.index h2 {
        padding: var(--edge-margin) 0 0 calc(var(--edge-margin) * 2);
    }
    .hero.index .hero-text {
        width: 60%;
        float: left;
        justify-content: center;
        padding: calc(var(--edge-margin) * 3) var(--edge-margin) var(--edge-margin) calc(var(--edge-margin) * 2);
    }
    .hero.index .hero-images {
        width: 40%;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
    }
    .hero.index .hero-images .img {
        border: 0.4vw solid white;
        border-radius: 1.5vw;
        position: absolute;
        box-shadow: var(--shadow);
    }
    .hero.index .hero-images :nth-child(1), .hero.index .hero-images :nth-child(2), .hero.index .hero-images :nth-child(3) {
        width: 62%;
        height: 31%;
    }
    .hero.index .hero-images :nth-child(4), .hero.index .hero-images :nth-child(5) {
        width: 40%;
        height: 25%;
    }
    .hero.index .hero-images :nth-child(6) {
        width: 25%;
        height: 15%;
    }
    .hero.index .hero-images :nth-child(1) { top: 1%; right: -5%; }
    .hero.index .hero-images :nth-child(2) { top: 30%; right: -5%; }
    .hero.index .hero-images :nth-child(3) { top: 60%; right: -5%; }
    .hero.index .hero-images :nth-child(4) { top: 20%; right: 50%; }
    .hero.index .hero-images :nth-child(5) { top: 50%; right: 45%; }
    .hero.index .hero-images :nth-child(6) { top: 40%; right: 40%; }
    .solid-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .solid-grid > div {
        background: url("../img/service-hover.png") center/cover;
    }
    .solid-grid div, .solid-grid ul, .solid-grid h4 {
        transition-duration: 0.3s;
    }
    .solid-grid > div > div {
        background-color: var(--px-blue);
        width: 100%;
        height: 100%;
        padding: var(--edge-margin);
        box-sizing: border-box;
    }
    .solid-grid > div > div:hover {
        background-color: rgba(0, 49, 92, 0.9);
        cursor: pointer;
    }
    .solid-grid > div > div:hover h3 {
        color: var(--px-orange);
    }
    .solid-grid > div > div:hover ul {
        color: white;
    }
    .solid-grid > :nth-child(1) { border-bottom: var(--fluid-pixel) solid var(--light-blue); border-right: var(--fluid-pixel) solid var(--light-blue); }
    .solid-grid > :nth-child(2) { border-bottom: var(--fluid-pixel) solid var(--light-blue); border-right: var(--fluid-pixel) solid var(--light-blue); }
    .solid-grid > :nth-child(3) { border-bottom: var(--fluid-pixel) solid var(--light-blue); }
    .solid-grid > :nth-child(4) { border-right: var(--fluid-pixel) solid var(--light-blue); }
    .solid-grid > :nth-child(5) { border-right: var(--fluid-pixel) solid var(--light-blue); }
    .content-grid.index {
        margin-top: calc(-3 * var(--edge-margin));
    }
    .content-grid.three-to-1 {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .content-grid.two-to-1 {
        grid-template-columns: 1fr 1fr;
    }
    .content-box.horizontal.three-wide {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        justify-items: left;
        grid-column-gap: max(20px, 1vw);
    }
    .content-box.horizontal.three-wide table:last-child {
        width: 100%;
    }
    .quote-image .quote-image-content {
        padding: calc(var(--edge-margin) * 2) var(--edge-margin) calc(var(--edge-margin) * 4) var(--edge-margin);
    }
    .client-list {
        width: 70%;
        margin: auto;
        gap: 70px;
    }
    .contact-form {
        display: grid;
        column-gap: max(20px, 1vw);
        grid-template-columns: 1fr 1fr;
    }
    .contact-form label {
        margin: max(20px, 1vw) 0 max(10px, 0.50vw) 0;
    }
    .contact-form ::placeholder {
        color: transparent;
    }
}