:root {
    box-sizing: border-box;
    --gray-100: hsl(204, 45%, 98%);
    --gray-200: hsl(210, 38%, 95%);
    --gray-300: hsl(214, 32%, 91%);
    --gray-400: hsl(211, 25%, 84%);
    --gray-500: hsl(214, 20%, 69%);
    --gray-600: hsl(216, 15%, 52%);
    --gray-700: hsl(218, 17%, 35%);
    --gray-800: hsl(218, 23%, 23%);
    --gray-900: hsl(220, 26%, 14%);
    --green: #0060df;
    --green-400: #f6c753;
  }
  
  *, ::before, ::after {
    box-sizing: inherit;
    text-decoration: none;
    margin: 0;
    padding: 0;
    outline: none;
  }
  
  body {
    font-size: 100%;
    font-family: "Fira Sans", sans-serif;
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    color: var(--gray-700);
  }
  
  h1, h2, h3, h4 {
    font-family: "Chakra Petch", sans-serif;
    text-transform: uppercase;
  }
  
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    height: 100vh;
    /* why does  850px hide the bottom border on cell one?? */
  }
  
  .cell--one {
    padding: 4em 3.5em 20em 3.5em;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 2.5em;
    background-color: var(--gray-100);
  }
  
  .header {
    width: 180%;
    z-index: 2;
    margin-bottom: 3em;
  }
  
  .header h1 {
    font-weight: 300;
    color: var(--green);
    line-height: 1;
    font-size: 2.1em;
    margin-bottom: 0.05em;
  }
  
  .header h2 {
    font-weight: 600;
    font-size: 2em;
    line-height: 1;
    position: relative;
  }
  
  .header h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 45%;
    bottom: -16px;
    height: 2px;
    background-color: var(--gray-600);
  }

  .roky{
    display: grid;
    grid-template-columns: 1fr;
    width: 50vw;
    gap: 5px;
    margin: 1% auto;
  }

  .rok, .box{
    padding: 5px;
    border: 1px solid #ddd;
    
    margin: 1% auto;
    border-radius: 5px;
  }

  .rok{
    width: 95%;
  }

  .box{
    width: 40vw;
  }
  
.rok>h2{
    padding: 5px;
    background-color: #e1e7ef;
    text-align: center;
    color: #202020;
    border-radius: 5px;
}

  .para--wrap-one {
    font-size: 0.75em;
    grid-column: 1/2;
    text-align: justify;
    -ms-hyphens: auto;
        hyphens: auto;
    -webkit-hyphens: auto;
    z-index: 3;
  }
  
  .para--wrap-one p:first-of-type {
    margin-bottom: 1.2em;
  }
  
  .para--wrap-two {
    font-size: 0.75em;
    grid-column: 2/3;
    text-align: justify;
    -ms-hyphens: auto;
        hyphens: auto;
    -webkit-hyphens: auto;
  }
  
  .para--wrap-two p:first-of-type {
    margin-bottom: 1.2em;
  }

  
  .triangle--gray {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background-color: var(--gray-300);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
            clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
    z-index: 0;
  }
  
  .triangle--green {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background-color: var(--green);
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(0, 0, 0, 0.2) 15%, rgba(0, 0, 0, 0.1) 22%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.1) 35%, transparent 39%);
    -webkit-clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
            clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
    z-index: 0;
  }

  .triangle--right{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background-color: var(--green);
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.04) 15%, rgba(0, 0, 0, 0.2) 15%, rgba(0, 0, 0, 0.1) 22%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.1) 35%, transparent 39%);
    -webkit-clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
            clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
    z-index: 0;
    transform: rotate(270deg);
  }
  
  /********** MAIN GRID - CELL 2 ******/
  .cell--two {
    position: relative;
    overflow: hidden;
  }
  
  .header--two {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.6em;
  }
  
  .header--two h1 {
    color: var(--green);
    font-weight: 300;
    line-height: 1;
  }
  
  .header--two h2 {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 0.5em;
    position: relative;
  }
  
  .header--two h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    background-color: var(--gray-600);
    width: 42%;
  }
  
  .header--two h3 {
    color: var(--green);
    font-size: 0.95em;
    margin-bottom: 0.3em;
  }
  
  .image--bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(130deg, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.2) 100%), url(https://www.zemefilmu.cz/uploads/regions/jizni-morava-1200x900.jpg) no-repeat center center/cover;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 35% 92%, 0% 58%);
            clip-path: polygon(0% 0%, 100% 0%, 35% 92%, 0% 58%);
  }
  
  .social-bar {
    position: absolute;
    width: 110px;
    height: 420px;
    top: 14%;
    left: 6.5%;
    background-color: var(--green);
    opacity: 0.6;
    transform: rotate(-50deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .social-bar div {
    margin-top: 2em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid white;
    transform: rotate(50deg);
  }
  
  .social-bar div:first-of-type {
    margin-top: 5em;
  }
  
  .social-bar svg {
    width: 40px;
    height: 40px;
    fill: #fff;
  }
  
  .bifold {
    box-sizing: content-box;
    position: absolute;
    width: 280px;
    height: 450px;
    background-color: #0b0e23;
    transform: rotate(39.3deg);
    left: 72.3%;
    top: 0;
    border-bottom: 80px solid var(--gray-300);
  }
  
  .globe {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 180px;
    height: 180px;
    transform: rotate(-40deg);
  }
  
  .globe h2 {
    position: absolute;
    text-align: right;
    text-transform: none;
    right: 10px;
    top: 33%;
  }
  
  .globe h2 span:first-of-type {
    display: block;
    color: var(--green);
    font-size: 1.5em;
    font-weight: 300;
    line-height: 1;
  }
  
  .globe h2 span:last-of-type {
    display: block;
    color: #fff;
    font-size: 0.88em;
    line-height: 1;
  }
  
  .globe svg {
    fill: rgba(255, 255, 255, 0.2);
    opacity: 0.5;
  }
  
  .triangle-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 500px;
    background-image: linear-gradient(129deg, var(--green) 0%, var(--green) 65%, var(--green-400) 65%, var(--green-400) 100%);
    -webkit-clip-path: polygon(100% 18%, 34% 68%, 100% 105%);
            clip-path: polygon(100% 18%, 34% 68%, 100% 105%);
  }
  
  .triangle-corner svg {
    width: 55px;
    height: 55px;
    position: absolute;
    bottom: 95px;
    right: 30px;
  }

  ul{padding: 5px;}

  ul>p {margin-left: 1em;}

  li{
    padding: 5px;
    font-size: 15px;
  }

  .rok>ul>li{
    list-style-type: none;
  }

  .box>ul>li{
    list-style-type: none;
  }

  .rok>h3{
    text-align: center;
    padding: 3px;
    color: #fff;
    background-color: #0060df;
    border-radius: 5px;
  }

  .box>h4{
    text-align: center;
    padding: 3px;
  }

  .ready{font-size: 15px !important;}

  .osoby{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 auto;
    width: 80vw;
    gap: 10px;
  }

  .osoba{
    padding: 10px;
    width: 330px;
    margin: 2% auto;
    border: 1px solid #ddd;
    border-radius: 5px;
  }

  .osoba>h3{
    text-align: center;
    padding: 5px;
  }

  .cell--two>h3{
  }

  .after{
    padding: 5px;
    margin: 0 auto;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 95%;
  }

  .second-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    height: 100vh;
    /* why does  850px hide the bottom border on cell one?? */
  }

  .cell--three {
    position: relative;
    overflow: hidden;
  }

  .nadpis{
    margin: 2%;
    margin-bottom: 1%;
    text-align: center;
  }

  .nadpis1{
    margin-top: 28%;
    text-align: center;
  }

  .nadpis2{
    margin-top: 3%;
    margin-bottom: 2%;
    text-align: center;
  }

  .cena{
    float: right;
    display: block;
    padding: 5px;
    color: #202020;
    font-weight: bold;
    border-radius: 5px;
  }
