.welcome-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background-color: #f3e7e4;
  border-bottom: 0px;
}
section {
  padding: 0;
}
.section:nth-child(4) {
  border: 0px;
}
.divider-bar {
  width: 70px;
  height: 100%;
  background-color: #d4c1d3;
  border-top: 0px;
  border-left: 2px;
  border-right: 2px;
  border-style: solid;
  border-top: 0px;
  border-left: 2px;
  border-right: 2px;
  border-style: solid;
}
.welcome-img {
  justify-self: center;
  place-self: center;
}
.welcome-img img {
  height: 80vh;
  width: 32vw;
  border-radius: 1rem;
  margin: 15px 0;
  display: block;
  border: 2px;
  border-style: solid;
  object-fit: cover;
}
.h-block0 {
  width: min(45vw, 520px);
  height: 50vh;
  border-radius: 1rem;
  background-image: linear-gradient(45deg, pink, #afb1da);
  border-left: 2px;
  border-top: 2px;
  border-style: solid;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  justify-self: center;
  place-self: center;
  padding: 1.5rem;
}
.filler-bar {
  width: 100%;
  height: 5vh;
  background-color: #d4c1d3;
  border-top: 1px;
  border-bottom: 1px;
  border-style: solid;
}
.intro-home {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 0px;
}
.h-block1 {
  width: 32vw;
  height: 50vh;
  border-radius: 1rem;
  background-image: linear-gradient(45deg, pink, #afb1da);
  border-left: 2px;
  border-top: 2px;
  border-style: solid;
  margin-left: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  cursor: pointer;
  overflow: auto;
}

.h-block1:hover,
.h-block0:hover {
  transform: scale(1.05);
}
.exp-intro {
  display: flex;
  flex-direction: row-reverse;
}
.port-intro {
  display: flex;
}
.welcome-home .welcome-text h1 {
  padding-left: 0;
}
.welcome-home .welcome-text h1:first-of-type {
  font-size: 70px;
  margin-bottom: 0.5rem;
}
.welcome-home .welcome-text h1:last-of-type {
  font-size: 35px;
  font-weight: 400;
}
p {
  font-size: 20px;
}
.h-block1 h2 {
  border-bottom: 1px;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  border-style: solid;
  margin-top: 0px;
  padding-top: 5px;
  background-color: #fff3;
}
/* Button Container Alignment */
.about-me p:last-of-type,
.exp p,
.port p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.exp p a,
.port p a,
.h-block1 p:last-of-type a,
.about-me p:last-of-type a {
  padding-left: 0;
}

.h-block1 p:last-of-type {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}
button {
  margin: 8px 4px;
}
button .footer-nav h3 {
  padding-left: 70px !important;
}

@media (max-width: 1024px) {
  .welcome-home {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 12px;
  }

  .welcome-img img {
    width: min(92vw, 520px);
    height: auto;
    max-height: 70vh;
  }

  .h-block0 {
    width: min(92vw, 620px);
    height: auto;
    min-height: 260px;
  }

  .intro-home {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
  }

  .h-block1 {
    width: 100%;
    height: auto;
    min-height: 280px;
    margin: 0;
    overflow: auto;
  }

  .welcome-home .welcome-text h1:first-of-type {
    font-size: clamp(34px, 6vw, 56px);
  }

  .welcome-home .welcome-text h1:last-of-type {
    font-size: clamp(22px, 3.8vw, 34px);
  }
}

@media (max-width: 700px) {
  .intro-home {
    grid-template-columns: 1fr;
  }

  .h-block1:hover,
  .h-block0:hover {
    transform: scale(1.01);
  }
}
