/* Media For desktops less than 1140px */

@media (max-width: 1140px) {
  .porfolio-card {
    width: calc(50% -15px);
  }
  .footer {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .footer-row {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    margin-bottom: 50px;
  }
  .footer-col:first-child {
    margin-bottom: 0;
  }
}

/* Media For desktops less than 1024px */
@media (max-width: 1024px) {
  .header-title {
    font-size: 32px;
  }
  .header-subtitle p {
    font-size: 14px;
  }
  .portfolio {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .portfolio-card-wrapper {
    justify-content: center;
  }
  .p-card-link {
    padding: 15px;
  }
  .portfolio-header {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .porfolio-card {
    width: 100%;
  }
  .porfolio-card:nth-last-child(2) {
    margin-bottom: 30px;
  }
  .card-image {
    margin-bottom: 10px;
  }
  .card-header {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .card-header p {
    font-size: 12px;
  }
  .footer-copyright-name {
    font-size: 18px;
    margin-bottom: 5px;
  }
  .footer-copyright-name p {
    font-size: 14px;
  }
  .footer-icons p {
    font-size: 14px;
  }
  .footer-contact-me p {
    font-size: 14px;
    margin: 0;
    margin-top: 15px;
  }
}

/* Media For desktops less than 940px */
@media (max-width: 940px) {
  .burger {
    display: block;
  }
  .menu {
    --menu-height:63px;
    position: fixed;
    right: 0;
    top: var(--menu-height);
    z-index: 12;
    overflow-y: auto;
    background-color: #1e4776;
    padding: 30px;
    width: 60%;
    max-width: 260px;
    height: calc(100vh - var(--menu-height));
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
  }
  .menu--visible {
    transform: none;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    width: 100%;
    padding: 30px 10px;
  }
  .nav-list__link {
    display: inline-block;
    padding-bottom: 30px;
    width: 100%;
  }
  .nav-list__link:last-child {
    padding-bottom: 0;
  }

  .nav-list__item::not(:last-child) {
    margin-right: 0;
    /* margin-bottom: 30px; */
  }
  .nav-list__item {
    padding-bottom: 10px;
  }
  .nav-list__item:last-child {
    padding-bottom: 0;
  }
  .nav-list__link {
    font-size: 18px;
  }
  .header-title {
    font-size: 32px;
  }
  .header-subtitle p {
    font-size: 14px;
  }
  .portfolio {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .portfolio-card-wrapper {
    justify-content: center;
  }
  .p-card-link {
    padding: 15px;
  }
  .portfolio-header {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .porfolio-card {
    width: 100%;
  }
  .porfolio-card:nth-last-child(2) {
    margin-bottom: 30px;
  }
  .card-image {
    margin-bottom: 10px;
  }
  .card-header {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .card-header p {
    font-size: 12px;
  }
  .footer-copyright-name {
    font-size: 18px;
    margin-bottom: 5px;
  }
  .footer-copyright-name p {
    font-size: 14px;
  }
  .footer-icons p {
    font-size: 14px;
  }
  .footer-contact-me p {
    font-size: 14px;
    margin: 0;
    margin-top: 15px;
  }
}

/* Media For desktops less than 860px */
@media (max-width: 860px) {
  .header-title {
    font-size: 32px;
  }
  .header-subtitle p {
    font-size: 14px;
  }
  .portfolio {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .portfolio-card-wrapper {
    justify-content: center;
  }
  .p-card-link {
    padding: 15px;
  }
  .portfolio-header {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .porfolio-card {
    width: 100%;
  }
  .porfolio-card:nth-last-child(2) {
    margin-bottom: 30px;
  }
  .card-image {
    margin-bottom: 10px;
  }
  .card-header {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .card-header p {
    font-size: 12px;
  }
  .footer-copyright-name {
    font-size: 18px;
    margin-bottom: 5px;
  }
  .footer-copyright-name p {
    font-size: 14px;
  }
  .footer-icons p {
    font-size: 14px;
  }
  .footer-contact-me p {
    font-size: 14px;
    margin: 0;
    margin-top: 15px;
  }
}

/* Media For desktops less than 760px */

@media (max-width: 760px) and (max-width: 760px) {
  .header-title {
    font-size: 32px;
  }
  .header-subtitle p {
    font-size: 14px;
  }
  .portfolio {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .portfolio-card-wrapper {
    justify-content: center;
  }
  .p-card-link {
    padding: 15px;
  }
  .portfolio-header {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .porfolio-card {
    width: 100%;
    max-width: 530px;
  }
  .porfolio-card:nth-last-child(2) {
    margin-bottom: 30px;
  }
  .card-image {
    margin-bottom: 10px;
  }
  .card-header {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .footer-copyright-name {
    font-size: 18px;
    margin-bottom: 5px;
  }
  .footer-copyright-name p {
    font-size: 14px;
  }
  .footer-icons p {
    font-size: 14px;
  }
  .footer-contact-me p {
    font-size: 14px;
    margin: 0;
    margin-top: 15px;
  }

  .project {
    padding: 40px 0 60px;
  }
  .project-header {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .project-img {
    margin-bottom: 20px;
  }
  .project-description {
    font-size: 14px;
    margin-bottom: 50px;
  }
  .goback {
    padding: 0 10px;
    width: 100%;
    max-width: 320px;
  }
}
