* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  font-family: "Montserrat", sans-serif;
  position: relative;
  background: #7e1430;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: radial-gradient(
    circle,
    rgb(255, 102, 0),
    rgba(150, 22, 59, 0) 100%
  );
  animation: flicker-light 5s infinite alternate;
  z-index: -99;
}

.container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    0deg,
    rgba(145, 25, 23, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: -99;
}

@keyframes flicker-light {
  0% {
    opacity: 0.2;
  }
  10% {
    opacity: 0.1;
  }
  20% {
    opacity: 0.3;
  }
  30% {
    opacity: 0.2;
  }
  40% {
    opacity: 0.1;
  }
}
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.274);
}
img.logo {
  width: 80px;
  margin-left: 20px;
  position: absolute;
  top: 0;
}
.nav {
  height: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo,
.nav__toggle {
  color: #fff;
}

.nav__menu {
  position: relative;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: #7e1430;
    box-shadow: -1px 0 4px gray;
    padding: 3rem;
    transition: 0.4s;
  }
  .nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
  }
  .nav__close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
  }
  .nav__toggle {
    font-size: 1.2rem;
    cursor: pointer;
  }
  .nav__toggle,
  .nav__close {
    display: block !important;
  }
}
nav ul li {
  display: inline-block;
  padding: 20px;
}
.nav__toggle,
.nav__close {
  display: none;
}
.nav__link {
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
}
.nav__link:hover {
  color: gray;
}

.show-menu {
  right: 0;
}

.scroll-header {
  background-color: #7e1430;
}

.container {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.container .animations {
  position: absolute;
  width: 100%;
  height: 100vh;
}

.content {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
}

.content::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(145, 25, 23, 0) 5%
  );
}
.animation_catrina img {
  position: absolute;
  bottom: 0;
  left: 0;
}

canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  filter: blur(1px);
}

.title_content {
  height: 500px;
  width: 500px;
  position: relative;
}

.title_content h1 {
  font-family: "Great Vibes", cursive;
  color: #fff;
  font-size: 5em;
  font-weight: 400;
}
.title_content h1 span {
  font-size: 3em;
  font-family: "Rouge Script", cursive;
  font-weight: 400;
}
.title_content h1.feliz {
  position: relative;
  left: -50px;
  top: 50px;
}
h1.feliz span {
  position: relative;
  left: 78px;
}
h1.dia,
.de {
  position: absolute;
  top: 220px;
  right: 150px;
}
h1.dia {
  right: 220px;
}

h1.muertos {
  position: relative;
  left: 100px;
}
h1.muertos span {
  position: relative;
  left: 45px;
}

.catrina_animation {
  width: 500px;
  height: 100vh;
  position: relative;
}

.butterflys_catrina {
  width: 500px;
  height: 600px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.animation-leaf {
  width: 100%;
  height: 50px;
  border: 2px solid red;
  position: absolute;
  top: 0;
  left: 0;
}

.slider__section {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}
.slider__section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    0deg,
    rgba(145, 25, 23, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: -99;
}

h2.slider__title {
  position: absolute;
  top: 0;
  color: #000;
  margin: 20px;
  font-family: "Great Vibes", cursive;
  font-size: 2em;
}

h2.slider__title span {
  font-size: 3em;
  font-weight: 400;
  font-family: "Rouge Script", cursive;
  position: relative;
  left: 30px;
}

.swiper-slide {
  width: 400px !important;
  margin: 40px !important;
  border: none !important;
  background: transparent;
}

.slider__card {
  height: 500px;
  width: 800px !important;
  border: 2px solid;
}
.slider__data {
  height: 100px;
  width: 300px;
  background-color: rgba(0, 0, 0, 0.452);
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider__title,
.slider__description {
  color: #fff !important;
  position: absolute !important;
}
.slider__description {
  bottom: 0;
  text-align: center;
}

iframe.svg_mariachi {
  width: 100% !important;
  height: 100%;
}
iframe.svg_mariachi_2 {
  width: 100% !important;
  height: 100%;
}
footer {
  height: 100px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.507);
  color: #fff;
}
p.footer_text {
  padding-left: 50px;
  padding-top: 20px;
  font-size: 30px;
  font-family: "Rouge Script", cursive;
}
i {
  cursor: pointer;
  margin: 50px;
  font-size: 20px;
  color: #fff;
}
.catrina {
  width: 100%;
  position: absolute;
 left: -250px;
  z-index: -99;
}
@media screen and (max-width: 500px) {
  .content {
    flex-direction: column;
    height: 200vh;
  }
  .title_content {
    position: absolute;
    top: 0;
    width: 400px;
    height: 200px;
  }

  .title_content h1 {
    font-size: 3em;
  }
  .title_content h1 span {
    font-size: 2em;
  }
  .title_content h1.feliz {
    left: 0px;
  }
  h1.feliz span {
    left: 37px;
  }
  h1.dia,
  .de {
    top: 85px;
  }

  h1.muertos span {
    left: 28px;
  }

  .catrina_animation {
    height: 0;
  }
 
}
