#hero-section {
  display: grid;
  grid-template-columns: 5fr 5fr;
  height: 100vh;
  background-color: var(--bg-color);
  padding-top: 3rem;
}

#hero-section .personal-information-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5rem;
  transform: translateY(-7rem);
  opacity: 0;

  transition: transform 1s ease, opacity 1s ease;
}

#hero-section .personal-information-container h1 {
  font-size: 5rem;
  margin: .6rem 0;
  color: var(--main-color);
  text-shadow: .2rem .2rem .3rem #000;
}

#hero-section .personal-information-container h3 {
  font-size: 2.5rem;
  color: var(--white);
  text-shadow: .2rem .2rem .3rem #000;
}

#hero-section .hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(7rem);
  opacity: 0;

  transition: transform 1s ease, opacity 1s ease;
}

#hero-section .animate-hero {
  transform: translateY(0);
  opacity: 1;
}

#hero-section .hero-image img {
  width: 33rem;
}

#hero-section .social-media a {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.7rem;
  background: transparent;
  border: .15rem solid var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  margin: 2rem 1.5rem 3rem 0;
  transition: background .5s ease, color .5s ease, box-shadow .5s ease;
}

#hero-section .social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

.download-btn {
  text-decoration: none;
  padding: 1rem 2rem;
  border-style: none;
  border-radius: 6.25rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--second-bg-color);
  background-color: var(--main-color);
  cursor: pointer;

  transition: box-shadow .15s ease;
}

.download-btn:hover {
  box-shadow: 0 0 1.5rem var(--main-color);
}


/* ----------- Code for responsive design ----------- */
@media only screen and (max-width: 1010px) {
  #hero-section .personal-information-container h1 {
    font-size: 3rem;
  }

  #hero-section .personal-information-container h3 {
    font-size: 1.5rem;
  }

  #hero-section .social-media a {
    margin: 1rem 1rem 2rem 0;
    font-size: 1.2rem;
  }

  .download-btn {
    font-size: .8rem;
  }

  #hero-section .hero-image img {
    width: 23rem;
  }
}

@media only screen and (max-width: 750px) {
  #hero-section .personal-information-container {
    margin-left: 0;
  }

  #hero-section .personal-information-container h1 {
    font-size: 2rem;
  }

  #hero-section .personal-information-container h3 {
    font-size: 1rem;
  }

  .download-btn {
    font-size: .8rem;
    padding: .8rem 1.5rem;
  }

  #hero-section .hero-image img {
    width: 18rem;
  }
}

@media only screen and (max-width: 650px) {
  #hero-section {
    grid-template-columns: 1fr;
  }

  .personal-information-container {
    padding-top: 0rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #hero-section .personal-information-container {
    margin-left: 0;
  }

  #hero-section .personal-information-container h1 {
    font-size: 3rem;
  }

  #hero-section .personal-information-container h3 {
    font-size: 1.5rem;
  }

  .download-btn {
    font-size: .8rem;
    padding: .7rem 1.4rem;
  }

  #hero-section .hero-image img {
    width: 22rem;
    margin-top: 4rem;
    padding-bottom: 2rem;
  }
}

@media only screen and (max-width: 390px) {
  #hero-section {
    padding-top: 0;
  }

  .personal-information-container {
    padding: 0 2rem;
  }

  #hero-section .personal-information-container h1 {
    font-size: 2.5rem;
  }

  #hero-section .personal-information-container h3 {
    font-size: 1.4rem;
  }

  #hero-section .social-media a {
    margin: .8rem .5rem 1.6rem 0;
    font-size: 1.1rem;
    padding: 0.5rem;
  }

  #hero-section .hero-image img {
    width: 18rem;
  }
}