@media (max-width: 1200px) {
  .header__icon {
    width: 150px;
    height: 150px;
    padding: 0.8rem;
    margin: 0.6rem;
  }
  .header__icon i {
    font-size: 2.4rem;
  }
  .container {
    width: 90%;
    margin-left: 5%;
  }
}
@media (max-width: 1023.98px) {
  body {
    font-size: 1.1rem;
  }
  .nav__logo {
    margin: 0;
  }
  .nav__main-nav {
    font-size: 1.1rem;
  }
  header.landing {
    height: 82vh;
  }
  .header__icon {
    width: 120px;
    height: 120px;
  }
  .header__icon h1 {
    font-size: 1.4rem;
  }
  .main__fig {
    width: 340px;
  }
  section.main {
    padding: 7rem 0;
  }
  .main__content p {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 2.2rem;
  }
  section.contact {
    padding: 6rem 0;
  }
  .contact .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-flow: column-reverse;
    flex-flow: column-reverse;
    -ms-flex-line-pack: center;
    align-content: center;
  }
  .contact__me img {
    border-bottom-left-radius: 50%;
    margin-bottom: 2rem;
  }
  .contact__content {
    margin: 0;
    text-align: center;
  }
  .contact__list {
    margin: 0 auto;
  }
  .projects .container {
    width: 100%;
    margin: auto;
  }
  .projects__heading {
    margin: 3rem 0;
  }
  .projects__content {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .project {
    border-top: solid 3px rgba(149, 165, 166, 0.7);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    margin-bottom: 2rem;
  }
  .project__details {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .project:nth-of-type(2n) {
    background: var(--linear-gray);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .project__img {
    width: 250px;
  }
}
@media (max-width: 767.98px) {
  body {
    font-size: 1rem;
  }
  .main__content p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 2rem;
    letter-spacing: 0.1rem;
    margin-bottom: 0.8rem;
  }
  p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8rem;
    margin-bottom: 1rem;
  }
  .header__icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }
  .header__icon {
    -webkit-box-flex: 0;
    -ms-flex: 0 30%;
    flex: 0 30%;
    width: 150px;
    height: 150px;
  }
  .contact__img {
    width: 250px;
  }
  .contact__me {
    width: 250px;
  }
  .projects__heading {
    margin: 1.6rem 0;
  }
}
@media (max-width: 480px) {
  .container {
    width: 80%;
    margin-left: 10%;
  }
  .nav__main-nav {
    font-size: 1rem;
  }
  .nav__item {
    margin-right: 1rem;
  }
  .header__icon {
    width: 85px;
    height: 85px;
    padding: 0.3rem;
    margin: 0.4rem;
  }
  .header__icon h1 {
    font-size: 1.2rem;
    margin: 0 auto;
  }
  .main .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
  }
  .main__content {
    padding: 0;
    margin: 0 0 3rem 0;
  }
  .main__content p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 2rem;
    padding: 0;
    text-align: center;
  }
  .main__fig img {
    margin: 0;
  }
  p {
    font-size: 1rem;
  }
  section.main {
    padding: 3rem 0;
  }
  .main__fig {
    width: 250px;
  }
  .project__details {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
  }
  footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-flow: column-reverse;
    flex-flow: column-reverse;
  }
  .footer__copy {
    margin-top: 1rem;
  }
}
