*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit; 
}

body {
    margin: 0;
    padding: 0;
    font-family: monospace;
    font-size: 1rem;
    background-color: #000000;
}

a { 
  text-decoration: none; 
  color:#000000;
}
/* a:-webkit-any-link {
  color: white;
  cursor: pointer;
} */


/*************************Navigation Bar***************************/


.mask_logo {
  transition: .5s ease;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  color: #000000;
}


.mask_menu {
  transition: .5s ease;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  color: #000000;
  font-size: 1.5rem;
} 

.text_div {
  padding: 0.7rem;
}

.text_logo {
  color: #000000;
  font-size: 2rem; 
}

.navbar-banner {
  /* font-family: 'Ubuntu'; */
  position: absolute;
  font-size: 34px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  transition: 0.5s;
  top: 50%;
  left: 50%;
}

.navbar-banner > a{
  color: #000000;
}

.nav-link {
  text-decoration: none;
}

.mask_menu > ul, ul{
  list-style: none;
  margin: 0;
}

/***************************Sections*******************************/

.div1 {
  background: #000000;
  text-align: center;
  font-size: 3rem;
  padding: 0 1%;
  margin-bottom: 10%;
}

.div2 {
  background: #ffffff;
  text-align: center;
  font-size: 3rem;
  padding: 5%;
  margin-bottom: 2%;
}

.div3 {
  background: #000000;
  color: #ffffff;
  text-align: center;
  font-size: 3rem;
  padding: 5%;
  margin-bottom: 2%;
}

/*************************navbar slideshow**********************/


.navbar {
  background: #000000;
  color: #fefefe;
  padding: 1% 0;
  position: relative;
}

.navbar-container {
  background-color: #000000;
  max-width: 700px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: auto;
  margin: auto;
  border-color: #ffffff;
  border-style: solid;
}

.navbar-banner_s {
  /* font-family: 'Ubuntu'; */
  font-size: 34px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.5s;
}

.navbar-links_s ul{
  display: flex;
  flex-direction: row;
}

.menu_s > ul, ul{
  list-style: none;
  padding: 0 8px;
  margin: 0;
}

.nav-link_s {
  padding: 0 8px;
}



/***********************************/
 /** Code fcc Grid start **/
 /***********************************/


.container {
  max-width: 800px;
  margin: 2rem auto; 
  font-size: 62.5%; 
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-gap: 0.3rem; 
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: .5s ease;
  backface-visibility: hidden;
}

 
.mask {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}


.gallery__item {
  position: relative;
  /*cursor:pointer;*/
  aspect-ratio: 1 / 1;
  text-align: center;
}

/*
.gallery__item:hover .gallery__img {
  opacity: 0.3;
}

.gallery__item:hover .mask {
  opacity: 1;
}
*/


.text {
  color: rgb(0, 0, 0);
  font-size: 1rem; 
}

.gallery__item--1 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
  background-color: #000000;

  /** Alternative Syntax **/
  /* grid-column: 1 / span 2;  */
  /* grid-row: 1 / span 2; */
}

.gallery__item--2 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  background-color: #ffffff;
}

.gallery__item--3 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
  background-color: #ffffff;
  /*border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;*/
}

.gallery__item--4 {
  grid-column-start: 4;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
  background-color: #ffffff;
}

.gallery__item--5 {
  grid-column-start: 5;
  grid-column-end: 7;
  grid-row-start: 1;
  grid-row-end: 3;
  background-color: #000000;
}

.gallery__item--6 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  background-color: #928282;
}

.gallery__item--7 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  background-color: #000000;
}

.gallery__item--8 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 3;
  background-color: #ffffff;
    /*border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;*/
}

.gallery__item--9 {
  grid-column-start: 4;
  grid-column-end: 5;
  grid-row-start: 2;
  grid-row-end: 3;
  background-color: #000000;
}

.gallery__item--10 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 5;
  background-color: #000000;
}

.gallery__item--11 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 3;
  grid-row-end: 4;
  background-color: #ffffff;
}

.gallery__item--12 {
  grid-column-start: 4;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 4;
  background-color: #ffffff;
}

.gallery__item--13 {
  grid-column-start: 5;
  grid-column-end: 6;
  grid-row-start: 3;
  grid-row-end: 4;
  background-color: #928282;
}

.gallery__item--14 {
  grid-column-start: 6;
  grid-column-end: 7;
  grid-row-start: 3;
  grid-row-end: 4;
  background-color: #ffffff;
}

.gallery__item--15 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 4;
  grid-row-end: 5;
  background-color: #ffffff;
}

.gallery__item--16 {
  grid-column-start: 4;
  grid-column-end: 6;
  grid-row-start: 4;
  grid-row-end: 6;
  background-color: #ffffff;
}

.gallery__item--17 {
  grid-column-start: 6;
  grid-column-end: 7;
  grid-row-start: 4;
  grid-row-end: 5;
  background-color: #ffffff;
}

.gallery__item--18 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 5;
  grid-row-end: 6;
  background-color: #000000;
}
.gallery__item--19 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 5;
  grid-row-end: 6;
  background-color: #ffffff;
}
.gallery__item--20 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 5;
  grid-row-end: 6;
  background-color: #928282;
}
.gallery__item--21 {
  grid-column-start: 6;
  grid-column-end: 7;
  grid-row-start: 5;
  grid-row-end: 6;
  background-color: #000000;
}

/***********************************/
 /** Code fcc Grid end **/
 /***********************************/



/***********************************/
/**********Slideshow***********/
/***********************************/ 
.gallery-head {
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  margin: 0 auto 1%;
  padding: 1% 0;
}

.gallery-head-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-title {
  padding-top: 3.5px;
}

.gallery_s {
  display: block;
  background-color: #000000;
}

.mySlides {
  padding: 0 0 4%;
}

.mySlides >img{
  display: block;
  max-width: 700px;
  max-height: 600px;
  margin-left: auto;
  margin-right: auto; 
  width: 50%;
  object-fit: contain;
}

.lrbtns {
  margin: 1.5%;
  padding: 5px;
}

.display-left {
  position: absolute;
  left: 30%;
  transform: translate(0%,-50%);
}

.display-right {
  position: absolute;
  right: 30%;
  transform: translate(0%,-50%);
}

.btn {
  font-size: 1.2rem;
  color: #ffffff;
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}


/*************************Footer****************************/

h1, h2, h3, h4, h5, h6 {  
    font-family: monospace, sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
}

h1 {
      font-size: 1.4rem;
      margin-bottom: 2%;
}
h2 {
      font-size: 1.2rem;
      margin-top: 4%;
      margin-bottom: 1%;
}
h4 {
      font-size: 1.2rem;
      margin-top: 1%;
}

#link {
    font-size: 1rem;
}


.home_div {
  max-width: 150px;
  background-color: #000000;
  margin-bottom: 3%;
}
.home_text {
  padding-left: 3%;
  text-align: left;
  color: #ffffff;
}

#about {
  margin-bottom: 5%;
}

.impressum {
text-align: left;
font-size: 1.2rem;
margin-bottom: 5%;
}

#footer {
    background: #ffffff;
    font-size: 0.7rem;
}
.footer-icons {
    margin: 20px 10px;
}

.impressum-link {
        font-family: monospace;
        font-weight: 300;
        text-decoration: none;
    }
    
.impressum-link:hover {
        text-decoration: underline;
    }

.heading1 {
  margin-top: 5%;
}
.heading2 {
  margin-top: 2%;
  margin-bottom: 2%;
}


/*************************Media****************************/

@media (max-width: 500px)
{
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(10, 1fr);
    grid-gap: 0.2rem; 
  }

  .mask {
    opacity: 1;
  }

  .text {
    font-size: 0.9rem; 
  }

  .gallery__item--4 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 6;
    grid-row-end: 7;
    background-color: #ffffff;
  }
  
  .gallery__item--5 {
    grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 6;
    grid-row-end: 8;
    background-color: #000000;
  }

  .gallery__item--9 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 7;
    grid-row-end: 8;
    background-color: #ffffff;
  }

  .gallery__item--12 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 8;
    grid-row-end: 9;
    background-color: #000000;
  }

  .gallery__item--13 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 8;
    grid-row-end: 9;
    background-color: #928282;
  }

  .gallery__item--14 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 8;
    grid-row-end: 9;
    background-color: #ffffff;
  }

  .gallery__item--16 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 9;
    grid-row-end: 11;
    background-color: #ffffff;
  }

  .gallery__item--17 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 9;
    grid-row-end: 10;
    background-color: #ffffff;
  }

  .gallery__item--21 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 10;
    grid-row-end: 11;
    background-color: #000000;
  }
}


@media (max-width: 768px)
{
  .gallery-head {
    padding: 2% 0;
  }

  .mySlides {
    padding: 0 0 6%;
  }

  .mySlides >img{
    height: auto;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto; 
  }
}

@media (max-width: 900px)
{
  .mask {
    opacity: 1;
  }

  .text {
    font-size: 0.9rem; 
  }
}

