* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

html {
  font-size: 10px;
  font-family: 'Oswald', sans-serif;
}

/* Facebook */


div.facebook {
  position: fixed;
  top: 20vh;
  right: -228px;
  z-index: 1;
  font-size: 25px;
  transition: 1.3s;

}

div.facebook a {
  text-decoration: none;
  color: #3b5999;

}

div.facebook:hover a {
  color: #3b5999;
  cursor: pointer;
}

div.facebook:hover {
  right: 0;
}

div.facebook i {
  vertical-align: 30%;
  font-size: 50px;
  margin-right: 10px;
}

div.facebook p {
  float: right;
  line-height: 50px;
}


/* Nawigacja*/


nav {
  position: relative;
  min-width: 1000px;
  overflow: hidden;
  max-width: 1440px;
  height: 15vh;
  padding: 20px auto;
  vertical-align: middle;
  text-align: right;
  background-color: #fff;
}

nav a {
  float: right;
  font-size: 1.8rem;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  color: #555;
  padding-top: 7vh;
  margin: 0 20px;
}

/* LOGO */

nav a.logo {
  float: left;
  background-image: url(../images/logo.png);
  background-size: cover;
  height: 15vh;
  width: 15vh;
  margin-left: 20px;
  border-radius: 50%;
  border: 1px solid black;
  transition: 0.6s;
}

nav a.logo:hover {

  filter: invert(100%);

}

nav a.reservation {
  padding: 10px 30px;
  border: 2px solid #555;
  margin: 5vh 50px auto 80px;
  font-size: 2.2rem;
  letter-spacing: 1px;
  transition: .2s;
}

nav a:hover {
  border-bottom: 2px solid #555;
  color: black;
}

nav a.reservation:hover {
  background-color: rgb(54, 58, 71);
  color: #eee;
  border-color: rgb(54, 58, 71);
}

/*Header */

header {
  position: relative;
  min-width: 1000px;
  height: 60vh;
  overflow: hidden;
  background-color: transparent;
}

header img {
  position: fixed;
  max-width: 1440px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: -1;
  animation: slider 15s infinite linear;
}

img:nth-child(2) {
  animation-delay: 5s;
}

img:nth-child(3) {
  animation-delay: 10s;
}

@keyframes slider {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  33.33% {
    opacity: 1;
  }

  38.33% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

header h1.prestige {
  font-size: 6rem;
  color: black;
  text-align: center;
  line-height: 60vh;
  transition: 2s;
  word-spacing: 3rem;
}

/* do strony maps.html */
header.maps {
  height: 80vh;
}

header.maps iframe {
  height: 100%;
  width: 100%;

}

header.maps p {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 30px;
  text-align: center;
  width: 60%;
  color: #3b5999;
}

header h1.prestige:hover {
  font-size: 6.5rem;
  text-shadow: 0 0 15px white;

}

/* Main */

main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 5vh 0;
  font-size: 0;
  background-color: #fff;
}

/* Opis firmy */

main p.description {
  font-size: 2.2rem;
  text-align: center;
  margin: 0 50px 50px 50px;
  line-height: 180%;
}



/* Portfolio */


main div.feature {
  display: inline-block;
  width: 33.33%;
}

main div.wardrobe {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px 3px black;
  height: 20vw;
  filter: grayscale(100%);
  margin: 20px 30px;
  transition: 0.7s;
}

.wardrobe img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  transition: 0.7s;

}

main div.wardrobe:hover {
  filter: grayscale(0);
  cursor: pointer;
}

main div.wardrobe:hover img {
  width: 140%;
}

main div.kitchen {
  position: relative;
  box-shadow: 0 0 10px 3px black;
  height: 20vw;
  overflow: hidden;
  filter: grayscale(100%);
  margin: 20px 30px;
  transition: 0.7s;
}

.kitchen img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 101%;
  width: auto;
  transition: 0.7s;

}

main div.kitchen:hover {
  filter: grayscale(0);
  cursor: pointer;
}

main div.kitchen:hover img {
  height: 120%;
}

main div.agd {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px 3px black;
  height: 20vw;
  filter: grayscale(100%);
  margin: 20px 30px;
  transition: 0.7s;
}

.agd img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  transition: 0.7s;

}

main div.agd:hover {
  filter: grayscale(0);
  cursor: pointer;
}

main div.agd:hover img {
  width: 140%;
}

main div.image {
  height: 200px;
  background-color: royalblue;
  margin: 20px 30px;
}

main div.image:hover {
  background-color: aqua;
}

main h2 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: normal;
  text-align: center;
  color: #222;

}

/* Stopka*/

footer {
  background-color: #000;
}

footer p {
  color: white;
  text-align: center;
  padding: 2rem 0;
  font-size: 2rem;
}

footer p span {
  padding-left: 20px;
  vertical-align: -20%;
  font-size: 1.6rem;
}

/* cookie info */

#cookieinfo * {
  margin: 0px;
  padding: 0px;
}

#cookieinfo {
  position: fixed;
  font-size: 14px;
  font-family: 'Roboto Condensed', sans-serif;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background-color: #43474b;
  padding: 20px;
  box-shadow: 0px -1px 3px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

#cookieinfo h6 {
  font-size: 18px;
  font-weight: bold;
  color: #884e2a;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  margin-bottom: 7px;
}

#cookieinfo p {
  font-size: 14px;
  color: #afb4bc;
  line-height: 1.5em;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 1);
}

#cookieinfo a {
  display: block;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  line-height: 22px;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #884e2a;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}

#cookieinfo a:hover {
  background-color: #a06845;
}