@font-face {
  font-family: built;
  src: url(../font/built_titling_rg-webfont.woff);
}

@font-face {
  font-family: built-bd;
  src: url(../font/built_titling_bd-webfont.woff);
}

@font-face {
  font-family: elegant;
  src: url(../font/elegant_handwriting-webfont.woff);
}

@font-face {
  font-family: lato;
  src: url(../font/lato-regular-webfont.woff);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body::-webkit-scrollbar {
  width: 0;
}

header {
  position: fixed;
  background-color: #fff;
  width: 100%;
  height: 100px;
  z-index: 2;
}

.menu {
  display: none;
}
.nav-mobile {
  display: none;
}

ul.nav {
  display: flex;
  float: right;
  position: relative;
  z-index: 1;
  padding-top: 20px;
  opacity: 0;
  animation: fading 3s forwards;
}

@keyframes fading {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.5;
  }

  75% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

li {
  list-style: none;
  padding-top: 20px;
}

a {
  padding-right: 70px;
  z-index: 20;
  font-family: lato;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  color: #b373af;
  transition: all 1s ease-in-out;
}

a:hover {
  color: #522473;
}

a:active {
  text-decoration: underline;
}

header img {
  position: absolute;
  left: 50px;
  top: -95px;
  animation: updown 2s linear forwards;
}

@keyframes updown {
  0% {
    top: -95px;
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    top: 5px;
    opacity: 1;
  }
}

/* ------------------------main------------------ */

.cover {
  background-image: url(../img/56e353b0-c612-11ec-9cdb-aa2c92b820a6_mari_la_mora_close_up_1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
  height: 767px;
  filter: brightness(0.7);
}

.line {
  border-bottom: #e496ac 4px solid;
  margin: 2%;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #e496ac;
  padding: 50px;
}

.nav-menu a {
  background-color: white;
  border-radius: 5px;
  color: #e496ac;
  padding: 10px;
}

.nav-menu a:hover {
  background-color: #b373af;
  color: white;
}

.nav-menu a:active {
  background-color: #522473;
  color: white;
}

.nav-menu li {
  padding: 10px;
  margin: 10px;
}

h2 {
  color: #e496ac;
  font-family: elegant;
  font-size: 80px;
  letter-spacing: 2px;
  text-align: center;
  width: 100%;
  padding-top: 50px;
  text-shadow: #522473 4px 2px;
}

.products {
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.products img {
  padding: 20px;
  filter: drop-shadow(0.2rem 0.2rem 0.1rem rgba(0, 0, 0, 0.502));
  cursor: pointer;
  width: 100%;
  max-width: 550px;
}

.product {
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 220px;
  color: #000000;
  text-align: left;
  font-size: 16px;
  -webkit-perspective: 50em;
  perspective: 50em;
}

.product * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.product figcaption {
  top: 60px;
  left: 60px;
  right: 60px;
  bottom: 60px;
  padding: 20px;
  position: absolute;
  opacity: 0;
  z-index: 1;
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
}

.product h3,
.product p {
  margin: 0 0 5px;
}

.product h3 {
  font-weight: 600;
  font-family: elegant;
  font-size: 30px;
  letter-spacing: 2px;
  line-height: 30px;
  color: #522473;
}

.product p {
  font-size: 1em;
  font-family: lato;
}

.product .price {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 20px;
  padding: 0.2em 0em;
  font-weight: 400;
  font-family: lato;
  font-size: 1.5em;
}

.product .add-to-cart {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 20px;
  padding: 0.2em 0.5em;
  border: 2px solid #522473;
  border-radius: 5px;
  padding: 0.5em 1em;
  font-size: 0.8em;
  font-family: lato;
  text-decoration: none;
  color: #522473;
  font-weight: 600;
}

.product .add-to-cart:hover {
  background-color: #522473;
  color: #ffffff;
}

.product:after {
  background-color: #ffffff;
  position: absolute;
  content: "";
  display: block;
  top: 50px;
  left: 50px;
  right: 50px;
  bottom: 50px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  opacity: 0;
}

.product:hover figcaption {
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.product:hover:after {
  -webkit-transform: rotateX(0);
  transform: rotateX(0);
  opacity: 0.9;
}

.container2,
.container3,
.container4,
.container5,
.container6,
.container7,
.container8 {
  padding-top: 100px;
}

/* ------------------------footer-------------------- */

#myBtn {
  display: block;
  font-size: 18px;
  border: none;
  outline: none;
  width: 100%;
  background-color: transparent;
  cursor: pointer;
  padding: 5px;
  margin-bottom: 20px;
  transition: all 1s ease-out;
}

#myBtn:hover {
  background-color: #ffffff1c;
}

footer {
  background-color: #522473;
  width: 100%;
  margin-top: 150px;
}

.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.icons img {
  cursor: pointer;
  margin-left: 16px;
  cursor: pointer;
  margin-right: -60px;
  margin-bottom: 15px;
}

.fb {
  margin-top: -4px;
}

.tiktok {
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding-bottom: 35px;
  padding-top: 30px;
}

.footer-bottom div img {
  width: 35px;
  height: 35px;
  margin-left: -40px;
  margin-bottom: 20px;
  cursor: pointer;
}

.footer-bottom p {
  font-family: lato;
  color: #fff;
  margin-top: -51px;
  font-size: 1em;
}

.copyRight {
  color: white;
  text-align: center;
  font-family: lato;
  font-size: 15px;
  border-bottom: 1px #fff solid;
  margin-left: 2%;
  margin-right: 2%;
  padding: 20px 0;
}

#contactDialog {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100vh;
  border: 0;
  margin: 0 auto;
  z-index: 51;
  display: none;
  animation: dialogAnimation 1s forwards;
}

#contactDialog.closeDialog {
  animation: dialogAnimationClose 1s forwards;
}

#contactDialog .closeIcon {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

#contactDialog iframe {
  width: 100%;
  height: 100%;
}
@keyframes dialogAnimation {
  from {
    top: -100%;
  }
  to {
    top: 0;
  }
}

@keyframes dialogAnimationClose {
  0% {
    top: 0;
  }
  80% {
    top: -100%;
  }
  100% {
    display: none;
  }
}

/* ----------------------media------------------- */

@media only screen and (max-width: 800px) {
  ul.nav {
    display: none;
  }

  .nav-mobile {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    text-align: center;
    padding-top: 30%;
    letter-spacing: 4px;
  }

  .nav-mobile-open {
    display: flex;
    background: rgb(255, 255, 255);
  }

  ul.nav-mobile li a {
    list-style: none;
    color: #b373af;
    text-decoration: none;
    font-family: lato;
    font-weight: bold;
    font-size: 20px;
    padding-right: 0;
  }

  ul.nav-mobile li {
    padding: 10%;
  }

  .menu {
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 10px;
    z-index: 10;
  }

  .line {
    fill: none;
    stroke: #522473;
    stroke-width: 8;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
      stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 8;
  }
  .line2 {
    stroke-dasharray: 60 60;
    stroke-width: 8;
  }
  .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 8;
  }
  .opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 8;
  }
  .opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 8;
  }
  .opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 8;
  }
  header img {
    position: absolute;
    left: 10px;
    top: 10px;
  }

  /* -------------------------main---------------- */

  .cover {
    background-image: url(../img/56e353b0-c612-11ec-9cdb-aa2c92b820a6_mari_la_mora_close_up_1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
  }

  .line {
    border-bottom: #e496ac 4px solid;
    margin: 2%;
  }

  .nav-menu a {
    background-color: white;
    border-radius: 10px;
    color: #e496ac;
    padding: 10px;
    box-shadow: #ffffff62 2px 2px 5px;
    font-size: 15px;
  }

  h2 {
    font-family: elegant;
    font-size: 50px;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    padding-top: 0;
    text-shadow: #522473 3px 2px;
  }

  .products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .products img {
    width: 100%;
    max-width: 320px;
    cursor: pointer;
    padding: 0;
    margin-top: 20px;
  }

  .product {
    color: #fff;
    color: #000000;
    text-align: left;
    font-size: 10px;
    pointer-events: none;
  }

  .product figcaption {
    position: unset;
    opacity: 1;
    padding-top: 20px;
    padding-left: 0;
    transform: none;
    max-width: 305px;
    width: 100%;
  }

  .product h3 {
    font-weight: 600;
    font-family: elegant;
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 25px;
    color: #522473;
  }

  .product p {
    font-size: 15px;
    font-family: lato;
  }

  .product .price {
    position: unset;
    font-weight: 600;
    font-family: lato;
    font-size: 16px;
    margin-left: 0;
    padding-bottom: -10px;
  }

  .product .add-to-cart {
    position: absolute;
    top: 145px;
    right: -10px;
    height: 25px;
    width: 88px;
    border: 2px solid #522473;
    border-radius: 5px;
    font-size: 10px;
    font-family: lato;
    text-decoration: none;
    color: #522473;
    font-weight: 600;
  }

  .add-to-cart {
    cursor: pointer;
  }

  /* --------------------------footer--------------------- */

  footer {
    background-color: #522473;
    width: 100%;
    margin-top: 150px;
  }

  .icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .icons img {
    cursor: pointer;
    margin-left: 16px;
    cursor: pointer;
    margin-right: -60px;
    margin-bottom: 15px;
  }

  .fb {
    margin-top: -4px;
  }

  .tiktok {
    margin-top: 3px;
  }

  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-bottom: 40px;
    padding-top: 30px;
  }

  .footer-bottom > div {
    display: flex;
    align-items: end;
    margin-bottom: 20px;
  }

  .footer-bottom div img {
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin-left: 0;
    margin-bottom: -10px;
    margin-right: 5px;
  }

  .footer-bottom p {
    font-family: lato;
    color: #fff;
    margin-top: -51px;
    font-size: 10px;
  }

  .copyRight {
    color: white;
    text-align: center;
    font-family: lato;
    font-size: 12px;
    border-bottom: 1px #fff solid;
    margin-left: 2%;
    margin-right: 2%;
    padding: 20px 0;
  }
}
