@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600&display=swap");
/* Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Body */
body {
  width: 100%;
  min-height: 100vh;
  color: #fff;
  font-size: 62.5%;
  background-color: #222;
  font-family: "Raleway", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
}

/* Header */
.header {
  width: 100%;
  padding-top: 2rem;
  padding-inline: 10rem;
  height: 4rem;
  /* position: fixed; */

  /* font-size: 2rem; */
}
.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navigation .my_name {
  font-size: 2.5rem;
  font-weight: 400;
  background: -webkit-linear-gradient(left, #ee1e1e, #3e49e7, #f3f739);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sticky {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding-inline: 10rem;
  z-index: 3000;
  background-color: #222222cc;
  padding-top: 1.3rem;
}
.hamburger {
  display: none;
  cursor: pointer;
}
.bar {
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}

.links {
  display: flex;
  list-style: none;
  gap: 2rem;
  z-index: 1000;
}

.links a {
  transition: all 0.2s ease-in;
  font-size: 1.3rem;
}

.links a:hover {
  font-size: 1.5rem;
}

/* Hero */
.hero {
  padding-inline: 10rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7rem;
  width: 100%;
  height: calc(100vh - 4rem);
}
.hero__left {
  width: 40%;
  position: relative;
}
/* Animate my photo */
.hero__left::before,
.hero__left::after {
  content: "";
  z-index: -1;
  position: absolute;
  top: -1.1rem;
  left: -1.1rem;
  width: calc(100% + 2.2rem);
  height: calc(100% + 2.2rem);
  background: -webkit-linear-gradient(
    45deg,
    #ffff00,
    #00ff00,
    #0099ff,
    #001aff,
    #a200ff,
    #ff0055,
    #ff0000,
    #ff0055,
    #ff0000,
    #ffff00,
    #00ff00,
    #0099ff,
    #001aff,
    #a200ff
  );
  background: linear-gradient(
    45deg,
    #ffff00,
    #00ff00,
    #0099ff,
    #001aff,
    #a200ff,
    #ff0055,
    #ff0000,
    #ff0055,
    #ff0000,
    #ffff00,
    #00ff00,
    #0099ff,
    #001aff,
    #a200ff
  );
  background-size: 300%;
  border-radius: 50%;
  animation: border 12s linear infinite;
}
.hero__left:after {
  -webkit-filter: blur(5rem);
  filter: blur(5rem);
}
@keyframes border {
  0%,
  100% {
    background-position: 0 0;
  }
  50% {
    background-position: 300%;
  }
}
.hero__left img {
  width: 100%;
  border-radius: 50%;
}

.hero__right {
  width: 60%;
  margin-left: 4rem;
}
.hero__right h1 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.hero__right h3 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  font-weight: 600;
}
.hero__right .description {
  font-size: 1.3rem;
  margin-bottom: 5rem;
}

.hero__right .description .first {
  border-bottom: 3px solid #df1d1d;
  padding-bottom: 0.4rem;
}
.hero__right .description .second {
  border-bottom: 3px solid #2626e4;
  padding-bottom: 0.4rem;
}
.btn {
  font-size: 1.3rem;
  width: fit-content;
  background-color: #f1eeee;
  color: #333;
  padding: 1rem 1.2rem;
  /* margin-top: 6rem; */
  border-radius: 1rem;
  transition: all 0.3s ease-in-out;
}
.logo-tailwind {
  width: 1.5rem;
}
.btn:hover {
  background-color: #706c6c;
  color: #fff;
}

.hero .btn__scroll {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 1rem;
  padding: 0.5rem 0.7rem;
  font-weight: 600;
}
.hero .btn__scroll span {
  font-size: 1.3rem;
  color: red;
}

.hero .socials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero .socials .social {
  font-size: 1.8rem;
  transition: all 0.3s ease-in-out;
  /* color: #00ff00; */
  /* background-color: blue; */
}
.hero .socials .social:hover {
  color: #094fd1;
}

/* Primary Settings */
.heading-primary {
  font-size: 2rem;
  text-align: center;
  position: relative;
}
.heading-primary::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  height: 3rem;
  border-bottom: 2px solid #fff;
}
.paragraph {
  font-size: 1.3rem;
  text-align: center;
  margin-block: 1rem;
  padding-bottom: 3rem;
}

/* About Me Section */
.about {
  padding-inline: 10rem;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 4rem;
}
.about__me {
  display: flex;
  gap: 5rem;
  align-items: center;
}
.about__meLeft {
  width: 60%;
}
.about__meDescription {
  font-size: 1.3rem;
}

.about__meRow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block: 2rem;
  width: 100%;
}
.about__meRow div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  width: 33.3%;
  border-radius: 1rem;
  border: 1px solid #fff;
  text-align: center;
}
.about__meRow div:hover {
  box-shadow: #fdfdfd7c 0px 3px 8px;
}
.about__meRow div .about__icon {
  font-size: 1.7rem;
}
.about__meRow div h3 {
  font-size: 1.2rem;
}
.about__meRow div p {
  font-size: 1rem;
}

.about__meRight {
  width: 40%;
  /* height: 4rem; */
  /* border-radius: 1rem; */
  position: relative;
  overflow: hidden;
  box-shadow: 0rem 1.2rem 2rem #fffefe52;

  /* background: yellowgreen;
  height: 20rem; */
}
.about__meRight img {
  width: 100%;
  aspect-ratio: 1;
  /* border-radius: 1rem; */

  /* height: 100%; */
}
/* Animate the second image */
.about__meRight span:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.4rem;
  z-index: 1;

  background: linear-gradient(to right, transparent, #ff0055);
  animation: animate_one 2s linear infinite;
}
@keyframes animate_one {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.about__meRight span:nth-child(3) {
  position: absolute;
  top: 0;
  right: 0;
  width: 0.4rem;
  height: 100%;
  /* z-index: 1; */

  background: linear-gradient(to bottom, transparent, #00ff00);
  animation: animate_two 2s linear infinite;
  animation-delay: 1s;
}
@keyframes animate_two {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
.about__meRight span:nth-child(4) {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 0.4rem;
  /* z-index: 1; */

  background: linear-gradient(to left, transparent, #001aff);
  animation: animate_three 2s linear infinite;
}
@keyframes animate_three {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.about__meRight span:nth-child(5) {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0.4rem;
  height: 100%;
  /* z-index: 1; */

  background: linear-gradient(to top, transparent, #a200ff);
  animation: animate_four 2s linear infinite;
  animation-delay: 1s;
}
@keyframes animate_four {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Skills  */
.skills {
  width: 100%;
  height: auto;
  padding-inline: 10rem;
  margin-bottom: 9rem;
}
.skills__box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border: 1px solid #fff;
  box-shadow: 0 1rem 2rem rgba(245, 244, 244, 0.3);
  width: 60%;
  margin: 4rem auto;
  padding: 2rem;
  /* height: 20rem; */
}
.skills__box div {
  border: 1px solid #fff;
  padding: 0.7rem;
}

.portfolio {
  width: 100%;
  height: auto;
  padding-inline: 10rem;
  margin-bottom: 8rem;
}
.portfolio__container {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  width: 100%;
}
.portfolio__box {
  /* width: 33.3%; */
  height: auto;
  display: flex;
  flex-direction: column;
  /* justify-content: flex-end; */
  box-shadow: 0 1rem 2rem rgba(245, 244, 244, 0.3);
  transition: all 0.2s ease-in;
  /* margin: auto; */
}
.portfolio__box:hover {
  box-shadow: 0 3px 8px rgba(245, 244, 244, 0.3);
}
.portfolio__box .portfolio__top {
  width: 100%;
}
.portfolio__box .portfolio__top img {
  width: 100%;
}
.portfolio__box .portfolio__bottom {
  padding: 1rem;
}

.portfolio__title {
  margin-block: 0.5rem;
}
.portfolio__description {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.portfolio__link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn__visit {
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease-out;
}
.btn__visit:hover {
  border-bottom: 1px solid #fff;
  width: fit-content;
  padding-bottom: 0.5rem;
}
section {
  padding-top: 5rem;

}
/* Blog Section */
.blog__container {
  width: 100%;
  padding-inline: 10rem;

}
.blogs {
  margin-bottom: 4rem;
  display: grid;
  /* grid-template: 2rem; */
  grid-template-columns: repeat(3, 1fr);
  grid-auto-columns: auto;
  justify-items: center;
  gap: 2rem;
}
.blog {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* border: 1px solid #fff; */
  box-shadow: 0 3px 8px rgba(245, 244, 244, 0.3);
}
.blog__top {
  width: 100%;
  height: 15rem;
}
.blog__top img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}
.blog__bottom {
  padding: 1.5rem;
  width: 100%;
  font-weight: 600;
  display: flex;
  gap: 1rem;
  flex-direction: column;
}
.blog__bottom h2 {
  font-size: 1.5rem;
  /* margin-bottom: 1rem; */
}
.blog__description {
  font-size: 1rem;
}
.hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  /* margin-block: 1rem; */
}
.hashtags div {
  padding: 8px;
  background: #c2c1c1;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 10px;
}
.hashtags div p {
  font-size: 0.8rem;
}

.reactions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  height: 100%;
  /* margin-top: 1rem; */
}

.reactions div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #c2c1c1;
  border-radius: 10px;
  padding: 8px;
  color: #222;
}
.reactions div p {
  font-size: 0.8rem;
}

.blog__icon {
  font-size: 1.4rem;
  color: #222;
  fill: #222;
  /* background-color: black; */
}

/* Contact Me Section */
.contact {
  width: 100%;
  height: auto;
  padding-inline: 10rem;
}
.contact__container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  margin-block: 5rem;
}

.contact__option {
  display: flex;
  flex-direction: column;
  width: 40%;
  border-radius: 2rem;
  padding: 2rem;
}
.contact__option:first-child {
  border: 1px solid #ec0909a2;
  box-shadow: #f706063d 0px 15px 25px, #0300000d 0px 5px 10px;
}
.contact__option:nth-child(2) {
  border: 1px solid #11ec09a2;
  box-shadow: #22f7063d 0px 15px 25px, #0003000d 0px 5px 10px;
}
.contact__option:nth-child(3) {
  border: 1px solid #0945eca2;
  box-shadow: #172ce93d 0px 15px 25px, #0001030d 0px 5px 10px;
}
.contact__icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.contact__option h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.contact__option p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.contact__option a {
}
/* <!-- HTML !-->
<button class="button-85" role="button">Button 85</button> */

/* CSS */
.button-85 {
  align-self: flex-end;
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-85:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  border-radius: 10px;
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}
.footer {
  background-color: #333232;
  padding-inline: 10rem;
  padding-block: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3rem;
}
.footer__icon {
  font-size: 1.7rem;
  transition: all.3s ease-in-out;
}
.footer__icon:hover {
  color: #2ee9e9ee;
  font-size: 1.8rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .links {
    position: fixed;
    left: -100%;
    top: 4rem;
    gap: 1.2rem;
    font-weight: 600;
    flex-direction: column;
    width: 70%;
    text-align: center;
    transform: 0.3s;
    transition: all 0.3s ease-in;
    background: #222222cc;
    padding: 2rem;
  }

  .links.active {
    left: 30%;
  }
}

/* Media Queries for Header */
@media only screen and (max-width: 1200px) {
  .sticky {
    padding-inline: 7rem;
  }
  .header {
    padding-inline: 5rem;
  }
}
@media only screen and (max-width: 900px) {
  .sticky {
    padding-inline: 5rem;
  }
  .header {
    padding-top: 0;
    padding-block: 1.7rem;
    height: auto;
    padding-inline: 5rem;
    background-color: #222222cc;
  }
  .links {
    gap: 0.9rem;
  }

  .links a {
    font-size: 1.2rem;
  }
}
@media only screen and (max-width: 600px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5000;
  }
  .links a {
    font-size: 1.6rem;
  }

  .header {
    padding-inline: 2rem;
  }
  .sticky {
    padding-inline: 2rem;
  }
}

/* ---------------------------- */
/* Media Queries for Hero */
@media only screen and (max-width: 1200px) {
  .hero {
    padding-inline: 5rem;
    gap: 4rem;
  }
  .hero__right h1 {
    font-size: 2.5rem;
  }
  .hero__right h3 {
    font-size: 1.5rem;
  }
  .hero__right .description {
    font-size: 1.2rem;
  }
}
@media only screen and (max-width: 900px) {
  .hero {
    flex-direction: column;
    height: auto;
  }
  .hero__left {
    width: 50%;
    margin-top: 6rem;
  }
  .hero__right {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }
  .hero__right h1 {
    margin-top: 2rem;
  }
  .btn {
    font-size: 1.1rem;
  }
  .hero .socials {
    flex-direction: row;
    /* margin-bottom: 5rem; */
  }
  .btn__scroll {
    display: none;
  }
}
@media only screen and (max-width: 600px) {
  .hero {
    padding-inline: 2rem;
    margin-top: 4rem;
    height: fit-content;
  }
  .hero__left::before,
  .hero__left::after {
    z-index: -1;
    top: -0.8rem;
    left: -0.8rem;
    width: calc(100% + 1.5rem);
    height: calc(100% + 1.2rem);
  }
  .hero__left:after {
    /* -webkit-filter: blur(5rem); */
    backdrop-filter: blur(5rem);
  }
  .hero__left {
    width: 70%;
  }
  .hero__left img {
    overflow: hidden;
  }
  .hero__right h1 {
    font-size: 2.2rem;
  }
  .hero__right .description .first {
    border-bottom: 1px solid #df1d1d;
    padding-bottom: 1px;
  }
  .hero__right .description .second {
    border-bottom: 1px solid #2626e4;
    padding-bottom: 1px;
  }
}

/* ---------------------------- */
/* Media Queries for About */
@media only screen and (max-width: 1200px) {
  .about {
    padding-inline: 5rem;
  }
}
@media only screen and (max-width: 900px) {
  .about {
    margin-block: 5rem;
    height: auto;
  }
  .about__me {
    flex-direction: column-reverse;
  }
  .about__meLeft {
    width: 100%;
  }
  .about__meRight {
    width: 60%;
    margin-bottom: 5rem;
  }
}
@media only screen and (max-width: 600px) {
  .about {
    margin-block: 3rem;

    padding-inline: 3rem;
  }
  .about__me {
    gap: 3rem;
  }
  .about__meRow {
    flex-direction: column;
  }
  .about__meRow div {
    width: 100%;
  }
  .about__meRight {
    width: 90%;
    margin-bottom: 2rem;
  }
  .about__meDescription {
    margin-top: 2rem;
    font-size: 1.2rem;
  }
}

/* ---------------------------- */
/* Media Queries for Skills*/
@media only screen and (max-width: 1200px) {
  .skills {
    padding-inline: 5rem;
  }
}
@media only screen and (max-width: 900px) {
  .skills__box {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 600px) {
  .skills {
    margin-bottom: 5rem;
    padding-inline: 3rem;
  }
  .skills__box {
    grid-template-columns: 1fr;
    margin: 2rem auto;
  }
}

/* ---------------------------- */
/* Media Queries for Portfolio*/
@media only screen and (max-width: 1200px) {
  .portfolio {
    padding-inline: 5rem;
  }
}
@media only screen and (max-width: 900px) {
  .portfolio__container {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}
@media only screen and (max-width: 600px) {
  .portfolio {
    padding-inline: 3rem;
  }
  .portfolio__container {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }
}

/* ---------------------------- */
/* Media Queries for Blogs*/
@media only screen and (max-width: 1200px) {
  .blog__container {

    padding-inline: 5rem;
  }
  .blogs {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 900px) {
  .blogs {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 600px) {

  .blog__container {
    padding-inline: 3rem;
  }
}
/* ---------------------------- */
/* Media Queries for Contact*/
@media only screen and (max-width: 1200px) {
  .contact {
    padding-inline: 5rem;
  }
}
@media only screen and (max-width: 900px) {
  .contact__container {
    display: grid;
    grid-template-columns: 1fr;
    margin-block-start: 1rem;
  }
  .contact__option {
    width: 100%;
    align-self: center;
  }
}
@media only screen and (max-width: 600px) {
  .contact__option a {
    font-size: 1.1rem;
  }
}

/* ---------------------------- */
/* Media Queries for Footer*/
@media only screen and (max-width: 1200px) {
  .footer {
    padding-inline: 5rem;
  }
}
@media only screen and (max-width: 900px) {
  .footer {
    text-align: center;
  }
}
@media only screen and (max-width: 600px) {
}
