body {
  background-color:#FAFAFA;
  margin: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
}

#polygonA {
  width: 50vw;
  height: 100vh;
  background-color: #0080c8;
  clip-path: polygon(0% 0%, 0% 100%, 76% 100%, 100% 0%);
  #clip-path: polygon(0% 0%, 0% 100%, 38.9% 100%, 46% 45%, 44% 45%, 50% 0%);
  #box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#polygonB {
  width: 50vw;
  height: 100vh;
  background-color: #0080c8;
  clip-path: polygon(100% 80%, 100% 100%, 95.2% 100%);
  #clip-path: polygon(0% 0%, 0% 100%, 38.9% 100%, 46% 45%, 44% 45%, 50% 0%);
  #box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#contentDIV {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  
  z-index: 100;
}

#logoBox {
  width: 44vw;
  height: 100vh;
  # background-color: red;
  # opacity: 0.2;
  background-image: url("./images/eg-logo_big.svg");
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  flex-shrink: 0;
}

div#infoBox {
  width: 56vw;
  height: 100vh;
  max-height: 100vh;
  # background-color: green;
  # opacity: 0.2;
  filter: drop-shadow(0 2px 4px rgba(50, 50, 50, 0.05));
  
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  
  text-align: center;
  font-family: myriadpro;
}

div#infoContent {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-top: 50px;
  margin-bottom: 50px;
  overflow: none;
  overflow-y: scroll;
}

  div#infoBox hr {
    width: 70%;
    margin: 0;
    margin-top: 30px;
    #color: #999;
    #border: 0;
    border: 0; 
    height: 1px;
    min-height: 1px;
    position: relative;
  }
  div#infoBox hr:before {
    top: -0.5em;
    height: 1em;
  }
  div#infoBox hr:after {
    content:'';
    height: 0.5em;   /* half the height of :before */
    top: 1px;        /* height of hr*/
    background-color:#FAFAFA;
  }

  div#infoBox hr:before, div#infoBox hr:after {
    position: absolute;
    width: 70%;
  }

  div#infoBox hr, div#infoBox hr:before {
    background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 75%);
    background: -webkit-gradient(radial, center center, 0px, center center, 75%, color-stop(0%,rgba(0,0,0,0.1)), color-stop(75%,rgba(0,0,0,0)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 75%);
    background: -o-radial-gradient(center, ellipse cover, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 75%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 75%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 75%);
  }

  div#catchword{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    margin-top: 0;
  }

  div#catchword p:first-child{
    font-size: 4.5vw;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  div#catchword p:nth-child(2){
    font-size: 1.7vw;
    font-family: myriadpro-semibold;
    font-style: italic;
    
    max-width: 80%;
    margin-top: 20px;
    margin-bottom: 0;
    
    color: #666;
  }  
  
  div#info {
    margin-top: 10px;
    font-size: 1.5vw;
    color: #444;
  }
  
  div#info > p {
    margin-top: 20px;
    margin-bottom: 7px;
    font-family: myriadpro-semibold;
    color: #000;
  }
  
  div#info > a {
    color: #000;
    text-decoration: none;
  }
  
  div#info-text {
    max-width: 55%;
    margin-top: 30px;
    margin-bottom: 0;
    
    font-style: italic;
    color: #444;
    text-align: justify;
  }

/* Fonty */

  @font-face {
    font-family: myriadpro;
    src: url(./fonts/MYRIADPRO-REGULAR.OTF);
  }

  @font-face {
    font-family: myriadpro-semibold;
    src: url(./fonts/MYRIADPRO-SEMIBOLD.OTF);
  }
  

/* Mobilní verze */

@media only screen and (orientation: portrait) {
  body {
    flex-direction: column;
  }
  
  #polygonA {
    width: 100vw;
    height: 35vh;
    clip-path: polygon(0% 0%, 0% 80%, 100% 100%, 100% 0%);
  }

  #polygonB {
    width: 100vw;
    height: 65vh;
    background-color: #0080c8;
    clip-path: polygon(0% 96.2%, 0% 100%, 20% 100%);
  }
  
  #contentDIV {
    flex-direction: column;
  }

  #logoBox {
    width: 100vw;
    height: 33vh;      
  }

  div#infoBox {
    width: 100vw;
    height: 67vh;
  }
  
  
  div#infoBox hr {
    margin-top: 20px;
    width: 90%;
  }

  div#infoBox hr:before, div#infoBox hr:after {
    width: 90%;
  }

  div#catchword p:first-child{
    font-size: 8vw;
  }
  
  div#catchword p:nth-child(2){
    font-size: 3.5vw;
    
    margin-top: 12px;    
    max-width: 95%;
  }  
  
  div#info {
    margin-top: 0;
    font-size: 3vw;
  }
  
  div#info-text {
    margin-top: 20px;
    font-size: 3vw;
    max-width: 80%;
  }
}

@media only screen and (orientation: landscape) and (min-width: 1156px) {
  div#catchword p:first-child{
    font-size: 52px;
  }
  
  div#catchword p:nth-child(2){
    max-width: 100%  
  }
}

@media only screen and (orientation: landscape) and (min-width: 1000px) {
  div#catchword p:nth-child(2){
    font-size: 17px;
  }
  
  div#info {
    font-size: 15px;
  }
}

@media only screen and (orientation: landscape) and (max-width: 1550px) {  
  div#info-text {
    display: none;
  }
  
  hr#info-text-hr {
    display: none;
  }
}



/*
@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}
*/