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

html,
body {
  scroll-behavior: smooth;
}

:root {
  /* Template-Styles Eventos */

  /* Variables titles-color */
  --title-recientes: mediumorchid !important;
  --title-work: palevioletred !important;
  --title-pasion: mediumslateblue !important;

  /* Variables Gradients-Backgrounds */

  --background-url: url(../images/background.webp);
  --gradient-background: linear-gradient(45deg, #8af7f998, #ee82eea1, #ffd90065),
    var(--background-url);

  --gradient-slider: linear-gradient(95deg, #743ad5, #d53a9d, gold);
  --gradient-testimonios: linear-gradient(45deg, #0d0f10, #ee82ee4a, black);

  --border-testimonios: #0000008f 3px solid;

  --gradient-footer-background: linear-gradient(
      90deg,
      #a9bf66c8,
      #ee82ee98,
      #6dd7c7ac
    ),
    url(../images/footer.webp) no-repeat;
  --container-video-home: linear-gradient(
      45deg,
      black,
      rgba(0, 0, 0, 0.36),
      black
    ),
    url(../images/fondo-hero.webp);

  --shadow-video-home: 2px 2px 5px cyan, -2px -2px 5px purple;

  /* for removing the highlight */
  -webkit-tap-highlight-color: transparent;

  --shadow-One: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

  h1,
  h2,
  h3 {
    text-shadow: 0 1px 1px black;
    text-align: center;
    margin: 0 auto;
  }

  a {
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    color: white;
  }
}

/* Transitions Pages */
@view-transition {
  navigation: auto;
}

/* Class fonts */

@font-face {
  font-family: "Dancing Script";
  src: url("../fonts/DancingScript-VariableFont_wght.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/JosefinSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.text_Josefin-Sans {
  font-family: "Josefin Sans", sans-serif;
}

.text_Dancing-Script {
  font-family: "Dancing Script", cursive;
}

/* Font title Portada-more */
.container-logo_titles {
  padding: 0 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-content: center;
  place-items: baseline;

  @media (width < 720px) {
    grid-template-columns: 1fr;
  }
}

.titles {
  font-size: clamp(44px, 4vw + 1rem, 80px);
  margin-block-start: 3rem !important;
  background: linear-gradient(45deg, #ffd900, #832fc1, #00ffff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 -4px 0px #f2f2f3 !important;

  animation: title-animate 1s ease forwards;

  span {
    font-size: clamp(36px, 2vw + 1rem, 64px);
  }
}

@keyframes title-animate {
  from {
    transform: translateY(10rem);
    filter: blur(10px) opacity(0);
  }

  to {
    transform: translateY(0);
    filter: blur(0) opacity(1);
  }
}

/* Reset-Images */
.images {
  width: min(100%, 500px);
  border-radius: 2rem;
  box-shadow: var(--shadow-One);
  object-fit: cover;
  aspect-ratio: 5/3;
  display: block;
  margin: auto;
  position: relative;
}

/* Regla para fijar images IOS */
.unfix-ios-bg {
  @supports (-webkit-touch-callout: none) {
    background-attachment: initial !important;
  }
}

/*   Background-Gradient */
/* body::after {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  inset: 0;
  background: var(--gradient-background);
  background-size: cover;
  z-index: -2;
  overflow: hidden;
} */

/* Background fixed-Absolute */
.background::before{
  content: "";
  position: fixed;
  width: 100%;
  min-height: 100svh; /* altura real visible en iOS */
  background: var(--gradient-background);
  background-size: cover;
  inset: 0;
  z-index: -1;
  background-repeat: no-repeat;

}

/* Component-Menu_Items */
.menu {
  width: 100%;
  position: fixed;
  inset: 0;
  height: 4rem;
  z-index: 100;
  overflow: hidden;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0.5rem;
  filter: drop-shadow(0 2px 5px black);
  background: linear-gradient(-45deg, #00ffff98, #ee82ee98, #ffd70098);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
    fill-opacity: 0.8;
    margin: auto;
    transition: ease 1s;
  }

  a {
    transition: all 0.5s;
    text-align: center;
    width: 100%;
    padding: 0.5rem;
    display: grid;
    background: rgba(0, 0, 0, 0.2);
    justify-content: center;
    align-items: center;
    line-height: 1;

    @media (width < 720px) {
      display: grid;
      place-items: center;
      gap: 0.2rem;
      font-size: 1em;
      height: inherit;
    }
  }
}

.menu a:hover {
  scale: 0.97;
  background: rgba(0, 0, 0, 0.38);
  filter: drop-shadow(1px 1px 20px currentColor);

  svg {
    color: currentColor;
    transform: translateY(-5px);
  }
}

.menu a:nth-child(1) {
  color: cyan;
  border-bottom: solid 2px cyan;
}

.menu a:nth-child(2) {
  color: violet;
  border-bottom: solid 2px violet;
}

.menu a:nth-child(3) {
  color: gold;
  border-bottom: solid 2px gold;
}

.menu a:nth-child(4) {
  color: greenyellow;
  border-bottom: solid 2px greenyellow;
}

.menu a:nth-child(5) {
  color: burlywood;
  border-bottom: solid 2px burlywood;
}

/* Arrow Animated-Services */
.arrows-animated {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow {
  position: relative;
  width: 40px;
  height: 40px;
  border-top: 10px solid #fff;
  border-left: 10px solid #fff;
  transform: rotate(135deg);
  animation: arrow-load 3s infinite;
}

.arrow:nth-child(1) {
  left: 45px;
  animation-delay: -0.4s;
}

.arrow:nth-child(2) {
  animation-delay: -0.2s;
}

.arrow:nth-child(3) {
  right: 40px;
}

@keyframes arrow-load {
  0% {
    opacity: 0;
    transform: rotate(135deg) translate(60px, 60px);
  }

  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(135deg) translate(-60px, -60px);
  }
}

/* Footer-Redes_Politicas-Legal */
footer {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  color: white;
  background: var(--gradient-footer-background);
  background-position: center;
  background-size: cover;
  box-shadow: 0 -1px 60px black;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 7px outset transparent;

  h1 {
    font-size: 2rem;
  }
}

/* FOOTER CON LINEAS */
footer::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.btn-up {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 5px;
  stroke: black;
  fill: white;
  position: fixed;
  bottom: 5rem;
  right: 1rem;
  transition: ease 1s;
  z-index: 5;
}

.btn-up:active {
  transform: scale(0.5) translateY(-2rem);
  opacity: 0.6;
}

/* Legal-Cookies */
.legal-cookies {
  text-align: center;
  height: auto;
  box-shadow: 0 5px 5px 5px rgba(0, 0, 0, 0.799);
  background: rgba(0, 0, 0, 0.847);
  border: solid 5px transparent;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 1rem;
  padding: 1rem;

  span {
    color: gainsboro;
    font-size: large;
    transition: opacity ease 0.5s;
  }

  span:hover {
    opacity: 0.5;
    cursor: pointer;
  }

  span:nth-child(1) {
    border-bottom: 1px solid cyan;
    color: cyan;
  }

  span:nth-child(2) {
    border-bottom: 1px solid violet;
    color: violet;
  }

  span:nth-child(3) {
    border-bottom: 1px solid lightgreen;
    color: lightgreen;
  }

  p:nth-child(4) {
    color: gold;
    opacity: 0.7;
    font-size: 1rem;
    transform: scale(1);
  }
}

/* Redes-Socials */
.redes {
  width: max-content;
  display: block;

  a {
    display: grid;
    gap: 0.3rem;
    filter: drop-shadow(0 0 10px currentColor);
    transition: ease 0.5s;
  }

  a:hover {
    filter: drop-shadow(0 0 100px);
    transform: scale(0.8);
  }

  svg {
    width: 3rem;
    height: 3rem;
    margin: auto;
    fill: currentColor;
    fill-opacity: 0.8;
    filter: drop-shadow(1px 2px #ff0050, -1px -2px #00f2ea);
    transition: transform ease 1s;
  }

  a:nth-child(1) {
    stroke: #00f2ea;
    stroke-width: 10px;
    fill: lightblue;
  }

  a:nth-child(2) {
    stroke: #ee00f2;
    stroke-width: 10px;
    fill: lightblue;
  }

  a:nth-child(3) {
    stroke: lightgreen;
    stroke-width: 10px;
    fill: lightseagreen;
  }
}

.redes-items {
  display: flex;
  gap: 1rem;
  margin-block-start: 1rem;
}
