@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  scroll-padding-top: 8rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /* 
      Change favorite color
      Default: hsl(162, 100%, 40%)
      Orange: hsl(14, 100%, 65%) - Blue: hsl(210, 100%, 70%)
      Pink: hsl(356, 100%, 75%) - Purple: hsl(250, 100%, 75%)

      For more colors visit: https://colors.dopely.top/color-pedia
      -> Choose any color 
      -> click on tab (Color Conversion)
      -> Copy the color mode (HSL)
  */

  --hue: 210;
  --first-color: rgba(49, 56, 69, 0.9);
  --first-color-alt: hsl(var(--hue), 56%, 35%);
  --title-color: rgb(160, 54, 86, 0.6);
  --text-color: hsl(228, 8%, 65%);
  --body-color: rgb(30, 134, 169, 0.7);
  --body-color-transparent: hsl(195, 70%, 39%, 0.1);
  --container-color: rgb(33, 35, 44, 0.6);
  --container-color-lght: rgb(33, 35, 44, 0.4);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1152px) {
  :root {
    --biggest-font-size: 4rem;
    --bigger-font-size: 2rem;
    --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 ===============*/
 .backgrnd_drk {
      background-image: url("/storefrontsColorizedTextureBlueNeondrk.jpg");
      padding-top: 2rem;
      
   }

   .backgrnd {
      background-image: url("/storefrontsColorizedTextureBlueNeon.jpg");
      padding-top: 2rem;
   }

   .footer {
      background-image: url("/storefrontsColorizedTextureBlueNeondrk.jpg");
   }

   .home__image {
      filter: drop-shadow(5px 3px 10px rgba(223, 23, 23, 0.5));
      transform: scaleX(-1);
      opacity: .6;
   }

   .image-frame {
      clip-path: polygon(50% 0%, 100% 23%, 100% 70%, 50% 95%, 50% 95%, 0 69%, 0 23%);
      filter: drop-shadow(5px 5px 10px rgba(223, 23, 23, 0.5));
      justify-self: center;
      display: inline-block;
      /* Wraps tightly around the image*/
   /* padding: 40px; */
   /* Space between image and border */
      border-radius: 1rem;
      background-color: rgba(49, 56, 69, 0.5);
      background-image: linear-gradient(to bottom, rgb(160, 54, 86, .2), rgba(0, 0, 0, 0.5));
      box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
      /* Adds a 3D depth effect */
   }
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

strong,
b {
  display: inline;
}

input,
textarea,
button,
body,
a {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  /* background-color: rgb(from var(--first-color) r g b / 3.0); */
  color: var(--text-color);
}

input,
textarea,
button {
  outline: none;
}

.container {
  display: flex; /* Enables flexbox layout */
  flex-wrap: wrap;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

#maskBlob {
  background-color: black;
}

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

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

.section {
  padding-block: 2rem 2rem;
}
/* .section__subtitle {
 padding-top: 2rem;
} */
.section__title {
  text-align: center;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: "roboto-serif", Georgia, "Times New Roman", serif;
  font-size: var(--h1-font-size);
  /* margin-bottom: 1.5rem; */
}

.section__subtitle {
  font-size: var(--small-font-size);
  color: var(--body-color);
  text-align: center;
}

.section__subtitle span {
  color: var(--text-color-alt);
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  background-color: var(--container-color-lght);
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav__logo span {
  color: var(--body-color);
}

.nav__toggle,
.nav__close {
  display: flex;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: hsla(0, 0%, 10%, 0.3);
    width: 75%;
    height: 100%;
    padding: 4.5rem 0 0 3rem;
    backdrop-filter: blur(24px);
    --webkit-backdrop-filter: blur(24px); /* For safari */
    transition: right 0.4s;
  }
}
.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color.4s;
}

.nav__link:hover {
  color: var(--text-color);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
/* Show menu */
.show-menu {
  right: 0;
}

/* Add blur to header */
.blur-header {
  background-color: transparent;
}

.blur-header::after {
  content: "";
  position: absolute;
  width: 1000%;
  height: 100%;
  background-color: hsla(0, 0%, 10%, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /* for safari */
  top: 0;
  left: 0;
  z-index: -1;
}

/* Active link */
.active-link {
  color: var(--text-color);
}

/*=============== HOME ===============*/
/* .home { */
/* background-color: var(--container-color); */
/* } */

.home__container {
  padding-top: 2rem;
  row-gap: 2.5rem;
}

.home__content {
  display: grid;
  row-gap: 2rem;
}

.home__data {
  text-align: center;
}

.home__subtitle,
.home__education {
  font-size: var(--bigger-font-size);
}

.home__subtitle span,
.home__title {
  color: rgb(from var(--title-color) r g b / 3);
}

.home__title {
  font-family: "roboto-serif", Georgia, "Times New Roman", serif;
  font-size: var(--biggest-font-size);
  font-weight: var(--font-semi-bold);
}

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

.home__social {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
}

.home__social-link {
  display: flex;
  background-color: var(--body-color);
  padding: 0.5rem;
  color: var(--text-color);
  font-size: 1.5rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 0.4s;
}

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

/* #imageBlob {
  width: 100%;
  height: auto; 
} */
.home__image,
.about__blob {
  justify-self: center;
}

.home__blob,
.about__blob,
.image__blob {
  width: 320px;
  /* fill: var(--container-color); */
  filter: drop-shadow(0 12px 12px hsl(331 42.4% 23.1%));
  /* background-image: linear-gradient(to bottom, rgba(49, 56, 69, 0.2), var(  --title-color)); */
}

.home__img {
  width: 1000px;
  transform: translateX(-120px);
}

#maskBlob {
  width: 1000px;
  transform: translateX(-120px);
}

/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background-color: rgb(from var(--first-color) r g b / 3);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: box-shadow 0.4s;
  color: rgb(from var(--title-color) r g b / 1);
}

.button:hover {
  box-shadow: 0 8px 24px var(--title-color);
  color: var(--body-color);
}

/*=============== ABOUT ===============*/
.about__section {
  margin-left: 0;
  /* margin-top: 1rem; */
  /* margin-bottom: 5rem; */
}
.about__container {
  row-gap: 2.5rem;
}

.about__data {
  margin-top: -2rem;
  text-align: center;
}

.about__description,
.section__subtitle,
.section__title {
  width: 100%;
  margin-bottom: 0.5rem;
  background-color: rgb(33, 35, 44, 0.2);
}

.about__image {
  justify-self: center;
}

.image__blob {
  width: 400px;
}

.about__blob path {
  stroke: var(--first-color);
  fill: rgb(from var(--container-color) r g b / 1);
}
.image__frame {
  border: 2px solid red;

  border: 2px solid red;
}

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

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

.skills {
  background-color: var(--container-color);
}

.skills__container {
  padding-bottom: 2rem;
  row-gap: 3.5rem;
}

.skills__data {
  text-align: center;
}

.skills__description {
  margin-bottom: 2rem;
}

.skills__content,
.skills__group {
  display: grid;
}
.skills__content {
  grid-template-columns: repeat(2, max-content);
  column-gap: 4rem;
  justify-content: center;
  align-items: baseline;
}

.skills__group {
  row-gap: 1rem;
  list-style: decimal-leading-zero;
}
.skills__item {
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.skills__item::marker {
  color: var(--first-color);
}
/*=============== SERVICES ===============*/
.services__container {
  display: flex;
  justify-content: center;

  /* row-gap: 2rem; */
  /* padding-block: 1rem; */
  background-image: url("storefrontsColorizedTextureBlueNeon.jpg");
}

.services__card {
  text-align: center;
  background-color: var(--container-color);
  padding: 3rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 2px solid var(--container-color);
  transition: border 0.4s;
}

.skills__group {
  transition: border 0.4s;
}

.section__subtitle {
  margin-top: 1rem;
}

.services__card:hover {
  box-shadow: 0 8px 24px var(--title-color);
  background-image: linear-gradient(
    to bottom,
    rgba(49, 56, 69, 0.3),
    rgba(0, 0, 0, 0.5)
  );
}

.services__icon {
  display: block;
  font-size: 4rem;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}

.services__title {
  font-size: var(--h2-font-size);
  /* margin-bottom: 1.5rem;  */
}

.services__card:hover {
  border: 2px solid var(--first-color);
  margin-bottom: 1.5rem;
}

/*=============== PROJECTS ===============*/

.projects__container {
  row-gap: 2rem;
  justify-content: center;
  padding-block: 1rem;
  /* background-color: var(--container-color); */
  border-radius: 1rem;
  /* width: 100vw; */
  /* box-shadow: 0 8px 24px var(--title-color);
  color: var(--body-color) */
}

/* .projects__container:hover {
   box-shadow: 0 8px 24px var(--title-color);
  background-image: linear-gradient(to bottom, rgba(49, 56, 69, 0.3), rgba(0,0,0,0.5));
} */

.projects__card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin-left: 1rem;
  margin-right: 1rem;
  border: 2px solid var(--title-color);
  box-shadow: 0 0 15px var(--title-color);
}

.projects__card:hover {
  box-shadow: 0 8px 24px var(--title-color);
  background-image: linear-gradient(
    to bottom,
    rgba(49, 56, 69, 0.3),
    rgba(0, 0, 0, 0.5)
  );
}
.projects__img {
  width: 100%;
  height: 100%;
}

.projects__modal {
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      180deg,
      hsla(0, 0%, 0%, 0) 0%,
      hsla(var(--hue), 56%, 35%)
    )
    120%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* for safari */
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: bottom 0.4s;
}

.projects__subtitle,
.projects__button {
  color: var(--first-color);
  font-size: var(--small-font-size);
}

.projects__subtitle-light,
.projects__button-light {
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.projects__subtitle,
.projects__subtitle-light {
  display: block;
  margin-bottom: 0.25rem;
}

.projects__title {
  font-size: var(--h2-font-size);
  margin-bottom: 0.03rem;
  color: var(--first-color);
}

.projects__title-light {
  font-size: var(--h2-font-size);
  /* margin-bottom: .75rem;  */
  color: var(--text-color);
}

.projects__button {
  display: flex;
  align-items: center;
  /* column-gap: .5rem;  */
  font-weight: var(--font-medium);
}

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

.projects__card:hover .projects__modal {
  bottom: 0;
}
/*=============== CONTACT ===============*/
.contact__container {
  padding-top: 1rem;
}

.contact__form,
.contact__group {
  display: grid;
  row-gap: 1rem;
}

.contact__form {
  position: relative;
}

.contact__input {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  background-color: var(--container-color);
  color: var(--text-color);
}

.contact__input:hover {
  box-shadow: 0 8px 24px var(--title-color);
  /* color: var(--body-color) */
}

.contact__input::placeholder {
  color: var(--text-color);
}

.contact__form textarea {
  height: 11rem;
  resize: none;
  margin-bottom: 2rem;
}

.contact__button {
  justify-self: top;
  cursor: pointer;
}

.contact__message {
  position: absolute;
  left: 0;
  bottom: 4.5rem;
  font-size: var(--small-font-size);
  color: var(--title-color);
}

#contact-message {
  color: var(hsl(228, 8%, 65%));
}
/*=============== FOOTER ===============*/
.footer {
  background-color: var(__container-color);
  padding-block: 3.5rem 2rem;
}

.footer__container {
  row-gap: 2rem;
  text-align: center;
}

.footer__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.25rem;
}

footer__title span {
  color: var(--text-color);
}

.footer__education {
  font-size: var(--normal-font-size);
}

.footer__social {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
}

.footer__social-link {
  display: flex;
  background-color: var(--first-color-alt);
  padding: 0.5rem;
  color: var(--text-color);
  font-size: 1.5rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: t transform 0.4s;
}

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

.footer__copy {
  font-size: var(--smaller-font-size);
  margin-top: 2rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: hsl(228, 12%, 25%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(228, 8%, 35%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(228, 8%, 45%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  padding: 6px;
  display: inline-flex;
  border-radius: 0.25rem;
  color: var(--first-color);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px hsla(228, 15%, 8%, 0.4);
  z-index: var(--x-tooltip);
  transition:
    bottom 0.4s,
    transform 0.4s;
}

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

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-inline: 1rem;
  }

  .skills__content {
    grid-template-columns: max-content;
    row-gap: 1rem;
  }
  .services__card {
    padding-block: 1.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .home__container,
  .about__container,
  .skills__container,
  .services__container,
  .projects__container,
  .services__container,
  .projects__container,
  .contact__container {
    grid-template-columns: 360px;
    justify-content: center;
  }
}

#contactBtn {
  margin-bottom: 1rem;
}

/* Define the movement */
/* @keyframes slide-in-horizontal { */
/* Start 150% of the viewport width to the right of its original position */
/* 0% {
    opacity: 0;
    transform: translateX(10rem);
  }

  80% {
    transform: translateX(-1rem);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
} */

/* Apply to the HTML element */
.image__blob {
  animation: slide-in-horizontal 2s ease-in-out;
}

@media screen and (max-width: 576px) {
  .about__container {
    padding-bottom: 2rem;
  }
  .about__description {
    width: 100%;
  }
  .skills {
    padding-top: -2rem;
  }
  .section__subtitle {
    margin-top: 1rem;
    background-image: url;
  }
  .home__image {
    width: "150";
    height: "auto";
  }
}
@media screen and (min-width: 768px) {
  .nav__menu {
    width: 55%;
  }

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

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

  @media screen and (max-width: 1150px) {
   .skills__container  {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 5rem;
    grid-template-columns: 250px 400px;
    margin-top: -4rem;
    }
  }
 
  .home__data,
  .about__data,
  .skills__data,
  :is(.about__data, .skills__data) :is(.section__subtitle, .section__title) {
    text-align: initial;
  }
  .home__social {
    justify-content: initial;
  }

  .home__blob,
  .about__blob {
    width: 420px;
  }
  .about__data {
    order: 1;
  }
  .services__container,
  .projects__container {
    grid-template-columns: repeat(2, 352px);
  }
}
/* For large devices */
@media screen and (min-width: 1023px) {
  .section {
    padding-block: 7rem 2rem;
  }
  .section__subtitle {
    font-size: var(--normal-font-size);
    margin-top: 1rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__close,
  .nav__toggle {
    display: none;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__menu {
    width: initial;
  }

  .blur-header::after {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px); /* for safari */
  }
}

@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }
  .home__container {
    grid-template-columns: 455px 550px;
    column-gap: 7rem;
    padding-block: 2rem 3rem;
  }
  .home_blob {
    width: 550px;
  }
  .home__content {
    row-gap: 4.5rem;
  }
  .home__description {
    margin-block: 1rem 2.5rem;
  }
  .home__social {
    column-gap: 1.5rem;
  }
  .about__container {
    /* display: grid;  */
    grid-template-columns: 550px 460px;
    column-gap: 4.5rem;
    padding-bottom: 1rem;
  }

  .about__description {
    margin-bottom: 1rem;
    /* display: flex;
    width: 100%; */
  }
  .skills__container {
    grid-template-columns: 340px 425px;
    column-gap: 10rem;
    padding-bottom: 4rem;
    margin-top: -4rem;
  }

  .skills__content {
    column-gap: 8rem;
  }
  .skills__group {
    row-gap: 1.5rem;
  }
  .skills__item {
    font-size: var(--h3-font-size);
  }
  .skills__section {
    margin-top: -50rem;
  }
  .services__container {
    grid-template-columns: repeat(3, 352px);
    padding-block: 2.5rem 4rem;
  }
  .services__card {
    padding: 3.5rem 2rem;
  }
  .projects__container {
    grid-template-columns: repeat(3, 350px);
    row-gap: 3rem;
    padding-block: 2.5rem 4rem;
  }
  .projects__button,
  .projects__button-light {
    font-size: var(--normal-font-size);
  }

  .contact__container {
    grid-template-columns: 680px;
    padding-block: 2.5rem 2rem;
  }
  .contact__form {
    row-gap: 1.5rem;
  }
  .contact__group {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }
  .contact__input {
    padding: 1.5rem;
  }
  .contact__form textarea {
    height: 20rem;
  }
  .footer {
    padding-block: 4.5rem 4rem;
  }
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: initial;
  }
  .footer__title {
    font-size: var(--bigger-font-size);
  }
  .footer__social {
    column-gap: 1.5 rem;
  }
  .footer__copy {
    margin: 0;
    justify-self: flex-end;
  }
  .scrollup {
    right: 3rem;
  }
}

#violinIcon {
  filter: invert(-60%);
  opacity: 0.8;
  width: 0;
}
.ri-arrow-up-line {
  color: white;
}
 #message__send {
      display: flex;
      justify-self: center;
   }

   @media screen and (max-width: 576px) {
      #message__send {
         margin-bottom: .5rem;
      }
   }

   strong
   b {
      display: inline;
   }