/*
// Ferienhaus vdB //
// (c) 2020 //
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:500,700&display=swap');

/*
// Allgemein //
*/

html, body {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
}
body {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  background-color: rgba(78,112,162,.1);
}

/*
// Kopfbereich //
*/

div.header {
  width: 100%;
  height: 90px;
  transition-duration: .3s;
  position: sticky;
  left: 0;
  right: 0;
  top: 0;
  z-index: 501;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
div.header img {
  height: 80px;
  margin: 5px;
}
div.header nav {
  float: right;
  padding: 15px;
  height: 60px;
  transition: opacity .3s;
}
div.header nav button {
  padding: 7px 10px;
  height: 50px;
  width: auto;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  background-color: #fff;
  border: 0;
  margin: 5px;
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  transition-duration: .3s;
  outline: none;
}
div.header nav button:hover {
  background-color: #EEEEEE;
}
div.header nav button.special, div.page-select-wrapper>div {
  background-color: #54a2a4;
  color: #fff;
}
div.header nav button.special:hover,div.page-select-wrapper>div:hover {
  background-color: #EEEEEE;
  color: #FF8C7C;
}
div.header div.hamburger {
  width: 30px;
  height: 30px;
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
}
div.header div.hamburger div {
  width: 100%;
  height: 6px;
  background-color: black;
  border-radius: 5px;
  transition: .4s;
}
div.header div.hamburger div:nth-child(1) {
  position: absolute;
  top: 0;
}
div.header div.hamburger div:nth-child(2) {
  position: absolute;
  top: 12px;
}
div.header div.hamburger div:nth-child(3) {
  position: absolute;
  top: 24px;
}
div.header div.hamburger.open div:nth-child(2) {
  opacity: 0;
}
div.header div.hamburger.open div:nth-child(1) {
  transform: rotate(45deg) translateY(9px) translateX(8px);
}
div.header div.hamburger.open div:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px) translateX(8px);
}

/*
// Content //
*/

div.main {
  width: 100%;
  height: auto;
}
div.content {
    
}
div.content div.branding-wrapper {
  height: 300px;
  color: #fff;
  padding-top: 10px;
  position: relative;
}
div.content div.branding-wrapper img {
  filter: contrast(.4);
  position: absolute;
  top: 0;
  z-index: -1;
  width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-wrapper {
  width: 600px;
  box-sizing: border-box;
  margin: 0 auto;
  height: auto;
  position: relative;
}
.photo-wrapper img {
  transition-duration: .2s;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 5px 2px rgba(225,225,225,1);
  -moz-box-shadow: 0px 0px 5px 2px rgba(225,225,225,1);
  box-shadow: 0px 0px 5px 2px rgba(225,225,225,1);
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}
.product-info {
  width: calc(50% - 5px);
  padding: 7.5px;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 5px 2px rgba(225,225,225,1);
  -moz-box-shadow: 0px 0px 5px 2px rgba(225,225,225,1);
  box-shadow: 0px 0px 5px 2px rgba(225,225,225,1);
  float: right;
  height: 100%;
}
div.section {
  width: 100%;
  height: auto;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
}
div.section:nth-child(3), div.section:nth-child(5), div.section:nth-child(7) {
  background-color: #EEE;
}
div.section .category {
    width: calc(33% - 28px);
    height: 60px;
    border: 0px solid black;
    display: inline-block;
    margin: 12.5px;
    -webkit-box-shadow: 0px 0px 16px -5px #000000; 
box-shadow: 0px 0px 16px -5px #000000;
    border-radius: 20px;
    text-align: center;
    line-height: 60px;
}
.button {
    cursor: pointer;
}
div.product-tile {
    width: calc(50% - 28px);
    height: 500px;
    border: 0px solid black;
    display: inline-block;

    margin: 12.5px;
    -webkit-box-shadow: 0px 0px 16px -5px #000000; 
box-shadow: 0px 0px 16px -5px #000000;
    border-radius: 20px;
    text-align: center;
    position: relative;
    margin-bottom: 50px;
    background-repeat: no-repeat;
  background-position: center;
  background-size: 500px 500px;
}
div.product-tile div {
  width: calc(100% - 40px);
  position: absolute;
  left: 10px;
  bottom: -40px;
  background-color: #fff;
   -webkit-box-shadow: 0px 0px 16px -5px #000000; 
box-shadow: 0px 0px 16px -5px #000000;
padding: 10px;
  border-radius: 20px;
}
div.product-tile div * {
  margin: 0;
}
div.product-tile img {
  width: 100%;
  border-radius: 20px;
}

img.product-detail-main {

  max-width: 700px;
  margin: 0 auto;
  display: block;
}


div.filters {
  width: 100%;
  height: 60px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 15px;
  box-sizing: border-box;
  
}
select {
  font-family: 'Montserrat', sans-serif;
}
div.filters form {
display: block;
    width: max-content;
    white-space: nowrap;
}
div.filters form select {
  padding: 10px 20px;
  margin-left: 10px;
  appearance: none;
  border: 1px solid #54a2a4;
  border-radius: 5px;
  font-size: 15px;
  float:left;
  display: inline-block;
}


div.color-preview {

  height: 30px;
  width: 30px;
  margin-right: 10px;
  margin-bottom: 10px;
  display: inline-block;
  border: 1px solid black;
}
    
div.product-side {
    width: calc(50% - 28px);
    height: auto;
    margin: 12.5px;
    display: inline-block;
    vertical-align:top
}

div.page-select-wrapper {
  position: relative;
  height: 70px;
}
div.page-select-wrapper>div {
  width: 40px;
  height: 40px;
   -webkit-box-shadow: 0px 0px 16px -5px #000000; 
box-shadow: 0px 0px 16px -5px #000000;
padding: 10px;
  border-radius: 20px;
  font-size: 40px;
  line-height: 40px;
  position: absolute;
  margin: 0 25px;
  text-align: center;
  transition-duration: .3s;
}
    


/*
// Rosponsivity //
*/

@media (max-width: 700px) {
div.product-side {
    width: calc(100% - 28px);
}
div.product-tile {
    width: calc(100% - 28px);
}
  div.header #nav button {
    display: inline-block;
    border-radius: 0;
    border: 1px solid #EEE;
    margin: 0;
    float: right;
    width: 50%;
  }
  div.header img {
    height: 60px;
    margin: 5px;
  }
  div.header #nav button.special {
    width: 100%;
  }
  div.header #nav {
    display: none;
    float: none;
    opacity: 0;
  }
  div.header {
    height: 70px;
  }
  div.header div.hamburger {
    display: block;
  }
  div.section .category {
    width: 100%;
    margin: 0;
    margin-bottom: 25px;

}
}
