/* НА ГОЛЯМ ЕКРАН */
/* 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/gimp1.png) no-repeat;
    text-decoration: none;
   text-align: center;
   padding: 90px 130px;
   margin: 20px;
   
}

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

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

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

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

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

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

  .flex-container-footer {
    display: flex;
    flex-direction: row;
    font-family: Adys, sans-serif;
    text-align: center;
    padding: 10px;
    flex: 100%;
  }

footer {
    display: flex;
}

.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%;
}

  
  /* Responsive layout - събираме нещата в една колона */
  @media screen and (max-width: 1440px) {
    .flex-container, .flex-container-footer {
      flex-direction: column;
    }
}

.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: 90px;
}

.galery {
    text-align: end;
    color: #212f45;
    background: #FFC100;
    text-decoration: none;
    font-family: Adys;
    font-size: 20px;
    height: 30px;
    padding: 5px;
}

.galery:hover {
    background: #ffe032;
} 