* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, ol {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

:root {
  --bkg-1: hsl(155, 100%, 37%);
  --bkg-2: hsl(351, 100%, 81%);
  --bkg-1-light: hsl(155, 55%, 52%);
  --clr-txt-1: hsl(351, 100%, 71%);
  --clr-txt-2: hsl(155, 100%, 20%);
  --txt-xl: 46px;
  --txt-l: 36px;
  --txt-m: 28px;
  --insta: hsl(275, 100%, 67%);
  --twit: hsl(199, 100%, 60%);
  --yt: hsl(0, 100%, 60%);
  --tiktok: hsl(0, 0%, 0%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

.landing-wrap {
  position: relative;
  height: 100vh;
  background-color: var(--bkg-1);
  /* background-image: linear-gradient(to top, hsl(155, 100%, 20%), hsl(155, 100%, 20%, 0)); */
  color: var(--clr-txt-1);
  font-size: var(--txt-xl);
  text-align: center;
}

.landing-wrap > h1 {
  text-shadow: 5px 6px 4px hsl(0, 0%, 0%, 0.25);
  padding-top: 7vh;
}

.landing-wrap > img {
  border: 7px solid var(--clr-txt-2);
  border-radius: 50%;
  margin-top: 1.5em;
  box-shadow: 0 0 4px 4px hsl(0, 0%, 0%, 0.25);
}

.introduction {
  width: 80%;
  max-width: 350px;
  margin-top: 7vh;
  margin-inline: auto;
  font-size: var(--txt-m);
  color: var(--clr-txt-2);
}

.landing-wrap svg {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.links-wrap {
  height: 100vh;
  background-color: var(--bkg-2);
  color: var(--clr-txt-1);
  font-size: var(--txt-l);
  text-align: center;
  padding-top: 0.5em;
}

.links {
  color: var(--clr-txt-2);
  font-size: var(--txt-m);
  padding-inline: 25px;
  margin-inline: auto;
  margin-top: 2em;
  max-width: 800px;
}

.link {
  --highlight-icon: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 2em;
}

.link:nth-child(even) {
  direction: rtl;
}

.link-button:is(:hover, :focus) + .link-svg {
  stroke: var(--highlight-icon);
}

/* icon hightlight colors */

.link:nth-child(1) {
  --highlight-icon: var(--insta);
}

.link:nth-child(2) {
  --highlight-icon: var(--tiktok);
}

.link:nth-child(3) {
  --highlight-icon: var(--twit);
}

.link:nth-child(4) {
  --highlight-icon: var(--yt);
}

/*------------------------*/

.link a {
  width: 70%;
}


.link a > button {
  width: 100%;
  font-size: inherit;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  background-color: var(--bkg-1-light);
  border: 2px solid var(--clr-txt-2);
  border-radius: 30px;
  padding-block: 0.2em;
}

.link > svg {
  stroke: var(--clr-txt-1);
  transition: stroke 200ms ease;
}

.slide-up-fade {
  animation-name: slide-up-fade;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

@keyframes slide-up-fade {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.rotate-fade {
  animation-name: rotate-fade;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

@keyframes rotate-fade {
  from {
    transform: rotate(360deg);
    opacity: 0;
  }
  to {
    transform: rotate(0deg);
    opacity: 1;
  }
}

.slide-right-fade {
  animation-name: slide-right-fade;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.slide-left-fade {
  animation-name: slide-left-fade;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

@keyframes slide-right-fade {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-left-fade {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

