/* Reduce width of image in About Section */
@media screen and (max-width: 1150px) {
  .about > img {
    width: 300px;
  }
}

/* Responsive styling for Featuring section */
@media screen and (max-width: 1000px) {
  .featuring {
    padding: 40px 20px;
  }
  
  .featuring-container {
    flex-direction: column-reverse;
  }
  
  .featuring-content {
    padding-right: 0;
    padding-top: 30px;
    text-align: center;
  }
  
  .featuring-content > h2 {
    font-size: 2rem;
  }
  
  .featuring-content > .outlined-button {
    margin: 0 auto;
  }
}

/* Reduce Padding of Highlights Sections */
@media screen and (max-width: 1000px) {
  .highlights {
    padding: 40px 20px;
  }
  .highlight-arrow {
    padding: 5px;
  }
}

/* Reduce font-size of text, Padding in About Section, Projects Section (Card Width, Padding & Margin) */
@media screen and (max-width: 900px) {
  /* About */
  .about-section {
    padding: 50px 20px;
  }

  .about-content > p {
    font-size: 15px;
  }

  /* Services */
  .services {
    padding: 40px 20px;
  }
  .services > h1 {
    font-size: 3rem;
  }
  .services .project-card {
    width: 100% !important;
    margin: 10px 0;
  }

  /* Projects */
  .project-card {
    width: 100% !important;
    margin: 10px 0px;
  }
}

/* Contact Section mobile view */
@media screen and (max-width: 820px) {
  .contact > form {
    flex-direction: column-reverse;
    width: 100%;
  }

  .form-l {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-right: 0;
    margin-top: 25px;
  }

  .form-l > a {
    margin: 0;
  }

  .form-r {
    width: 100%;
  }
}

/* About Section (font-size, padding */
@media screen and (max-width: 800px) {
  .about-content > h1 {
    font-size: 20px;
  }

  .about-content > p {
    font-size: 13px;
  }

  .about-section {
    padding: 40px 10px;
  }
}

/* Reduce font-size of Main Text "Name" in Header,
Change the Width of Highlight Card, About Section Image */
@media screen and (max-width: 700px) {
  /* Header */
  header > h1 {
    font-size: 5rem;
  }

  header > h1 > img {
    width: 50px;
    margin-right: -50px;
  }

  /* Highlights */
  .highlight-card {
    width: 300px;
  }

  .highlight-card {
    width: 95%;
  }
  .about > img {
    width: 200px;
  }

  /* Skills */
  .skills {
    padding: 40px 20px;
  }
}

/* Reduce font-size of Quote in Header, Social Links Section's (Padding, font-size),
Footer (Padding, Margin) */
@media screen and (max-width: 610px) {
  /* Header */
  header > h6 {
    font-size: 15px;
  }
  /* Social Media */
  .social-media {
    padding: 30px 20px;
  }
  .social-links a {
    font-size: 35px;
    margin: 10px 15px;
  }

  /* Footer */
  footer {
    margin-top: 50px;
    padding: 10px;
    padding-bottom: 0;
    width: 100%;
    text-align: center;
  }
}

/* About section (flex-direction, padding) */
@media screen and (max-width: 600px) {
  .about-section {
    padding: 30px;
  }
  .about {
    flex-direction: column;
  }
  .about-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
}

/* Navbar while height of the screen is less, Contact Padding */
@media screen and (max-height: 400px) {
  nav {
    bottom: 2px;
    padding: 10px 15px;
  }

  .contact {
    padding-bottom: 85px;
  }
}

/* Navbar in mobile screen, Reduce Logo width in Background,
Contact Section Padding */
@media screen and (max-width: 550px) {
  /* Navbar */
  nav {
    width: 95%;
    bottom: 0;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: none;
  }

  /* Logo */
  .logo {
    width: 400px;
  }

  /* Contact */
  .contact {
    padding: 20px;
    padding-bottom: 100px;
  }
}

/* Reduce font-size, of Quote, Padding in Header,
All Sections Heading, Projects Section Padding */
@media screen and (max-width: 500px) {
  /* Header */
  header > h6 {
    font-size: 13px;
  }
  header {
    padding: 1rem;
  }

  /* Services */
  .services {
    padding: 20px;
  }
  .services > h1 {
    font-size: 2.5rem !important;
  }

  /* All Sections */
  section > h1 {
    font-size: 30px !important;
  }

  /* Projects */
  .projects {
    padding: 20px;
  }

  .projects-section > h1 {
    font-size: 20px;
  }
}

/* Manage Logo, Highlights Padding, Skills Section(Card Width, Margin), Contact ( Social Links font-size, padding),
Footer font-size  */
@media screen and (max-width: 450px) {
  /* Navbar */
  nav {
    padding: 15px 13px;
  }
  .nav-logo {
    display: none;
  }
  .nav-links {
    width: 100%;
  }

  .nav-links a {
    font-size: 13px;
  }

  /* Highlights */
  .highlights {
    padding: 20px 10px;
  }

  .highlight-arrow {
    padding: 2px;
  }

  .highlight-card {
    margin: 0 5px;
  }

  /* Skills */
  .skills {
    padding: 20px 10px;
  }

  .skill-card {
    margin: 10px 0px;
    width: 100%;
  }

  /* Contact */
  .contact {
    padding-bottom: 85px;
  }
  .form-l {
    padding: 10px;
  }
  .form-l > a {
    font-size: 17px;
  }

  /* Footer */
  footer {
    font-size: 15px;
  }
}

/* Hightlight Card Padding */
@media screen and (max-width: 400px) {
  .highlight-card {
    padding: 10px;
  }
  .hica-media {
    height: 150px;
  }
}

/* Reduce font-size of Main Text "Name", Learn More Button in Header,
 Logo in background width, Manage Nav, Highlight (Content font-size, Card Width, Margin)), About Section Changes, Projects Section font-sizes */
@media screen and (max-width: 350px) {
  /* Header */
  header > h1 {
    font-size: 3rem;
  }

  header > h1 > img {
    width: 30px;
    margin-right: -30px;
  }

  header > .plane-button {
    font-size: 15px;
  }

  /* Logo */
  .logo {
    width: 400px;
  }

  /* Navbar */
  nav {
    width: 98%;
  }

  .nav-links a {
    font-size: 10px;
  }

  /* Highlights */
  .hica-content > h1 {
    font-size: 25px;
  }

  .hica-content > p {
    font-size: 10px;
    margin: 0px 5px;
  }

  .highlight-card {
    width: 100%;
  }

  /* Services */
  .project-card > p {
    font-size: 12px;
    margin: 10px 0;
  }
  .project-card > h1 {
    font-size: 20px;
  }

  /* About */
  .about-section {
    padding: 20px 10px;
  }

  .about-content > h1 {
    font-size: 15px;
  }
  .about-content > p {
    margin-top: 5px;
    font-size: 12px;
    text-align: center;
  }

  /* Projects */
  .project-card > h1 {
    font-size: 15px;
    margin-bottom: 0px;
  }

  .project-card > p {
    font-size: 12px;
    margin: 5px 0;
  }
}

/* Reduce Navbar links font-size, Project Section Padding */
@media screen and (max-width: 300px) {
  /* Navbar */
  .nav-links a {
    font-size: 8px;
  }
  /* Projects */
  .projects {
    padding: 15px;
  }
}

/* Notification responsive styles */
@media screen and (max-width: 768px) {
  .notification {
    right: 10px;
    left: 10px;
    min-width: unset;
    max-width: unset;
    padding: 15px 20px;
  }

  .notification.show {
    top: 10px;
  }

  .notification-icon {
    font-size: 20px;
  }

  .notification-title {
    font-size: 16px;
  }

  .notification-message {
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .notification {
    padding: 12px 15px;
    gap: 10px;
  }

  .notification-icon {
    font-size: 18px;
  }

  .notification-title {
    font-size: 14px;
  }

  .notification-message {
    font-size: 12px;
  }

  .notification-close {
    width: 20px;
    height: 20px;
    font-size: 18px;
  }
}

/* Reset hover styles for touch devices */
@media (hover: none) {
  .outlined-button:hover,
  .nav-links a:hover,
  .highlight-arrow:hover,
  .social-links > a:hover {
    background-color: transparent;
    color: var(--text-color);
  }
}