@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&family=VT323&display=swap');

:root {
  --cod-gray: #120F0F;
  --white: #FFFFFF;
  --cranberry: #D64D91;
  --livid-brown: #422532;
  --lavander-magenta: #E94BE8;

  font-size: 16px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
  color: var(--white);
}

body {
  background-color: var(--cod-gray);
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.container {
  max-width: 680px;
  width: 100%;
  /* border: 2px solid var(--cranberry); */
  padding: 1.5rem;
}

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

.container__profile-photo {
  position: relative;
}

.content__profile-photo {
  width: 12rem;
  margin-bottom: 1rem;
}

.butterfly1, .butterfly2 {
  width: 1.5rem;
}

.butterfly1 {
  position: absolute;
  top: 54px;
  left: -.75rem;
  transform: rotate(30deg);
}

.butterfly2 {
  position: absolute;
  top: 95px;
  left: -.75rem;
  transform: rotate(-20deg);
}

.container__title {
  text-align: center;
  margin: 0 auto;
}

.title, .subtitle {
  font-weight: 400;
  text-align: center;
}

.title {
  font-size: 1.25rem;
  margin-bottom: .3rem;
}

.subtitle {
  font-size: .8rem;
  margin-bottom: 2rem;
}

.container__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu__link {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  width: 100%;
  background-color: var(--livid-brown);
  padding: .5rem;
  border: 2px solid var(--cranberry);
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.menu__link::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

/* .menu__link::after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  background-color: var(--cranberry);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
} */

/* .menu__link:hover {
  border: 1px solid var(--cranberry);
} */

.menu__link:active {
  background-color: var(--cranberry);
}

.menu__link:hover:before {
  top: -35%;
  background-color: var(--cranberry);
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/* .menu__link:hover:after {
  top: -45%;
  background-color: var(--cranberry);
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}
 */
.container__link-cimento {
  width: 280px;
  height: 64px;
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.link-cimento {
  text-decoration: none;
  font-family: 'VT323', monospace;
  text-transform: uppercase;
}

.link-cimento, .link-cimento::after {
  padding: 10px 50px;
  font-size: 20px;
  border: none;
  background-color: transparent;
  position: relative;
}

.link-cimento::after {
  --move1: inset(50% 50% 50% 50%);
  --move2: inset(31% 0 40% 0);
  --move3: inset(39% 0 15% 0);
  --move4: inset(45% 0 40% 0);
  --move5: inset(45% 0 6% 0);
  --move6: inset(14% 0 61% 0);
  clip-path: var(--move1);
  content: 'QUERO SOBREMESA';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

.link-cimento:hover::after {
  animation: glitch_4011 1s;
  text-shadow: 10 10px 10px black;
  animation-timing-function: steps(2, end);
  text-shadow: -3px -3px 0px var(--cranberry), 3px 3px 0px var(--lavander-magenta);
  background-color: transparent;
  border: 2px solid var(--cranberry);
}

.link-cimento:hover {
  text-shadow: -1px -1px 0px var(--cranberry), 1px 1px 0px var(--lavander-magenta);
}

.link-cimento:hover {
  background-color: transparent;
  border: 2px solid var(--cranberry);
  box-shadow: 0px 10px 10px -10px var(--cranberry);
}

@keyframes glitch_4011 {
  0% {
    clip-path: var(--move1);
    transform: translate(0px,-10px);
  }

  10% {
    clip-path: var(--move2);
    transform: translate(-10px,10px);
  }

  20% {
    clip-path: var(--move3);
    transform: translate(10px,0px);
  }

  30% {
    clip-path: var(--move4);
    transform: translate(-10px,10px);
  }

  40% {
    clip-path: var(--move5);
    transform: translate(10px,-10px);
  }

  50% {
    clip-path: var(--move6);
    transform: translate(-10px,10px);
  }

  60% {
    clip-path: var(--move1);
    transform: translate(10px,-10px);
  }

  70% {
    clip-path: var(--move3);
    transform: translate(-10px,10px);
  }

  80% {
    clip-path: var(--move2);
    transform: translate(10px,-10px);
  }

  90% {
    clip-path: var(--move4);
    transform: translate(-10px,10px);
  }

  100% {
    clip-path: var(--move1);
    transform: translate(0);
  }
}

.container__spotify {
  text-align: center;
}

.spotify__text {
  margin-bottom: 1rem;
}

@media screen and (max-width: 475px) {
  .menu__link {
    height: 6rem;
  }
}
