/* 1. ZÁKLAD */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
   
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pozadie-2 {
    background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)),
                      url('obrazky_final/back.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
nav { 
    position: absolute; 
    top: 0;
    left: 0;
    
    width: 100%;
     z-index: 10000;
}

.panel-tlacidiel {
    background: rgb(186, 195, 8);
    
   
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start; 
    align-items: center;
    gap: 60px;
    padding: 10px 30px;
    z-index: 10000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.tlacidlo img {
    width: 24px;   
    height: 24px;
}

.tlacidlo {
    display: flex;               
    align-items: center;         
    gap: 8px;                    
    background: rgb(186, 195, 8);
    font-size: 1.3em;
    padding: 8px 15px;     
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tlacidlo:hover {
   background: rgb(160, 168, 5);
}


.nav-icon {
    display: block !important;
    width: 70px !important; 
    height: auto;
    background: white;
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-right: 30px;
}


.anj-v-menu {
    display: flex;
    gap: 15px; 
    align-items: center;
    margin-left: auto; 
    margin-right: 50px;
    flex-direction: row;
}
.anj-icon {
  width: 50px;
  position:relative;
  margin-left: 15px;
  margin: 0 10px;
  border-radius: 20px;
  z-index:1000;
  height:auto;
}
.anj-icon-small {
      width: 35px !important; 
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    max-width:none;
}

main {
    flex: 1;
    margin-top: 120px; 
    display: grid;
    grid-template-columns: 300px 1fr; 
    gap: 40px;
    padding: 20px 5%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.skills-section {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 20px;
    height: fit-content;

}
.anj-v-menu {
    display: flex;
    flex-direction: row;   
    gap: 10px;
    align-items: center;
    justify-content: center;

    margin: 10px auto 0 auto;
    padding-top: 15px;

    border-top: 1px solid rgba(255,255,255,0.2); 
    width: 80%;
}
.profile-img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
}

.skill { margin-bottom: 20px; }
.skill-name { font-weight: 600; margin-bottom: 8px; }
.skill-bar { 
    width: 100%; height: 20px; background-color: #ddd; 
    border-radius: 10px; overflow: hidden; 
}
.bar { 
    height: 100%; border-radius: 10px; 
    background: linear-gradient(90deg, #6a11cb, #2575fc); 
}


.content-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.obrvpravo1 {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    flex-direction: column;  
    gap: 20px;               
    width: 100%;
}

.obrvpravo1 img {
    width: 200px;
    height: auto;
    border-radius: 15px;
    flex-shrink: 0;
}

.obrvpravo1 h2 {
    font-size: 1.1rem;
    line-height: 1.5;
}


footer {
    background: rgba(40,40,40,0.95);
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}
footer a { color: #a5b8ff; text-decoration: none; }
@media (max-width: 780px) {
    
    nav {
        position: absolute; 
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center; 
        padding: 20px 10px;
        z-index: 10000;
    }

    
  .panel-tlacidiel {
    position: relative;
    flex-direction: column; 
    width: 73vw; 
    max-width: none;
    background: #b6c10b;
    padding: 40px 20px;
    border-radius: 30px; 
    gap: 20px;
    margin-top: 30px;
    align-items: center;
}

   
    .nav-icon {
        width: 80px !important;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
    }

  
    .tlacidlo {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 8px 0;
        border-radius: 0;
    }
    
    
    .anj-v-menu {
        margin: 10px auto 0 auto; 
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.2); 
        width: 80%;
        justify-content: center;
    }
    .anj-v-menu a {
    display: inline-block;
    margin: 0 5px;
}
   
    main {
        grid-template-columns: 1fr;
        margin-top: 600px; 
        padding: 10px 20px;
    }

    .skills-section {
        order: 2;
        width: 100%;
    }

    .obrvpravo1 {
        flex-direction: column;
        text-align: center;
    }
}

