/* Linked Fonts */

@import url("https://fonts.googleapis.com/css2?family=Azeret+Mono:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
    font-family: "KecalWeb";
    src: url("portfoliofont/KecalWeb-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "KecalWeb";
    src: url("portfoliofont/KecalWeb-Regular.woff2") format("woff2");
    font-weight: regular;
    font-style: normal;
}

/* Nastavení výchozího fontu pro celé HTML */
html,
body {
    font-family: "KecalWeb", sans-serif;
    font-style: normal;
    font-weight: regular;
    margin: 0;
    padding: 0;
    padding-bottom: 20px;
    background-color: rgba(255, 255, 255, 1);
    /* background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(243, 244, 249, 1) 100%); */
}

/* Styl pro nadpisy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

/* Styl pro běžnou kurzívu */
em,
i {
    font-style: italic;
}

/* Styl pro tučnou kurzívu */
strong em,
strong i {
    font-weight: bold;
    font-style: italic;
}

html {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

.mono {
    font-family: "Azeret Mono", monospace;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

a {
    color: black;
    text-decoration: none;
    /* no underline */
    cursor: pointer;
    letter-spacing: 0.15;
}

h4 {
    letter-spacing: 0.15;
}

p {
    letter-spacing: 0.15;
}

p.nazev:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #d01822;
}

a.nazev:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #d01822;
}

.greytext {
    color: rgb(150, 150, 150) !important;
}

r-grid > r-cell {
    /*border: 1px solid black;*/
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    overflow: hidden;
}

.nahled {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: black;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    transition: 0.3s;
}

.nahled:hover {
    cursor: pointer;
    background-size: 103%;
}

.herosekce {
    aspect-ratio: 1920/640;
}

.nohover {
    transition: none;
    cursor: default !important;
}

.nohover:hover {
    background-size: 100% !important;
}

.editablecontainer {
    /*background: #ebebeb;*/
    border-style: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 15px;
}

.editablecontainer:hover {
    background: #ebebeb;
}

p.editablecontainer:focus,
p.editablecontainer:focus-visible,
p.editablecontainer:focus * {
    outline: none !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-focus-ring-color: transparent;
}

[contenteditable]:focus {
    outline: 0px solid transparent;
}

[contenteditable]::selection {
    background: #ffeb3b;
}

.editablepopisek {
    margin-top: 0;
}

.editabletext {
    font-size: 70px;
    line-height: 70px;
    margin: 0;
}

#tooltip {
    position: absolute;
    background-color: #000000;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 20px;
    display: none;
    pointer-events: none;
}

@media (max-width: 600px) {
    r-grid > r-cell[span$="+5"],
    r-grid > r-cell[span$="-4"],
    r-grid > r-cell[span="5"] {
        --grid-ce: 1 !important;
    }
    .nahled {
        background-size: cover;
        aspect-ratio: 4/3;
    }

    .nohover {
        transition: none;
    }

    .nohover:hover {
        background-size: 100% !important;
    }

    .nahled:hover {
        background-size: cover;
    }
}
