/* 
Kompatibilita se staršími prohlížeči
*/ 
header, section, footer, aside, nav, main, article, figure {
    display: block;
}

h1{
  font-size:40px;
}
h3{
  padding-top: 18px;
}

.handwritten{
    font-family: 'Great Vibes';
    letter-spacing: 0.1em;
    
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background-color: #f0f0f0;
  }

  header {
    background-color: #87CEEB;
    background-image: url("img/bg_top2.jpg");
    background-size: cover;
    padding: 20px;
    text-align: left;
    /*
  border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    */
    display: flex;
    align-items: center;
  }

  header img {
    border-radius: 50%;
    border: 2px solid black;
    width: 125px;
    height: 125px;
  }

  header .bg-top{
    border-radius: 10%;
  }

  #profile-info {
    margin-left: 20px;
   
    /*
    vertical-align: top;
    */
  }
  #profile-info strong{
    font-weight: normal;
  }
  #profile-info p{
    
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
  }

  nav {
    background-color: #000080;
    padding: 10px;
    display:flex;
  }

  nav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    margin: 0 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  nav a:hover {
    background-color: #333;
    border-radius: 5px;
    
  }

  .dropdown {
    display: none;
    position: absolute;
    background-color: #000080;
    /*
    min-width: 160px;
    */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    opacity: 1;
    transition: opacity 1s ease;
  }

  .hoverable:hover .dropdown {
    display: block;
    border-radius: 5px;
    animation: 1s ease-in;
  }

  .dropdown a {
    display: block;
    color: white;
    padding: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .dropdown a:target{
    background-color:#000080;
  }

  .menu-red {
    background-color:#ffffff;
    margin: 1px;
  }
  .menu-red a{
    color: red;
  }

  .menu-pages{
    border-radius: 15%;
  }

  .content {
    display: flex;
    padding: 20px;
  }

  .column {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    margin: 10px;
    border-radius: 10px;
  }

  .column img {
    width: 100%;
    border-radius: 20px;
  }



  .icon{
    height: 21px;
    width: auto;
    color: white;
  }

  .author{
    float: right;
    font-style: italic;
    margin-top: -12px;
  }

  .column .img-small{
    width: 206px;
    height: 360px;
    padding: 8px;
  }

  .column .img-bonsai{
    width:33%;
  }

  :target{
    border: 1px solid #000080;
  }

  table{
    border-collapse:collapse;
  }

  th, td{
    border: 1px solid black;
    padding: 8px;
    
  }

  /* Print styles */
  @media print {
    img {
      display: none; /* Make the image take full width on print */
    }

    .column img {
      display: none;
    }
    a{
      color:black;
    }
    .menu-red a{
      color: black;
    }
  }

