.hero {

  margin-top: 3rem;
  height: 58.2rem;


  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr;

  gap: 3rem;
}

.hero > .potrait {
  position: relative;

  background-color: #f8f7f9;
    overflow: hidden;
    border-radius: 4.2rem;
}

.hero > .potrait > .wrapper {

    height: 100%;
    overflow: hidden;
    width: 100%;
}

.hero > .potrait > .wrapper > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero > .content {
  display: grid;
  align-content: center;
  gap: 5.6rem;

  padding: 0rem 5rem 5rem 5rem;
  border-radius: 4.2rem;
  background-color: #f8f7f9;
}

.hero > .content > .introduction {
  display: grid;
  gap: 3.2rem;
}

.hero > .content > .introduction > .top > p {
  font-family: "Lufga", sans-serif;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 132%;
  color: #282828;
}

.hero > .content > .introduction > .top > p:nth-child(2) {
  font-size: 6rem;
  padding-bottom: 0.4rem;
  line-height: 5.5rem;
}

.hero > .content > .introduction > .top > p:nth-child(2) > span:nth-child(1) {

  color: #565656;
  text-decoration: underline;
  text-decoration-color: #ffdc3a;
  text-decoration-thickness: 4px;
  text-decoration-style: wavy;
}

.hero > .content > .introduction > .description {
  font-family: "Lufga", sans-serif;
  font-size: 1.7rem;
  line-height: 130%;
  color: #6a6a6a;
}

.hero > .content > .links {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 1.8rem;
}

.hero > .content > .links > a {

  border-radius: 100rem;
  text-decoration: none;

  font-family: "Lufga", sans-serif;
  
}


.hero > .content > .links > a.cv {
  padding: 1.1rem 1.9rem;

  display: grid;
  gap: 1rem;
  grid-template-columns: auto auto;
  align-items: center;

  background: linear-gradient(
    242.79deg,
    #b5574a -20.76%,
    #7e66ff 38.85%,
    #66cdff 100%
  );
}

.hero > .content > .links > a.hireMe {
  background-color: #090909;
}





.cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10rem;
  transition: all 0.02s;
  font-weight: bold;
  font-size: 16px;
  color: #000000;
  z-index: 0;
  border: solid 0.5px transparent;
}

.cv-btn span{
color: white;
z-index: 3;

transition: all 0.2s;
}

.cv-btn:hover {

  border: solid 0.5px #ebebeb;
}

.cv-btn:hover span{
  color: #646468;
}

.cv-btn:active {
  transform: scale(0.97);
}

.hoverEffect {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hoverEffect div {
  background: linear-gradient(90deg, rgba(222,0,75,1) 0%, rgba(191,70,255,1) 49%, rgba(0,212,255,1) 100%);
  border-radius: 40rem;
  width: 15rem;
  height: 12rem;
  transition: 0.4s;
  filter: blur(20px);
  animation: effect infinite 3s linear;
  opacity: 0.4;
}

.cv-btn:hover .hoverEffect div {

  width: 4rem;
  height: 4rem;
  opacity: 1;

}

@keyframes effect {

  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.btn-hire-me{
  font-family: inherit;
  font-size: 20px;
  background: #282828;
  color: white;
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-hire-me span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}

.btn-hire-me svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.btn-hire-me:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.btn-hire-me:hover svg {
  transform: translateX(1.8em) rotate(45deg) scale(1.3);
}

.btn-hire-me:hover span {
  transform: translateX(9em);
}

.btn-hire-me:active {
  transform: scale(0.95);
}

@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}






/* MEDIA  */

@media screen and (max-width: 1200px) {
  .hero {
    border-radius: 3.2rem;

    height: auto;
    

    display: grid;

    gap: 3.2rem;

    padding-right: 0;
  }

  .hero > .potrait {

    bottom: 0;
  }

  .hero > .potrait > .wrapper {

  }

  h1.main-heading{
    padding-top: 5rem;
  }




  .hero > .content {
    position: relative;
    z-index: 1;
    padding: 3.2rem;

  }
}

@media screen and (max-width: 800px) {
  .hero {
    align-content: end;
  }

  .hero > .content {
    padding: 3.2rem 2.4rem;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    align-content: end;
    grid-template-columns: 1fr;
  }

  .hero > .potrait {
    transform: none;
    overflow: hidden;
    left: 0;
    right: 0;
    height: 20rem;
    border-radius: 3.2rem;
  }

  .hero > .potrait > .wrapper > img{

    height: auto;
 }

  .hero > .content {
    padding: 4.2rem 2.6rem;
  }

  .hero > .content > .introduction > .top > p {
    font-size: 2.4rem;
  }

  .hero > .content > .introduction > .top > p:nth-child(2) {
    font-size: 5.2rem;
    padding-top: 1.6rem;
    padding-bottom: 3rem;
    text-shadow: none;
  }

  .hero > .content > .links {
    grid-template-columns: auto;
    gap: 0.8rem;
  }

  .hero > .content > .links > a {
    text-align: center;
  }

  .btn-hire-me:hover svg {
    transform: translateX(2.6em) rotate(45deg) scale(1.3);
  }
}

@media screen and (max-width: 500px) {
  .hero {

  }


}