#skills-pages {
  position: relative;
  box-shadow: 0 .25em .5em rgba(0, 0, 0, .4), inset 0 0 .625em rgba(255, 255, 255, .1);
  contain: layout paint style;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-anchor: none;
}

main #skills-pages {
  max-width: 52vw;
  width: 52%;
  height: auto;
  min-height: unset;
  position: relative;
  contain: layout;
  overflow: hidden;
  padding: 0.2em;
}

main #skills-pages {
  min-height: 25rem;
}

.skills-container {
  min-height: 10rem;
  max-width: 100vw;
  width: 100%;
  overflow: hidden;
  padding: 1rem 2rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.skills-grid {
  width: 95%;
  max-width: 95vw;
}

.black-container {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: black;
  width: 100%;
  height: auto;
  min-height: 10rem;
  margin: 0 auto 5em;
  border-radius: .225vw;
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.4), inset 0 0 0.625em rgba(255, 255, 255, 0.1);
}

#about-me-black-container {
  margin: 0 auto;
}

.about-me {
  margin: 0 auto;
  max-width: 52vw;
  width: 52%;
  height: auto;
  min-height: unset;
  position: relative;
  padding-bottom: 10rem;
  contain: layout;
  overflow: hidden;
  padding: 0.2em;
}

.main-container {
  width: 100%;
  height: auto;
  min-height: 10rem;
}

.outer-container {
  position: flex;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 88vw;
  height: auto;
}

.outer-container img {
  width: 100%;
  height: auto;
  display: block;
}

.section1 {
  display: flex;
  flex-direction: column;
  align-content: flex-end;
}

.section2 {
  display: flex;
  padding-right: 3vw;
}

.portfolio-name {
  display: flex;
  padding: 6.3em 0 1em;
  width: 30vw;
  height: auto;
}

.portfolio-name img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.greeting-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-left: 50px;
  width: 100%;
}

.greetings-label {
  display: flex;
  background-color: white;
  color: black;
  width: 15vw;
  border-top: .625vh solid black;
  border-right: .625vh solid black;
  border-left: .625vh solid black;
  margin-left: 1.999rem;
  text-align: center;
  box-shadow: 0 0.25vw 0.5vw rgba(0, 0, 0, 0.4), inset 0 0 0.625vw rgba(255, 255, 255, 0.1);
}

.greetings-label h2 {
  font-size: 1.9vw;
  font-weight: bold;
  padding: 0.5vw;
}

.greetings {
  width: 90%;
  border-bottom: 0.16vw solid white;
  border-left: 0.16vw solid white;
  border-right: 0.16vw solid white;
  padding: 2rem;
}

.greetings p {
  color: white;
  font-family: tt norms pro, Arial, Helvetica, sans-serif;
  font-weight: 250;
  line-height: 1.4;
  font-size: 1.4rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5vw;
  margin: 1.25vw;
  width: 93%;
  max-width: 93vw;
  padding: 1vh 1vw;
}

.fun-facts-grid {
  display: grid;
  grid-template-rows: 0.4fr 3fr;
  border: .155vw solid white;
}

.facts-grid {
  display: grid;
  grid-template-rows: 2fr 1fr;
  gap: 1.7vw;
  width: 100%
}

.favorites-label {
  height: auto;
  width: 100%;
}

.sub-labels {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  height: 50px;
}

.sub-labels h3 {
  font-size: 1.5rem;
  text-align: center;
  color: black;
}

.my-favorites-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: .155vw solid white;
}

.inside-grid-favorites {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
}

.favorites {
  width: 90%;
  max-width: 90vw;
  height: auto;
  margin: 0 auto;
  padding: 2em 0;
}

.favorites img {
  width: 30%;
  height: auto;
  padding: 1rem 0;
  object-fit: cover;
}

.facts,
.favorites p {
  color: white;
}

.favorites p {
  font-size: 1.5rem;
}

.fun-facts {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 3fr;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 2rem;
}

.check-mark-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  margin-top: 1vh;
  padding: 0 .7vw;
}

.check-mark-text p {
  font-size: 1.3rem;
}

.quote p {
  color: white;
  font-size: 1.5rem;
  font-style: italic;
  text-align: center;
  width: 100%;
  height: auto;
  padding: 0.5rem;
}

.quote:last-child {
  padding-bottom: 1vw;
}

.check-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 4vw;
  max-width: 100vw;
  height: auto;
}

.check-mark img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.quote {
  display: flex;
  flex-direction: column;
  border: 0.16vw solid white;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

.quote-img {
  width: 2.5vw;
  height: 3vw;
  max-width: 48px;
  max-height: 50px;
  min-width: 32px;
  min-height: 34px;
}

.quote img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 1vw;
  object-fit: cover;
}


/*  skills */
.skills-black-container {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: black;
  margin: 4rem auto 8rem;
  height: auto;
  padding: 3em;
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.4), inset 0 0 0.625em rgba(255, 255, 255, 0.1);
  max-width: 65vw;
  width: 65%;
  aspect-ratio: 1 / 1;
}

.skills-black-container {
  position: relative;
  overflow: hidden;
}

.skills {
  box-sizing: border-box;
  max-width: 100%;
}

.skills-black {
  margin-top: 4vh;
}

.skills {
  flex: 0 1 auto;
  padding: 0.8em 1.2em;
  margin: 0.4em;
  max-width: 100%;
}


.skills-firstset h2 {
  color: #a6a6a6;

  text-shadow: 0 0 0.8px cyan, 0 0 1.5px cyan;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  width: auto;
  height: auto;
}

.skills-text {
  cursor: pointer;
}

.skills-secondset:hover .skills-text,
.skills-secondset:focus .skills-text,
.skills-firstset:hover .skills-text,
.skills-firstset:focus .skills-text {
  transform: scale(1.15);
  color: white;
  text-shadow: 0 0 0.8px cyan, 0 0 1.5px cyan;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.skills-secondset h2 {
  font-size: clamp(1.1rem, 1.9vw, 2.1rem);
  line-height: 1.5;
  color: #a6a6a6;
  text-shadow: 0 0 0.8px cyan, 0 0 1.5px cyan;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  padding: 0.5em 0;
  width: auto;
  max-width: 100vw;
  height: auto;
  margin: 0 auto;
}

.skills-row {
  padding: 1.25em 1.5em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1.5em 2em;
}


.skills1 {
  display: flex;
  justify-content: flex-end;
  align-content: center;
  text-align: end;
  padding: 2em 1em;
}

.skills2 {
  display: flex;
  justify-content: start;
  width: auto;
  padding: 2em 0;
}

.skills3 {
  display: flex;
  justify-content: flex-end;
  text-align: start;
  padding: 1em;
}

.skills0 {
  display: flex;
  padding: 1em 3em 1em 0;
}

.skills4 {
  display: flex;
  padding: 1em 0 1em 2em;
}

.skills5 {
  display: flex;
  padding: 3em 3em 3em 0;
}

.skills5 h2 {
  font-size: clamp(1rem, 1.8vw, 2rem);
  line-height: 1.5;

}

.skills6 {
  display: flex;
  padding-left: 6.77vw;
  padding: 1em;
}

.skills7 {
  max-width: 100vw;
  width: 100%;
  padding: 2em 0 3em 0;
}

.skills7 h2 {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
}


.skills8 {
  display: flex;
  text-align: center;
  justify-content: center;
  padding: 1em 3em 2em 0;
}

.skills9 {
  display: flex;
  padding: 2em;
}

.skills10 {
  display: flex;
  text-align: start;
  justify-content: flex-start;
  padding: 5em 2em 0 2em;
}

.skills12 {
  display: flex;
  text-align: center;
  padding: 3em 4em 0 2em;
}

.skills13 {
  display: flex;
  text-align: center;
  padding: 5em 2em 0 2em;

}

.skills14 {
  display: flex;
  text-align: start;
  align-content: flex-start;
  padding: 2em 0 1em 2em;
}

.skills15 {
  display: flex;
  text-align: start;
  align-content: flex-start;
  padding: 2em 2em 5em 0;
}

.skills17 {
  display: flex;
  text-align: end;
  padding: 2em;
}

.skills18 {
  display: flex;
  text-align: start;
  justify-content: flex-start;
  padding: 2em;
}

/* resume page  */
.resume {
  padding: 6vh 0 2vh;
  background-color: white;
}

.resume-border {
  border: .3vh solid white;
  width: 45vw;
  margin: 2em auto;
}

.resume h2 {
  font-size: 2vw;
  color: black;
  width: 100%;
  height: auto;
  min-height: 1.5rem;
}

.background-color {
  background-color: black;
}

.resume-date {
  width: 90%;
  height: auto;
  min-height: 3rem;
  margin: 0 auto;
  max-width: 90%;
  padding: 0.9375em 0;
}

.resume-date h2 {
  font-size: 1.5rem;
  color: black;
  width: 100%;
  height: auto;
  min-height: 1rem;
}

#description {
  width: 100%;
  height: auto;
  min-height: 6rem;
}

.resume-summary {
  width: 100%;
  height: auto;
  min-height: 5rem;
}

.resume-summary a {
  text-decoration: none;
  color: cyan;
  height: auto;
  min-height: 1rem;
  width: 100%;
  max-width: 100vw;
}

.resume-summary h3 a {
  width: 100%;
  height: auto;
  min-height: 1.5rem;
  padding-top: 4rem;
  font-size: clamp(1rem, 1.2rem, 1.8rem);
}

.resume-summary h3 {
  color: white;
  min-height: 2rem;
  width: 100%;
  max-width: 100vw;
}

.resume-summary p {
  color: white;
  font-family: tt norms pro, Arial, Helvetica, sans-serif;
  font-weight: 250;
  line-height: 1.4;
  padding: 1.25em 3em;
  font-size: clamp(1rem, 1.30rem, 1.8rem);
  min-height: 1rem;
  width: 100%;
  max-width: 100vw;
  padding: 1em;
}

#download-me h2 a {
  color: black;
}

.education {
  margin-top: 10vh;
}

/* projects */
.project-images {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 93%;
  height: auto;
  min-height: 3rem;
  aspect-ratio: 16 / 9;
  margin: 1.5em auto 0;
}

.border-white img {
  width: 93%;
  height: auto;
  padding: 1% 0;
  object-fit: cover;
  aspect-ratio: inherit;
  object-position: center;
}

.takeme-text h3 {
  color: cyan;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: underline cyan;
}

/* contact page */
.contact-form-container {
  width: 100%;
  margin: 2em auto;
  text-align: left;
}

.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  padding: 0.75em;
  border: 0.0625em solid #B0B0B0;
  border-radius: 0.3125em;
  font-size: 1rem;
}

form {
  padding: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  background-color: #F2F7FA;
  /* Match contact form background */
  width: 80%;
  box-shadow: 0px 0.25em 0.5em rgba(0, 0, 0, 0.1);
  /* Softer shadow */
  border-radius: 0.5em;
  /* Smooth rounded corners */
  color: #1A1D9E;
  /* Consistent text color */
}

.form-sect label {
  font-size: 1rem;
  margin-bottom: 0.5em;
}

.form-sect {
  margin-bottom: 1.5em;
}

.form-sect input,
.form-sect textarea,
.form-sect select {
  width: 100%;
  padding: 0.75em;
  border-radius: 0.3125em;
  border: 0.0625em solid #B0B0B0;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  height: 12.5vh;
}

button.submit-button {
  width: 100%;
  padding: 0.75em;
  background-color: black;
  color: white;
  border: none;
  border-radius: 0.3125em;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.submit-button:hover {
  background-color: #0BD6E2;
}

/* Default display */


.hubspot {
  width: 93%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}

.hubspot img,
.grade-grid img {
  margin: 0 auto;
  width: 93%;
  height: auto;
  object-fit: cover;
}

/* borders */
.border-white {
  border: 1em solid white;
  margin: 30px auto;
  width: 95%;
  max-width: 100%;
  height: auto;
  padding: 0.9375em 0;
}

.collections-border-white {
  border: 1em solid white;
  margin: 1.875em auto;
  width: 95%;
  max-width: 100%;
  height: 100%;
  padding: 0.9375em 0;
}

main#collections-page {
  width: 80%;
  max-width: 80vw;
  margin: 5em auto;
  padding: 2em 1em;
  background-color: #000;
  box-shadow: 0 .25em .5em rgba(0, 0, 0, .4), inset 0 0 .625em rgba(255, 255, 255, .1);
  contain: layout paint style;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-anchor: none;
}

main#collections-page {
  min-height: 100vh;
}

.collections-row {
  min-height: 50rem;
}

.hamburger-nav-links {
  display: none;
  /* Initially hidden */
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  /* Semi-transparent black */
  z-index: 10;
  transform: translateX(100%);
  /* Initially off-screen */
  transition: transform 0.3s ease;
  flex-direction: column;
  padding-top: 60px;
}

/* Show the hamburger menu when active */
.hamburger-nav-links.active {
  transform: translateX(0);
}

#project1-thumbnail {
  padding: 2em 3em;
}

/* Nav links inside the hamburger menu */
.hamburger-nav-links ul {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1.25em;
  text-align: center;
}

.hamburger-nav-links ul li a {
  font-size: 2rem;
  color: white;
  text-decoration: underline solid cyan;
  padding: 0.625em;
  border-bottom: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.hamburger-nav-links ul li a:hover {
  color: cyan;

  text-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
}



/* collection page */
.collections-grid,
.collections-row {
  display: grid;
  width: 100%;
  max-width: 100%;
  /* Ensure no overflow */
  height: auto;
  padding: 0;
}


.collections-grid {
  grid-template-rows: repeat(2, 1fr);
  margin: 2em auto;
}

.collections-row {
  grid-template-columns: repeat(3, 1fr);
  width: 80vw;
  max-width: 100%;
  height: auto;
  margin: 4em auto;
}

.collection-thumbnail-box {
  background-color: black;
  box-shadow: rgb(0 0 0 / 20%) 0 0 1.5625em .5em;
  width: 100%;
  height: auto;
  margin: 2em auto;
  padding: 1em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.collections-title {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  background-color: white;
  padding: 0.725em;
}

.collections-container {
  width: 90%;
  max-width: 90vw;
  height: auto;
  /* Let the content define the height */
  margin: 0 auto;
}

.collections-thumbnail {
  margin: 0 auto;
  width: 90%
}

.collections-thumbnail img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  border: 0.2em solid white;
  object-fit: cover;
}

.collections-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  font-size: 1rem;
  padding: 0.5em 1em;
  background-color: white;
  border: 0.2em solid black;
  border-radius: 2em;
  color: black;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.collections-btn:hover {
  background-color: cyan;
  box-shadow: 0.0625em 0.0625em 0.3125em rgba(0, 0, 0, 0.3), -0.125em -0.125em 0.3125em rgba(255, 255, 255, 0.7);
}

.collections-btn a {
  text-decoration: none;
  color: black;
}

.collections-title {
  width: 93%;
  height: auto;
  /* Let content determine height */
  max-width: 37.5vw;
  margin: 0 auto;
}

#project-title {
  height: auto;
  margin: 2em auto 1em;
  line-height: 1.5;
  background-color: white;
  width: 95%;
  padding: 1em 0 1em;
}

#project-title h2 {
  font-size: clamp(1rem, 1.3rem, 1.8rem);
  ;
}

.author-bio h2 {
  font-size: 1.5rem;
  width: 100%;
  height: auto;
}

.mood-board h3,
.author-bio-text h3,
.pagespeed-grade-title h3,
.grade-text .grade-title h3 {
  font-size: 1.8rem;
  height: auto;
  min-height: 1rem;
}

.grade-text {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 2em;
}

#desktop-grade h3 {
  font-size: 1.1rem;
}

.grade-container h3,
.grade-container p {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.4;
  text-align: center;
  word-break: break-all;
}

.grade-text {
  padding: 1em;
}

.author-bio {
  width: 93%;
  max-width: 100%;
  min-height: 3rem;
  margin: 2em auto 2em;
  height: auto;
  padding: 0;
  background-color: black;
  color: #0BD6E2;
}

.author-bio h2,
.author-bio p i,
.author-bio p,
.author-bio strong {
  color: white;
  font-size: 1.2rem;
  line-height: 1.4;
}


.pagespeed-grade-title,
.grade-title {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0.625em;
  background-color: white;
}

.pagespeed-grade-title {
  margin: 3em auto 0;
}

.grades {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.grade-container {
  width: 100%;
  max-width: 100vw;
  margin: 1em auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(5vw, 1fr));
  gap: 0.3125em;
  background-color: black;
}

.grade-header,
.grade-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grade-header {
  height: auto;
  width: 100%;
  max-width: 100%;
  padding: 0.3125em;
  background-color: white;
}

.grade-item {
  padding: 0.3125em;
  height: auto;
  width: 100%;
  background-color: white;
}

.pagespeed-container {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}

.grade-img,
.project-images,
.mood-board,
.pagespeed-grade-img {
  width: 100%;
  max-width: 850px;
  height: auto;
  margin: 0 auto;
}

.project-img img,
.grade-img img,
.mood-board img,
.pagespeed-grade-img img {
  width: 93%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
}

.cta-section,
.author-bio {
  max-width: 95%;
  height: auto;
  min-height: 3rem;
}

.cta-section img,
.author-bio img {
  width: 100%;
  max-width: 832px;
  height: auto;
  margin: 2em auto 0;
  object-fit: cover;
  aspect-ratio: inherit;
}

.cta-section p {
  font-size: 1.3rem;
  width: 100%;
  height: auto;
}

.explore-container {
  display: flex;
  flex-direction: row;
  margin: 2em auto;
  height: auto;
  width: 95%;
  background-color: white;
}

.project-links .explore-container .click-me {
  margin: 2em auto;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip h2 {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip:hover .tooltip-text,
.tooltip:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-text {
  transform: translateY(-100%);
  z-index: 1000;
  top: auto;
  bottom: auto;
}

/* Tooltip text */
.tooltip-text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  border: 0.125em solid #0BD6E2;
  /* Cyan border */
  box-shadow: 0 0 0.3125em rgba(0, 0, 0, 0.5);
  padding: 0.5em;
  border-radius: 4px;
  white-space: normal;
  width: max-content;
  max-width: 200px;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Tooltip arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  /* Bottom of the tooltip */
  left: 50%;
  margin-left: -0.3125em;
  /* Center the arrow */
  border-width: 0.3125em;
  border-style: solid;
  border-color: #0BD6E2 transparent transparent transparent;
  /* Cyan arrow */
}

/* Show the tooltip on hover over the h4 text */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.explore-container {
  display: flex;
  flex-direction: row;
  margin: 2em auto;
  height: auto;
  width: 95%;
  background-color: #fff
}



@media (max-width: 1024px) {
  main#about-me {
    width: 75%;
    max-width: 75vw;
  }

  main#collections-page {
    width: 75%;
    max-width: 75vw;
  }

  .outer-container {
    margin-bottom: -3rem;
    width: 100%;
    max-width: 100vw;

  }


  #projects {
    margin: 0 auto;
    width: 75%;
    max-width: 75vw;
    position: relative;
    padding-bottom: 3rem;
    height: auto;
    min-height: 10rem;
    margin: 0 auto;
  }

  .resume-border {
    width: 93%;
    height: auto;
    min-height: 5rem;
  }

  .author-bio img {
    width: 93%;
    max-width: 93vw;
    height: auto;
    min-height: 5rem;
  }

  .skills-black-container {
    width: 98%;
    max-width: 98vw;
    padding: 2em;
  }

  .skills-grid {
    margin: 2em auto;
  }

  .skills-row {
    width: 90%;
    max-width: 90vw;
    height: 90%;
    max-height: 90vw;
    padding: 0;
  }

  .skills0,
  .skills1,
  .skills2,
  .skills4,
  .skills5,
  .skills6,
  .skills7,
  .skills8,
  .skills9,
  .skills10,
  .skills11,
  .skills12,
  .skills13,
  .skills14,
  .skills15,
  .skills16,
  .skills17,
  .skills18 {
    padding: 0;
  }

  .skills3 {
    padding-left: 0.5em;
  }

  .skills-text {
    font-size: 1rem;
  }

  .skills h2 {
    font-size: 1.3rem;
  }
}


@media (max-width: 768px) {


  .skills-firstset h2,
  .skills-secondset h2 {

    width: 100%;

  }

  .check-mark img {
    width: 60px;
    max-width: 60px;
  }

  .sub-labels {
    max-height: 50px;
    height: 50px;
  }

  .sub-labels h3 {
    font-size: 1.2rem;
  }

  .grid-container {
    display: flex;
    flex-direction: column;
  }

  .nav-logo {
    height: calc(200px / 2.38);
    aspect-ratio: 2.38;
    width: auto;
    max-height: 105px;
    padding-left: 1em;
    overflow: hidden;
  }

  .nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .nav-links {
    display: none;
  }

  main#about-me,
  main#projects {
    width: 85%;
    max-width: 85vw;
  }


  .button-grid {
    display: flex;
    flex-direction: column;
  }

  .click-me {
    height: auto;
    margin: 0 auto;
  }

  /* Menu button */
  .menu-toggle {
    display: block;
    color: white;
    font-size: 2rem;
    padding: 1em 1em 0.5em 0.5em;
    cursor: pointer;
    z-index: 20;
  }

  .hamburger-nav-links {
    display: flex;
  }

  .hamburger-nav-links {
    display: none;
    flex-direction: column;
    background: black;
    position: absolute;
    top: 80px;
    width: 40%;
    height: auto;
    padding: 1em;
    z-index: 100;
  }

  .hamburger-nav-links.active {
    display: flex;
  }

  .click-me a {
    font-size: 1rem;
  }



  .tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  }

  .collections-button-grid {
    padding: 0 .5em;
  }

  .collections-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    font-size: 2rem;
    padding: 0.225em .5em;
    background-color: white;
    border: 0.2em solid black;
    border-radius: 2em;
    color: black;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .resume-border {
    width: 93%;
    height: auto;
    min-height: 5rem;
  }

  .takeme-text {
    margin: 2em auto 0;
  }

  .cta-section,
  .author-bio {
    max-width: 95%;
    height: auto;
    min-height: 3rem;
  }

  .cta-section img,
  .author-bio img {
    width: 95%;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
    aspect-ratio: inherit;
  }

  .author-bio-text,
  .cta-section img {
    margin: 0 auto 1em;
  }

  .author-bio h2 {
    font-size: 1.3rem;
  }

  .author-bio p {
    font-size: 1rem;
  }

  .author-bio img {
    margin: 2em auto;
  }

  .author-bio-text {
    width: 95%;
  }

  .quote {
    padding: 1em 1.5em;
  }

  .collections-grid,
  .collections-row {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 100%;
    /* Ensure no overflow */
    height: auto;
    padding: 0;
    margin: 0 auto;
  }

  .collections {
    height: auto;
    width: 100%;
  }


  .collections-title {
    width: 100%;
    height: auto;
    max-width: 100%;
  }


  .section2 {
    display: flex;
    padding-right: 3em;
  }


  .about--me-container {
    margin-top: 0.2em;
  }

  .portfolio-name {
    padding: 6em 0 1em;
    width: 35vw;
  }

  .portfolio-name img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .greetings p {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .greetings-label {
    width: 20vw;
  }

  .greetings-label h2 {
    font-size: 1.2rem;
  }

  .facts,
  .inside-grid-favorites {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    gap: 1rem;
  }

  .favorites {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    width: 80%;
    height: 60%;
    margin: 3vw auto;
    border: 0.1vw solid white;
    padding: 2vw 0;
  }

  .favorites img {
    width: 60px;
    max-width: 60px;
    padding: 1vw 0;
    object-fit: cover;
  }

  .favorites-label {
    height: auto;
    width: 100%;
  }
}




@media (max-width: 480px) {

  .designer-box,
  .coder-box {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .skills h2 {
    font-size: 1rem;
  }

  .greetings-label h2 {
    font-size: 1rem;
  }

  .skills-container {
    padding: 1rem;
  }

  .skills-black-container {
    width: 100%;
    max-width: 100vw;
    padding: 0;
  }

  .skills4,
  .skills3 {
    padding: 0 0 0 2em;
  }

  .skills2 {
    padding: 0 0 0 0.5em;
  }

  .skills18,
  .skills17,
  .skills16,
  .skills15,
  .skills14 {
    padding-right: 1em;
  }

  .skills-row {
    gap: 0;
  }

  .outer-container {
    margin-left: 3rem;
    margin-bottom: -1rem;
    width: 100%;
    max-width: 100vw;
  }

  .sub-labels {
    max-height: 50px;
  }

  .greetings {
    margin: 1em auto;
  }

  .outer-container {
    max-width: 130vw;
    width: 100%;
  }

  .outer-container img {
    width: 100%;
  }

  .about-me {
    height: 100%;
    width: 100%;
    max-width: 100vw;
    min-height: auto;
    padding: 0.3em;
  }

  .black-container {
    width: 100%;
    max-width: 100vw;
    height: auto;
  }

  #projects {
    width: 90%;
    max-width: 90vw;
  }

  .black-container {
    width: 100%;
    max-width: 100vw;
    height: auto;
    min-height: 10rem;
  }
}

@media (max-width: 320px) {

  .skills4,
  .skills3 {
    padding: 0 0 0 2em;
  }

  .skills2 {
    padding: 0 0 0 1em;
  }

  .skills18,
  .skills17,
  .skills16,
  .skills15,
  .skills14 {
    padding-right: 1em;
  }

  .skills-row {
    gap: 0;
  }

  .skills h2 {
    font-size: 0.8rem;
  }

  .skills-container {
    padding: 0;
    margin: 0 auto;
  }

  .skills-grid {
    width: 98%;
    max-width: 98vw;
  }

  .skills-firstset h2,
  .skills-secondset h2 {
    font-size: 0.8rem;
  }

  .skills-row {
    width: 100%;
    max-width: 100vw;
  }
}