
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Open Sans", serif;
  line-height: 1.4;
  position: relative;
}
body div.overlay {
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: none;
}
.pushy {
  background: #144452;
  font-family: montserrat;
}
div.menu-btn {
  display: none;
  padding: 0;
  margin-top: 30px;
  position: fixed;
  z-index: 1000;
  width: 100%;
  text-align: left;
  background: #144452;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
div.menu-btn > span {
  display: block;
  padding: 15px 15px;
  color: #e4e4e4;
  font-size: larger;
  font-weight: bold;
  text-align: right;
  font-family: montserrat;
  text-decoration: none;
  margin: 0;
}
div.menu-btn > span img {
  height: 16px;
  vertical-align: middle;
  margin-right: 1%;
}
nav:nth-of-type(2) {
  position: fixed;
  display: flex;
  justify-content: space-between;
  top: 0;
  left: 0;
  width: 100%;
  background: #14505B;
  color: white;
  padding: 0 20vw;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
}
nav:nth-of-type(2) .logo {
  font-family: "Orbitron", serif;
}
nav:nth-of-type(2) .logo h1 a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}
nav:nth-of-type(2) .logo h1 a img {
  margin: 4px 10px 0 0;
  height: 55px;
}
nav:nth-of-type(2) ul {
  list-style: none;
  display: flex;
}
nav:nth-of-type(2) ul li {
  margin: 0;
  clip-path: polygon(20px 0,100% 0,calc(100% - 20px) 100%,0 100%);
}
nav:nth-of-type(2) ul li a {
  font-family: "Montserrat", serif;
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 18px 20px;
  clip-path: polygon(20px 0,100% 0,calc(100% - 20px) 100%,0 100%);
  transition: all 0.3s ease-in-out;
}
nav:nth-of-type(2) ul li a:hover,
nav:nth-of-type(2) ul li a.active {
  background: black;
  transition: all 0.3s ease-in-out;
}
section {
  position: relative;
  z-index: 0;
  padding: 0 20vw;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
section:nth-of-type(1) {
  padding-top: 85px;
  padding-bottom: 120px;
}
section:nth-of-type(2) {
  padding-top: 0px;
  padding-bottom: 0px;
}
section:nth-of-type(3) {
  padding-top: 226px;
  padding-bottom: 253px;
}
section:nth-of-type(4) {
  padding-top: 0px;
  padding-bottom: 11px;
}
section:nth-of-type(5) {
  padding-top: 125px;
  padding-bottom: 90px;
}
section h2 {
  font-family: "Montserrat", serif;
  font-weight: 900;
  font-size: 40px;
}
section h2 em {
  display: block;
  font-size: medium;
  font-weight: normal;
}
section div {
  position: relative;
  z-index: 2;
}
section:nth-of-type(1) {
  flex-direction: row;
}
section:nth-of-type(1) .column-1,
section:nth-of-type(1) .column-2 {
  flex: 1;
}
section:nth-of-type(1) .column-1 {
  flex-basis: 40%;
}
section:nth-of-type(1) .column-1 > div > img {
  width: 80%;
}
section:nth-of-type(1) .column-2 {
  display: flex;
  flex-basis: 60%;
  flex-direction: column;
  gap: 25px;
}
section:nth-of-type(1) .element {
  padding: 0px;
  text-align: center;
}
section:nth-of-type(1) .element a {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  background-color: #14505B;
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
}
section:nth-of-type(1) .element a:hover {
  transition: all 0.3s ease-in-out;
  background-color: #000;
}
section:nth-of-type(1) .element:nth-of-type(4) img {
  margin: 20px 20px 0 20px;
  height: 89px;
}
section:nth-of-type(2) > div:nth-of-type(1) {
  margin-bottom: 5%;
}
section:nth-of-type(2) > div:nth-of-type(1):before {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 0;
  background-image: linear-gradient(180deg,rgba(215,10,10,0) 90%,#14505b 100%), url("/images/layout/masicher-body.png");
  background-position: -35px 0px;
  background-repeat: no-repeat;
  width: 526px;
  height: 594px;
}
section:nth-of-type(2) > div:nth-of-type(1) > .o-mne {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 20px;
  padding: 20px;
  width: 60%;
  margin-left: 40%;
  margin-bottom: 5%;
}
section:nth-of-type(2) > div:nth-of-type(1) > .o-mne div {
  background-color: white;
  color: #000;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  text-align: left;
}
section:nth-of-type(2) > div:nth-of-type(1) > .o-mne div h3 {
  margin-bottom: 10px;
}
section:nth-of-type(2) > div:nth-of-type(1) > .o-mne p {
  margin: 0;
}
section:nth-of-type(3) p:nth-of-type(1) img {
  height: 80px;
}
section:nth-of-type(3) > div:nth-of-type(1) h2 {
  position: relative;
}
section:nth-of-type(3) > div:nth-of-type(1) h2:before,
section:nth-of-type(3) > div:nth-of-type(1) h2:after {
  content: "";
  position: absolute;
  top: 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 110px;
  height: 110px;
}
section:nth-of-type(3) > div:nth-of-type(1) h2:before {
  left: -135px;
  background-image: url("/images/logo/nhl.png");
}
section:nth-of-type(3) > div:nth-of-type(1) h2:after {
  right: -135px;
  background-image: url("/images/logo/fifa.png");
}
section:nth-of-type(3) > div:nth-of-type(2) > .liga {
  display: grid;
  grid-template-columns: [col1-start] 24%  [col2-start] 36%  [col3-start] 36% [col3-end];
  grid-template-rows: [row1-start] auto [row2-start] auto [row2-end];
  gap: 20px;
  padding: 20px;
}
section:nth-of-type(3) > div:nth-of-type(2) > .liga .item {
  background-color: #14505B;
  color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: left;
}
section:nth-of-type(3) > div:nth-of-type(2) > .liga .item h3 {
  margin-bottom: 10px;
}
section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(1) {
  grid-column: col1-start;
  grid-row: row1-start / row2-end;
}
section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(2) {
  grid-column: col2-start;
}
section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(3) {
  grid-column: col3-start;
}
section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(4) {
  grid-column: col2-start / col3-end;
  grid-row: row2-start;
}
section:nth-of-type(4) > div:nth-of-type(2) {
  display: inline-grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  margin: 3% 0 6% 0;
  font-weight: 900;
  font-size: 18px;
}
section:nth-of-type(4) > div:nth-of-type(2) > div:nth-of-type(1) {
  display: inline-grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 33px;
}
section:nth-of-type(4) > div:nth-of-type(2) > div:nth-of-type(2) {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 33px;
}
section:nth-of-type(4) > div:nth-of-type(2) > div:nth-of-type(3) {
  display: inline-grid;
  grid-template-columns: 1fr;
  gap: 33px;
}
section:nth-of-type(4) > div:nth-of-type(2) .item {
  background-color: white;
  color: #14505B;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
section:nth-of-type(4) > div:nth-of-type(2) .item small {
  display: block;
  margin-top: 5px;
  font-size: 0.9em;
  font-weight: 500;
}
section:nth-of-type(4) > div:nth-of-type(2) .item:nth-child(4) {
  grid-column: 2;
}
section:nth-of-type(4) > div:nth-of-type(2) .item:nth-child(6) {
  grid-column: 2;
}
section:nth-of-type(4) > div:nth-of-type(3) .recenze {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
}
section:nth-of-type(4) > div:nth-of-type(3) .recenze > div {
  flex: 1 1 calc(33.33% - 10px);
  box-sizing: border-box;
  text-align: left;
  background-color: white;
  color: #14505B;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
section:nth-of-type(4) > div:nth-of-type(3) .recenze > div > div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
section:nth-of-type(4) > div:nth-of-type(3) .recenze > div > div > span > img {
  width: 50px;
  height: auto;
  margin-right: 15px;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid #14505B;
}
section:nth-of-type(4) > div:nth-of-type(3) .recenze div > h3 > span {
  display: inline-block;
  background-color: gold;
  height: 20px;
  width: 20px;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
section:nth-of-type(2):before,
section:nth-of-type(3):before,
section:nth-of-type(4):before,
section:nth-of-type(5):before {
  content: "";
  position: absolute;
  left: 0;
  background-position-x: center;
  background-position-y: -2px;
  width: 100%;
}
section:nth-of-type(2):before,
section:nth-of-type(5):before {
  background-image: url("/images/layout/trhanec-1.svg");
}
section:nth-of-type(3):before,
section:nth-of-type(4):before {
  background-image: url("/images/layout/trhanec-2.svg");
}
section:nth-of-type(2):before {
  top: -115px;
  height: 119px;
}
section:nth-of-type(3):before {
  top: -6px;
  height: 232px;
}
section:nth-of-type(4):before {
  top: -230px;
  height: 232px;
  transform: scaleY(-1);
}
section:nth-of-type(5):before {
  top: -8px;
  height: 119px;
  transform: scaleY(-1);
}
section.white-bg {
  background: white;
  color: #14505B;
}
section.white-bg h2 {
  color: #14505B;
}
section.blue-bg {
  background: #14505B;
  color: white;
}
section.blue-bg h2 {
  color: white;
}
section:nth-of-type(2) > div:nth-of-type(2) > .odkazy-media,
section:nth-of-type(5) .partneri,
footer > div:nth-of-type(1) > .odkazy-media {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 65%;
  margin: 0 auto;
}
section:nth-of-type(2) > div:nth-of-type(2) > .odkazy-media p,
section:nth-of-type(5) .partneri p,
footer > div:nth-of-type(1) > .odkazy-media p {
  flex: 1 1 calc(33.33% - 10px);
  box-sizing: border-box;
  padding: 0px;
  text-align: center;
}
section:nth-of-type(5) .partneri {
  margin-top: 20px;
  margin-bottom: 20px;
}
section:nth-of-type(5) .partneri p img {
  height: auto;
  width: 100%;
}
section:nth-of-type(2) > div:nth-of-type(3),
section:nth-of-type(3) > div:nth-of-type(3) {
  margin-top: 5%;
  padding-bottom: 40px;
  position: relative;
  width: 80%;
}
section:nth-of-type(2) > div:nth-of-type(3) > .video-yt,
section:nth-of-type(3) > div:nth-of-type(3) > .video-yt {
  width: 100%;
  padding-top: 57%;
  position: relative;
}
section:nth-of-type(2) > div:nth-of-type(3) > .video-yt:before,
section:nth-of-type(2) > div:nth-of-type(3) > .video-yt:after,
section:nth-of-type(3) > div:nth-of-type(3) > .video-yt:before,
section:nth-of-type(3) > div:nth-of-type(3) > .video-yt:after {
  content: "";
  position: absolute;
  z-index: -1;
  background-image: url("/images/layout/video-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
}
section:nth-of-type(2) > div:nth-of-type(3) > .video-yt:before,
section:nth-of-type(3) > div:nth-of-type(3) > .video-yt:before {
  top: -20px;
  right: -51px;
  height: 120px;
  width: 120px;
}
section:nth-of-type(2) > div:nth-of-type(3) > .video-yt:after,
section:nth-of-type(3) > div:nth-of-type(3) > .video-yt:after {
  bottom: -20px;
  left: -15px;
  height: 60px;
  width: 60px;
  transform: scale(-1,-1) rotate(-31deg);
}
section:nth-of-type(2) > div:nth-of-type(3) > .video-yt iframe,
section:nth-of-type(3) > div:nth-of-type(3) > .video-yt iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
section:nth-of-type(2) > div:nth-of-type(3) h2,
section:nth-of-type(3) > div:nth-of-type(3) h2 {
  text-align: left;
}
section:nth-of-type(2) > div:nth-of-type(3) iframe,
section:nth-of-type(3) > div:nth-of-type(3) iframe {
  border-radius: 20px;
  box-shadow: 0 0 8px 2px rgba(0,0,0,0.5);
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.modal-content {
  position: absolute;
  padding: 0;
  box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-content div.nhl,
.modal-content div.fifa {
  position: absolute;
  height: 100%;
  width: 100%;
}
.modal-content div.nhl > a,
.modal-content div.fifa > a {
  position: absolute;
  text-align: center;
  background: rgba(0,0,0,0.65);
  color: white;
  font-weight: bold;
  font-size: xx-large;
  text-decoration: none;
  padding: 3% 12%;
  clip-path: polygon(24% 0,100% 0,calc(100% - 24%) 100%,0 100%);
}
.modal-content div.nhl > a > img,
.modal-content div.fifa > a > img {
  display: block;
  padding-bottom: 2vh;
  height: 120px;
}
.modal-content div.nhl > a:before,
.modal-content div.fifa > a:before {
  content: "";
  transition: opacity 0.3s ease-in-out;
  animation: glowingbn5 15s linear infinite;
  filter: blur(5px);
  width: calc(104%);
  height: calc(104%);
  position: absolute;
  top: -2px;
  left: -2px;
  opacity: 0;
  z-index: -1;
}
.modal-content div.nhl > a:hover:before,
.modal-content div.fifa > a:hover:before {
  opacity: 1;
}
@keyframes glowingbn5 {
  .modal-content 0% {
    background-position: 0 0;
  }
  .modal-content 50% {
    background-position: 400% 0;
  }
  .modal-content 100% {
    background-position: 0 0;
  }
}
.modal-content div.fifa {
  left: 0;
  background-image: url(/images/layout//football-cover.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: -400px;
  clip-path: polygon(0 0,70% 0,31% 100%,0% 100%);
}
.modal-content div.fifa > a {
  top: 15vh;
  left: 7vw;
}
.modal-content div.fifa > a:before {
  background: linear-gradient(45deg,#41980a,#268b07,#138510,#117c13,#136d15,#136d15,#117c13,#138510,#268b07,#41980a);
  background-size: 400%;
}
.modal-content div.nhl {
  right: 0;
  background-image: url(/images/layout/ice-hockey-cover.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 420px;
  clip-path: polygon(70% 0,100% 0,100% 100%,30% 100%);
}
.modal-content div.nhl > a {
  bottom: 15vh;
  right: 7vw;
}
.modal-content div.nhl > a:before {
  background: linear-gradient(45deg,#00d8ff,#00b1ff,#0097ff,#1588ff,#0070ff,#0070ff,#1588ff,#0097ff,#00b1ff,#00d8ff);
  background-size: 400%;
}
.modal-content > div::-webkit-scrollbar {
  width: 10px;
}
.modal-content > div::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}
.modal-content > div::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
.close-modal {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  padding: 2px 7px;
  background: white;
  color: #144452;
  border-radius: 50%;
  border: none;
  font-size: 120%;
  cursor: pointer;
  transition: all .3s ease-in-out;
}
.close-modal:hover {
  background: black;
  color: white;
  transition: all .3s ease-in-out;
}
footer {
  position: relative;
  background: #144452;
  color: white;
  text-align: center;
  padding: 20px 20vw;
}
footer div:nth-of-type(2) {
  border-top: 1px solid white;
  padding-top: 15px;
}
footer a {
  text-decoration: none;
  color: white;
}
footer:before {
  content: "";
  position: absolute;
  top: -80px;
  left: 0;
  background-image: url("/images/layout/footer.svg");
  background-position: center -2px;
  height: 84px;
  width: 100%;
}
.vid-promo {
  background: #14505B;
  padding: 20px;
  margin-top: 15px;
  box-shadow: 0 0 8px 2px rgba(0,0,0,0.5);
  border-radius: 20px;
}
.vid-promo video {
  border-radius: 20px;
}
@media screen and (max-width: 1730px) {
  .modal-content div.nhl {
    background-position: 200px;
  }
  .modal-content div.fifa {
    background-position: -200px;
  }
}
@media screen and (max-width: 1470px) {
  nav:nth-of-type(2),
  section,
  footer {
    padding: 0 10vw;
  }
  .modal-content div.nhl {
    background-position: 100px;
  }
  .modal-content div.fifa {
    background-position: -100px;
  }
}
@media screen and (max-width: 1095px) {
  nav:nth-of-type(2),
  section,
  footer {
    padding: 0 5vw;
  }
}
@media screen and (max-width: 985px) {
  div.menu-btn {
    display: block;
    margin-top: -1px;
  }
  nav:nth-of-type(2) {
    display: none;
  }
  section:nth-of-type(2) > div:nth-of-type(1) .o-mne {
    grid-template-columns: auto;
    width: 50%;
    margin-left: 50%;
  }
  section:nth-of-type(2) > div:nth-of-type(1):before {
    top: 100px;
  }
  section:nth-of-type(3) > div:nth-of-type(2) .liga {
    grid-template-columns: [col1-start] 49%  [col2-start] 49%  [col3-start] 36% [col3-end];
  }
  section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(1) {
    grid-column: col1-start;
    grid-row: row1-start;
  }
  section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(2) {
    grid-column: col2-start;
    grid-row: row1-start;
  }
  section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(3) {
    grid-column: col1-start;
    grid-row: row2-start;
  }
  section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(4) {
    grid-column: col2-start;
    grid-row: row2-start;
  }
}
@media screen and (max-width: 660px) {
  section:nth-of-type(1) {
    flex-direction: column;
  }
  section:nth-of-type(1) .column-1 > div > img {
    width: 50%;
  }
  section:nth-of-type(2) > div:nth-of-type(1):before {
    left: 50%;
    transform: translateX(-50%);
    background-position: center center;
    background-size: cover;
    width: 288px;
    height: 287px;
  }
  section:nth-of-type(2) > div:nth-of-type(1) .o-mne {
    width: 100%;
    margin-top: 300px;
    margin-left: 0%;
  }
  section:nth-of-type(2) > div:nth-of-type(2) > .odkazy-media,
  footer > div:nth-of-type(1) > .odkazy-media {
    gap: 10px;
    width: 100%;
  }
  section:nth-of-type(3) > div:nth-of-type(1) h2:before,
  section:nth-of-type(3) > div:nth-of-type(1) h2:after {
    width: 50px;
    height: 50px;
  }
  section:nth-of-type(3) > div:nth-of-type(1) h2:before {
    left: -75px;
  }
  section:nth-of-type(3) > div:nth-of-type(1) h2:after {
    right: -75px;
  }
  section:nth-of-type(3) > div:nth-of-type(2) .liga {
    display: block;
    margin: 0 auto;
  }
  section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(1),
  section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(2),
  section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(3),
  section:nth-of-type(3) > div:nth-of-type(2) > .liga .item:nth-child(4) {
    margin: 15px auto;
  }
}
@media screen and (max-width: 516px) {
  section:nth-of-type(2) > div:nth-of-type(1):before {
    top: 177px;
  }
  .modal-content div.nhl,
  .modal-content div.fifa {
    position: relative;
    clip-path: none;
    background-position: 0;
  }
  .modal-content div.nhl > a,
  .modal-content div.fifa > a {
    top: auto;
    bottom: 50%;
    left: auto;
    right: 50%;
    transform: translate(50%,50%);
    padding: 25px 90px;
  }
  section:nth-of-type(1) .element:nth-of-type(4) img {
    margin: 10px 10px 0 10px;
    height: 54px;
  }
  section:nth-of-type(3) > div:nth-of-type(1) h2:before,
  section:nth-of-type(3) > div:nth-of-type(1) h2:after {
    width: 50px;
    height: 50px;
    top: -50px;
  }
  section:nth-of-type(3) > div:nth-of-type(1) h2:before {
    left: -10px;
  }
  section:nth-of-type(3) > div:nth-of-type(1) h2:after {
    right: -10px;
  }
  section:nth-of-type(4) > div:nth-of-type(3) .recenze > div {
    flex: 1 1 calc(66.33%);
  }
  section:nth-of-type(4) > div:nth-of-type(2) {
    display: block;
  }
  section:nth-of-type(4) > div:nth-of-type(2) > div {
    width: 90%;
    margin: 25px auto 0 auto;
  }
  section:nth-of-type(4) > div:nth-of-type(2) > div:nth-of-type(1),
  section:nth-of-type(4) > div:nth-of-type(2) > div:nth-of-type(2),
  section:nth-of-type(4) > div:nth-of-type(2) > div:nth-of-type(3) {
    display: block;
    width: 100%;
  }
  section:nth-of-type(4) > div:nth-of-type(2) > div:nth-of-type(1) .item,
  section:nth-of-type(4) > div:nth-of-type(2) > div:nth-of-type(2) .item,
  section:nth-of-type(4) > div:nth-of-type(2) > div:nth-of-type(3) .item {
    margin-bottom: 25px;
  }
}
