/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Grechen+Fuemen&family=Montserrat+Alternates:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --hue: 358;
}

/*========== Responsive typography ==========*/
/* @media screen and (min-width: 1168px) {
  :root {
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
} */

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body,
input,
textarea,
button {
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 0.938rem;
}

body {
  background-color: hsl(358, 100%, 1%);
  color: hsl(0, 0%, 98%);
  animation: blurUp 1.5s ease-out;
}

input,
button,
textarea {
  border: none;
  outline: none;
}

h1,
h2,
h3,
h4 {
  color: hsl(0, 0%, 98%);
  font-weight: 600;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1168px;
  margin-inline: 1.5rem;
}

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

.section {
  padding-block: 2rem 3rem;
}

.section__title {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 2rem;
}

.main {
  overflow: hidden;
  animation: blurUp 1.5s ease-out 0.5s; 
}


.main > * {
  animation: blurUp 1.5s ease-out;
}

/*=============== HOME ===============*/
.bg-img {
  position: relative;
  background-image: url(../img/BG.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 50px;
  color: white;
  animation: none; 
  background-attachment: fixed; 
}

.bg-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.home {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
}
.home-content {
  position: relative;
  max-width: 600px;
  z-index: 2;
  animation: blurUp 1.5s ease-out;
}

.home-content h1 {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.2;
}

.home-content h3 {
  font-size: 25px;
  font-weight: 700;
}

.home-content h3 span {
  color: #00abf0;
}

.home-content p {
  font-size: 14px;
  margin: 20px 0 40px;
}

.home-content .btn-box {
  display: flex;
  justify-content: space-between;
  width: 330px;
  height: 50px;
}

.btn-box a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 100%;
  background: #00abf0;
  border: 2px solid #00abf0;
  border-radius: 8px;
  font-size: 12px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  overflow: hidden;
  z-index: 1;
  transition: 0.5s;
}

.btn-box a:hover {
  color: #00abf0;
}

.btn-box a:nth-child(2) {
  background: transparent;
  color: #00abf0;
}

.btn-box a:nth-child(2):hover {
  color: #081b29;
}

.btn-box a:nth-child(2)::before {
  background: #00abf0;
}
.btn-box a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #081b29;
  z-index: -1;
  transition: 0.5s;
}

.btn-box a:hover::before {
  width: 100%;
}

.social-media {
  position: absolute;
  bottom: 40px;
  width: 170px;
  display: flex;
  justify-content: space-between;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #00abf0;
  border-radius: 50%;
  font-size: 20px;
  color: #00abf0;
  text-decoration: none;
}

/*=============== NAV ===============*/
.nav {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  margin-left: 2rem;
  right: 0;
  background-color: hsla(0, 0%, 98%, 0.1);
  width: 88%;
  scroll-margin-inline: auto;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1rem 2rem;
  border-radius: 4rem;
  z-index: 100;
}

.nav__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: transparent;
  color: hsl(0, 0%, 98%);
  font-size: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.6s;
}

/* Active link */
.active-link{
  background-color: #00abf0;
}

/*=============== ABOUT ===============*/
.about__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-content: center;
  align-items: start;
  max-width: 1168px;
  margin: 0 auto;
  padding-inline: 1.5rem;
  margin-bottom: 0;
}

.about__card {
  background-color: hsl(var(--hue), 2%, 15%);
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 468px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.about__photo {
  width: 320px;
  height: 220px;
  border-radius: 50px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.about__name {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(0, 0%, 98%);
  margin-bottom: 0.5rem;
}

.about__role span {
  font-size: 1.2rem;
  color: #00abf0;
  margin-bottom: 1rem;
}

.about__description {
  /* font-size: 1rem; 
  color: hsl(var(--hue), 2%, 66%);  */
  text-align: left;
  margin-right: 1rem;
}
.about__social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #00abf0;
  border-radius: 50%;
  font-size: 20px;
  color: #00abf0;
  text-decoration: none;
  margin: 30px 15px 30px 0;
}

.about__social a:hover {
  background: #00abf0;
  color: #081b29;
  box-shadow: 0 0 18px #00abf0;
}

.skills__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 87%;
}
.skills__card {
  margin-top: 2rem;
  width: 100%;
  background-color: hsl(var(--hue), 2%, 10%);
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.skills__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.skills__icon {
  width: 1.5rem;
  transition: transform 0.4s;
}

.skills__icon:hover {
  transform: translateY(-0.25rem);
}

.skills__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-block: 1.5rem;
}

.info__card {
  width: 100%;
  max-width: 1168px;
  margin: 0 auto;
  padding: 2rem;
  background-color: hsl(var(--hue), 2%, 10%);
  border-radius: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.info__description {
  font-size: 0.9rem;
  color: hsl(var(--hue), 2%, 66%);
}
.info-focus {
  margin-top: 1.5rem;
}

.focus-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: hsl(0, 0%, 98%);
  margin-bottom: 0.5rem;
}

.focus-description {
  font-size: 1rem;
  color: hsl(var(--hue), 2%, 66%);
  line-height: 1.6;
}
.info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: hsl(var(--hue), 80%, 49%);
  color: hsl(0, 0%, 98%);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.info-button i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.info-button:hover {
  background-color: hsl(var(--hue), 80%, 40%);
  transform: translateY(-3px);
}

/* social links */
.info-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid hsl(var(--hue), 80%, 49%);
  border-radius: 50%;
  font-size: 1.2rem;
  color: hsl(var(--hue), 80%, 49%);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.info-social-link:hover {
  background-color: hsl(var(--hue), 80%, 49%);
  color: hsl(0, 0%, 98%);
  transform: translateY(-3px);
}

/*=============== BUTTON ===============*/
.button {
  display: inline-flex;
  justify-content: center;
  background-color: hsl(var(--hue), 80%, 49%);
  color: hsl(0, 0%, 98%);
  width: 100%;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  border-radius: 4rem;
  transition: background-color 0.4s;
}

.button__black {
  background-color: hsl(0, 0%, 1%);
}

.button:hover {
  background-color: #00abf0;
}

/*=============== PROJECTS ===============*/
.project__title h2 {
  margin-top: 12rem;
}

.projects__card {
  background-color: hsl(var(--hue), 2%, 10%);
  padding: 1.5rem;
  border-radius: 2rem;
}

.projects__image {
  display: block;
  overflow: hidden;
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
}

.projects__img {
  transition: transform 0.4s;
}

.view-more-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: white;
  background-color: hsl(var(--hue), 2%, 10%);
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: underline;
  cursor: pointer;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: hsl(var(--hue), 2%, 10%);
  margin: 100px auto;
  padding: 20px;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.modal-content ul {
  padding-left: 20px;
}

.modal-content li {
  margin-bottom: 8px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  color: #dc3545;
  background: none;
  border: none;
  cursor: pointer;
}

.projects__name {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.projects__description {
  color: hsl(var(--hue), 2%, 66%);
  margin-bottom: 0.5rem;
}

.projects__data p{
  color: hsl(var(--hue), 2%, 66%);
}

.projects__skills {
  width: 1rem;
  transition: transform 0.4s;
}

.projects__skills:hover {
  transform: translateY(-0.25rem);
}

.projects__skills img {
  margin-bottom: 10px;
}

.projects__skills {
  width: max-content;
  height: 21px;
  margin-top: 10px;
  background-color: hsl(0, 0%, 1%);
  padding-inline: 0.19rem;
  display: flex;
  align-items: center;
  column-gap: 0.27rem;
  border-radius: 4rem;
  margin-bottom: 1.5rem;
}

.projects__button {
  color: hsl(0, 0%, 98%);
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  transition: color 0.4s;

}

.projects__button i {
  font-size: 1.25rem;
}

.projects__button span {
  font-weight: 500;
}

.projects__button:hover {
  color: hsl(var(--hue), 2%, 66%);
}

.projects__card:hover .projects__img {
  transform: scale(1.2);
}

/*=============== SERVICES ===============*/
/* .services__card {
  background-color: hsl(var(--hue), 2%, 10%);
  padding: 4rem 1.5rem 3.5rem 1.5rem;
  border-radius: 2rem;
}

.services__icon {
  display: inline-block;
  position: relative;
  margin-bottom: 2rem;
}

.services__icon i {
  font-size: 2.5rem;
  position: relative;
  z-index: 10;
}

.services__circle {
  width: 3rem;
  height: 3rem;
  background-color: #00abf0;
  border-radius: 50%;
  position: absolute;
  top: -1rem;
  right: -1rem;
  transition: transform 0.4s;
}

.services__name {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.services__description {
  color: hsl(var(--hue), 2%, 66%);
}

.services__card:hover .services__circle {
  transform: translate(0.25rem, -0.25rem);
} */

/*=============== EXPERIENCE ===============*/
.experinece__container {
  row-gap: 2rem;
}

.experience__card {
  display: grid;
  row-gap: 1rem;
}

.experience__company {
  font-size: 1.25rem;
}

.experience__data {
  background-color: hsl(var(--hue), 2%, 10%);
  padding: 1.5rem;
  border-radius: 1.5rem;
}

.experience__profession {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.experience__date {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.experience__description {
  color: hsl(var(--hue), 2%, 66%);
}

.experience__container {
  margin-top: 3rem;
  padding-top: 0;
}

/*=============== CONTACT ===============*/
.contact-section {
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-title {
  font-size: 2rem;
  color: hsl(0, 0%, 98%);
  margin-bottom: 1rem;
}

.contact-description {
  font-size: 1rem;
  color: hsl(var(--hue), 2%, 66%);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: hsl(203, 89%, 53%);
  color: hsl(0, 0%, 98%);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: hsl(203, 89%, 45%);
}

.contact-button i {
  font-size: 1.25rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.4rem;
  background-color: hsl(0, 0%, 20%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 30%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 40%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: hsla(0, 0%, 98%, 0.1);
  display: inline-flex;
  padding: 6px;
  color: hsl(0, 0%, 98%);
  font-size: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0.5rem;
  z-index: 10;
  transition: bottom 0.4s, transform 0.4s;
}

.scrollup:hover {
  transform: translateY(-0.5rem);
}
/* Show Scroll Up */
.show-scroll {
  bottom: 8rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .home-content h3 {
    font-size: 20px;
  }
  .home-content h1 {
    font-size: 28px;
  }

  .home-content p {
    line-height: 12px;
    margin-right: 7px;
    font-size: 12px;
  }

  .nav__link {
    font-size: 20px;
  }
  .nav__list li {
    position: relative;
    bottom: 12px;
    display: inline-flex;
    justify-content: center;
  }
  .nav {
    /* width: max-content; */
    max-height: 3rem;
    margin-left: 17px;
    padding: 1rem;
  }

  .nav__list {
    column-gap: 1rem;
  }

  .about-photo {
    height: 220px;
  }

  .container {
    margin-inline: 1rem;
  }

  .nav {
    padding: 1rem;
  }

  .contact-button {
    height: 55px;
  }

  .about__container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    margin: 0 auto;
    padding-inline: 1rem;
  }

  .about__card,
  .skills__card,
  .info__card {
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;
    background-color: hsl(var(--hue), 2%, 15%);
    border-radius: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
  }

  .about__photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50rem;
    margin-bottom: 1rem;
  }

  .about__name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .about__role span {
    font-size: 1rem;
    color: #00abf0;
    margin-bottom: 1rem;
  }

  .about__description {
    font-size: 0.875rem;
    color: hsl(var(--hue), 2%, 66%);
    line-height: 1.4;
    text-align: center;
    margin: 0 auto;
  }

  .skills__card {
    background-color: hsl(var(--hue), 2%, 10%);
  }

  .skills__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .skills__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .skills__icon {
    width: 2rem;
    height: 2rem;
  }

  .info__card {
    background-color: hsl(var(--hue), 2%, 10%);
    margin-top: 2rem;
  }

  .info-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .info-description {
    font-size: 0.875rem;
    color: hsl(var(--hue), 2%, 66%);
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }

  .info-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .info-social {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .info-social-link {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

@media screen and (min-width: 320px){
  .about__container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    margin: 0 auto;
    padding-inline: 1rem;
  }

  .about__card,
  .skills__card,
  .info__card {
    width: 100%;
    max-width: 400px;
    padding: 1.5rem;
    background-color: hsl(var(--hue), 2%, 15%);
    border-radius: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
  }

  .about__photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 50rem;
    margin-bottom: 1rem;
    object-fit: cover;
  }

  .about__name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .about__role span {
    font-size: 1.2rem;
    color: #00abf0;
    margin-bottom: 1rem;
  }

  .about__description {
    font-size: 1rem;
    color: hsl(var(--hue), 2%, 66%);
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
  }

  .skills__card {
    background-color: hsl(var(--hue), 2%, 10%);
  }

  .skills__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .skills__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .skills__icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .info__card {
    background-color: hsl(var(--hue), 2%, 10%);
    margin-top: 2rem;
  }

  .info-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .info-description {
    font-size: 1rem;
    color: hsl(var(--hue), 2%, 66%);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .info-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .info-social {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .info-social-link {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
/* For medium devices */
@media screen and (min-width: 540px) {
  .about__container {
    display: flex;
    flex-direction: column; 
    gap: 3rem; 
    align-items: center; 
    margin: 0 auto; 
    padding-inline: 1rem; 
    max-width: 540px;
  }
 
  .about__card,
  .skills__card,
  .info__card {
    width: 100%; 
    max-width: 540px; 
    padding: 1.5rem; 
    background-color: hsl(var(--hue), 2%, 15%); 
    border-radius: 1.5rem; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    text-align: center; 
    margin: 0 auto; 
  }

  .skills__card {
    background-color: hsl(var(--hue), 2%, 10%); 
    margin: 0 auto; 
    margin-top: 1rem;
    margin-left: 1rem;
  }

  .skills__title {
    font-size: 1.25rem; 
  }

  .skills__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 1rem; 
  }

  .skills__icon {
    width: 2rem; 
    height: 2rem;
  }

  .about__photo {
    width: 100%; 
    max-width: 350px; 
    height: auto; 
    border-radius: 50rem;
    margin-bottom: 1rem; 
    object-fit: cover; 
  }

  .about__name {
    font-size: 2.05rem; 
    margin-bottom: 0.5rem; 
  }

  .about__role span {
    font-size: 1.25rem; 
    color: #00abf0; 
    margin-bottom: 1rem; 
  }

  .about__description {
    font-size: 0.975rem; 
    color: hsl(var(--hue), 2%, 66%);
    line-height: 1.4; 
    text-align: center; 
    margin: 0 auto; 
  }

  .info__card {
    background-color: hsl(var(--hue), 2%, 10%);
    margin-top: 2rem;
  }

  .info-title {
    font-size: 1.25rem; 
    margin-bottom: 1rem; 
  }

  .info-description {
    font-size: 0.875rem;
    color: hsl(var(--hue), 2%, 66%);
    line-height: 1.4; 
    margin-bottom: 1.5rem; 
  }

  .info-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem; 
  }

  .info-social {
    gap: 0.5rem; 
    margin-top: 1rem; 
  }

  .info-social-link {
    width: 30px; 
    height: 30px;
    font-size: 1rem; 
  }
}


@media screen and (min-width: 768px) {
  .nav {
    width: max-content;
    height: max-content;
    padding: 2rem 1rem;
    right: 3rem;
    left: initial;
    top: 0;
    bottom: 0;
    margin-block: auto;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 1.25rem;
  }

  .projects__container {
    grid-template-columns: repeat(2, 350px);
  }

  .experience__container {
    grid-template-columns: initial;
    position: relative;
    left: 1rem;
  }

  .experience__card {
    grid-template-columns: 320px 380px;
    align-items: center;
  }

  /* .footer__container {
    justify-content: space-between;
  } */

  .footer__content {
    column-gap: 4.5rem;
  }

  .show-scroll {
    bottom: 1rem;
    right: 3rem;
  }

  .about__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: start;
    max-width: 1168px;
    margin: 0 auto;
    padding-inline: 1.5rem;
  }

  .about__card {
    max-width: 468px;
    margin: 0 auto;
    padding: 2rem;
    background-color: hsl(var(--hue), 2%, 15%);
    border-radius: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .about__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }

  .skills__card {
    max-width: 468px;
    margin: -40px auto;
    padding: 2rem;
    background-color: hsl(var(--hue), 2%, 10%);
    border-radius: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: 380px;
    margin-top: -54.5rem;
    margin-bottom: -3rem;
  }


  .skills__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .info__card {
    width: 100%;
    max-width: 1168px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: hsl(var(--hue), 2%, 10%);
    border-radius: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
  }

  .info-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: hsl(0, 0%, 98%);
    margin-bottom: 1rem;
  }

  .info-description {
    font-size: 1rem;
    color: hsl(var(--hue), 2%, 66%);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: hsl(var(--hue), 80%, 49%);
    color: hsl(0, 0%, 98%);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .info-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
  }

  .info-button:hover {
    background-color: hsl(var(--hue), 80%, 40%);
    transform: translateY(-3px);
  }

  .info-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; 
    margin-top: 1.5rem;
  }

  .info-social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid hsl(var(--hue), 80%, 49%);
    border-radius: 50%;
    font-size: 1.2rem;
    color: hsl(var(--hue), 80%, 49%);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }

  .info-social-link:hover {
    background-color: hsl(var(--hue), 80%, 49%);
    color: hsl(0, 0%, 98%);
    transform: translateY(-3px); 
  }
}
/* For large devices */
@media screen and (min-width: 992px) {
  .nav {
    width: max-content;
    height: max-content;
    padding: 2rem 1rem;
    right: 3rem;
    left: initial;
    top: 0;
    bottom: 0;
    margin-block: auto;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 1.25rem;
  }

  .projects__container {
    grid-template-columns: repeat(2, 368px);
    gap: 2rem;
  }

  .projects__card {
    padding-bottom: 2rem;
  }

  .services__container {
    grid-template-columns: repeat(2, 368px);
    gap: 2rem;
  }

  .services__card {
    padding-block: 6rem 5rem;
  }

  .services__icon i {
    font-size: 3rem;
  }

  .services__circle {
    width: 3rem;
    height: 3rem;
    right: -1.5rem;
    top: -1.5rem;
  }

  .experience__container {
    row-gap: 4rem;
  }

  .experience__card {
    grid-template-columns: 350px 510px;
    column-gap: 8rem;
  }

  .experience__company {
    font-size: 1.5rem;
  }

  .experience__data {
    padding: 2rem;
    border-radius: 2rem;
  }

  .contact__container {
    grid-template-columns: 620px;
  }

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

  .contact__area {
    height: 15rem;
  }

  .contact__button {
    width: max-content;
    justify-self: center;
  }

  .footer {
    padding-top: 3rem;
    margin-left: 10rem;
  }

  .footer__links {
    column-gap: 2rem;
  }

  .footer__copy {
    margin-top: 64px;
    margin-bottom: -70px;
  }

  .scrollup {
    bottom: -2.5rem;
    right: 4rem;
  }

  .about__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem; 
    justify-content: center; 
    align-items: start; 
    max-width: 1168px;
    margin: 0 auto; 
    padding-inline: 2rem; 
  }

  .about__card {
    max-width: 368px; 
    margin: 0 auto; 
    padding: 2rem; 
    background-color: hsl(var(--hue), 2%, 15%); 
    border-radius: 2rem; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
  }
  .about__card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); 
  }
  .skills__card {
    max-width: 401px;
        margin: 13px auto;
        padding: 2rem;
        background-color: hsl(var(--hue), 2%, 10%);
        border-radius: 2rem;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin-left: 26rem;
        /* margin-bottom: 2rem; */
        position: relative;
        bottom: 41rem;
        right: -1rem;
    
  }
  .skills__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); 
  }
  .info__card {
    width: 100%;
    max-width: 1168px; 
    margin: 2rem auto; 
    padding: 2rem; 
    background-color: hsl(var(--hue), 2%, 10%); 
    border-radius: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
  }
  .info-title {
    font-size: 1.5rem;
    font-weight: bold; 
    color: hsl(0, 0%, 98%); 
    margin-bottom: 1rem; 
  }
  .info-description {
    font-size: 1rem; 
    color: hsl(var(--hue), 2%, 66%); 
    line-height: 1.6;
    margin-bottom: 1.5rem; 
  }
  .info-button {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0.75rem 1.5rem;
    background-color: hsl(var(--hue), 80%, 49%); 
    color: hsl(0, 0%, 98%); 
    border-radius: 0.5rem; 
    text-decoration: none; 
    font-weight: 500; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
  }
  .info-button i {
    margin-right: 0.5rem; 
    font-size: 1.2rem; 
  }
  .info-button:hover {
    background-color: hsl(var(--hue), 80%, 40%); 
    transform: translateY(-3px); 
  }
  .info-social {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 1rem;
    margin-top: 1.5rem; 
  }
  .info-social-link {
    display: inline-flex;
    justify-content: center; 
    align-items: center; 
    width: 40px; 
    height: 40px; 
    background: transparent;
    border: 2px solid hsl(var(--hue), 80%, 49%); 
    border-radius: 50%; 
    font-size: 1.2rem; 
    color: hsl(var(--hue), 80%, 49%);
    text-decoration: none; 
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; 
  }
  .info-social-link:hover {
    background-color: hsl(var(--hue), 80%, 49%); 
    color: hsl(0, 0%, 98%);
    transform: translateY(-3px); 
  }
  .info-social-link i {
    font-size: 1.2rem; 
  }
  .info-social-link:hover i {
    color: hsl(0, 0%, 98%); 
  }
  .info-social-link:hover {
    background-color: hsl(var(--hue), 80%, 49%); 
    color: hsl(0, 0%, 98%); 
    transform: translateY(-3px); 
  }
}
@media screen and (min-width: 1200px) {
  .nav {
    width: max-content;
    height: max-content;
    padding: 2rem 1rem;
    right: 3rem;
    left: initial;
    top: 0;
    bottom: 0;
    margin-block: auto;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 1.25rem;
  }

  .container {
    margin-inline: auto;
  }
  .skills__card{
    margin-left: 12rem;
  }

  .section {
    padding: 3rem 4rem;
  }

  .section__title {
    font-size: 1.5rem;
    margin-bottom: 4rem;
  }

  .projects__container {
    grid-template-columns: repeat(3, 368px);
    gap: 2rem;
  }

  .projects__card {
    padding-bottom: 2rem;
  }

  .services__container {
    grid-template-columns: repeat(3, 368px);
    gap: 2rem;
  }

  .services__card {
    padding-block: 6rem 5rem;
  }

  .services__icon i {
    font-size: 3.5rem;
  }

  .services__circle {
    width: 4rem;
    height: 4rem;
    right: -1.5rem;
    top: -1.5rem;
  }

  .experience__container {
    row-gap: 4rem;
  }

  .experience__card {
    grid-template-columns: 350px 510px;
    column-gap: 8rem;
    margin-left: 6rem;
  }

  .experience__company {
    font-size: 1.5rem;
  }

  .experience__data {
    padding: 2rem;
    border-radius: 2rem;
    
  }

  .contact__container {
    grid-template-columns: 620px;
  }

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

  .contact__area {
    height: 15rem;
  }

  .contact__button {
    width: max-content;
    justify-self: center;
  }

  .footer {
    padding-top: 3rem;
    margin-left: 10rem;
  }

  .footer__links {
    column-gap: 2rem;
  }

  .footer__copy {
    margin-top: 64px;
    margin-bottom: -70px;
  }
  .scrollup {
    bottom: -2.5rem;
    right: 4rem;
  }

  .about__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem; 
    justify-content: center;
    align-items: start; 
    max-width: 1168px;
    margin: 0 auto; 
    padding-inline: 2rem; 
  }

  .about__card {
    max-width: 600px; 
    margin: 0 auto; 
    padding: 2rem; 
    background-color: hsl(var(--hue), 2%, 15%); 
    border-radius: 2rem; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .about__card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); 
  }

  .skills__card {
    max-width: 600px; 
    margin: 0 auto; 
    padding: 2rem; 
    background-color: hsl(var(--hue), 2%, 10%); 
    border-radius: 2rem; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    left: 20rem;
  }
 

  .skills__card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); 
  }

  .info__card {
    width: 100%; 
    max-width: 1168px; 
    margin: 2rem auto; 
    padding: 2rem;
    background-color: hsl(var(--hue), 2%, 10%); 
    border-radius: 2rem; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    text-align: center; 
    position: relative;
    bottom: 20rem;
  }

  .info-title {
    font-size: 1.5rem;
    font-weight: bold; 
    color: hsl(0, 0%, 98%); 
    margin-bottom: 1rem; 
  }

  .info-description {
    font-size: 1rem; 
    color: hsl(var(--hue), 2%, 66%);
    line-height: 1.6; 
    margin-bottom: 1.5rem; 
  }

  .info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem; 
    background-color: hsl(var(--hue), 80%, 49%);
    color: hsl(0, 0%, 98%);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .info-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
  }

  .info-button:hover {
    background-color: hsl(var(--hue), 80%, 40%);
    transform: translateY(-3px);
  }

  .info-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; 
    margin-top: 1.5rem; 
  }

  .info-social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid hsl(var(--hue), 80%, 49%);
    border-radius: 50%;
    font-size: 1.2rem;
    color: hsl(var(--hue), 80%, 49%);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }

  .info-social-link:hover {
    background-color: hsl(var(--hue), 80%, 49%);
    color: hsl(0, 0%, 98%);
    transform: translateY(-3px); 
  }
}

@media screen and (min-width: 1500px) {
  .nav {
    width: max-content;
    height: max-content;
    padding: 2rem 1rem;
    right: 3rem;
    left: initial;
    top: 0;
    bottom: 0;
    margin-block: auto;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 1.25rem;
  }

  .footer {
    padding-block: 3rem;
  }

  .scrollup {
    bottom: 1.5rem;
    right: 3.5rem;
  }
}

.about__title {
  display: flex;
  justify-content: center;
}

/* .about__container {
  margin-bottom: 2rem;
} */

/* Add animation for blur effect */
@keyframes blurUp {
  0% {
    filter: blur(20px);
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    filter: blur(0);
    transform: translateY(0);
    opacity: 1;
  }
}

