/* НА ГОЛЯМ ЕКРАН */
/* 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;
  }

  html, body {
    padding: 0;
    margin: 0;
    font-family: arial, sans-serif;
  }

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

.back {
    font-family: Adys;
    text-decoration: none;
    margin: 30px;
    font-size: 15px;
    color: black;
}

i {
    font-size: 10px;
    margin-left: 13px;
}

.bl {
  margin-left: 100px;
  margin-right: 100px;
  padding-top: 100px;
  display: flex;
  justify-content: center;
}

.link-to-arduino0 {
    float: left;
    background: url(../images-blog/arduino1.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

.link-to-microbit0 {
    float: left;
    transition: background 1s ease;
    background: url(../images-blog/arduino2\,1.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

.link-to-construct0 {
    float: left;
    transition: background 1s ease;
    background: url(../images-blog/arduino3\,1.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

.link-to-gimp0 {
    float: left;
    transition: background 1s ease;
    background: url(../images-blog/arduino4.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

.bl1 {
  padding-top: 220px;
  padding-left: 100px;
  padding-right: 100px;
  display: flex;
  justify-content: center;
}


.link-to-arduino1 {
    float: left;
    background: url(../images-blog/arduino5.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

.link-to-microbit1 {
    float: left;
    transition: background 1s ease;
    background: url(../images-blog/arduino6.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

.link-to-construct1 {
    float: left;
    transition: background 1s ease;
    background: url(../images-blog/arduino7.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

.link-to-gimp1 {
    float: left;
    transition: background 1s ease;
    background: url(../images-blog/arduino8.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

.bl2 {
  padding-top: 220px;
  padding-left: 100px;
  padding-right: 100px;
  display: flex;
  justify-content: center;
}


.link-to-arduino2 {
    float: left;
    background: url(../images-blog/arduino9.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

.link-to-microbit2 {
    float: left;
    transition: background 1s ease;
    background: url(../images-blog/arduino10.jpg) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 30px;
   
}

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);
}

.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;
  padding-top: 80px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

  .flex-container > div {
    font-size: 0px;
  }
  
.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;
  }
}

