.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
  margin: 0 2rem;
  padding-bottom: 10rem;
  font-family: "Poppins", sans-serif;
}

.hero-section .welcome {
  max-width: 35rem;
  padding: 1.5rem 1.5rem 1.5rem 0.5rem;
  border-radius: 4px;

  width: 50vw;
  min-width: 300px;
}

.hero-section .welcome img {
  width: 100%;
  max-width: 500px;
}

.hero-section .welcome p {
  padding-left: 1rem;
  font-size: 1.25rem;
  font-weight: 200;
}

.hero-section .connect-button {
  display: flex;
  text-align: center;
  padding: 0.5rem;
  border-radius: 4px;

  color: var(--white);
  white-space: normal;
  font-size: 2rem;
  text-decoration: none;

  cursor: pointer;
}

/* cornered button border */
.hero-section .connect-button strong {
  padding: 1rem;
  position: relative;
  text-shadow: 4px 4px 4px var(--black);
}

.hero-section .connect-button strong::before,
.hero-section .connect-button strong::after {
  content: "";
  position: absolute;
}

.hero-section .connect-button strong::before {
  top: 0;
  right: 0;
  width: 90%;
  height: 90%;
  border-top: 1px solid var(--white);
  border-right: 1px solid var(--white);
}

.hero-section .connect-button strong::after {
  left: 0;
  bottom: 0;
  width: 90%;
  height: 90%;
  border-left: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}
/* cornered button border */

/* pulse button effect */
.hero-section .connect-button::before,
.hero-section .connect-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 4px;
  z-index: -1;
}

.hero-section .connect-button:hover::before,
.hero-section .connect-button:hover::after {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 white;
    filter: blur(0);
  }
  70% {
    box-shadow: 0 0 0 0.5625rem transparent;
    filter: blur(5px);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    filter: blur(0);
  }
}
/* pulse button effect */

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 4rem;
  }

  .hero-section .welcome {
    width: 100%;
    padding: 1.5rem;
  }

  .hero-section .connect-button {
    padding: 1rem;
    font-size: 2.5rem;
  }
}
