:root {
    --montserrat: "Montserrat", sans-serif;
    --dark: #081d2c;
    --dark-light: #095894;
    --primary: #9cb3c9;
    --light: #faf3dd;
  }
  
  *,
  *::after,
  *::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
  }
  
  html {
    font-size: 62.5%;
  }
  
  body {
    background-image: linear-gradient(to right, var(--dark), var(--dark-light));
    background-position: left;
    background-size: 1000%;
    box-sizing: border-box;
    height: 100vh;
    animation: linearGradientAnimation 30s alternate infinite;
  }
  
  .wrapper {
    display: grid;
    grid-template-areas:
      "title title title home"
      "avatar text text text"
      "icons icons icons icons";
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    row-gap: 2rem;
    height: 70vh;
    width: 85vw;
    position: relative;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .avatar {
    border-radius: 50%;
    margin-right: 2rem;
    border: 0.3rem solid var(--primary);
    box-shadow: 0rem 0rem 1rem black;
    width: max(20rem, 15vw);
    grid-area: avatar;
  }
  
  .text {
    font-family: var(--montserrat);
    font-size: max(1.8rem, calc(3.5rem - 5vw), 1.7vw);
    color: var(--primary);
    font-weight: 400;
    line-height: 1.4;
    grid-area: text;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    line-height: 1.5;
  }
  
  .link {
    color: var(--light);
    text-decoration: none;
  }
  
  .greeting {
    font-size: max(3rem, calc(3.5rem - 5vw), 2.5vw);
    color: var(--light);
    font-weight: 700;
  }
  
  .link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background-color: var(--light);
    transform-origin: right;
    transform: scaleX(0);
    transition: 200ms transform ease;
  }
  
  .link,
  .link:visited {
    color: var(--light);
    text-decoration: none;
    position: relative;
    transition: 0.1s filter ease-in;
  }
  
  .link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  /* icons */
  .icons {
    grid-area: icons;
    align-self: flex-end;
    display: flex;
    justify-content: space-around;
    width: 100%;
  }
  
  .icons__link,
  .icons__link:visited {
    text-decoration: none;
    position: relative;
    height: max(6rem, 6vw);
    width: max(6rem, 6vw);
    border-radius: 50%;
  }
  
  .icons__link::after {
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.2s ease-in-out;
    position: absolute;
    transform: scale(0.5);
    border-radius: 50%;
    visibility: hidden;
    z-index: -1;
    box-shadow: 0rem 0rem 1rem black;
  }
  
  .icons__link:hover::after {
    transform: scale(1);
    visibility: visible;
  }
  
  .icons__link:hover .icons__icon {
    transform: translate(-50%, -50%);
    font-size: max(4.5rem, calc(3vw + 0.5rem));
    filter: drop-shadow(0rem 0rem 0.1rem white);
  }
  
  .icons__icon {
    font-size: max(4rem, 3vw);
    color: var(--light);
    position: absolute;
    filter: drop-shadow(0rem 0rem 0.5rem black);
    left: 50%;
    top: 50%;
    transition: all 0.2s;
    transform: translate(-50%, -50%);
  }
  
  @media (max-width: 600px) {
    body {
      height: 100%;
    }
    .wrapper {
      grid-template-areas:
        "avatar avatar avatar avatar"
        "text text text text"
        "icons icons icons icons";
      width: 90vw;
      row-gap: 4rem;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      height: 100%;
      padding: 2rem 0;
    }
    .avatar {
      align-self: end;
    }
    .icons {
      justify-content: space-between;
      align-self: auto;
    }
    .text {
      text-align: center;
    }
  }
  
  @keyframes linearGradientAnimation {
    0% {
      background-position: left;
    }
  
    100% {
      background-position: right;
    }
  }
  
  @keyframes pulse {
    0% {
      filter: drop-shadow(0rem 0rem 0rem rgb(187, 43, 33));
    }
  
    100% {
      filter: drop-shadow(0rem 0rem 10rem rgb(187, 43, 33));
      transform: scale(1.05);
    }
  }