body {
  margin: 0;
  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  line-height: 160%;
  /* background-color: #f0f0f0; */
  background-color: #f8fafc;
}


p {
  font-size: 1.1em;
  color:#555
}

ol {
  font-size: 1em;
  color: #555;
}


h1 {
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 110%;
  font-size: 3em;
}

.header {
  text-align: center;
}


h2 {
  /* color: #333; */
  color:#0f172a;
  font-size: 22pt;
  font-weight: 700;
  color: var(--text-primary);
  margin: 3rem 0 1.5rem;
  position: relative;
  padding-left: 1rem;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 2px;
}

.container {
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 1.4%;
  margin-top: 1.4%;
  background-color: #fff;
  padding: 2%; 
  border-radius: 1.3%;
}



/*
upraveny navbar z https://www.w3schools.com/howto/howto_js_topnav_responsive.asp
*/

.topnav {
  overflow: hidden;
  background-color: #333333;
  background-color: #ffffff;
}

.topnav ul {
  margin: 0;
  padding: 0;
}

.topnav li {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 0.9em 1em;
  text-decoration: none;
  font-size: 1em;
}

.topnav li:last-child {
  float: right;
}

.topnav .icon {
  display: none;
}

.topnav a {
  text-decoration: none;
  color: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  font-weight: bold;
 }


/* Responzivní design */

@media screen and (max-width: 40em) {
  .container {
    margin-left: 3%;
    margin-right: 3%;
  }

  .topnav li:not(:first-child) {
    display: none;
  }

  .topnav ul:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
    padding: 0.9em 1em;
  }

  .topnav.responsive {
    position: relative;
  }

  .topnav.topnav.responsive ul {
    display: block;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive li {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive li a {
    display: block;
    width: 100%;
  }
}

/*
centered-image prevzat a upraven z https://www.w3schools.com/howto/howto_css_image_center.asp
*/
.centered-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  width: 15em;
  height: 15em;
  /* white border */
  border: 4px solid #ffffff;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  transition: all 0.3s ease;
  object-fit: cover;
}

.centered-image:hover {
    border-color: #5d6bd3;

}


footer {
  background-color: #333333;
  background-color: white;
  text-align: center;
  padding-bottom: 0.1em;
	padding-top: 0.1em;
}

footer p {
  color: #ffffff;
  color:#002894;
  font-weight: bold;
  font-size: 1em;
}

dl {
  margin: 0;
}

dt {
  font-size: 1.2em;
  color: #1f40e4;
  color: #000000;
  font-weight: bold;
}

dd {
  font-size: 1em;
  color:#555;
  margin-left: 0; /* Odsazení definic */
  margin-top: 0.7em;
}

.project {
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 0.7em;
  border-style: solid;
  /* border-color: #ccc; */
  border-color: #9eadf7;
  border-radius: 0.8em;
  display: flex;
  align-items: center;
  flex-direction: row;
  page-break-inside: avoid;
}

.project-profile {
  width: 7em;
  height: 7em;
  border-radius: 50%;
  margin-right: 1em;
}

.content {
  flex: 1;
}

@media (max-width: 40em) {
  .project {
    flex-direction: column;
    text-align: center;
    margin-right: 0em;
  }
}

.contact-form {
  max-width: 25em;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  padding: 1.25em;
  background-color: #ffffff;
  border-style: solid;
  /* border-color: #9eadf7; */
  border-color: #c9c6c6;
  border-width: 2px;
  border-radius: 0.8em;
  font-weight: bold;
}

.contact-form input[type=email] {
  width: 100%;
  padding: 0.5em;
  padding-left: 0em;
  padding-right: 0em;
  margin-bottom: 0.6em;
  border-width: 0.15em;
  border-style: solid;
  border-color: #c9c6c6;
  border-radius: 0.6em;
  
}

.contact-form textarea {
  width: 100%;
  padding: 0.5em;
  padding-left: 0em;
  padding-right: 0em;
  margin-bottom: 0.00em;
  border-width: 2px;
  border-width: 0.15em;
  border-style: solid;
  border-color: #c9c6c6;
  resize: vertical;
  border-radius: 0.6em;
}

.contact-form button[type=submit] {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border: none;
  padding-top: 0.625em;
  padding-bottom: 0.625em;
  border-radius: 12px;
  width: 100%;
  cursor: pointer;
 display: block;
  margin: 0 auto; 
}


/*
breadcrumb upraveno z https://www.w3schools.com/howto/howto_css_breadcrumbs.asp
*/

ul.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.breadcrumb li {
  display: inline;
}

ul.breadcrumb li+li:before {
  content: ">\00a0";
}


@media print {
  footer, .topnav, .navbar, .breadcrumb, .contact-form {
      display: none !important;
  }

  a {
    text-decoration: none !important;
    color: black !important;
  }

  p {
    color: black;
  }

  dd {
    color: black;
  }

  ol {
    color: black;
  }
}


.social-media ul {
    list-style: none; 
    padding-left: 0;
    display: flex; 
    justify-content: center; 
}

.social-media li {
    margin: 0 10px; 
    border-bottom: none; 
}

.social-media a {
    text-decoration: none; 
    color: #0d00ff; 
    font-size: 1.2em; 
    transition: color 0.3s; 
}

.social-media a:hover {
    color: rgb(64, 100, 244); 
}