@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;
}

body {
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

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

.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 {
  color: #522473;
  text-decoration: underline;
}

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

.cover {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  transition: all 3s linear;
}

.cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/4fea3bf0-c612-11ec-91ac-aa8ab73a9bfa_mari_la_mora_cover_1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  filter: brightness(0.7);
}

.cover p {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.618);
  color: #b373af;
  text-shadow: 2px 3px #ffffff86;
  font-size: 70px;
  font-family: built;
  font-weight: 600;
  text-align: center;
  width: 100%;
  max-width: 720px;
  padding: 80px;
  letter-spacing: 5px;
}

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;
  }
}

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

#section1 {
  background-color: #b373af;
  display: flex;
  flex-wrap: wrap;
}

#slider-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-evenly;
}

.slideshow-container {
  cursor: pointer;
  margin-bottom: 100px;
}

.mySlides {
  width: 100%;
  max-width: 550px;
}

.mySlides img {
  width: 100%;
  height: 100%;
}

.numbertext {
  color: #522473;
  font-weight: bold;
  font-size: 12px;
  font-family: lato;
  padding: 8px 12px;
  position: absolute;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 2px;
  background-color: #e0e0e0;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dots {
  width: 100%;
  text-align: center;
}

.active {
  background-color: #9a9a9a;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

.viewMenu {
  border: #fff 2px solid;
  color: #fff;
  background-color: transparent;
  border-radius: 5px;
  padding: 10px;
  font-size: 18px;
  font-family: lato;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 auto;
  margin-bottom: 50px;
  cursor: pointer;
  text-align: center;
  transition: all 1s ease-out;
}

.viewMenu:hover {
  background-color: white;
  color: #b373af;
}

h1 {
  padding-top: 20px;
  text-align: center;
  font-family: elegant;
  font-size: 50px;
  letter-spacing: 2px;
}

h2 {
  padding-left: 50px;
  font-family: built;
  font-size: 60px;
  letter-spacing: 7px;
  color: #b373af;
  text-align: center;
  padding-top: 100px;
}

#section1 h3 {
  color: #fff;
  width: 100%;
  text-align: center;
  letter-spacing: 2px;
  padding-top: 50px;
  font-family: lato;
  font-size: 30px;
  margin-bottom: 100px;
}

.con2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 100px;
}

.right {
  position: relative;
}

.right img {
  display: block;
  width: 100%;
  max-width: 800px;
  cursor: pointer;
}

.right:hover .overlay {
  bottom: 0;
  height: 100%;
}

.overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff75;
  overflow: hidden;
  width: 100%;
  height: 0;
  cursor: pointer;
  transition: 0.5s ease;
}

.text {
  color: rgb(0, 0, 0);
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: lato;
  font-weight: 600;
  font-size: 25px;
}

.h2 {
  background-color: #522473;
  color: white;
  padding: 70px;
  margin-bottom: 60px;
  margin-top: 40px;
  font-size: 100px;
}

.h3 {
  color: #522473;
  text-align: start;
  font-family: elegant;
  font-size: 40px;
}

.left p {
  width: 100%;
  max-width: 500px;
  font-family: lato;
  font-size: 23px;
  text-align: justify;
  padding-top: 20px;
}

.con3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-bottom: 100px;
  background-color: #522473;
  padding: 100px;
  padding-bottom: 250px;
}

.left {
  max-width: 800px;
  padding-top: 30px;
}

.left2 {
  padding-top: 70px;
  color: white;
}

.left2 p {
  text-align: justify;
  width: 100%;
  max-width: 500px;
  font-family: lato;
  font-size: 23px;
  padding-bottom: 20px;
}

.con4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.311);
  max-width: 700px;
  width: 100%;
  height: 600px;
  margin: 0 auto;
  margin-top: -200px;
  margin-bottom: 100px;
  border-radius: 5px;
  padding: 20px;
}

.top p {
  width: 100%;
  max-width: 600px;
  margin-top: 10px;
  text-align: center;
  color: #b373af;
  font-size: 20px;
  font-weight: 600;
  font-family: lato;
}

.hh3 {
  color: #522473;
  text-align: center;
  margin-top: -20px;
  font-family: elegant;
  font-size: 40px;
}

dl {
  font-family: lato;
  width: 100%;
  max-width: 620px;
  padding-left: 30px;
}

dt {
  padding-bottom: 5px;
  font-size: 23px;
  font-weight: 600;
  padding-top: 60px;
}

dd {
  padding-top: 5px;
  font-size: 20px;
}

.con4 div .form-btn {
  color: #522473;
  border: 2px #522473 solid;
  border-radius: 5px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 2px;
  padding-top: 2px;
  margin-top: 20px;
  margin-left: 30px;
}

.con4 div .form-btn:hover {
  background-color: #522473;
  color: #fff;
}

.mid {
  margin-top: -200px;
  padding-left: 20px;
}

.bottom p {
  margin-bottom: 30px;
  color: #000;
  font-size: 20px;
  font-family: lato;
  font-weight: 600;
  padding-top: 20px;
  padding-left: 30px;
}

/* -----------------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: #522473;
    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: 20px;
    top: 10px;
  }

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

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

  .cover p {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.689);
    color: #b373af;
    text-shadow: 2px 3px #ffffff86;
    font-size: 50px;
    font-family: built;
    font-weight: 600;
    text-align: center;
    width: 100%;
    max-width: 550px;
    padding: 80px;
    letter-spacing: 5px;
  }

  #section1 {
    background-color: #b373af;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .viewMenu {
    padding: 5px;
    font-size: 15px;
  }

  #slider-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 5%;
  }

  .slideshow-container {
    margin-bottom: 50px;
    cursor: pointer;
  }

  .mySlides {
    width: 100%;
    max-width: 300px;
  }

  .mySlides img {
    width: 100%;
  }

  .numbertext {
    color: #522473;
    font-weight: bold;
    font-size: 10px;
    font-family: lato;
    padding: 8px 12px;
    position: absolute;
  }

  .dot {
    height: 5px;
    width: 5px;
    margin: 1px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .dots {
    width: 100%;
    text-align: center;
  }

  .active {
    background-color: #9a9a9a;
  }

  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }

  @keyframes fade {
    from {
      opacity: 0.8;
    }
    to {
      opacity: 1;
    }
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    padding-top: 40px;
    font-size: 40px;
  }

  .h2 {
    background-color: #522473;
    color: white;
    padding: 70px;
    margin-bottom: 40px;
    margin-top: 20px;
    font-size: 50px;
  }

  .h3 {
    color: #522473;
    text-align: start;
    font-family: elegant;
    font-size: 30px;
  }

  .left p {
    font-size: 16px;
    max-width: 300px;
    padding-top: 0;
  }

  .left2 p {
    font-family: lato;
    font-size: 16px;
    padding-top: 0px;
    max-width: 300px;
  }

  .con4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.311);
    max-width: 460px;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    margin-top: -200px;
    margin-bottom: 100px;
    border-radius: 5px;
    padding: 20px;
  }

  .top p {
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
    text-align: center;
    color: #b373af;
    font-size: 15px;
    font-weight: 600;
    font-family: lato;
  }

  .hh3 {
    color: #522473;
    text-align: center;
    margin-top: -20px;
    font-family: elegant;
    font-size: 30px;
  }

  dl {
    font-family: lato;
    width: 100%;
    max-width: 620px;
    padding-left: 0px;
  }

  dt {
    padding-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
    padding-top: 60px;
  }

  dd {
    padding-top: 5px;
    font-size: 15px;
  }

  .con4 div .form-btn {
    color: #522473;
    border: 2px #522473 solid;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
    margin-top: 20px;
    margin-left: 0px;
    font-size: 15px;
  }

  .con4 div .form-btn:hover {
    background-color: #522473;
    color: #fff;
  }

  .mid {
    margin-top: -200px;
    padding-left: 20px;
  }

  .bottom p {
    margin-bottom: 30px;
    color: #000;
    font-size: 17px;
    font-family: lato;
    font-weight: 600;
    padding-top: 20px;
    padding-left: 0px;
  }

  /* ----------------------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;
    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;
  }
}
