html,
body {
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    font-family: sans-serif;

    /* Centrování pomocí flexboxu */
    display: flex;
    justify-content: center;
    /* horizontálně */
    align-items: center;
    /* vertikálně */
    min-height: 100vh;
    /* výška celé obrazovky */

}

header {
    margin: 0;
    display: flex;
    justify-content: center;
    /* vystředí kontejner */
    padding: 0;
    border-bottom: 2px solid white;
    /* čára mezi headerem a tělem */
    width: 670px;

}

.header-container {
    width: 670px;
    /* stejná šířka jako bílý box */
    display: flex;
    justify-content: space-between;
    /* první odkaz vlevo, druhý vpravo */
}

.header-container a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.nav-container {
    width: 670px;
    /* stejná šířka jako box */
    display: flex;
    justify-content: space-between;
    /* první odkaz vlevo, druhý vpravo */
    align-items: center;
}

/* Odkazy */
.nav-container a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: transform 0.2s ease, color 0.2s ease, text-decoration-color 0.2s ease;

}

.nav-container a:hover {
    text-decoration: underline;
}



body {
    color: #e6e6e6;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
}





main {
    /*display: flex;
    flex-direction: column;
    padding: 1rem;*/

    /*max-width: 600px;
    width: 100%;
    background-color: white;
    padding: 2rem;
    margin: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);*/

    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    text-align: center;


}

a {
    color: #e6e6e6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#basic-info {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

#socials {
    display: flex;
    /* odkazy vedle sebe */
    gap: 20px;
    /* mezera mezi odkazy */
    justify-content: center;
    /* vystředí je na řádku */
    gap: 2rem;
}

#about-me-wrapper {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
}

#socials a img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

#profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    /* ořízne fotku tak, aby se vešla */

}




footer {
    padding: 1rem;
    text-align: center;
    color: #e6e6e6;
    border-top: 2px solid white;
    width: 640px;
}

#skills-wrapper {
    padding: 1rem;
    max-width: 400px;
    margin: 2rem auto;
    font-family: sans-serif;
    color: white;
}

#skills-wrapper h1 {
    text-align: center;
    margin-bottom: 2rem;
}

#skills-wrapper label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: bold;
    text-align: left;
}

/* Stylování progress baru */
progress {
    width: 100%;
    height: 10px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 10px;
    overflow: hidden;
    background-color: #333;
}

/* Vnitřní vyplněná část */
progress::-webkit-progress-bar {
    background-color: #333;
}

progress::-webkit-progress-value {
    background: #e6e6e6;
    border-radius: 10px;
}

progress::-moz-progress-bar {
    background: #e6e6e6;

}


/* FORMULÁŘ */
.contact-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  padding: 14px;
  background: #0078ff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  transition: 0.2s;
}

.submit-btn:hover {
  background: #005fcc;
}

.form-response {
  margin-top: 10px;
  font-weight: 600;
}
