/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;
  --font-semi: 600;
  /*===== Colores =====*/
  /*Purple 260 - Red 355 - Blue 224 - Pink 340*/
  /* HSL color mode */
  --hue-color: 224;
  --first-color: hsl(var(--hue-color), 89%, 60%);
  --second-color: hsl(var(--hue-color), 56%, 12%);
  /*===== Fuente y tipografia =====*/
  --body-font: "Poppins", sans-serif;
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --smaller-font-size: .75rem;
  /*===== Margenes =====*/
  --mb-2: 1rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  /*===== z index =====*/
  --z-back: -10;
  --z-fixed: 100;
}
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
    --smaller-font-size: .875rem;
  }
}

/*===== BASE =====*/
*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--second-color);
}

h1, h2, p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*===== CLASS CSS ===== */
.section-title {
  position: relative;
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-top: var(--mb-2);
  margin-bottom: var(--mb-4);
  text-align: center;
}
.section-title::after {
  position: absolute;
  content: "";
  width: 64px;
  height: 0.18rem;
  left: 0;
  right: 0;
  margin: auto;
  top: 2rem;
  background-color: var(--first-color);
}

.section {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

/*===== LAYOUT =====*/
.bd-grid {
  max-width: 1024px;
  display: grid;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.15);
}

/*===== NAV =====*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-semi);
}
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: var(--second-color);
    transition: 0.5s;
  }
}
.nav__item {
  margin-bottom: var(--mb-4);
}
.nav__link {
  position: relative;
  color: #fff;
}
.nav__link:hover {
  position: relative;
}
.nav__link:hover::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--first-color);
}
.nav__logo {
  color: var(--second-color);
}
.nav__toggle {
  color: var(--second-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/*Active menu*/
.active-link::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--first-color);
}

/* For mobile screens (max-width: 767px) */
@media screen and (max-width: 767px) {
  /* The mobile nav menu slides in from the right */
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;      /* Hidden off-screen initially */
    width: 80%;        /* How wide the drawer is */
    height: 100vh;     /* Full viewport height */
    background-color: var(--second-color);
    padding: 2rem;
    transition: 0.5s;
    z-index: 999;      /* Ensures menu is on top */
    overflow-y: auto;  /* Scroll if content is too tall */
  }

  /* When .show is toggled, slide in from the right */
  .show {
    right: 0;
  }

  /* Nav list as a vertical column */
  .nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Space between nav items */
    margin-top: 2rem;
  }

  /* Remove big bottom margins on mobile if you want them closer */
  .nav__item {
    margin-bottom: 0;
  }

  /* White text inside the mobile drawer */
  .nav__link {
    color: #fff;
    font-size: 1.1rem; /* Slightly larger if you like */
  }
}


/*=== Show menu ===*/
.show {
  right: 0;
}

/*===== HOME =====*/
.home {
  position: relative;
  row-gap: 5rem;
  padding: 4rem 0 5rem;
}
.home__data {
  align-self: center;
}
.home__title {
  font-size: var(--big-font-size);
  margin-bottom: var(--mb-5);
}
.home__title-color {
  color: var(--first-color);
}
.home__social {
  display: flex;
  flex-direction: column;
}
.home__social-icon {
  width: max-content;
  margin-bottom: var(--mb-2);
  font-size: 1.5rem;
  color: var(--second-color);
}
.home__social-icon:hover {
  color: var(--first-color);
}
.home__img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
}
.home__blob {
  fill: var(--first-color);
}
.home__blob-img {
  width: 360px;
}

/*BUTTONS*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 0.75rem 2.5rem;
  font-weight: var(--font-semi);
  border-radius: 0.5rem;
  transition: 0.3s;
}
.button:hover {
  box-shadow: 0px 10px 36px rgba(0, 0, 0, 0.15);
}

/*===== ABOUT SECTION =====*/
.about {
  /* General styling for the .about section if needed */
}

/* Center the container horizontally, but keep a max-width */
.about__container.bd-grid {
  max-width: 300px; /* Or another width that matches your site */
  margin: 0 auto;    /* Centers container on the page */
  padding: 0 2rem;
  display: block;    /* Single-column layout */
}

/* Right-align the paragraph text */
.about__text {
  text-align: right;
  line-height: 1.6;
}

/*===== TRANSFORMATION SECTION (unchanged) =====*/
.transformation__section {
  margin-top: 2rem;
}
.transformation__heading {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--second-color);
}
.transformation__gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.transformation__img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.transformation__arrow {
  font-size: 2rem;
  color: var(--first-color);
  font-weight: bold;
}
.transformation__video-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.transformation__video {
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* Make the "box" look like an experience card */
.about__box {
  display: flex; 
  align-items: center; /* or flex-start if you prefer top alignment */
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  border-left: 4px solid var(--first-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about__box-container {
  /* If your .experience__container is 1200px wide with auto margins, do: */
  max-width: 1200px; 
  margin: 0 auto;
  /* row-gap if you want spacing, e.g., row-gap: 2rem; */
  padding: 0 1.5rem; /* Optional side padding to match experience spacing */
}

.about__box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* If you want the text inside to be left-aligned (instead of right) */
.about__text {
  text-align: left; 
  line-height: 1.6;
  margin: 0; /* Remove default margins if needed */
}


/* Media Queries for smaller screens (unchanged) */
@media (max-width: 768px) {
  .about__container.bd-grid {
    padding: 0 1rem;
  }
  .transformation__img {
    width: 160px;
  }
  .transformation__arrow {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .transformation__gallery {
    flex-direction: column;
  }
  .transformation__arrow {
    display: none;
  }
  .transformation__img {
    width: 70%;
    max-width: 250px;
  }
  .transformation__video-container {
    padding: 0 1rem;
  }
}

/*===== EDUCATION SECTION =====*/
.education {
  padding: 2rem 0;
  text-align: center;
}

.education__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.education__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  border-left: 4px solid var(--first-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.education__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.education__logo {
  display: block;
  margin: 0 auto 1rem;
  border-radius: 8px;
  overflow: hidden;
  width: 200px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.education__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.education__logo:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.education__details {
  text-align: center;
}

.education__text {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi);
  color: var(--second-color);
}

/*===== EDUCATION SECTION =====*/
.education {
  padding: 2rem 0;
  /* Center the heading or style as you prefer */
  text-align: center;
}

/* Container holds both items side by side */
.education__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px; /* Adjust if needed */
  margin: 0 auto;    /* Centers the container */
  flex-wrap: nowrap; /* Keeps them side by side; remove if you want wrapping on smaller screens */
}

/* Each education item is styled similarly to your "experience" or "certifications" */
.education__item {
  flex: 1 1 45%; /* Each takes about half the container width */
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  border-left: 4px solid var(--first-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-align: center; /* Center the text and logo */
  margin-bottom: 1rem;
}

.education__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Year, Degree, Major text */
.education__year {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi);
  color: var(--second-color);
  margin-bottom: 0.5rem;
}

.education__degree,
.education__major {
  font-size: var(--smaller-font-size);
  color: var(--second-color);
  margin-bottom: 0.3rem;
  font-weight: 700; /* or "bold" */

}

/* Logo styling */
.education__logo {
  width: 120px;    /* Adjust to fit your design */
  margin: 1rem auto; 
  display: block;  /* Centers the logo horizontally */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.education__logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* University Name and Location */
.education__univ-name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi);
  color: var(--second-color);
  margin-bottom: 0.2rem;
  text-transform: uppercase; /* optional for a consistent style */
}

.education__location {
  font-size: var(--smaller-font-size);
  color: var(--second-color);
}

/* Responsive: Stack vertically on smaller screens */
@media screen and (max-width: 768px) {
  .education__container {
    flex-wrap: wrap; /* Items will wrap to next line */
    gap: 1rem;
  }
  .education__item {
    flex: 1 1 100%; /* Each item takes full width on mobile */
  }
}





/*===== EXPERIENCE SECTION =====*/
.experience {
  padding: 2rem 0;
}

.experience__container {
  row-gap: 2rem; /* Space between each experience item */
}

.experience__item {
  display: flex; 
  align-items: stretch; /* Ensures left & right columns share the same height */
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  border-left: 4px solid var(--first-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.experience__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Left column: pinned name at top, logo centered below */
.experience__left {
  display: flex;
  flex-direction: column;
  align-items: center;       /* Horizontal center if desired */
  justify-content: flex-start; 
  flex: 0 0 220px;           /* Fixed width for consistent bullet alignment */
  margin-right: 1rem;
  text-align: center;        /* Or left if you prefer */
}

/* Company name at the top */
.experience__company-name {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--second-color); /* Use your brand color or #000 */
}

/* Container to vertically center the logo in leftover space */
.logo-container {
  flex: 1;                   /* Occupies remaining vertical space */
  display: flex;
  align-items: center;       /* Vertically center the image */
  justify-content: center;   /* Horizontally center the image */
  width: 100%;
}

/* Logo styling */
.experience__logo {
  width: 200px;  /* Adjust as needed */
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}
.experience__logo:hover {
  transform: scale(1.02);
}

/* Right column: bullet points remain top-aligned */
.experience__right {
  flex: 1;
}

/* Position & dates container */
.experience__position-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.experience__position {
  display: inline-block;
  background-color: var(--first-color); /* Blue background */
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: bold; /* Make the text bold */
}

.experience__dates {
  background-color: #eceff1;
  color: var(--second-color);
  padding: 4px 8px;
  border-radius: 16px;
  font-size: 0.875rem;
}

/* Bullet points */
.experience__right ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  padding: 0;
}
.experience__right li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Responsive for smaller screens */
@media screen and (max-width: 768px) {
  .experience__item {
    flex-direction: column;
    align-items: flex-start;
  }
  .experience__left {
    margin-bottom: 1rem;
    flex: auto;
    display: block;
    text-align: left;
  }
  .logo-container {
    margin-top: 1rem;
  }
  .experience__right {
    width: 100%;
  }
}




/* ===== SKILLS SECTION ===== */

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 2rem 0;
  text-align: center;
}

/* Container: grid layout for skill cards */
.skills__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Each skill "card" */
.skills__category {
  position: relative;
  /* Light gradient background, optional */
  background: linear-gradient(135deg, #f9f9f9, #ffffff);

  /* Blue left border (similar to Experience) */
  border-left: 4px solid var(--first-color);

  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover lift effect */
.skills__category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Heading inside each card */
.skills__heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

/* The list of skill buttons */
.skills__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Skill buttons themselves */
.skill__button {
  display: inline-block;
  padding: 8px 16px; /* Same padding as your Resume button */
  background-color: var(--first-color); /* Blue background */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease-in-out;
  font-size: var(--normal-font-size);
  text-align: center;
}

.skill__button:hover {
  background-color: #2F3EB1 !important; /* Slightly darker blue on hover */
  color: #fff !important; 
  transition: background 0.3s ease-in-out;
}


/*===== CONTACT =====*/
.contact__input {
  width: 100%;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1.5px solid var(--second-color);
  outline: none;
  margin-bottom: var(--mb-4);
}

.contact__button {
  display: inline-block;
  border: none;
  outline: none;
  font-size: var(--normal-font-size);
  cursor: pointer;
  padding: 0.75rem 1.5rem; /* Extra padding for a nicer look */
  background-color: var(--first-color); /* Your brand color */
  color: #fff; /* White text */
  border-radius: 0.5rem;
  font-weight: var(--font-semi);
  transition: background-color 0.3s ease;
}

.contact__button:hover {
  background-color: #2E5BB0; /* Slightly darker on hover (example) */
}


/* ===== RESUME BUTTON ===== */
.resume__button {
    display: inline-block;
    padding: 8px 16px;  /* Reduce padding to match other navbar items */
    background-color: var(--first-color);  /* Same as Contact button */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;  /* Slightly rounded */
    transition: background 0.3s ease-in-out;
    margin-left: 20px; /* Adds spacing from Contact */
    font-size: var(--normal-font-size);
}

/* ===== PROJECTS BUTTON ===== */
/* ===== PROJECTS SECTION STYLING ===== */
.work__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns grid */
  gap: 20px; /* Space between items */
  align-items: start; /* Align items to the top of the container */
  margin-bottom: var(--mb-6); /* Bottom margin for spacing */
}

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

/* Container for the image with a fixed height */
.work__img {
  position: relative;
  width: 100%;
  height: 200px; /* Adjust to your preferred uniform height */
  margin-bottom: 0.5rem;
  overflow: hidden;
  /* Keep your existing transitions or add new ones if needed */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}


/* Absolutely position the <img> to fill the container */
.work__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Crops the image to fill the box */
  transform-origin: center;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* New hover effects */
.work__img:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}


.work__title {
  display: inline-block;
  padding: 8px 16px; /* Padding around text */
  background-color: var(--first-color); /* Primary color background */
  color: white; /* Text color */
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px; /* Rounded corners */
  transition: background-color 0.3s ease-in-out; /* Smooth transition for background color */
  text-align: center; /* Center-align text */
  margin-top: 10px; /* Margin top for spacing from image */
  font-size: var(--normal-font-size); /* Font size */
}

.work__title:hover {
  background-color: #2E5BB0; /* Darker shade of primary color on hover */
  color: white; /* Text color remains unchanged */
  transition: background-color 0.3s ease-in-out; /* Smooth transition for background color */
}



/* Ensure it aligns with other navbar items */
.nav__list {
    display: flex;
    align-items: center; /* This will align all navbar items in one line */
}

.resume__button:hover {
    background-color: var(--first-color-alt); /* Slightly darker on hover */
}

/*===== CERTIFICATIONS SECTION (Fancy) =====*/
/*===== CERTIFICATIONS SECTION (Blue Left Border, Experience-Style) =====*/
.certifications {
  padding: 2rem 0;
  text-align: center; /* Center the section title */
}

.certifications__container {
  display: flex;               /* Side-by-side layout */
  flex-wrap: wrap;             /* Wrap on smaller screens */
  justify-content: center;     /* Center them horizontally */
  gap: 40px;                   /* Space between each card */
  max-width: 1200px;
  margin: 0 auto;
}

/* 
  Each certification card:
  - Light background
  - Blue left border
  - Subtle box shadow
  - Rounded corners
  - Slight lift on hover
*/
.certifications__item {
  display: flex; 
  align-items: center; 
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  border-left: 4px solid var(--first-color); /* The same blue used in your site */
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.certifications__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* The clickable image container */
.certifications__img {
  display: block;
  margin: 0 auto;     /* Center if the card is wider than the image */
  border-radius: 8px;
  overflow: hidden;
  width: 200px;       /* Adjust as desired */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* The actual <img> inside */
.certifications__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional: Add a slight zoom or dim on hover if you like */
.certifications__img:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}



/* ===== FOOTER =====*/
.footer {
  background-color: var(--second-color);
  color: #fff;
  text-align: center;
  font-weight: var(--font-semi);
  padding: 2rem 0;
}
.footer__title {
  font-size: 2rem;
  margin-bottom: var(--mb-4);
}
.footer__social {
  margin-bottom: var(--mb-4);
}
.footer__icon {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 var(--mb-2);
}
.footer__copy {
  font-size: var(--smaller-font-size);
}

/* ===== MEDIA QUERIES=====*/
@media screen and (max-width: 320px) {
  .home {
    row-gap: 2rem;
  }
  .home__img {
    width: 200px;
  }
}
@media screen and (min-width: 576px) {
  .home {
    padding: 4rem 0 2rem;
  }
  .home__social {
    padding-top: 0;
    padding-bottom: 2.5rem;
    flex-direction: row;
    align-self: flex-end;
  }
  .home__social-icon {
    margin-bottom: 0;
    margin-right: var(--mb-4);
  }
  .home__img {
    width: 300px;
    bottom: 25%;
  }
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    text-align: initial;
  }
  .skills__container {
    grid-template-columns: 0.7fr;
    justify-content: center;
    column-gap: 1rem;
  }
  .contact__form {
    width: 360px;
    padding-top: 2rem;
  }
  .contact__container {
    justify-items: center;
  }
}
@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .section {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .section-title {
    margin-bottom: var(--mb-6);
  }
  .section-title::after {
    width: 80px;
    top: 3rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list {
    display: flex;
    padding-top: 0;
  }
  .nav__item {
    margin-left: var(--mb-6);
    margin-bottom: 0;
  }
  .nav__toggle {
    display: none;
  }
  .nav__link {
    color: var(--second-color);
  }
  .home {
    padding: 8rem 0 2rem;
  }
  .home__img {
    width: 400px;
    bottom: 10%;
  }
  .about__container {
    padding-top: 2rem;
  }
  .about__img img {
    width: 300px;
  }
  .skills__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    align-items: center;
    text-align: initial;
  }
}
@media screen and (min-width: 992px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }
  .home {
    padding: 10rem 0 2rem;
  }
  .home__img {
    width: 450px;
  }
}
