html {
    background-color: #222;

    font-family: 'lato', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

section {
    width: 100%;
    height: 100vh;
}


/*-- Banner --*/

#banner {
  background-size: cover;
  background-position: center;
}

#banner h1 {
    font-size: 50px;
    font-weight: 300;

    padding: 10px 100px 0 0;

    right: 0;

    position: absolute;

    color: #fff;
}

#banner .back-button {
    font-size: 25px;
    font-weight: 300;

    margin: 20px 0 0 0;
    padding: 5px 5px 5px 35px;

    left: 0;

    transition: 0.2s;

    position: absolute;

    text-decoration: none;
    text-transform: capitalize;

    color: #fff;
    background-color: #00000000;
}

#banner .back-button:hover {
    color: #000;

    background-color: #fff;
}

#banner .menu-container {
    width: auto;
    height: auto;

    margin-left: 100px;

    top: 50%;

    transform: translateY(-50%);

    display: grid;

    position: absolute;
}

#banner .menu-container a {
    width: 400px;

    padding: 10px 0 10px 10px;
    margin: 5px 0;

    font-size: 40px;
    font-weight: 300;

    transition: 0.3s;

    text-transform: capitalize;
    text-decoration: none;

    color: #fff;

    background-color: #00000000;
}

#banner .menu-container a:hover {
    color: #000;

    background-color: #fff;
}

#banner .text-menu {
    width: 90%;
    height: auto;

    padding: 10px 5%;

    bottom: 0;

    position: absolute;

    display: flex;
    justify-content: space-evenly;
}

#banner .text-menu a {
    width: 200px;

    padding: 5px 0;

    font-size: 20px;
    font-weight: 300;

    transition: 0.3s;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    text-shadow: 0 0 10px #000;

    color: #fff;
}

#banner .text-menu a:hover {
    text-shadow: 0 0 0 #000;

    color: #000;

    background-color: #fff;
}


/*---- ABOUT ----*/

#about {
    height: auto;
    width: 100%;

    padding-top: 80px;
}

#about p {
    width: 40%;

    padding: 0 30%;

    font-size: 20px;

    text-align: left;

    color: #fff;
}

#about h3 {
  width: 40%;

  padding: 0 30%;

  font-size: 12px;
  font-weight: 300;

  color: #999;
}


/*----- Contact -----*/

#contact {
  width: 100%;
  height: auto;

  padding-top: 80px;
}

#contact p {
  padding: 10px 40px;

  font-size: 21px;
  font-weight: 300;

  color: #fff;
}

#contact a {
  padding: 10px 40px;

  font-size: 21px;
  font-weight: 300;

  transition: 0.2s;

  text-decoration: none;
  text-transform: lowercase;

  color: #fff;
}

#contact a:hover {
  color: #555;
}



/*---------- Catalogues ----------*/

#kataloge {
  padding-top: 80px;

  width: 100%;
  height: auto;

  display: flex;
  justify-content: center;
}

#kataloge .container {
  width: 90%;
  height: auto;

  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#kataloge .container a {
  padding: 0 40px;

  font-size: 21px;
  font-weight: 300;

  transition: 0.2s;

  text-decoration: none;
  text-transform: lowercase;

  color: #fff;
}

#kataloge .container a:hover {
  color: #000;
  background-color: #fff;
}



/*---- CV ----*/

/*-- Banner --*/

#cv-banner {
    width: 100%;
    height: auto;

    background-size: cover;
    background-position: center;

    position: relative;
}

#cv-banner h1 {
    font-size: 50px;
    font-weight: 300;

    margin: 0;
    padding: 25px 100px 0 0;

    right: 0;

    position: absolute;

    color: #fff;
}

#cv-banner a {
    font-size: 25px;
    font-weight: 300;

    margin: 20px 0 0 0;
    padding: 5px 5px 5px 35px;

    left: 0;

    transition: 0.2s;

    position: absolute;

    text-decoration: none;
    text-transform: capitalize;

    color: #fff;
    background-color: #00000000;
}

#cv-banner a:hover {
    color: #000;

    background-color: #fff;
}


/*-- List --*/

#cv {
    height: auto;
    width: calc(100% - 40px);

    padding-left: 40px;
    padding-top: 50px;
}

#cv h2 {
    margin: 30px 0 5px;

    font-size: 21px;
    font-weight: 300;

    color: #fff;
}

#cv h3 {
    margin: 7px 0;

    font-size: 21px;
    font-weight: 300;

    color: #fff;
}








/*-------------- SHELF -------------*/

#shelf {
  padding-top: 3rem;

  height: auto;
  width: 100%;

  display: flex;
  justify-content: center;
}

#shelf .content {
  width: 70%;

  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#shelf .content img {
  height: 175px;

  padding: 1rem 1rem;

  object-fit: contain;
}







#text {
  height: auto;

  display: flex;
  justify-content: center;
  padding-top: 5rem;
}

#text iframe {
  width: 80%;
  height: 100vh;
}







/* ------- IMAGE SLIDE SHOW ------- */

#image-slideshow {
  width: 100%;
  height: auto;

  padding-top: 10rem;

  display: flex;
  justify-content: center;
}

#image-slideshow .container {
  width: 80%;
  height: auto;

  position: relative;
}

#image-slideshow .container .slide {
  width: 100%;
  height: 28rem;

  display: none;
}

#image-slideshow .container .slide img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  margin-top: -22px;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 26px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  color: #000;
  background-color: #ffffff15;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  color: #999;
  background-color: #00000035;
}

/* Caption text */
.caption-text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 0;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.number-text {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-slide, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}















#gallery {
  width: 100%;
  height: auto;

  padding-top: 100px;

  display: flex;
  justify-content: center;
}

#gallery .container {
  width: 50%;
  height: auto;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#gallery .container .item {
  height: 200px;
  width: 225px;

  transition: 0.2s;

  margin: 50px 10px;
}

#gallery .container .square-item {
  height: 150px;
  width: 150px;

  transition: 0.2s;

  margin: 20px 10px;
}

#gallery .container .item:hover, #gallery .container .square-item:hover {
  filter: brightness(70%);
}

#gallery .container .item img, #gallery .container .square-item img {
  height: 100%;
  width: 100%;

  object-fit: cover;
}








/*-------------- Video segment ---------------*/

#video-segment {
  height: auto;
  width: 100%;

  padding: 80px 0;

  display: flex;
  justify-content: center;
}





@media only screen and (min-width: 100px) and (max-width: 600px) {

  #banner .menu-container {
    margin-left: 20px;
  }

  #banner h1 {
    margin: 0;

    padding: 0;
  }

  #banner .text-menu {
    flex-wrap: wrap;
  }

  #banner .menu-container a {
    font-size: 30px;

    width: auto;
  }


  #cv-banner h1 {
    margin-top: 2rem;
    padding: 25px 0 0 20px;

    font-size: 28px;

    right: auto;
    left: 0;
  }

  #shelf .content img {
    height: auto;
    width: 100%;
    
    padding: 1rem 0;
    
  }

}
