@media all and (min-width:200px) {
    #navig{
        padding: 10px 0px;
    }
    #langs, #top-bar,#top-bar a{
        display: grid;
        justify-content: center;
        grid-column:auto;
    }
    #langs div{
        padding: 10px 0px 0px 0px;
    }
    #top-bar img{
        padding-bottom: 5px 0px;
    }
}
@media all and (min-width:600px) {
    #navig{
        display: flex;
        flex-wrap: nowrap;
        padding: 0px 0px;
    }
    #top-bar{
        display: flex;
        flex-wrap: nowrap;
        /*           padding: 0px 0px 0px 0px;
        justify-items: stretch;*/
        justify-content: space-between;
    }
    #langs div{
        padding: 0px 0px 0px 0px;
    }
    #top-bar img{
        padding: 5px;
    }
}
/* ======== VŠEOBECNÝ ŠTÝL ======== */
body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    background: #f8f9fb;
    color: #2c2c2c;
    line-height: 1.6;
}
 input[type=text], textarea{
      
    background-color:oklch(98.4% 0.019 200.873);
      padding: 8px;
      outline: none;  /* Removes default blue outline */
      transition: border-color 0.3s;  /* Smooth transition */
    }

    input:focus,  textarea:focus{
        /* border-color: #007BFF;Blue border when focused */
      box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Optional glow */
    }
a {
    color: #0077cc;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #005fa3;
    text-decoration: underline;
}
a.arrow::after {color: #0077cc;
  content: " ➡";
     font-size: 1.2em;
      display: inline-block;
      margin-left: 4px;
      transition: transform 0.3s;
}

a.pointer:hover::after {
  transform: translateX(5px);
}
h1, h2, h3 {
    margin: 0 0 10px;
    font-weight: 600;
    color: #1d1d1d;
}

/* ======== HERO SEKCIA ======== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:  #eaf3ff;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
    font-size: 2.0rem;
    max-width: 900px;
    color: #004c91;
}

.hero p {
    font-size: 1.2rem;
    margin: 15px 0 30px;
    color: #555;
}

.cta-buttons a,.cta-buttons input {
    display: inline-block;
    margin: 10px;
    padding: 6px 15px;
    border: 2px solid #0077cc;
    color: #0077cc;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-buttons a:hover,.cta-buttons input:hover {
    background: #0077cc;
    color: #fff;
    transform: translateY(-2px);
}

/* ======== SEKCIÁ SKÚSENOSTI ======== */
.section {
    padding: 10px 10px;
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    color: #0077cc;
    margin-bottom: 10px;
    font-size: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.project-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #0077cc;
    border-bottom: 4px solid #0077cc;
}

.skill-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #0077cc;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.skill-card h3 {
    color: #0077cc;
    margin-bottom: 10px;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card li {
    margin: 6px 0;
    color: #444;
}
.error{
    color: orangered;
}
.my-div {
    position: relative;
}

.my-div::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    box-shadow: 0px 4px 0px #0289d0;
    pointer-events: none;
}

/* ======== ANIMÁCIE ======== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======== RESPONSIVITA ======== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.3rem;
    }
    .hero p {
        font-size: 1rem;
    }
}
