/*import fontu inconsolata*/
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');
/*světlý režim*/
:root {
    --bg: white;
    --blc: black;
    --whi: white;
    --hkontakt: rgb(29, 29, 29);
    --nabarbg: rgb(65, 64, 64);
}
/*tmavý režim*/
.dark-mode {
    --bg: #1e1e1e;
    --blc: white;
    --whi: black;
    --hkontakt: #e2e2e2;
    --nabarbg: #bebfbf;
}
*{
    font-family: Inconsolata;
    color: var(--blc);
}
html{
    scroll-behavior: smooth;
}
html, body {
    overflow-x: hidden;
}
body{
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    background-color: var(--bg);
}
.body2{
    width: 100vw;
}
/*hlavní nadpis*/
h1{
    text-align: center;
    margin: 10px;
    margin-bottom: 15px;
    font-size: 3rem;
}
.nadpis{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}
.nadpis img{
    height: 100%;
    filter: saturate(0%);
}
.nadpis img:hover{
    filter: saturate(60%);
    transition: all 0.5s ease-in-out;
}
.nadpis a{
    height: 100%;
}
.n-obrazky1{
    height: 75px;
    width: 100%;
    justify-content: space-around;
    display: flex;
}
.n-obrazky2{
    height: 75px;
    width: 100%;
    justify-content: space-between;
    display: flex;
}
.n-zarovnavac{
    height: 100%;
}
/*dovednosti s jazyky*/
.dovednosti{
    margin: 10px;
    margin-top: 140px;
    width: calc(100%-20px);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 5vh;
}
.dovednosti h2{
    width: 100%;
    text-align: center;
    font-size: 3rem;
}
.dovednosti img{
    height: 170px;
    filter: saturate(0.2);
}
.dovednosti img:hover{
    transition: all 0.5s ease-in-out;
    filter: saturate(1);
}
.dovednosti p{
    font-size: 1.2rem;
    font-weight: 500;
}
.pod_obr{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.dovednosti h3{
    font-size: 2rem;
    margin: 10px;
    margin-top: 0px;
}
.Jak_dovednosti{
    margin-bottom: 0px;
}
.nabar{
    margin: 5px 40px;
    width: calc(100% - 80px);
    background-color: var(--nabarbg);
    border: 7px solid var(--hkontakt);
    height: 25px;
}
.bar{
    background-color: var(--whi);
    height: 100%;
}
.bar-html{
    width: 98%;
}
/*pozadí pro jazyky pro PC a bar pro jazyk*/
.html{
    background-image: url("../img/jazyky/html_text_rt.webp");
}
.css{
    background-image: url("../img/jazyky/css_text_rt.webp");
}
.bar-css{
    width: 70%;
}
.js{
    background-image: url("../img/jazyky/javascript_text_rt.webp");
}
.bar-js{
    width: 15%;
}
.python{
    background-image: url("../img/jazyky/python_text_rt.webp");
}
.bar-python{
    width: 60%;
}
.cs{
    background-image: url("../img/jazyky/cs_text_rt.webp");
}
.bar-cs{
    width: 40%;
}
.n-zarovnavac2{
    display: none;
}
.popis-dov ul li{
    font-size: 1.1rem;
    text-align: justify;
}
/*pro počítač*/
@media (orientation: landscape) and (min-width: 1000px) {
    .popis-dov ul{
        padding-right: 10px;
    }
    .body2{
        width: 80vw;
        margin-left: 20vw;
    }
    /*nadpis*/
    .nadpis h1{
        font-size: 5rem;
    }
    /*vypnutí nadpisu pro mobil*/
    .n-zarovnavac{
        display: none;
    }
    /*zapnutí nadpisu pro PC*/
    .n-zarovnavac2{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 200px;
    }
    .n-zarovnavac2 img{
        height: 200px;
    }
    .n-obrazky2{
        width: 60%;
        margin-top: 40px;
    }
    /*dovednosti*/
    .dovednosti{
        flex-direction: row;
        margin: 40px;
        width: calc(100% - 80px);
        margin-top: 100px;
    }
    .popis-dov{
        width: 45%;
    }
    .dovednosti > img{
        width: 218px;
        height: auto;
    }
    .pod_obr{
        width: 40%;
        margin-top: 40px;
    }
    .nabar{
        width: 60%;
    }
    .dovednosti h3{
        font-size: 4rem;
        margin-top: -15px;
        margin-bottom: 0px;
    }
    /*pozadí pro jazyky pro mobil*/
    .css{
    background-image: url("../img/jazyky/css_text.webp");
    }
    .html{
        background-image: url("../img/jazyky/html_text.webp");
    }
    .js{
        background-image: url("../img/jazyky/javascript_text.webp");
    }
    .bar-js{
        width: 15%;
    }
    .python{
        background-image: url("../img/jazyky/python_text.webp");
    }
    .bar-python{
        width: 60%;
    }
    .cs{
        background-image: url("../img/jazyky/cs_text.webp");
    }
}
@media (orientation: landscape) and (max-width: 1300px) {
    /*přepnutí nadpisu pro mobil, kvůli uspore místa*/
    .n-zarovnavac2{
        display: none;
    }
    .n-zarovnavac{
        display: block;
    }
    .n-obrazky1{
        height: 100px;
    }
    .n-obrazky2{
        width: 100%;
        height: 100px;
    }
}
#python_pod_obr{
    margin-top: calc(-1.5rem - 48px);
}
#python_pod_obr p{
    font-size: 1.5rem;
}
#html_pod_obr{
    margin: 0px;
}
#html_pod_obr p{
    font-size: 1.5rem;
}