@media screen and (min-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  /* Navbar */
  #navbar-container {
    border: none;
    inset: 0 0 auto 0;
    backdrop-filter: blur(10px);
    background: none;
  }
  #navbar-container .logo {
    font-size: 2rem;
  }
  .navbar {
    max-width: 1200px;
  }
  .navbar .menu-btn {
    display: none;
  }
  .navbar .menu-container {
    position: static;
    height: auto;
    width: max-content;
    transform: translateX(0);
    background-color: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    padding-right: 0;
    transition: all 0.3s ease;
  }
  .navbar li {
    padding-bottom: 0.2rem;
    position: relative;
    transition: color 0.3s ease;
  }
  .navbar img {
    display: none;
  }
  .navbar li:hover {
    color: #fff;
  }
  .navbar li:hover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0.15rem;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primaryColor);
    animation: nav 0.3s ease;
  }

  @keyframes nav {
    from {
      width: 0%;
    }
    to {
      width: 100%;
    }
  }

  /* Home section */
  #home-container {
    height: 100vh;
  }
  .home {
    max-width: 1200px;
  }
  .home .text-1 {
    font-size: 1.7rem;
  }
  .home .text-2 {
    font-size: 4.5rem;
    font-weight: 500;
    margin-left: -0.2rem;
    letter-spacing: 0.2rem;
  }
  .home .text-3 .text {
    font-size: 2.4rem;
  }
  .home .text-3 .typing-container {
    height: 3rem;
    font-size: 3rem;
  }
  .home .text-3 .typing-message {
    line-height: 3rem;
    font-size: 2.4rem;
    left: 0;
    top: 0;
  }
  @keyframes slide {
    100% {
      top: -6rem;
    }
  }

  .home .cv-btn {
    padding: 0.6rem 1.2rem;
    transition: 0.3s ease-in-out;
  }
  .home .cv-btn:hover {
    color: var(--primaryColor);
    background-color: #fff;
  }

  .btn-explore {
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: 0.2s ease;

    animation: btnExplore 0.8s ease-in-out infinite alternate;
  }
  .btn-explore:hover {
    color: var(--primaryColor);
  }

  /* About section */
  #about-container h2 {
    font-size: 2.5rem;
  }
  #about-container h2::after {
    font-size: 1.1rem;
    bottom: -1rem;
  }

  .about {
    gap: 4rem;
    margin: 0 auto;
  }

  .about .column-right p {
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
  }

  .about span {
    font-weight: 500;
  }

  .links a {
    transition: 0.3s ease;
  }

  .links a:hover {
    background-color: var(--black-600);
  }
  .skills .skill:hover {
    outline: 1px solid var(--primaryColor);
  }

  /* Projects container */
  #projects-container {
    width: 100%;
    height: 580px;
  }
  .projects {
    width: 100%;
    height: 440px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
  }
  .cards {
    flex-direction: row;
    justify-content: center;
  }
  .cards .card {
    position: absolute;
    left: 50%;
    top: 0;
    transition: 0.4s ease;
  }

  .cards a:hover > i {
    right: 1rem;
  }

  #slide1:checked ~ .projects .cards .c2,
  #slide2:checked ~ .projects .cards .c3,
  #slide3:checked ~ .projects .cards .c4,
  #slide4:checked ~ .projects .cards .c1 {
    transform: translateX(10%) scale(90%);
    background-color: #000;
    opacity: 30%;
    z-index: 0;
  }

  #slide1:checked ~ .projects .cards .c4,
  #slide2:checked ~ .projects .cards .c1,
  #slide3:checked ~ .projects .cards .c2,
  #slide4:checked ~ .projects .cards .c3 {
    transform: translateX(-110%) scale(90%);
    background-color: #000;
    opacity: 30%;
    z-index: 0;
  }

  #slide1:checked ~ .projects .cards .c3,
  #slide2:checked ~ .projects .cards .c4,
  #slide3:checked ~ .projects .cards .c1,
  #slide4:checked ~ .projects .cards .c2 {
    transform: scale(0%);
    opacity: 0;
    z-index: 0;
  }

  #slide1:checked ~ .projects .cards .c1,
  #slide2:checked ~ .projects .cards .c2,
  #slide3:checked ~ .projects .cards .c3,
  #slide4:checked ~ .projects .cards .c4 {
    z-index: 1;
    opacity: 100%;
    transform: translateX(-50%) scale(100%);
  }

  .fa-chevron-right,
  .fa-chevron-left {
    position: absolute;
    font-size: 2rem;
    top: 45%;
    z-index: 2;
    color: #aaa;
    visibility: visible;
    cursor: pointer;
    transition: 0.2s ease;
  }
  .fa-chevron-left {
    left: 0;
  }
  .fa-chevron-right {
    right: 0;
  }

  .fa-chevron-left:hover {
    color: #fff;
  }
  .fa-chevron-right:hover {
    color: #fff;
  }

  /* Contacts section */
  .contacts .fa-xmark:hover {
    color: var(--primaryColor);
  }
  .contacts .my-email {
    font-size: 1.1rem;
  }
  .contacts .my-email .email-content i {
    font-size: 1.4rem;
  }
  .contacts .contact:hover {
    box-shadow: 0 0 0.5rem #00d4ff;
  }
  .contacts .contact:hover img {
    filter: grayscale(0);
  }

  footer {
    font-size: 1.1rem;
    padding-bottom: 0;
  }
}
