  /*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /* Color mode HSL(hue, saturation, lightness) */
  --first-color: hsl(268, 77%, 58%);
  --first-color-dark: hsl(268, 78%, 51%);
  --first-color-light: hsl(268, 100%, 83%);
  --title-color: hsl(0, 0%, 87%);
  --text-color: hsl(0, 0%, 69%);
  --body-color: hsl(200, 12%, 5%);
  --container-color: hsl(200, 10%, 8%);
  --border-color: hsl(0, 0%, 20%);
  --white: #fff ;

  /*========== Font and typography ==========*/
  /* .5rem = 8px | 1rem = 16px ... */
  --body-font: "Jost", sans-serif;;
  --big-font-size: 3rem;
  --h1-font-size: 2.5rem;
  --h2-font-size: 2.25rem;
  --h3-font-size: 1.5rem;
  --larger-font-size: 1.2rem;
  --large-font-size: 1.125rem;

  /*========== Font weight ==========*/
  --weight-300: 300;
  --weight-400: 400;
  --weight-600: 600;
}

/*=============== BASE ===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

input,
textarea,
button,
body {
  font-family: var(--body-font);
  font-size: var(--larger-font-size);

}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  user-select: none;
}

input,
textarea,
button {
  outline: none;
  border: none;
  background-color: transparent;
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--weight-600);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 6rem;
}

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--weight-400);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section__title:hover {
  cursor: default;
}

.section__title::before {
  content: attr(data-title);
  display: block;
  color: var(--first-color);
  font-size: var(--large-font-size);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.title-center {
  text-align: center;
  margin-bottom: 3rem;
}
/*=============== STYLE SWITCHER ===============*/
/*
.style__switcher {
  position: fixed;
  right: 1%;
  top: 1%;
  padding: 1rem;
  width: 220px;
  border: 1px solid var(--border-color);
  background-color: var(--container-color);
  border-radius: 0.5rem;
  z-index: 1000;
}

.style__switcher-toggler,
.style__switcher-theme {
  position: absolute;
  right: 110%;
  color: var(--title-color);
  background-color: var(--body-color);
  border: 1px solid var(--border-color);
  height: 48px;
  width: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.style__switcher-toggler {
    top: 7%;
}

.style__switcher-theme {
  bottom: 7%;
}

.style__switcher-colors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.style__switcher-colors .color {
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

.color-1 {
  background-color: hsl(252, 35%, 51%);
}

.color-2   {
  background-color: hsl(351, 85%, 51%);
}
*/

/*=============== LOADER ===============*/
#loader-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  color: hsl(268, 100%, 83%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; 
}

#loader {
  border-top: 4px solid  hsl(268, 78%, 51%);;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

#loader-text {
  margin-top: 10px;
  font-size: 18px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 999;
  opacity: 1;
  transition: opacity 2s ease-in-out;
}

#loader-wrapper,
#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#content {
  opacity: 0;
  transition: opacity 2s ease-in-out;
  display: block;
  z-index: 1000;
}

body.loading #content {
  display: none;
}

body.loaded #content {
  display: block;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

body.loaded #loader-wrapper {
  display: none;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--body-color);
  box-shadow: 0 3px 9px hsla(0, 0, 0, 0.05);
  z-index: 100;
}

.nav,
.nav__list {
  display: flex;
}

.nav {
  height: calc(var(--header-height) + 2.25rem);
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--first-color);
  font-size: var(--h2-font-size);
}

.nav__list {
  column-gap: 1.5rem;
}

.nav__link {
  color: var(--title-color);
  transition: all 0.3s ease;
}

.nav__toggle {
  display: none;
}

#nav-toggler {
  display: none;
}

/* Active link */
.active-link,
.nav__link:hover {
  color: var(--first-color);
}

.active-link:hover {
  color: var(--first-color-dark);
}

/*=============== HOME ===============*/
.home {
  background-color: var(--container-color);
  padding-block: 9rem 3rem;
}

.home__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.home__small {
  font-size: var(--large-font-size);
  font-weight: var(--weight-600);
  letter-spacing: 1px;
}

.home__small:hover {
  cursor: default;
}

.home__title {
  font-size: var(--big-font-size);
  line-height: 1.2;
}

.home__title:hover {
  cursor: default;
}

.home__title span {
  font-weight: var(--weight-300);
}

.home__description {
  margin-block: 1.5rem 3rem;
}

.home__description:hover {
  cursor: default;
}

.home__btns {
  display: flex;
  column-gap: 1rem;
}

.home__img-wrapper {
  margin-inline: auto 2rem;
  position: relative;
}

.home__img-wrapper::before,
.home__img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
}

.home__img-wrapper::before {
  background-color: var(--first-color-light);
  animation: animate__before 8s ease-in-out infinite;
}

.home__img-wrapper::after {
  background-color: var(--first-color);
}

.home__img-wrapper::after,
.home__img {
  animation: animate__after 8s ease-in-out infinite;
}

.home__img {
  z-index: 10;
  position: relative;
  vertical-align: middle;
}

/* Home animation */
@keyframes animate__before {
  0% {
    border-radius: 65% 35% 29% 71% / 55% 30% 70% 45%;
  }

  50% {
    border-radius: 21% 79% 50% 50% / 21% 50% 50% 79%;
  
  }
  100% {
    border-radius: 65% 35% 29% 71% / 55% 30% 70% 45%;
  }
}

@keyframes animate__after {
  0% {
    border-radius: 21% 79% 50% 50% / 21% 50% 50% 79%;
  }

  50% {
    border-radius: 65% 35% 29% 71% / 55% 30% 70% 45%;
  
  }
  100% {
    border-radius: 21% 79% 50% 50% / 21% 50% 50% 79%;
  }
}

/*=============== BUTTON ===============*/
.btn {
  display: inline-block;
  background-color: var(--first-color);
  border: 1px solid var(--first-color);
  color: var(--white);
  padding: 0.9rem 2.5rem;
  font-size: var(--large-font-size);
  border-radius: 0.5rem;
  transition: all 0.5s ease;
}

.btn--transparent {
  background-color: transparent;
  color: var(--first-color);
}

/* Button hover */
.btn:hover {
  background-color: var(--first-color-dark);
  cursor: pointer;
}

.btn--transparent:hover {
  background-color: var(--first-color);
  color: var(--white);
}

/*=============== ABOUT ===============*/
.about__container {
  grid-template-columns: 4fr 8fr;
  align-items: center;
}

.about__img-wrapper {
  position: relative;
  height: 400px;
}

.about__img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.about__img:nth-child(1) {
  clip-path: polygon(0 0, 0 32%, 28% 0);
  transform: translateY(-1.25rem);
}

.about__img:nth-child(2) {
  clip-path: polygon(28% 0, 0 32%, 0 100%, 17% 100%, 90% 0);
  transform: translateY(-0.75rem);
}

.about__img:nth-child(3) {
  clip-path: polygon(100% 0, 100% 65%, 74% 100%, 17% 100%, 90% 0);
  transform: translateY(-0.25rem);
}

.about__img:nth-child(4) {
  clip-path: polygon(100% 65%, 74% 100%, 100% 100%);
  transform: translateY(0.25rem);
}

/* About img hover */
.about__img-wrapper:hover .about__img {
  transform: translateY(0);
}

.about__description {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.about__description:hover {
  cursor: default;
}

.about__data {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  margin-bottom: 3rem;
}

.data__item {
  display: flex;
  column-gap: 0.75rem;
  cursor: default;
}

.data__title {
  font-size: var(--larger-font-size);
}

.data__title:hover {
  cursor: default;
}

.about__link {
  color: inherit;
  text-decoration: none;
}

.about__link:hover {
  text-decoration: underline;
  text-decoration-color: var(--text-color);
  cursor: pointer;
}

.about__bottom,
.about__social-links {
  display: flex;
  align-items: center;
}

.about__bottom {
  column-gap: 3rem;
}

.about__social-links {
  column-gap: 1.25rem;
}

.about__social-links::before {
  content: '';
  background-color: var(--text-color);
  width: 80px;
  height: 2px;
}

.about__social-link {
  color: var(--text-color);
  transition: all 0.3s ease;
}

.about__social-link:hover {
  color: var(--first-color);
}

/*=============== QUALIFICATION ===============*/
.qualification {
  background-color: var(--container-color);
}

.resume__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.resume__row {
  display: contents; /* 🔥 allows row height syncing */
}

.resume__group:hover {
  cursor: default;
}

.resume__heading {
  text-align: center;
  font-size: var(--h3-font-size);
  padding-bottom: 2rem;
}

.resume__heading:hover {
  cursor: default;
}

.resume__heading,
.resume__item {
  border-bottom: 2px solid var(--border-color);
}

.resume__row:not(:first-of-type) {
  position: relative;
}

.resume__item--left .resume__meta {
  margin-top: 0.25rem;
}

.resume__item--left .resume__description {
  margin-top: 1rem;
}


.resume__row:not(:first-of-type) .resume__item--left::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
}

.resume__item {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.resume__header {
  padding: 2rem 1.5rem;
}

.resume__subtitle {
  font-size: var(--larger-font-size);
}

.resume__subtitle:hover {
  cursor: default;
}

.resume-link {
  color: grey
}

.resume-link:hover {
  color: var(--first-color);
}

.resume__title-with-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.resume__logo {
  height: 56px;          /* logical size */
  width: auto;
  object-fit: contain;

  transform: scale(2.4); /* visual size */
  transform-origin: left center; /* 🔥 aligns with text baseline */
}

.resume__logo-wrap {
  position: relative;
  height: 0;          /* removes it from layout height */
  margin-left: 1.5rem;
}

.resume__icon {
  background-color: var(--container-color);
  border: 2px solid var(--border-color);
  font-size: var(--h2-font-size);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  line-height: 1.1em;
  text-align: center;
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  z-index: 10;
}

.resume__content {
  padding-inline: 1.5rem 3rem;
}

.resume__date-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.resume__title {
  font-size: var(--h3-font-size);
}

.resume__title,
.resume__subtitle {
  margin: 0;
}

.resume__title:hover {
  cursor: default;
}

.resume__date {
  color: var(--title-color);
  font-size: var(--large-font-size);
}

.resume__description {
  margin: 0;              /* 🔥 reset */
  line-height: 1.6;
  padding-bottom: 10px;
}

.resume__description:hover {
  cursor: default;
}

.resume__item--right .resume__meta {
  margin-top: -1rem;   /* Bangalore, India close to title */
}

.resume__item--right .resume__description {
  margin-top: 0.7rem;   /* Description just below meta */
}

.resume__item--right .resume__role {
  margin-top: 0.75rem;
}



.resume__item--ruckus  .resume__content .resume__meta {
  margin-top: -0.5rem;
}

.resume__item--ruckus  .resume__content .resume__description {
  margin-top: 0.75rem;
}

.resume__item--ruckus  .resume__content .resume__role {
  margin-top: 0.75rem;
}

.resume__meta {
  margin-top: 0.25rem;
  font-size: var(--large-font-size);
  color: var(--text-color);
}

.resume__role {
  margin-top: 1.25rem;
  font-size: var(--large-font-size);
  color: var(--text-color);
}


.resume__eca {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  margin-top: 0.5rem;
}

.resume__eca-label {
  font-weight: 500;
  white-space: nowrap;
}

.resume__eca-list {
  list-style: none;
  padding: 0;
  margin-bottom: 5%;
}

.resume__eca-list li {
  line-height: 1.6;
}


/*=============== PASSIONS ===============*/
.passions__container {
  grid-template-columns: repeat(3, 1fr);
}

.passions__item {
  background-color: var(--container-color);
  border: 1px solid var(--container-color);
  padding: 2.5rem 1.8rem;
  border-radius: 0.5rem;
  position: relative;
  transition: all 0.5s ease;
}

/* Passions hover */
.passions__item:hover {
  background-color: var(--body-color);
  border-color: var(--border-color);
  cursor: default;
}

.passions__icon {
  color: var(--first-color);
  font-size: 1.8rem;
}

.passions__title {
  cursor: default;
  font-size: var(--h3-font-size);
  margin-block: 1.5rem 1rem;
}

.passions__description {
  cursor: default;
  font-size: 1.25rem;
}

.passions__no {
  position: absolute;
  right: 2.5rem;
  top: 1rem;
  color: var(--title-color);
  font-size: 3.75rem;
  opacity: 0.07;
}

/*=============== SKILLS ===============*/
.skills {
  background-color: var(--container-color);
}

.skills__container {
  grid-template-columns: repeat(3, 1fr);
}

.skills__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--container-color);
  padding: 2.5rem 1.8rem;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  border-radius: 1.25rem;
  position: relative;
  transition: all 0.5s ease;
}

.skills__item:hover {
  background-color: var(--body-color);
  border-color: var(--border-color);
  cursor: default;
}

.skills__icon {
  color: var(--first-color);
  font-size: 6.8rem;
}

.skills__title {
  cursor: default;
  font-size: var(--h3-font-size);
  margin-block: 1.5rem 1rem;
  text-align: center;
  bottom: 5rem;
}

/*=============== PORTFOLIO ===============*/
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.work__container {
  grid-template-columns: repeat(3, 1fr);
}

.work__card {
  position: relative;
  cursor: pointer;
  align-items: center;
}

.work__toggle {
  display: none;
}

.work__img {
  vertical-align: middle;
  /*margin-left: 22%;*/
}

.work__img-label {
  display: block;
  position: relative;
  cursor: pointer;
}

.work__details {
  position: absolute;
  inset: 0;
  background-color: hsla(0, 0%, 0%, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.work__extra-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  background-color: hsla(0, 0%, 0%, 0.5);
  color: var(--white);
}

.work__toggle:checked ~ .work__extra-details {
  max-height: 800px;
}

.work__toggle:checked ~ .work__img-label .work__toggle-icon {
  transform: rotate(180deg);
}

.work__img,
.work__details {
  border-radius: 0.5rem;
}

.work__toggle-icon {
  position: absolute;
  bottom: 1rem;
  left: center;
  font-size: 1.5rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: pulse 1.5s infinite;
  animation-play-state: paused;
}

.work__title {
  font-size: 2rem;
}

.work__title,
.work__description {
  color: var(--white);
  transform: translateY(1.5rem);
  transition: all 0.3s ease-in-out;
}

.work__description {
  font-size: var(--large-font-size);
}

.work__extra-details {
  font-size: 1rem;
  backdrop-filter: blur(8px);
}

.name__extra-details {
  padding-bottom: 1rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  word-spacing: 0.7rem;
  
}

.description__extra-details {
  padding-bottom: 1rem;
}

.tools__extra-details {
  padding-bottom: 1rem;
}

.reference__extra-details-1 {
  font-size: var(--larger-font-size);
}

.reference__anchor {
  color: var(--first-color);
}

/* Work hover */
.work__card:hover .work__details {
  opacity: 1;
}

.work__card:hover :is(.work__title, .work__description) {
  transform: translateY(0);
}

.work__card:hover .work__toggle-icon {
  opacity: 1;
  animation-play-state: running;
}

.work__title:hover {
  cursor: pointer;
}

.work__extra-details p:hover {
  cursor: default;
}

.reference__anchor:hover {
  color: var(--first-color-dark);
}

/*=============== TESTIMONIALS ===============*/
.testimonials {
  background-color: var(--container-color);
}

.testimonials__container {
  grid-template-columns: repeat(1, 1fr);
}

.testimonials__description {
  margin-bottom: 1.75rem;
}

.testimonials__description::before {
  content: '\f10d';
  font-family: fontawesome;
  display: block;
  color: var(--first-color);
  font-size: var(--h3-font-size);
  margin-bottom: 0.25rem;
}

.testimonials__data {
  display: flex;
  align-items: center;
  column-gap: 1.25rem;
}

.testimonials__img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials__name {
    font-size: var(--larger-font-size);
}

.testimonials__link {
  color: var(--text-color);
  text-decoration: none;
  position: relative;
}

.testimonials__link::after {
  content: '';
  text-decoration: underline;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: grey;
  transition: all 0.3s ease;
}

.testimonials__link:hover::after {
  width: 100%;
}

.testimonials__identity {
  font-size: var(--large-font-size);
}

.testimonials__name:hover {
  cursor: default;
}

.testimonials__identity:hover {
  cursor: default;
}

.testimonials__description:hover {
  cursor: default;
}

/*========= CONTACT ==========*/
.contact {
  padding: 4rem;
}

.contact__container {
  grid-template-columns: 5fr 7fr;
  align-items: flex-start;
}

.contact__connect {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 5rem;
  line-height: 1.2;
}

.contact__title {
  font-size: var(--h1-font-size);
  font-weight: var(--weight-600);
  margin-bottom: 1.5rem;
}

.contact__subtitle {
  font-size: var(--larger-font-size);
  margin-bottom: 2rem;
}

.contact__social-links {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.contact__social-link {
  color: var(--text-color);
  transition: all 0.3s ease;
}

.form__group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.25rem;
}

.form__message {
  margin-top: 10px;
  font-size: 14px;
  color: green;
}

.form__message--error {
  color: red;
}

.input__control {
  color: var(--title-color);
  background-color: var(--container-color);
  border: 1px solid transparent;
  padding: 0.9rem 0.75rem;
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
}

.textarea {
  height: 140px;
  resize: none;
}

.contact__btn {
  float: right;
}

/* Contact Hover */
.contact__social-link:hover {
  color: var(--first-color);
}

.contact__title:hover {
  cursor: default;
}

.contact__subtitle:hover {
  cursor: default;
}

.contact__btn:hover {
  cursor: pointer;
}

/*=============== FOOTER ===============*/
.footer {
  /*background-color: var(--container-color);*/
  padding-block: 3rem;
}

.footer__container {
  text-align: center;
}

.footer__copyright:hover {
  cursor: default;
}

/*=============== BREAKPOINTS ===============*/
/* For large devices (laptop, palmtop)*/
@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  :root {
    --big-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --larger-font-size: 1rem;
    --large-font-size: 0.938rem;
  }

  .home__img {
    width: 340px;
  }

  .about__img-wrapper {
    height: 320px;
  }

  .resume__icon {
    line-height: 1.4em;
  }

  .passions__icon {
    font-size: 1.5rem;
  }

  .passions__no {
    font-size: 2.5rem;
  }

  .passions__title {
    margin-block: 1.25rem 0.75rem;
  }
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .home__container,
  .about__container,
  .resume__container,
  .testimonials__container,
  .contact__container {
    grid-template-columns: 1fr;
  }

  .home__content {
    order: 1;
  }

  .home__img-wrapper {
    margin-inline: auto;
  }

  .about__container,
  .contact__container {
    row-gap: 2rem;
  }

  .about__img:not(:first-child) {
    display: none;
  }

  .about__img:first-child {
    clip-path: initial;
    transform: initial;
    left: 50%;
    translate: -50%;
  }
  
  .work__img {
    margin-left: 5%;
  }
  

  .testimonials__container,
  .resume__container {
    row-gap: 2.5rem;
  }

  .contact__connect {
    margin-top: 0.75rem;
  }

  .passions__container,
  .skills__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For medium devices (tablets, ipads)*/
@media screen and (max-width: 768px) {
  .container {
    max-width: 560px;
  }

  .nav {
    height: calc(var(--header-height) + 1rem);
  }

  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    flex-direction: column;
    align-items: center;
    row-gap: 0.75rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .nav__toggle {
    display: block;
    color: var(--text-color);
    font-size: 1.3rem;
  }

  #nav-toggler {
    display: none;
  }

  #nav-toggler:checked ~ .nav__list {
    max-height: 500px;
    padding: 1.75rem;
  }

  .home__img {
    width: 300px;
  }

  .work__img {
    margin-left: 0;
  }
}

/* For small devices (mobile phones)*/
@media screen and (max-width: 576px) {
  .home {
    padding-top: 7rem;
  }

  .section {
    padding-block: 4rem;
  }

  .resume__icon {
    display: none;
  }

  .passions__container,
  .work__container,
  .form__group {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 450px) {
  .about__data {
    grid-template-columns: 1fr;
  }

  .about__bottom,
  .resume__date-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .about__bottom {
    row-gap: 1.25rem;
  }

  .about__bottom .btn {
    order: 1;
  }

  .resume__date-title {
    row-gap: 0.25rem;
  }

  .resume__header,
  .skills__title {
    padding-inline: 1rem;
  }

  .resume__content {
    padding-inline: 1rem 1.5rem;
  }

  .passions__item {
    padding: 2rem 1.5rem;
  }

  .skills__container {
    grid-template-columns: 1fr;
  }
}
