.home-section {
    position: relative;
    width: 100%;
    background: url('../img/home-background.avif') center center/cover no-repeat;
    overflow: hidden;
  }

  .home-content {
    display: flex;
    align-items: stretch;
    width: 100%;
  }
  
  .home-left-box,
  .home-right-box {
    width: 50%;
    background: transparent;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  .home-left-box {
    justify-content: flex-end; 
    align-items: flex-start;
  }
  .home-right-box {
    justify-content: center;
    align-items: flex-end;
  }
  .home-left-box .home-button,
  .home-right-box .home-button {
    margin-top: auto;
    align-self: center;
  }


    @media (max-width: 768px) {
        .home-content {flex-direction: column;}
        .home-left-box, .home-right-box {width: 100%; padding: 15px;}
  }


/* průhledný tmavý prvek pod textem */
.overlay-box {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    color: #fff;
    max-width: 100%;
  }



/* == stylování textů v boxech == */

#home-b > div:nth-child(1)    {
    font-family: "Source Sans 3", sans-serif;
    text-transform: uppercase;    
    font-size: var(--size-2);
    color: var(--color-1);
}

#home-b > div:nth-child(2)    {
    font-family: "Source Serif 4", sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--color-1);
}

#home-b > div:nth-child(3)    {
    font-family: "Source Sans 3", sans-serif;
    font-size: var(--size-3);
    font-weight:400;
    font-style: italic;
    color: var(--color-1);
}

#home-b > div:nth-child(4),
#home-b > div:nth-child(5)    {
    font-family: "Source Sans 3", sans-serif;
    font-size: var(--size-4);
    color: var(--color-2);
}