@media screen and (max-width: 1024px) {
  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 0 10vw;
  }

  #themeToggle {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 5vw;
  }

  article {
    position: static;
    width: 95%;
    height: auto;
    padding: 20px;
  }

  article > div {
    width: 100%;
    padding: 20px;
    justify-content: space-between;
  }

  article h1 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
  }

  article h1::after {
    width: 20vw;
  }

  nav {
    position: static;
    width: 100%;
    margin-bottom: 5%;
    padding: 0 20px;
    border-radius: 0;
    border-bottom: var(--border-bottom2);
    box-shadow: none;
  }

  nav ul {
    justify-content: space-around;;
    padding: 10px;
  }

  nav ul li a {
    font-size: 2rem;
  }

  .inner {
    width: 100%;
    min-height: 8vw;
  }

    /* --------- FOOTER ----------- */
    
    footer {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        position: static;
        
        justify-content: center;
        align-items: center;
        
        margin: 5vh 0 0;
    }
    
    .contactFoot {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 2vh;
        padding: 20px 0;
        
        border-top: var(--border-top2);
        
        width: 100%;
}

    .contactItem {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
}

    .contactItem i {
        font-size: 1.8rem;
        color: var(--i-color);
        margin-bottom: 1.5vw;
}

    .txtGroup-foot h3 {
        font-size: 1.5rem;
        margin: 0.5vw 0;
        font-weight: 550;
}

    .txtGroup-foot p {
        font-size: 1rem;
        margin: 0;
        font-weight: 250;
}

    .socials_footer {
        display: flex;
        flex-direction: row;
        position: relative;
        justify-content: center;
        flex: 1 1 auto;
        width: 100%;
        padding: 20px;
}
    
    .social-icon i {
        font-size: 2rem;
        color: var(--social-color);
        padding: 10px;
}
    .social-icon:hover {
        transform: scale(1.2);
        color: var(--hover-color);
        transition: .3s ease-in-out;
    }
    

}