.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

:root {
    --brand-font-family: "Montserrat", sans-serif;
    --main-font-family: "Titillium Web", sans-serif;

    --heading-font: var(--brand-font-family);

    --background: #fefefe;
    --accent-background: #eee;
    
    --brand-color: #ED515C;
    --secondary-brand-color: #1f3664;
    --secondary-brand-color-lighter: #1f4675;

    --main-font-color: black;
    --subtle-font-color: #666;
    --secondary-font-color: white;
}

/* scrollbar */
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

*[onclick] {
    cursor: pointer;
}

b {
    color: var(--secondary-brand-color);
}

html {
    scroll-behavior: smooth;
    font-size: 1rem;
}

body {
    font-family: var(--main-font-family);
    background-color: var(--background);

    color: var(--main-font-color);
    margin: 0;
}

main {
    margin: 15vh auto;

    font-family: var(--main-font-family);
}

h1 {
    font-family: var(--heading-font);
}

.main-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;

    padding: 2vh 0;

    box-shadow: 0 0 3px #666;
    background-color: var(--background);
    font-family: var(--heading-family);

    z-index: 1;
}

.main-nav > .container {
    margin: auto;
    width: 70%;

    padding: 0;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.main-nav #logo-img {
    width: 7.5rem;
    height: auto;
}

.main-nav #logo-container {
    flex: 1;
    font-size: 3rem;
    font-family: var(--heading-font);
}

.main-nav #logo-buttons, #nav-switch-container{
    flex: 2;
    text-align: end;

    align-self: center;
}

.main-nav #logo-buttons .nav-button {
    height: 100%;
    font-size: 1.25rem;

    padding: 1vh 1vw;
    margin: 2.5vh 0;

    border-radius: 10px;

    transition: .3s ease-in-out;

    color: var(--main-font-color);
    text-decoration: none;
}

.main-nav #logo-buttons .nav-button:hover {
    background-color: var(--brand-color);
    color: var(--secondary-font-color);
}

#hero {
    margin: auto;
    text-align: center;
}

#hero h1#brand {
    font-family: var(--brand-font-family);
    font-size: 4rem;

    text-decoration: underline;
    text-decoration-color: var(--brand-color);
    text-decoration-thickness: 3px;
}

#hero p#slogan {
    font-size: 1.3rem;
}

h1.section-heading{
    font-size: 2rem;
    font-weight: bold;

    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--brand-color);
}

.carousel{
    width: 75%;
    margin: 3vh auto;
}

.tile-grid{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.tile{
    flex: 1;

    padding: 1.5vh 1vw;
    margin: 1vh 2.5vw;

    border-radius: 10px;

    transition: .3s ease-in-out;
}
.tile > .tile-icon{
    text-align: center;
}
.tile > .tile-icon > span{
    font-size: 4rem;
}
.tile > .tile-title, .tile-description{
    text-align: center;
}

.side-by-side{
    display: flex;
    flex-direction: row;

    width: 80vw;
    margin: auto;
}
.side-by-side > div{
    flex: 1;
}

/* footer */

footer {
    position: absolute;
    left: 0;
    width: 100%;

    padding: 2.5vh 5%;

    display: flex;
    align-items: flex-start;

    font-size: 0.9rem;

    font-family: var(--heading-font);

    background-color: var(--accent-background);
}

footer .footer-cell {
    margin: 0 2.5vw;
    flex: 1;
}

footer .footer-cell:last-child {
    flex: 2;
}

footer > .footer-cell > h3{
    font-weight: bold;
    font-size: 1.1rem;
}

footer .footer-cell span, .footer-link {
    display: block;
    margin: 0.25vh 0;

    text-decoration: none;
    color: inherit;
}

footer .footer-cell .footer-link:hover {
    text-decoration: underline;
}

footer .footer-cell h3 {
    font-family: var(--heading-font);
}

@media screen and (min-width: 1400px){
    .hide-desktop{
        display: none;
    }
}
@media screen and (max-width: 1400px){
    .main-nav > .container > div{
        flex: 1 0 50%;
    }
    #logo-buttons{
        flex: 0 1 100% !important;
    }

    .hide-tablet{
        display: none !important;
    }
}
@media screen and (max-width: 1000px){
    .hide-mobile{
        display: none;
    }
}

@media (max-width: 800px){
.side-by-side{
    flex-direction: column;
}
}

@media screen and (max-width: 800px){
    main{
        margin-top: 15vh;
    }

    .main-nav .container {
        width: 90%;
    }

    .main-nav .container #logo-buttons {
        margin-top: 2.5vh;
        text-align: center;

        display: flex;
        flex-direction: column;
    }

    .main-nav .container #logo-buttons .nav-button {
        margin: 0 1vw;
    }

    #klienci-carousel{
        margin: 0 auto;
        width: 80vw;
    }

    .hide-mobile{
        display: none;
    }

    footer {
        flex-direction: column;
    }
}