/* НА ГОЛЯМ ЕКРАН */
/* Wrapper */
#hamnav {
  width: 100%;
  background: #212f45;
  /* Optional */
  position: sticky;
  top: 0;
}

/* СКРИВАНЕ НА ХАМБУРГУР МЕНЮТО */
#hamnav label, #hamburger { display: none; }

/* ЕЛЕМЕНТИ В ХОРИЗОНТАЛНОТО МЕНЮ */
#hamitems { display: flex; }
#hamitems a {
  width: 20%; /* 100% / 5 tabs = 20% */
  padding: 10px;
  color: white;
  text-decoration: none;
  text-align: center;
  background-color: #212f45;
}
#hamitems a:hover {
  background: #f7b900;
}

/* НА МАЛЪК ЕКРАН */
@media screen and (max-width: 1000px){
  /* ПОКАЗВАНЕ НА ИКОНАТА ХАМБУРГЕР */
  #hamnav label { 
    display: inline-block; 
    color: white;
    background: #f7b900;
    font-style: normal;
    font-size: 1.2em;
    padding: 10px;
  }

  /* Подреждане във вертикална посока */
  #hamitems a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    font-size: 2.5em;
    border-top: 1px solid  #212f45;
  }

  /* Скриване и показване на менюто */
  #hamitems { display: none; }
  #hamnav input:checked ~ #hamitems { display: block; }
}
  
  .logo {
      text-align: center;
      background-color: #212f45;
  }

  /* [DOES NOT MATTER] */
  html, body {
    padding: 0;
    margin: 0;
    font-family: arial, sans-serif;
  }

h1 {
    font-family: Adys;
    text-align: center;
}

p {
    font-family: Adys;
    margin-left: 10%;
    margin-right: 10%;
    font-size: 20px;
    text-align: justify;
}

.img {
    display: block;
   margin-right: auto;
   margin-left: auto;
   max-width: 100%;
  height: auto;
}

.video {
    width: 750px; 
    height: 500px;
    display: block;
   margin-right: auto;
   margin-left: auto;
   margin-top: 50px;
}

.LED {
    color: rgb(51, 51, 51);
}

footer {
    display: flex;
    bottom: 1px; 
   
  }
  
  .footer {
    background-color:#212f45;
    font-family: Adys, sans-serif;
    text-align: center;
    padding: 30px;
    color: white;
      width: 100%;  
    
  }
  
  .footer img {
    width: 50px;
    text-align: center;
  }
  
  .footer1 {
    text-decoration: none;
    color:rgb(255, 0, 0);
  }
  
  .footer2 {
    background-color: #78909C;
    font-family: Adys, sans-serif;
    text-align: center;
    padding: 30px;
    color: white;
    width: 100%;  
  }
  
  .footer2 img {
    width: 50px;
    text-align: center;
  }
  
  .footer3 {
    text-decoration: none;
    color:rgb(255, 0, 0);
  }
  
video {
  max-width: 100%;
  height: auto;
}

  .footer4 {
    background-color:#ECEFF1;
    font-family: Adys, sans-serif;
    text-align: center;
    padding: 30px;
    color:black;
    width: 100%;      
  }
  
  .footer4 img {
    width: 50px;
    text-align: center;
  }
  
  .footer5 {
    text-decoration: none;
    color:rgb(255, 0, 0);
  }
  
  .footer6 {
    background-color:#FFC100;
    font-family: Adys, sans-serif;
    text-align: center;
    padding: 30px;
    color:white;
    width: 100%;
  }
  
  .footer6 img {
    width: 50px;
    text-align: center;
  }
  
  .footer7 {
    text-decoration: none;
    color:rgb(255, 0, 0);
  }
  
  .ad {
    font-family: Adys;
    text-align: center;
    font-size: 30px;
    margin-top: 180px;
  }

.back {
    text-decoration: none;
    font-family: sans-serif;
    font-size: 15px;
    margin-left: 150px;
    margin-top: 50px;
    background-color: #FFC100;
    color: black;
    padding: 15px;
    font-family: Adys, sans-serif;
}

.back:hover {
    background: #fdcc37;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .flex-container > div {
    font-size: 20px;
  }
  
  .flex-container-footer {
    display: flex;
    flex-direction: row;
    font-family: Adys, sans-serif;
    text-align: center;
    padding: 10px;
    flex: 100%;
  }
  
  .flex-item-left {
    background-color: #212f45;
    color: white;
    flex: 25%;
  }
  
  .flex-item-center-left {
    background-color: #78909C;
      font-family: Adys, sans-serif;
      text-align: center;
      padding: 30px;
      color: white;
    flex: 25%;
  }
  
  .flex-item-center-right {
    background-color: #ECEFF1;
    flex: 25%;
  }
  
  .flex-item-right {
    background-color: #FFC100;
    flex: 25%;
  }
  
  /* Responsive layout - събираме нещата в една колона */
  @media screen and (max-width: 1440px) {
    .flex-container, .flex-container-footer {
      flex-direction: column;
    }
  }


.video-responsive {
  position: relative;
  padding-bottom: 35%;
  height: 0;
  overflow: hidden;
  width: 80%;
  height: 20%;
}

.video-responsive iframe,
.video-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}