@import url('https://rsms.me/inter/inter.css');
@import 'vars.css';
@import 'elements.css';
@import 'reset.css';

body {
	font-family: 'Lora', serif;
}

:root {
  --color-primary: #d74a81;
  --parisienne: 'Parisienne', cursive;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Parisienne', cursive;
}

input::placeholder {
  font-size: 14px;
  line-height: 40px;
}

.handwritting {
  font-family: var(--parisienne);
}

.section-heading {
  color: var(--color-primary);
  font-family: var(--parisienne);
}

.para {
  font-family: var(--interFont), cursive;
}

a {
  text-decoration: none;
}

.mt-16 {
  margin-top: 16px;
}

.m-16 {
  margin: 16px 0;
}

.offer-click:hover .offer-dropdown {
  display: block;
}

.offer-dropdown {
  display: none;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 16px 24px;
  width: 320px;
  color: #000 !important;
  /* text-shadow: none !important; */
  /* word-wrap: break-word; */
  border-radius: 12px;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

nav#nav .container #menu .offer-dropdown a {
  color: #000;
}

nav#nav .offer-dropdown li {
  text-shadow: none !important;
}

.offer-dropdown li:hover {
  color: var(--color-primary) !important;
}

.offer-dropdown li {
  padding: 0 8px;
  word-break: break-all;
}

.btn-light,
.btn-primary,
.btn-secondary {
  height: 40px;
  line-height: 36px !important;
  padding: 0 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  background-color: transparent;
}

.btn-light {
  border: 2px solid #fff;
  color: #fff;
}

.btn-light:hover {
  background-color: #fff;
  color: var(--color-primary) !important;
}

.btn-secondary {
  border: 2px solid var(--color-primary);
  color: #fff !important;
}

.btn-secondary:hover {
  background-color: var(--color-primary) !important;
}

.btn-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary) !important;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  color: #fff !important;
  /* color: #fff !important; */
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 64px;
}

.container {
}

/* App */
#app {
  position: relative;
  width: 100%;
  min-height: 100%;
}

#app #menu-container #hamburger {
  display: none;
  margin-top: 2px;
  margin-left: 32px;
  cursor: pointer;
}

#app #menu-container #hamburger .line {
  height: 4px;
  width: 28px;
  float: left;
  clear: both;
  margin-top: 6px;
  background-color: #fff;
}

#app #menu-container #hamburger .line.active {
  background-color: #000;
}

#app #menu-container #hamburger .line:first-of-type {
  margin-top: 0;
}

#app.mobile #menu-container #hamburger {
  display: block;
}

#app.mobile #menu-container #menu {
  display: none;
}

#app #mobile-menu.active {
  transform: translateY(32px);
}

#app #mobile-menu {
  position: fixed;
  transform: translateY(calc(-100% - var(--header-height)));
  top: var(--header-height);
  left: 0;
  background-color: #fff;
  z-index: 190;
  width: calc(100% - 64px);
  margin: 0 32px;
  /* height: calc(100vh - var(--header-height) - 64px); */
  /* padding-top: var(--header-height); */
  text-align: center;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s;
}

#mobile-menu .menu {
  width: 100%;
  margin: 0 auto;
}

#mobile-menu .menu li {
  line-height: 56px !important;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  cursor: pointer;
}

#mobile-menu .menu li.btn-secondary {
  height: auto !important;
  color: var(--color-primary) !important;
}

#mobile-menu .menu li.btn-secondary:hover {
  color: #fff !important;
}

/* Nav */
nav#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 200;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.4s;
  /* --borderRadius: 24px;
  border-radius: 0 0 var(--borderRadius) var(--borderRadius); */
}

nav#nav.active {
  background-color: #fff;
  color: #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  /* padding:  */
}

nav#nav.active .btn-secondary {
  color: var(--color-primary) !important;
}

nav#nav.active .btn-secondary:hover {
  color: #fff !important;
}

nav#nav.active li {
  text-shadow: none !important;
}

nav#nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav#nav .container #nav__logo {
  position: relative;
  cursor: pointer;
  height: 80px;
  /* height: 88px; */
  /* margin-top: 100px; */
}

/* nav#nav .container #nav__logo:before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  z-index: -1;
} */

nav#nav .container #nav__logo img {
  height: 100%;
  cursor: pointer;
}

nav#nav .container #menu {
  display: grid;
  grid-auto-flow: column;
  gap: 48px;
}

nav#nav .container #menu li {
  position: relative;
  height: 40px;
  line-height: 40px;
  transition: border-bottom 0.2s, color 0.2s;
  cursor: pointer;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

nav#nav .container #menu li:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.2s;
}

nav#nav .container #menu li:hover > span,
nav#nav .container #menu li.active > span {
  color: var(--color-primary);
}

nav.active a {
	color: #000 !important;
}

nav#nav .container #menu li a {
  color: #fff;
}

nav#nav .container #menu li:hover:before,
nav#nav .container #menu li.active:before {
  background-color: var(--color-primary) !important;
}

nav#nav .container #menu-container {
  display: flex;
}

nav#nav .container .social-media {
  display: flex;
  margin-left: 32px;
  align-items: center;
}

nav#nav .container .social-media img {
  height: 28px;
}

section#about .container {
  display: flex;
  justify-content: center;
}

section#about {
  padding-bottom: 64px !important;
}

nav#nav .container .social-media img:last-of-type {
  margin-left: 32px;
}

section {
  position: relative;
}

section:not(#hero),
footer {
  padding: 96px 0;
}

/* Hero */
section#hero {
  /* padding-top: var(--header-height); */
  height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: url('../img/hero/hero2.jpg') no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  z-index: 1;
}
/* Hero */
section#hero.herozero {
  background: url('../img/hero/herozero.jpg') no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.deco-top-af:after,
.deco-top:before {
  content: '';
  position: absolute;
  background: url('../img/deco-top2.png') no-repeat;
  z-index: 1;
  width: 120px;
  height: 60px;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.deco-bottom:after {
  content: '';
  position: absolute;
  background: url('../img/deco-bottom2.png') no-repeat;
  z-index: 1;
  width: 120px;
  height: 60px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

/* section#hero:before {
  content: '';
  position: absolute;
  background: url('../img/deco-bottom2.png') no-repeat;
  z-index: 10;
  width: 120px;
  height: 60px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
} */

section#hero .container {
  position: relative;
  display: grid;
  z-index: 2;
  justify-content: center;
  align-items: center;
}

section#hero .container h1 {
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 8px 32px rgba(0, 0, 0, 0.3);
}

section#hero #arrow-down-wrapper {
  cursor: pointer;
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border-radius: 50%;
  line-height: 50px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}

section#hero #arrow-down-wrapper:hover {
  opacity: 0.9;
}

section#hero #arrow-down-wrapper #arrow-down {
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  animation: arrow-down 2s infinite;
}

section#quotation {
  padding: 156px 0;
}

section#quotation .container {
  display: grid;
  grid-auto-flow: row;
  justify-items: center;
  text-align: center;
}

section#quotation .container img {
  max-width: 100%;
}

/* section#quotation .handwritting {
  font-size: 24px;
} */

section#additional {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 320px);
  padding: 0 64px;
  padding-bottom: 96px;
  gap: 64px;
}

section#additional > * {
  border-radius: 24px;
}

section#additional .image1 {
  background-image: url('../img/about/1f.jpg');
}

section#additional .image2 {
  background-image: url('../img/about/2f.jpg');
}

section#additional .image3 {
  background-image: url('../img/about/3f.jpg');
}

section#additional .additional-image {
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  /* background-size: 100% 0; */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 8px 32px rgba(0, 0, 0, 0.3);
}

section#additional .additional-text {
  /* background-color: #fab; */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 16px;
}

section#additional .text1 {
  background-color: #f1c0d3;
}

section#additional .text2 {
  background-color: #faeaf0;
}

section#additional .text3 {
  background-color: #edabc4;
}

section#additional .additional-text p {
  margin-top: 16px;
  font-size: 16px;
  font-style: italic;
}

section.offer .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* section.offer.first:before {
} */

section.offer:nth-child(odd) {
  background-color: #faeaf0;
}

section.offer .container {
  grid-template-rows: auto 1fr;
  grid-template-areas:
    'heading heading'
    'col1 col2';
}

section.offer .container .text .btn-primary {
  margin-top: 32px;
  float: left;
}

section.offer .container h1.section-heading {
  grid-area: heading;
  text-align: center;
}

section.offer .container .col1 {
  grid-area: col1;
}

section.offer:nth-of-type(even) .col1,
section.offer:nth-of-type(odd) .col2 {
  display: flex;
  justify-content: center;
}

section.offer .container .col2 {
  grid-area: col2;
}

section.offer .container img {
  max-height: 440px;
  border-radius: 16px;
  box-shadow: 0 0 0 2px #edabc4, 16px 16px 0 0 #f6d5e2;
}

section#inst {
  background: url('../img/instagram-bg.jpg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

section#inst .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.3);
}

section#inst .container > img {
  height: 96px;
  /* margin-bottom: 48px; */
}

section#inst .container .btn-light {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

section#inst .container .btn-light:hover {
  text-shadow: none;
}

section#inst .container h1 {
  color: #fff;
  margin-bottom: 32px;
  /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.3); */
}

section.offer .container.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  grid-template-areas: none !important;
}

.gallery {
	background-color: #fff;
}

.gallery-items {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
}

.gallery-items .item {
	border-radius: 10px;
}

.gallery-items .item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

section#gallery h1 {
  text-align: center;
}

section#gallery .container {
  display: grid;
  grid-auto-flow: row;
  grid-gap: 32px;
}

section#gallery .slider {
  position: relative;
  /* height: 400px; */
  width: 100%;
  overflow: hidden;
  padding: 0 128px;
}

section#gallery .slider .slick-list {
  padding: 64px 0;
  cursor: grab;
}

section#gallery .slider .slick-slide {
  margin: 0 32px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.2);
}

section#gallery .slider .slick-prev,
section#gallery .slider .slick-next {
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: transparent;
  background-color: var(--color-primary);
  cursor: pointer;
  z-index: 10;
}

section#gallery .slider .slick-prev:before,
section#gallery .slider .slick-next:before {
  position: absolute;
  color: #fff;
  font-size: 20px;
  line-height: normal !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* text-align: */
}

section#gallery .slider .slick-prev {
  left: 64px;
}

section#gallery .slider .slick-prev:before {
  content: '←';
}

section#gallery .slider .slick-next {
  right: 64px;
}

section#gallery .slider .slick-next:before {
  content: '→';
}

/* section#gallery .slider img {
  height: 100%;
} */

section#gallery .el {
  height: 400px;
  background-color: #e0e0e0;
}

section#contact .container .heading-text {
  text-align: center;
}

section#contact .container #contact-container {
  height: 580px;
  background-color: var(--color-primary);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  border-radius: 12px;
  padding: 64px !important;
}

section#contact .container #contact-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

section#contact .container #contact-container form {
  display: grid;
  grid-auto-flow: row;
  gap: 32px;
  grid-template-rows: 40px 1fr 40px;
}

section#contact .container #contact-container form input {
  border: none;
}

input {
  padding: 0 16px;
}

textarea {
  padding: 16px;
  font-family: var(--interFont), sans-serif;
}

input,
textarea {
  transition: box-shadow 0.2s;
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4);
}

input,
textarea,
button {
  border: none;
  outline: none;
}

section#contact .container {
  display: grid;
  grid-auto-flow: row;
  grid-template-rows: auto 1fr;
  gap: 64px;
}

section#contact .container h1 {
  text-align: center;
}

section#contact .container #contact-container form > * {
  border-radius: 8px;
}

section#contact .container #contact-container form button {
  background-color: #fff;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.2s;
  cursor: pointer;
}

section#contact .container #contact-container form button:hover {
  opacity: 0.7;
}

footer#footer {
  position: relative;
  background: url('../img/footer.jpeg') no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  color: #fff;
  z-index: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.6);
}

footer#footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

footer#footer .container {
  display: grid;
  grid-auto-flow: row;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 64px;
}

footer#footer .container p {
  text-align: center;
}

footer#footer .container #contact-info {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	text-align: center;
}

footer#footer .container #contact-info #email,
footer#footer .container #contact-info #telephone,
footer#footer .container #contact-info #orders {
	width: calc(33.33% - 20px);
}

footer#footer .container .col1 {
  max-width: 640px;
  justify-self: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

footer#footer .container #contact-info .icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	margin-bottom: 30px;
}

footer#footer .container #contact-info .icon img {
  height: 22px;
  width: 22px;
}

footer#footer .container #contact-info ul {
  margin-top: 32px;
}

footer#footer .container #contact-info li a {
  color: var(--color-primary);
}

footer#footer .container #contact-info li {
  line-height: 32px;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 600;
}

footer#footer .container #contact-info a:hover {
  text-decoration: underline;
  cursor: pointer;
}

footer#footer .container .social-media {
	margin: 0 auto;
	margin-top: 32px;
}

footer#footer .container .social-media .social:first-of-type {
	margin-right: 24px;
}

footer#footer .container .social {
  --size: 40px;
  float: left;
  display: flex;
  height: var(--size);
  width: var(--size);
}

footer#footer .container .social img {
  width: 100%;
  height: 100%;
}

footer#footer h3 {
	font-family: 'Lora', serif;
}

@keyframes arrow-down {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/* UPDATE */

.grid {
  display: grid !important;
}

.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  background-color: blue;
}

.wafer .col2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.wafer .cols-2 {
  grid-template-columns: repeat(2, minmax(auto, 200px));
}

.wafer .col1 .cell {
  /* padding: 0 32px; */
  /* display */
}

.wafer .col1 img {
  width: 100%;
  box-shadow: none !important;
}

.offer ul {
  margin-top: 12px;
  margin-bottom: 24px;
}

.offer li {
  margin: 12px 0;
  line-height: 20px;
  position: relative;
  padding-left: 20px;
}

.offer li:before {
  --size: 8px;
  content: '';
  position: absolute;
  top: 6px;
  /* top: 50%;
  transform: translateY(-50%); */
  left: 0;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background-color: var(--color-primary);
}

@media (max-width: 800px) {
  /* .wafer .cols-2 {
    grid-template-columns: 1fr;
    display: grid;
    justify-content: center;
  } */

	.slider-mobile {
		display: none;
	}

  .wafer .cols-2 img {
    width: 100%;
  }

  .container {
    padding: 0 32px;
  }

  section#hero h1 {
    font-size: 4rem;
  }

  section#additional {
    grid-template-columns: none;
    grid-template-rows: repeat(6, 320px);
    gap: 32px;
    padding: 0 32px;
    padding-bottom: 96px;
  }

  section.offer .container {
    grid-template-columns: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* grid-auto-flow: column; */
  }

  section.offer:nth-of-type(odd) .container h1 {
    order: 1;
  }

  section.offer:nth-of-type(odd) .container .col1 {
    order: 3;
  }

  section.offer:nth-of-type(odd) .container .col2 {
    order: 2;
    margin-bottom: 64px;
    margin-top: 16px;
  }

  section.offer:nth-of-type(even) .container .col1 {
    margin-bottom: 64px;
    margin-top: 16px;
  }

  section.offer .container .text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  section.offer .container .text li {
    text-align: start;
  }

  section#gallery .slider {
    padding: 0 32px;
  }

  section#gallery .slider .slick-prev {
    left: 96px;
  }

  section#gallery .slider .slick-next {
    right: 96px;
  }

  #inst .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    text-align: center;
  }

  section#contact .container #contact-container {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 24px !important;
  }

  section#contact .container iframe {
    height: 400px !important;
  }

  section#contact .container #contact-container form {
    margin-top: 24px;
    gap: 24px;
  }

  footer#footer .container {
    display: flex;
    flex-direction: column;
  }

  footer#footer #contact-info {
    /* display: flex; */
    /* grid-template-columns: none;
    grid-template-rows: none; */
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
  }

  footer#footer #contact-info > * {
    margin-top: 64px;
  }

 
	footer#footer .container #contact-info #email,
	footer#footer .container #contact-info #telephone,
	footer#footer .container #contact-info #orders {
		width: 100%;
	}
 
}
