.masterhead {
  text-align: center;
  background-image: url("../img/header-bg.png");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
  height: 650px;
  width: 100%;
  padding-top: 100px;
  background-color: var(--black);
}
.introHeadingName {
  color: var(--white);
  font-weight: 900;
  border-bottom: 3px solid var(--white);
  padding-left: 20px;
}
.introHeading {
  font-weight: bold;
  font-size: 200%;
  margin-bottom: 15px;
}
.introHeadingSpan {
  color: var(--orange);
  position: relative;
  display: inline-block;
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: uppercase;
  animation: flip 2s infinite;
  animation-delay: calc(0.2s * var(--i));
}
.introHeadingH4 {
  padding-top: 5px;
  color: var(--darkpurple);
  font-size: 80%;
  font-weight: 900;
}
.introHeadingPara1 {
  padding-left: 10%;
  padding-right: 10%;
  color: var(--gray2);
  font-size: large;
}
.selfImage {
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 250px;
  height: 250px;
}
.viewMyWorkButton {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  display: inline;
  padding: 10px 50px;
  width: 48%;
  height: 200px;
  text-align: center;
  background-color: var(--purple);
  border-radius: 20px;
}
.viewMyWorkButton:hover {
  color: var(--white);
  background-color: var(--orange);
}
@keyframes flip {
  0%,
  80% {
    transform: rotateY(360deg);
  }
}
@media (min-width: 768px) {
  .introHeadingName {
    color: var(--white);
    font-weight: 900;
    border-bottom: 4px solid var(--white);
    padding-left: 20px;
  }
  .introHeading {
    position: relative;
    margin-bottom: 15px;
  }
  .introHeadingSpan {
    position: relative;
    display: inline-block;
    font-weight: bold;
    font-size: 3.5rem;
    text-transform: uppercase;
    animation: flip 2s infinite;
    animation-delay: calc(0.2s * var(--i));
  }
  .introHeadingH4 {
    color: var(--darkpurple);
    font-size: 100%;
    font-weight: 900;
  }
  .introHeadingPara1 {
    padding-left: 10%;
    padding-right: 10%;
    color: var(--gray2);
    font-size: x-large;
  }
  @keyframes flip {
    0%,
    80% {
      transform: rotateY(360deg);
    }
  }
}
@media (max-width:420px) {
  .selfImage{
    width: 200px;
    height: 200px;
  }
  .introHeadingName{
    font-size: 2rem;
  }
}