* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family:Arial, Helvetica, sans-serif;
    }

body {
        background-image: url("obrazek_pozadi.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        color: #ffffff;
        background-position: center;
        background-attachment: fixed;
        min-height: 100vh;
    }

    nav a {
    color: #E9EEFF;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex; 
    flex-direction: row;
    position: relative; 
    }

    nav a:hover {
        font-size: 1.18em;
    }

    nav a::after {
        content: "";
        position: absolute;
        left: -10px;
        height: 100%;
        width: 2px;
        top: 0;
        background: rgb(124, 58, 237); 
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease; 
    }

    nav a:hover::after {
        transform: scaleY(1);
    }
    .navigace{
        color: linear-gradient(153deg, rgb(0, 255, 234), rgb(255, 0, 0));
    }
    nav > div{
        margin-bottom: 2em;
    }
    nav{
        border-style: solid;
        border-color: #008cff00;
        border-left-color: #008cff;
        font-weight: bold;
        border-radius: .5em;
        margin: 4em 0 0 4em;
        padding: 2em 10em 7em 2em;
        box-shadow: 0 0 22px rgba(0, 229, 255, .20), 0 0 60px rgba(255, 61, 240, .12);
        font-size: 1.1em;
        background: linear-gradient(circle at 20% 30%, #1a0033 0%, #0b001a 40%, #050010 100%);
    }

    .hero {

        display: flex;
        flex-direction: row;
        text-align: left;
        /*padding: 0 20px;*/
        width: 00em;
        height: 0em;
    }

    .hero h2 {
        font-size: 3rem;
        /*margin-bottom: 20px;*/
        background: linear-gradient(90deg, #7C3AED, #00E5FF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .btn {
        padding: 15px 35px;
        background: #7C3AED;
        border: none;
        border-radius: 30px;
        color: white;
        font-weight: 600;
        cursor: pointer;
        transition: 0.3s;
        box-shadow: 0 0 15px rgba(124,58,237,0.6);
    }

    .btn:hover {
        background: #5B21B6;
        box-shadow: 0 0 25px rgba(124,58,237,0.9);
    }

    

    /*====================================================================
        
        KARTY

    =======================================================================*/

    .section {
        text-align: left;
        width: 75em;
        margin-top: 13em;
        margin-left: 34em;
        margin-bottom: 11.2em;
    }
    .section_o_me{
        text-align: left;
        width: 75em;
        margin-top: 13em;
        margin-left: 34em;
        margin-bottom: 24.8em;
    }
    .section_kontakt{
        text-align: left;
        width: 75em;
        margin-top: 13em;
        margin-left: 34em;
        margin-bottom: 22.8em;
    }
    .cards {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        margin-top: 50px;
    }

    .card {
        background: rgba(255,255,255,0.05);
        padding: 30px;
        width: 22em;
        height: 30em;
        border-radius: 15px;
        transition: 0.3s;
        backdrop-filter: blur(5px);
        border-color: cyan;
        border-width: .15em;
        border-style: solid;
    }
    .card a{
        text-decoration: none;
        color: white;
        
    }
    .card h3{
        text-align: center;
        margin-bottom: 1em;
        font-size: 1.3em;
    }
    .card ul{
        list-style: none;
    }
    .card li::before{
        content: "\2301";
        position: absolute;
        left: 0;         /* Odrážka se přiková k levému okraji */
        top: 0;          /* Zůstane nahoře u prvního řádku */
        display: inline-block;
        color: #00FBFF;  /* Tvá futuristická azurová */
    }
    .card li {
        position: relative;
        padding-left: 2em; /* Udělá místo pro odrážku */
        margin-bottom: 0.4em;
        text-align: left; 
        line-height: 1.4; /* Lepší mezery mezi řádky pro čitelnost */
        font-size: 1.1em;
    }
    /*============================================================================================*/
    
    /*=============================================================================================
       
        PATIČKA

    ==============================================================================================*/
    footer {
        text-align: center;
        padding: 30px;
        background: rgba(255, 255, 255, 0.116);
        color: #c2c2c2;
    }
    /*==========================================================================================*/
    
    /*=================================================================================================*/
    .container_index{
        margin-bottom: 7.1em;
    }
    .container{
        margin-bottom: 20.5em;
    }
    .text{
        background: rgba(255,255,255,0.05);
        padding: 30px;
        width: 75em;
        border-radius: 15px;
        transition: 0.3s;
        backdrop-filter: blur(5px);
        color: rgb(209, 209, 209);
        box-shadow: 0 0 20px rgba(124,58,237,0.4);
        border-color: cyan;
        border-width: .15em;
        border-style: solid;
    }
    .text p{
        font-weight: lighter;
        line-height: 130%;
    }
    .text h2{
        font-weight: bold;
        color: #008cff;
        margin-bottom: 1em;
    }
    .text ol{
        list-style-type: none;
        text-align: left;
    }
    .text ol a{
        color: white;
        margin-left: 1em;
        position: relative;
        top: -1.1em;
    }
    .text .email{
        position: relative;
        top: -2em;
        margin-left: 4.5em;
    }
    .text ol .odkazy{
        margin-left: 0.5em;
        position: relative;
        top: -.5em;
    }
    .text > ol > li{
        margin-left: .5em;
    }
    .text ol a:hover{
        color: red;
    }
    .email{
        color: white;
    }
    .text > h3{
        margin-bottom: 1em;
    }
    p{
        font-size: 1.1em;
    }
    /*===========================================================

        Animace psaní

    =============================================================*/

    .text .psani h3{
        font-family: monospace; /* Monospace zajistí, že každé písmeno je stejně široké */
        display: inline-block;  /* Důležité, aby šířka odpovídala jen obsahu */
        overflow: hidden; 
        white-space: nowrap; 
        border-right: .15em solid #7C3AED; 
        margin: 0; 
        
        /* KLÍČOVÁ ZMĚNA: Nastavíme šířku přesně na počet znaků */
        /* "O mě" má 4 znaky (včetně mezery) */
        width: 15.2ch; 
        
        /* Animace: 4 kroky pro 4 písmena */
        animation: 
            typing 2s steps(15, end) forwards, 
            blink-caret .75s step-end infinite;
        font-size: 2em;
    }
    /* Animace psaní - z nuly na cílený počet znaků */
    @keyframes typing {
        from { width: 0 }
        to { width: 15.2ch }
    }

    /* Blikání kurzoru */
    @keyframes blink-caret {
        from, to { border-color: transparent } /* udává z čeho do čeho to má jít neboli do průhlednosti*/
        50% { border-color: #7C3AED; } /* udává že v 50% animace se to má zbarvit do růžova*/
    }
/*=================================================================*/

    /*.cara{
        width: 6em;
        background-color: #1c0220;
        height: .15em;
        margin-left: 32.7em;
        margin-bottom: 1em;
    } ???????*/
