/* НА ГОЛЯМ ЕКРАН */
/* 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;
}
#slider {
  overflow: hidden;
  border-bottom: 4px white solid;
}

#slider figure {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  animation: 20s slider infinite;
}

#slider figure img {
  width: 20%;
  float: left;
}

@keyframes slider {
  0% {left: 0;}
  20% {left: 0;}
  25% {left: -100%;}
  45% {left: -100%;}
  50% {left: -200%;}
  70% {left: -200%;}
  75% {left: -300%;}
  80% {left: -300%;}
  95% {left: -400%;}
  100% {left: -400%;}
}

.description {
  display: flex;
  margin-left: 30px;
  margin-right: 30px;
  padding-top: 10px;  
  justify-content: center;
}

.a {
  width: 70px;
}

.description p {
font-family: Adys, sans-serif;
font-size: 15px;
}

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:#FF0000;
  font-size: 18px;
}

.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:#FF0000;
}

.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:#FF0000;
}

.footer6 {
  background-color:#FFC100;
  font-family: Adys, sans-serif;
  text-align: center;
  padding: 30px;
  color:black;
  width: 100%;
}

.footer6 img {
  width: 50px;
  text-align: center;
}

.footer7 {
  text-decoration: none;
  color:#FF0000;
}

.background-image {
  /* Фонова снимка */
  background: url("../images/background.jpg") no-repeat;

  /* Височина на фоновата снимка */
  min-height: 700px; 

  /* Паралакс ефект при скролване */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.p {
    background-color: white;
    opacity: 0.7;
    border-radius: 0.5em;
    text-align: center;
}

.p1 {
  background-color: white;
  opacity: 0.7;
  border-radius: 0.5em;
  text-align: center;
}

.p2 {
  background-color: white;
  opacity: 0.7;
  border-radius: 0.5em;
  text-align: center;
}

.ad {
  font-family: Adys;
  text-align: center;
  font-size: 30px;

}

.flex-container {
  display: flex;
  flex-direction: row;
  opacity: 100;
  padding-block: 5px;  
}

.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: 1000px) {
  .flex-container, .flex-container-footer {
    flex-direction: column;
  }
}

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

.flex-container > div {
    background-color: white;
    opacity: 0.7;
    width: 200px;
    margin: 10px;
    padding: 10px;
    font-size: 11px;
    border-radius: 0.5em;
    text-align: center;
  } 