/*--------------------------------------------------------------
# Video
--------------------------------------------------------------*/
.video-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -99;
}

.video-foreground,
.video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
  .video-foreground {
    height: 300%;
    top: -100%;
  }
}

@media (max-aspect-ratio: 16/9) {
  .video-foreground {
    width: 300%;
    left: -100%;
  }
}

@media screen and (max-width: 750px) {
  .video-background {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url("resources/background.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

  }

  .video-foreground,
  .video-background iframe {
    width: 0;
    height: 0;
    overflow: hidden;
  }
}


/*--------------------------------------------------------------
# Hamburger-icon
--------------------------------------------------------------*/

.menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 7;
  position: relative;
  z-index: 5;
}

.line {
  fill: none;
  stroke: rgb(255, 255, 255);
  stroke-width: 6;
  transition: stroke-dasharray 1000ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 1000ms cubic-bezier(0.4, 0, 0.2, 1);
}

.opened .line {
  stroke: rgb(0, 0, 0);
}

.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
  color: black;
}

.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
  color: black;
}

.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
  color: black;
}

/*--------------------------------------------------------------
# Side-navigation
--------------------------------------------------------------*/

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  background-color: white;
  overflow: hidden;
  transition: 0.5s;
  padding-top: 60px;

}

.sidenav a {
  padding: 15px 10px 10px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #5e5d5d;
  display: block;
  transition: 0.5s;
}

.sidenav a:hover {
  color: #afafaf;
}

@media screen and (max-width: 750px) {
  .sidenav {
    height: 0;
    width: 0;
    top: 0;
    padding-top: 20px;
  }

  .sidenav a {
    font-size: 15px;
    padding-left: 80px;
  }
}

/*--------------------------------------------------------------
# medal
--------------------------------------------------------------*/

.content,
.boat,
.szmsz,
.rules,
.data {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.boat,
.szmsz,
.rules,
.data {
  z-index: 1;
  margin: 0 auto;
  background-color: #000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s, visibility 0s 0.5s;
}

.boat.active,
.szmsz.active,
.rules.active,
.data.active {
  opacity: 0.55;
  z-index: 2;
  background-color: #000;
  visibility: visible;
  transition: opacity 0.5s;
  margin: 0 auto;
}


.slot {
  font-family: arial;
  font-size: 24px;
  width: 100%;
  height: 100%;
  position: relative;
}


.szmszchild,
.ruleschild {
  width: 500px;
  height: 50px;
  color: white;
  /* Center vertically and horizontally */
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -140 0 0 -140;
  font-size: xx-large;
  text-align: center;
  visibility: hidden;
}

.datachild {
  width: 500px;
  height: 50px;
  color: white;
  /* Center vertically and horizontally */
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -240 0 0 -140;
  font-size: xx-large;
  text-align: center;
  visibility: hidden;
}

.boatchild {
  width: 500px;
  height: 50px;
  color: white;
  /* Center vertically and horizontally */
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -280 0 0 -125;
  font-size: xx-large;
  text-align: center;
  visibility: hidden;
}

.boatchild.active,
.szmszchild.active,
.ruleschild.active,
.datachild.active {
  visibility: visible;
  z-index: 3;
  opacity: 0.9;
}

@media screen and (max-width: 750px) {
  .szmszchild,
  .ruleschild {
    width:  300px;
    height:  300px;
    margin: -50 0 0 -150;
    font-size: x-large;
  }

  .datachild {
    width:  300px;
    height:  300px;
    margin: -100 0 0 -150;
    font-size: x-large;
  }

  .boatchild {
    width: 300px;
    height: 300px;
    margin: -150 0 0 -150;
    font-size: x-large;
  }

  @media screen and (max-width: 350px) {
    .boatchild {
      width: 250px;
      height: 250px;
      margin: -150 0 0 -125;
      font-size: large;
    }
  }
}

.red{
  color: rgb(255, 0, 0);
}

/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/

.styled-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  background-color: lightgray;
  opacity: 2;
}

.styled-table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}

.styled-table th,
.styled-table td {
  padding: 12px 15px;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.active-row {
  font-weight: bold;
  color: #009879;
  background-color: blanchedalmond;
}