:root {
  --clr-main: #d5cfbe;
  --clr-second: #b2b09c;
  --clr-link: #fff;
  --clr-text: #000000;

  --ff-base: 'Kalam';
  --ff-recht: 'Arial, Helvetica, sans-serif';
  --fs-400: 15px;
  --fs-500: 20px;
  --fs-600: 25px;
  --fs-700: 30px;

  --fw-400: 400;
  --fw-bold: bold;
}
html, body {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-base);
  font-size: var(--fs-500);
  margin: 0;
  padding: 0;
  background-color: var(--clr-main);
}
.logo {
  width: 500px;
}
header {
  margin: 20px auto;
}
/* text aligment */
.headline {
  text-align: center;
  margin-top: 0;
}
.headline-text,
.price-headline {
  text-align: center;
}
.pricing-text h3 {
  text-align: start;
}
.headline-middle {
  text-align: center;
}
.text-end,
.top {
  text-align: right;
}
.copyright {
  text-align: center;
}
/* end text aligment */
.rechtlich {
  font-family: var(--ff-recht);
}
.mitte {
  display: flex;
  justify-content: center;
  align-items: center;
}
#teaser {
  width: 100%;
  height: 400px;
}
.house-pictures,
iframe {
  box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}
#teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 1;
}
.nav-border {
  border-bottom: 2px solid black;
}
footer ul,
#navbar ul {
  list-style: none;
  margin: 10px 0 10px 0;
  padding: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}
#navbar ul li a {
  font-size: var(--fs-600);
  font-weight: var(--fw-400);
  padding: 10px 50px;
  color: var(--clr-text);
}
footer ul li a {
  padding: 30px;
}
.pricing-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a:link {
  text-decoration: none;
  color: var(--text-color);
}
.button {
  display: flex;
  justify-content: center;
  gap: 50px;
}
.link-button-gap-text {
  display: flex;
  align-items: center;
}
.link-button {
  background-color: var(--clr-link);
  border-radius: 15px;
  padding: 10px 14px 0px 14px;
  box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1),
  0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}
.headline-middle a:hover {
  background-color: var(--clr-second);
}
a {
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
section,
article {
  max-width: 1200px;
  margin: 25px auto;
  padding: 16px;
}
.decor, .maps-container {
  display: flex;
  gap: 50px;
  margin: 30px auto;
}
.decor-left,
.decor-right, .frame {
  width: 50%;
}
span {
  font-size: var(--fs-600);
  font-weight: var(--fw-400);
}
.pricing {
  display: flex;
  margin: 0 auto;
}
.pricing-text {
  width: 60%;
}
.price-container {
  display: flex;
  width: 40%;
  justify-content: end;
  align-items: end;
  gap: 20px;
}
.price {
  font-size: var(--fs-700);
  font-weight: var(--fw-bold);
  margin-bottom: 18px;
}
.currency {
  font-size: var(--fs-500);
}
.maps-text {
  width: 50%;
}
iframe {
  width: 100%;
  height: 450px;
  border-radius: 0.5rem;
  border: none;
}
/* Start styles for slider */
.slider-container {
  display: flex;
  position: relative;
  width: 50%;
  box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  overflow: hidden;
  height: 25rem;
}
.slider-container .slider {
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;

}
.slider img {
  width: 100%;
  height: 100%;
  user-select: none;
  object-fit: cover;
  border-radius: 0.5rem;
  scroll-snap-align: start;
}

.slider-button {
  height: 44px;
  width: 44px;
  margin-left: 25px;
  margin-right: 25px;
  color: var(--clr-icon);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.slider-container button:active{
  transform: translateY(-50%) scale(0.9);
}
.slider-container button:hover{
  background: var(--clr-link);
  opacity: 70%;
  border-radius: 30%;
}
.slider-container button:first-child{
  left: -22px;
}
.slider-container button:last-child{
  right: -22px;
}
.slider img:first-child{
  margin-left: 0px;
}
.slider::-webkit-scrollbar {
  display: none;
} 
/* End styles for slider */
@media screen and (max-width: 859px) {
  .decor, .maps-container {
    flex-direction: column;
    align-items: center;
    gap: unset;
  }
  .decor-right, .decor-left, .slider-container, .maps-text {
    width: unset;
  }
  .slider-container {
    height: 40rem;
  }
  .frame {
    width: 100%;
  }
  iframe {
    height: 40rem;
  }
  h3, .text-end, .text-top, .top, .text-start, .maps-text{
    text-align: center;
  }
  .column {
    flex-direction: column-reverse;
  }
}
@media screen and (max-width: 750px) {
  #navbar ul li a {
    padding: 10px 30px;
    font-size: var(--fs-500);
  }
  iframe, .slider-container {
    height: 25rem;
  }
}
@media screen and (max-width: 530px) {
  #navbar ul li .price-link {
    padding: 10px 0px;
  }
  #navbar ul li .location-link {
    padding: 10px 0px;
  }
  #navbar ul li .link {
    padding: 10px 12px;
  }
}
@media screen and (min-width: 800px) {
  #teaser {
    height: 600px;
  }
}
@media screen and (max-width: 499px) {
  .price {
    font-size: var(--fs-500);
    font-weight: var(--fw-bold);
  }
  .currency {
    font-size: var(--fs-400);
  }
}
@media screen and (max-width: 420px) {
  .logo {
    width: 300px;
  }
}
@media screen and (max-width: 845px) {
  .button {
    flex-direction: column;
    gap: unset;
  }
  .button .headline-middle {
    margin: 0px auto;
  }
  .link-button-gap-text {
    justify-content: center;
  }
}