@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@200;300;400;600&family=Roboto:wght@300;400;500&display=swap");

:root {
  --main-white: #fff;
  --main-black: #000;
  --main-gray: #ebebeb;
  --main-gray-dark: #454545;
  --main-purple: #785964;
  --main-brown: #d5c7bc;
  --main-blue: #93b7be;
  --main-blue-soft: #f1fffa;
  --main-green: #009900;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
}
body {
  background-color: var(--main-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Slab", serif;
  font-size: 3.2rem;
  font-weight: 300;
}
p {
  font-size: 1.8rem;
}

a {
  text-decoration: none;
  color: black;
}

/* header */
/* top header */
.hmenu {
  display: none;
}
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--main-brown);
  padding: 0.5rem 3rem;
  z-index: 110;
}

.top-logo img {
  height: 8.5rem;
}

.top-icon {
  margin-right: 1.5rem;
  cursor: pointer;
  transition: all 100ms linear;
  display: inline-block;
}
.top-icon:hover {
  transform: scale(1.03);
}

.top-icon:last-child {
  margin-right: 0;
}
/* end of top header */

/* top nav */
nav {
  background-color: var(--main-blue);
  box-shadow: 0px 15px 20px -5px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  height: 6rem;
}

.nav-menu a {
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu a::after {
  content: "";
  height: 0.2rem;
  width: 0;
  background-color: var(--main-gray);
  display: block;
  transition: all 0.5s;
}

.nav-menu a:hover::after {
  width: 100%;
}
/* end of top nav */

/* banner */
.banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.425), rgba(0, 0, 0, 0.425)),
    url(/images/candel-house-banner.webp);
  height: 65rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--main-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.banner h1 {
  font-size: 4.6rem;
  text-shadow: 1px 1px 1px black;
  font-weight: 400;
  letter-spacing: 1rem;
}

.banner h2 {
  text-shadow: 1px 1px 1px black;
  letter-spacing: 0.5rem;
}
.banner h2::after {
  content: "";
  height: 0.2rem;
  width: 70%;
  background-color: var(--main-brown);
  display: block;
  margin: 0px auto;
  margin-top: 2rem;
}
/* end of banner */
/* end of header */

/* main */
main {
  max-width: 1440px;
  margin: 0 auto;
}
/* benefit */
#benefit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 5rem 0rem;
}
.benefit-card {
  width: 33rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.benefit-card p {
  font-weight: 500;
  padding: 0;
}
/* end of benefit */

/* category */
#category {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 10rem;
}
.category-card {
  width: 33rem;
  position: relative;
}

.category-card img {
  width: 100%;
  height: auto;
  transition: transform ease 0.4s;
}
.category-card img:hover {
  transform: scale(1.03);
}

.category-card h3 {
  position: absolute;
  bottom: 10rem;
  left: 0rem;
  color: var(--main-white);
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.45);
  font-weight: 400;
  font-size: 2.8rem;
  text-transform: uppercase;
  transition: transform ease 0.4s;
}
.category-card h3:hover {
  transform: translate(0.5rem, 1rem);
}
/* end of category */
/* new product container */
#new-prodact-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 10rem;
}
#new-prodact-container h2 {
  margin-bottom: 10rem;
  text-align: center;
}

#new-product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.new-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 33rem;
  background-color: var(--main-white);
  transition: box-shadow ease 0.4s;
}
.new-product:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.new-product img {
  max-width: 100%;
  max-height: 33rem;
  margin: 0 auto 2rem auto;
  padding: 2rem;
}
.new-product h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 1rem 2rem 1rem;
}

.new-product span {
  margin: 0 1rem 2rem 1rem;
}
.stock {
  font-size: 1.4rem;
  color: var(--main-green);
}
.price {
  font-weight: 500;
}

.btn {
  display: inline-block;
  margin: 0 auto 2rem auto;
  max-width: 100%;
  cursor: pointer;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 0;
  border-style: none;
  background-color: var(--main-blue);
  transition: all 100ms linear;
}
.btn:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  transform: scale(1.03);
}
/* end of new product container */

/* subscribe */

#subscribe {
  background-image: linear-gradient(rgba(0, 0, 0, 0.616), rgba(0, 0, 0, 0.616)),
    url(/images/palcikas-illatositok.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  height: 50rem;
  margin-bottom: 10rem;
  color: var(--main-white);
}
.input-area {
  width: 50%;
}
.text-area {
  width: 50%;
  margin: 2rem;
}
.text-area h2 {
  margin-bottom: 2rem;
}

.input-area form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.input-area input[type="text"],
.input-area input[type="email"] {
  width: 80%;
  border: 1px solid var(--main-brown);
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem;
  margin: 1rem 0;
}
.input-area input:focus {
  outline: none;
}
.licence {
  display: flex;
  gap: 1rem;
  width: 80%;
  padding: 1rem;
  margin: 1rem 0;
}

.input-area input[type="checkbox"] {
  width: 2rem;
  height: 2rem;
}
/* end of subscribe */

/* footer */
footer {
  background-color: var(--main-gray-dark);
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
  color: var(--main-white);
}

.footer-menu {
  padding-top: 3rem;
}

.footer-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-list li {
  list-style: none;
  text-decoration: none;
  letter-spacing: 0.1rem;
}

.footer-list li:hover {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
}

.soc-icon ul {
  display: flex;
  gap: 4rem;
  justify-content: center;
  padding: 1.5rem 0 0.5rem 0;
}
.soc-icon ul li {
  display: flex;
  list-style: none;
}

.fa-brands {
  font-size: 3rem;
  transition: all 100ms linear;
}

.fa-brands:hover {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transform: scale(1.3);
}

footer p {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 1.4rem;
}
/* end of footer */
/* end of main*/

/* responsive */
@media only screen and (max-width: 1060px) {
  .notification {
    display: none;
  }
  .banner {
    height: 45rem;
  }
}
@media only screen and (max-width: 820px) {
  html {
    font-size: 46.8%;
  }
  p {
    font-size: 2rem;
  }
  nav {
    display: none;
  }

  .top-header {
    position: fixed;
    width: 100%;
    box-shadow: 0px 15px 20px -5px rgba(0, 0, 0, 0.15);
  }
  .hmenu {
    width: 33.33%;
    display: flex;
    align-items: center;
    padding-left: 1.2rem;
    z-index: 120;
  }
  .menu-button {
    background-color: var(--main-blue);
    color: black;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 100ms linear;
  }
  .menu-button i {
    font-size: 4rem;
  }

  .menu-button:hover {
    cursor: pointer;
    transform: scale(1.03);
  }

  .icon-text {
    display: none;
  }
  .top-icon i {
    font-size: 4rem;
    z-index: 120;
  }

  .top-logo {
    display: flex;
    width: 33.33%;
    justify-content: center;
    text-align: center;
  }
  .top-icon-list {
    display: flex;
    width: 33.33%;
    justify-content: flex-end;
  }

  .banner h1 {
    /*font-size: 3.6rem;*/
    font-weight: 300;
    letter-spacing: normal;
  }
  .banner h2 {
    /* font-size: 2.6rem;*/
    letter-spacing: normal;
  }

  #new-prodact-container,
  #category,
  #subscribe {
    margin-bottom: 5rem;
  }
  #new-prodact-container h2 {
    margin-bottom: 5rem;
    /*font-size: 2.6rem;*/
  }
  .new-product h3 {
    font-size: 2rem;
  }
  .price {
    font-size: 2rem;
  }
  .stock {
    font-size: 1.8rem;
  }

  #subscribe {
    flex-direction: column;
    padding: 0 1rem;
  }
  .text-area {
    text-align: center;
    width: 100%;
  }
  .input-area {
    width: 100%;
  }

  .footer-list {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media only screen and (max-width: 420px) {
  .top-logo img {
    opacity: 0.2;
  }
}
