/* BREAKPOINT 2000 PX  */
@media (max-width: 80em) {
}
/* BREAKPOINT 1852  */
@media (max-width: 116em) {
  .cta-section {
    flex-direction: column;
    top: -19rem;
    width: 45%;
  }
  .cta-section > p {
    flex-basis: 0;
  }
}

/* BREAKPOINT 1504 PX */
@media (max-width: 94em) {
  nav {
    width: 80%;
  }
  .nav-bar {
    justify-content: center;
  }
  .logo-header {
    display: none;
  }
  .nav-links {
    gap: 7rem;
  }

  .article-container {
    width: 95%;
  }

  .about-table {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-menu {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }
  .footer-logo {
    display: flex;
    gap: 4rem;
  }
  .footer-link {
    gap: 2.5rem;
  }

  .social-media-container-footer {
    gap: 7rem;
    align-items: normal;
  }
}
/* BREAKPOINT 1151PX  */
@media (max-width: 72em) {
  .hero {
    gap: 9rem;
  }

  .article-container {
    grid-template-columns: 1fr;
    width: 60%;
  }
  #compétence.section-competence {
    padding: 10rem 0 7rem;
  }
  #compétence .competence-header {
    padding-bottom: 4.8rem;
  }
  #compétence .competence-container {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }
  #compétence .competence-text-container,
  #compétence .competence-cart {
    height: auto;
  }
  #compétence .competence-cart {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
}
/* BREAKPOINT 1104 PX  */
@media (max-width: 69em) {
  nav,
  .nav-bar {
    align-items: center;
    top: 0;
    border-radius: 0;
    width: 100%;
    background-color: var(--color-surface-nav);
    justify-content: space-between;
  }

  .logo-header {
    display: flex;
  }
  #compétence .cart-item {
    width: 100%;
    max-width: none;
    align-items: stretch;
  }
  .footer-img {
    display: none;
  }
  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
  }
  .hamburger-menu {
    background-color: none;
  }
  .nav-bar.nav-open {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5rem;
    background-color: var(--color-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .nav-bar.nav-open .btn-mobile-nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
  }
  .nav-bar.nav-open .logo-header {
    margin-bottom: 6rem;
  }
  .header-links {
    display: none;
    width: 100%;
    flex: 1;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 3rem;
  }
  .nav-open .header-links {
    display: flex;
  }
  .nav-open .hamburger-menu[name="close-menu"] {
    display: block;
  }
  .nav-open .hamburger-menu[name="open-menu"] {
    display: none;
  }
  .article-container {
    width: 100%;
    border-top: var(--color-primary) solid 0.5rem;
    border-bottom: var(--color-primary) solid 0.5rem;
    background-color: var(--color-surface-subtle);
    padding: 5rem;
  }
  .background-svg {
    background: none;
  }
  .cta-section {
    flex-direction: column;
    top: -17rem;
    width: 70%;
  }
  footer {
    background: none;
    background-color: var(--color-surface-subtle);
  }
}

/* BREAKPOINT 1040PX  */
@media (max-width: 65em) {
  .hero-img {
    width: 35rem;
    height: 35rem;
  }
  .hero-img > img {
    width: 30rem;
    height: 30rem;
  }
}

/* BREAKPOINT 1000PX  */
@media (max-width: 63em) {
  html {
    font-size: 50%;
  }
  .hero {
    width: 100%;
    gap: 3rem;
  }
  .hero-description {
    gap: 2rem;
  }
  .cta-section {
    width: 75%;
    gap: 3rem;
  }

  .footer-social-media {
    gap: 6rem;
  }
}

/* BREAKPOINT 780PX   */
@media (max-width: 780px) {
}

/* BREAKPOINT 754PX   */
@media (max-width: 48em) {
  .hero-img {
    width: 30rem;
    height: 30rem;
  }
  .hero-img > img {
    width: 20rem;
    height: 20rem;
  }
  .footer-menu {
    grid-template-columns: 1fr;
  }
  .footer-text-about {
    max-width: 100%;
    text-align: left;
  }

  .social-media-container-footer {
    grid-column: auto;
    gap: 2rem;
  }
  .footer-logo,
  .social-media-container-footer > h3 {
    align-self: center;
  }
  .social-media {
    justify-content: center;
  }
  .about-table {
    grid-template-columns: 1fr;
  }
  .cart-item {
    width: 100%;
  }

  #compétence.section-competence {
    padding: 9rem 0 6rem;
  }
  #compétence .competence-container {
    padding: 0 1.6rem;
  }

}
/* BREAKPOINT 664PX  */
@media (max-width: 42em) {
  .hero-img {
    width: 30rem;
    height: 30rem;
  }
  .hero-img > img {
    width: 20rem;
    height: 20rem;
  }
}
/* BREAKPOINT 594PX  */
@media (max-width: 38em) {
  header {
    margin-bottom: 15rem;
  }
  .hero {
    flex-direction: column;
    gap: 5rem;
  }
  .hero-description > p {
    width: 70%;
    align-self: center;
  }
  .about-me-card {
    width: 80%;
  }
  .about-table {
    width: 100%;
  }
  .cart-item {
    width: 100%;
  }
}
/* BREAKPOINT 500PX  */
@media (max-width: 32em) {
  .hero-img {
    width: 30rem;
    height: 30rem;
  }
  .hero-img > img {
    width: 20rem;
    height: 20rem;
  }
  .hero-description {
    width: 100%;
  }
}
/* BREAKPOINT 417PX  */
@media (max-width: 27em) {
  .btn-container {
    margin-top: 0;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 100%;
  }

  .btn,
  .cta-contact-btn {
    width: 21rem;
  }
  .about-btn-container {
    gap: 1rem;
  }
  .cta-contact-btn {
    justify-content: center;
  }
  .hero {
    gap: 5rem;
  }
  .hero-description {
    gap: 4rem;
  }
  .footer-social-media {
    gap: 4.5rem;
  }
}

/* BREAKPOINT 398PX  */
@media (max-width: 25em) {
  .hero {
    gap: 6rem;
  }
  .hero-img {
    width: 20rem;
    height: 20rem;
  }
  .hero-img > img {
    width: 14rem;
    height: 14rem;
  }
  .cta-section {
    width: 85%;
  }
  .hero-title {
    padding: 0 1rem;
  }
  .btn-container,
  .about-btn-container {
    margin-top: 0;
    flex-direction: column;
  }
  .btn-container {
    align-self: center;
  }
  .cta-contact-btn,
  .about-btn {
    margin-top: 0;
  }
  .about-btn-container {
    margin-top: 5rem;
  }
  .btn.btn-cv.flex-container,
  .cta-contact-btn.about-btn-contact {
    /* :center ; */
    width: 21rem;
  }
}
/* BREAKPOINT 376PX  */
@media (max-width: 24em) {
  .hero.flex-container {
    flex-direction: column;
    gap: 1rem;
  }
  .about-me-card {
    width: 95%;
  }
  .footer-info {
    width: 90%;
  }
}
