/* НА ГОЛЯМ ЕКРАН */
/* 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 {
      text-align: center;
      font-family: Adys;
  }

  *,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit; 
}



.container {
  width: 80%;
  margin: 2rem auto; 
}

.gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 5vw);
  grid-gap: 2rem; 
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flexbox;
}

.gallery__item--1 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  width: 100%;
  cursor: pointer;
  /** Alternative Syntax **/
  /* grid-column: 1 / span 2;  */
  /* grid-row: 1 / span 2; */
}

.gallery__item--2 {
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3;
  cursor: pointer;
  /** Alternative Syntax **/
  /* grid-column: 3 / span 2;  */
  /* grid-row: 1 / span 2; */
}

.gallery__item--3 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 1;
  grid-row-end: 6;
  width: 50%;
  cursor: pointer;
  /** Alternative Syntax **/
  /* grid-column: 5 / span 4;
  grid-row: 1 / span 5; */
}

.gallery__item--7 {
    grid-column-start: 7;
    grid-column-end: 9;
    grid-row-start: 1;
    grid-row-end: 6;
    cursor: pointer;
    /** Alternative Syntax **/
    /* grid-column: 5 / span 4;
    grid-row: 1 / span 5; */
  }

.gallery__item--4 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 6;
  cursor: pointer;
  /** Alternative Syntax **/
  /* grid-column: 1 / span 4;  */
  /* grid-row: 3 / span 3; */
}

.gallery__item--5 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 6;
  grid-row-end: 9;
  cursor: pointer;
  /** Alternative Syntax **/
  /* grid-column: 1 / span 4; */
  /* grid-row: 6 / span 3; */
}

.gallery__item--6 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 6;
  grid-row-end: 9;
  cursor: pointer;
  /** Alternative Syntax **/
  /* grid-column: 5 / span 4; */
  /* grid-row: 6 / span 3; */
}

footer {
    display: flex;
    position: absolute;
    margin-top: 190px;
    left: 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: 70px;
    padding-bottom: 1px;
}

.link1 {
  background-color: #FFC100;
  color: #212f45;
  font-family: Adys;
  font-size: 20px;
  padding: 0.5%;
  margin-left: 10px;
  text-decoration: none;
}

.link1:hover {
    background-color: #ffd24d;
}