/* Local Poppins Fonts */
@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}


/*  VARIABLES CSS  */
:root {
  --header-height: 3.5rem;

  /*   Colors   */
  --hue: 14;
  --first-color: hsl(330, 70%, 45%);
  --first-color-alt: hsl(330, 70%, 30%);
  --second-color: hsl(330, 70%, 65%);
  --title-color: hsl(var(--hue), 4%, 10%);
  --text-color: hsl(var(--hue), 4%, 15%);
  --text-color-light: hsl(var(--hue), 4%, 55%);

  /* Body colors */
  --body-color: linear-gradient(
    90deg,
    hsl(0, 0%, 100%) 0%,
    hsl(330, 100%, 90%) 20%,
    hsl(330, 100%, 85%) 40%,
    hsl(330, 100%, 85%) 100%
  );

  --container-color: linear-gradient(
    135deg,
    hsl(330, 100%, 80%) 0%,
    hsl(330, 100%, 75%) 100%
  );

  /*   Font and typography   */
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .950rem;
  --small-font-size: .800rem;
  --smaller-font-size: .75rem;

  /*   Font weight   */
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-black: 900;

  /*   Margenes Bottom   */
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*   z index   */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 992px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*  BASE  */
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: var(--body-color);
  color: var(--text-color);
}

h1,h2,h3,h4{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
}

img{
  max-width: 100%;
  height: auto;
}

button,
input{
  border: none;
  outline: none;
}

.back-button {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: var(--first-color);
  color: var(--title-color);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: var(--font-semi-bold);
  text-decoration: none;
  transition: 0.3s;
}

.back-button:hover {
  background: var(--first-color-alt);
}

.hidden{
  display: none;
}

/*  REUSABLE CSS CLASSES  */
.section{
  padding: 4.5rem 0 2rem;
}

.section-title{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  text-align: center;
}

/*  LAYOUT  */
.container{
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid{
  display: grid;
}

.main{
  overflow: hidden; /*For animation*/
}

/*  HEADER  */
.header{
  width: 100%;
  background: var(--body-color); 
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

/*  NAV  */
.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-medium);
  margin-right: 2rem;
}

.nav-logo-img{
  width: 1.25rem;
}

.nav-link,
.nav-logo,
.nav-toggle,
.nav-close{
  color: var(--title-color);
}

.nav-toggle{
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 767px){
  .nav-menu{
    position: fixed;
    width: 100%;
    background: var(--container-color);
    top: -150%;
    left: 0;
    padding: 3.5rem 0;
    transition: .4s;
    z-index: var(--z-fixed);
    border-radius: 0 0 1.5rem 1.5rem;
  }
}

.nav-close{
  font-size: 1.8rem;
  position: absolute;
  top: .5rem;
  right: .7rem;
  cursor: pointer;
}

.nav-list{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
}

.nav-link{
  text-transform: uppercase;
  font-weight: var(--font-black);
  transition: .4s;
}

.nav-link:hover{
  color: var(--text-color);
}

/* Show menu */
.show-menu{
  top: 0;
}

/* Change background header */
.scroll-header{
  background: var(--container-color);
}

/* Active link */
.active-link{
  position: relative;
}

.active-link::before{
  content: '';
  position: absolute;
  bottom: -.75rem;
  left: 45%;
  width: 5px;
  height: 5px;
  background-color: var(--title-color);
  border-radius: 50%;
}

/*  HOME  */
.home-content{
  row-gap: 1rem;
}

.home-group{
  display: grid;
  position: relative;
  padding-top: 2rem;
  background-image: 'assets/img/home-background-img.png';
  background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.home-img {
  height: 220px;
  justify-self: center;
  border-radius: 1rem;
  border: 5px solid white;
  background: #fff0f6;
  padding: 5px;
  box-shadow: 0 0 10px rgba(255, 182, 193, 0.5);
}


.home-img2{
  border: none;
  background: none;
  padding: none;
  box-shadow: none;
}


.home-indicator{
  width: 8px;
  height: 8px;
  background-color: var(--title-color);
  border-radius: 50%;
  position: absolute;
  top: 7rem;
  right: 2rem;
}

.home-indicator::after{
  content: '';
  position: absolute;
  width: 1px;
  height: 48px;
  background-color: var(--title-color);
  top: -3rem;
  right: 45%;
}

.home-details-img{
  position: absolute;
  right: .5rem;
}

.home-details-title,
.home-details-subtitle{
  display: block;
  font-size: var(--small-font-size);
  text-align: right;
}

.home-subtitle{
  font-size: var(--h3-font-size);
  text-transform: uppercase;
  margin-bottom: var(--mb-1);
}

.home-title{
  font-size: var(--biggest-font-size);
  font-weight: var(--font-black);
  line-height: 109%;
  margin-bottom: var(--mb-1);
}

.home-description{
  margin-bottom: var(--mb-1);
}

.home-buttons{
  display: flex;
  justify-content: space-between;
}

.hours-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--first-color);
  font-weight: var(--font-medium);
  text-decoration: underline;
  font-size: var(--small-font-size);
  transition: 0.3s;
}

.hours-link:hover {
  color: var(--first-color-alt);
}


/*  BUTTONS  */
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: var(--title-color);
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button2{
  display: inline-block;
  background-color: var(--second-color);
  color: var(--title-color);
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover{
  background-color: var(--first-color-alt);
}

.button2:hover {
  background-color: var(--first-color-alt);
}

.button-icon{
  font-size: 1.25rem;
}

.button-Kontakt{
  border: 2px solid;
  background-color: transparent;
  border-radius: 3rem;
  padding: .75rem 1.5rem;
}

.button-Kontakt:hover{
  background: none;
}

.button--link{
  color: var(--title-color);
}

.button--flex{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

/*  CATEGORY  */
.category-container{
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

.category-data{
  text-align: center;
}

.category-img{
  width: 120px;
  margin-bottom: var(--mb-0-75);
  transition: .3s;
}

.category-title{
  margin-bottom: var(--mb-0-25);
}

.category-data:hover .category-img{
  transform: translateY(-.5rem);
}

/*  ABOUT  */
.about-container{
  row-gap: 2rem;
}

.about-data{
  text-align: center;
}

.about-description{
  margin-bottom: var(--mb-2);
}

.about-img{
  width: 200px;
  justify-self: center;
  animation: floating 2s ease-in-out infinite;
}

.about2-img{
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin-top: 1rem;
  border: 4px dashed pink;
  border-radius: 12px;
  padding: 6px;
  background: #fff0f6;
}

#about {
  min-height: 100vh;
}


/*  PRODUCTS  */
.angebot-container{
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}

.angebot-content{
  position: relative;
  background: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem 0 1rem 0;
  text-align: center;
  overflow: hidden;
}

.angebot-img{
  width: 90px;
  transition: .3s;
}

.angebot-subtitle,
.angebot-price{
  display: block;
}

.angebot-subtitle{
  font-size: var(--smaller-font-size);
  margin-bottom: var(--mb-0-5);
}

.angebot-title,
.angebot-price{
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
}

.angebot-button{
  display: inline-flex;
  padding: .5rem;
  border-radius: .25rem .25rem .75rem .25rem;
  position: absolute;
  right: -3rem;
  bottom: 0;
}

.angebot-icon{
  font-size: 1.25rem;
  color: var(--title-color);
}

.angebot-content:hover .angebot-img{
  transform: translateY(-.5rem);
}

.angebot-content:hover .angebot-button{
  right: 0;
}

/*  DISCOUNT  */
.discount-container{
  background: var(--container-color);
  border-radius: 1rem;
  padding: 2.5rem 0 1.5rem;
  row-gap: .75rem;
}

.discount-data{
  text-align: center;
}

.discount-title{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
}

.discount-img{
  width: 200px;
  justify-self: center;
}

.discount-img {
  transition: transform 0.3s;
}

.discount-container:hover .discount-img {
  transform: translateY(-0.5rem);
}

/*  FOOTER  */
.footer{
  position: relative;
  overflow: hidden;
}

.footer-img-one,
.footer-img-two{
  position: absolute;
  transition: .3s;
}

.footer-img-one{
  width: 100px;
  top: 6rem;
  right: -2rem;
}

.footer-img-two{
  width: 150px;
  bottom: 4rem;
  right: 4rem;
}

.footer-img-one:hover,
.footer-img-two:hover{
  transform: translateY(-.5rem);
}

.footer-container{
  row-gap: 2rem;
}

.footer-logo{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.footer-logo-img{
  width: 20px;
}

.footer-description{
  margin-bottom: var(--mb-2-5);
}

.footer-social{
  display: flex;
  column-gap: .75rem;
}

.footer-social-link{
  display: inline-flex;
  background: var(--container-color);
  padding: .25rem;
  border-radius: .25rem;
  color: var(--title-color);
  font-size: 1rem;
}

.footer-social-link:hover{
  background: var(--body-color);
}

.footer-title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.footer-links{
  display: grid;
  row-gap: .35rem;
}

.footer-link{
  font-size: var(--small-font-size);
  color: var(--text-color);
  transition: .3s;
}

.footer-link:hover{
  color: var(--text-color-light);
}

.footer-copy{
  display: block;
  text-align: center;
  font-size: var(--smaller-font-size);
  margin-top: 4.5rem;
}


/*  SCROLL BAR  */
::-webkit-scrollbar{
  width: 0.6rem;
  background: #413e3e;
}

::-webkit-scrollbar-thumb{
  background: #272525;
  border-radius: .5rem;
}

/*   BREAKPOINTS  */
/* For small devices */
@media screen and (max-width: 320px){
  .container{
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home-img{
    height: 200px;
  }
  .home-buttons{
    flex-direction: column;
    width: max-content;
    row-gap: 1rem;
  }

  .category-container,
  .angebot-container{
    grid-template-columns: .8fr;
    justify-content: center;
  }

}

@media screen and (max-width: 767px){
  .footer-img-one{
    width: 180px;
  }
  .footer-img-two{
    width: 250px;
    height: 200px;
    right: 3%;
  }

  #zrk-btn{
    display: none;
  }
}

@media screen and (min-width: 767px){
  body{
    margin: 0;
  }

  .section{
    padding: 7rem 0 2rem;
  }

  .nav{
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav-img,
  .nav-close,
  .nav-toggle{
    display: none;
  }
  .nav-list{
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav-link{
    text-transform: initial;
    font-weight: initial;
  }

  .home-content{
    padding: 8rem 0 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .home-img{
    height: 300px;
  }
  .swiper-pagination{
    margin-top: var(--mb-2);
  }

  .category-container{
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
  }

  .about-container{
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about-title,
  .about-data{
    text-align: initial;
  }
  .about-img{
    width: 250px;
  }
  .about2-img{
    width: 200px;
  }

  .angebot-container{
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
    gap: 2rem;
  }

  .discount-container{
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    align-items: center;
    column-gap: 3rem;
    padding: 3rem 0;
    border-radius: 3rem;
  }
  .discount-img{
    width: 350px;
    order: -1;
  }
  .discount-data{
    padding-right: 6rem;
  }

  .footer-container{
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    column-gap: 1rem;
  }
  .footer-img-two{
    right: initial;
    bottom: 0;
    left: 15%;
  }
}

/* For all devices smaller than 992px */
@media screen and (max-width: 992px) {
  .home-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    text-align: center;
  }

  .home-buttons .button,
  .home-buttons .button2 {
    width: auto;
    margin: 0 auto;
  }
}

/* For large devices */
@media screen and (min-width: 992px){
  .container{
    margin-left: auto;
    margin-right: auto;
  }

  .section-title{
    font-size: var(--h1-font-size);
    margin-bottom: 3rem;
  }

  .home-content{
    padding-top: 9rem;
    gap: 3rem;
  }
  .home-group{
    padding-top: 0;
  }
  .home-img{
    height: 400px;
    transform: translateY(-3rem);
  }
  .home-indicator{
    top: initial;
    right: initial;
    bottom: 15%;
    left: 45%;
  }
  .home-indicator::after{
    top: 0;
    height: 75px;
  }
  .home-details-img{
    bottom: 0;
    right: 58%;
  }
  .home-title{
    margin-bottom: var(--mb-1-5);
  }
  .home-description{
    margin-bottom: var(--mb-2-5);
    padding-right: 2rem;
  }

  .category-container{
    column-gap: 8rem;
  }
  .category-img{
    width: 200px;
  }

  .about-container{
    column-gap: 7rem;
  }
  .about-img{
    width: 350px;
  }
  .about2-img{
    width: 300px;
  }
  .about-description{
    padding-right: 2rem;
  }

  .angebot-container{
    gap: 3.5rem;
  }
  .angebot-content{
    border-radius: 1.5rem;
  }
  .angebot-img{
    width: 110px;
  }
  .angebot-title{
    font-size: var(--h3-font-size);
  }

  .discount-container{
    column-gap: 7rem;
  }

  .footer-copy{
    margin-top: 6rem;
  }
}

@media screen and (min-width: 1400px){
  .home-content {
    grid-template-columns: auto 1fr;
    column-gap: 3rem;
  }

  .home-img {
    width: 500px;
    height: auto;
    max-width: none;
  }

  .footer-img-one{
    width: 250px;
    right: 2%;
    top: 20%;
  }
  .footer-img-two{
    width: 230px;
    height: 200px;
    top: 40%;
    left: 1%;
  }
}

/*  KEYFRAMES  */
@keyframes floating {
  0% { transform: translate(0,  0px); }
  50%  { transform: translate(0, 15px); }
  100%   { transform: translate(0, -0px); }   
}