@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Aclonica&family=Aladin&family=Bebas+Neue&family=Fredoka+One&family=Kaushan+Script&family=Monoton&family=Pacifico&family=Pattaya&family=Roboto:ital,wght@1,900&family=Suez+One&display=swap");

/* font-family: 'Aladin', cursive;
font-family: 'Bebas Neue', cursive;
font-family: 'Fredoka One', cursive;
font-family: 'Kaushan Script', cursive;
font-family: 'Monoton', cursive;
font-family: 'Pacifico', cursive;
font-family: 'Pattaya', sans-serif;
font-family: 'Roboto', sans-serif;
font-family: 'Suez One', serif;*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

:root {
  --bgcolor: #000000;
  --bgcolor2: #fff;
  --seccolor: #5a5c5b;
  --maincolor: #dd0735;
  --second: #09000e;
  --third: #380202;
  --body-bg: #181616;
  --box-bg: #221f1f;
  --text-color: #ffffff;
}

::-webkit-scrollbar {
  width: 0.8em;
}

::-webkit-scrollbar-track {
  border-radius: 5px;
  background: #ffffffd2;
  box-shadow: inset 0 0 10px rgba(253, 253, 253, 0.87);
}

::-webkit-scrollbar-thumb {
  width: 0.3em;
  border-radius: 20px;
  background-color: var(--maincolor);
}

section {
  padding: 50px 80px 0px 80px;
}

.hamburger-menu {
  --size: 30px;
  height: var(--size);
  width: var(--size);
  cursor: pointer;
  z-index: 101;
  position: relative;
  display: none;
  align-items: center;
}

.hamburger {
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: var(--size);
  height: 3px;
  border-radius: 0.5rem;
  background-color: var(--text-color);
  transition: 0.4s;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -10px;
}

.hamburger::after {
  bottom: -10px;

}

.hamburger-menu.active .hamburger {
  background-color: transparent;
}

.hamburger-menu.active .hamburger::before {
  transform-origin: top left;
  transform: rotate(45deg);
  left: 6px;
  background-color: var(--maincolor);

}

.hamburger-menu.active .hamburger::after {
  transform-origin: bottom left;
  transform: rotate(-45deg);
  left: 6px;

}

/*
===================
   header section
===================
*/
header {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 5px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.5s ease;
}

header.sticky {
  background: var(--bgcolor);
  padding: 5px 40px;
  box-shadow: 0px 0px 5px #ffffff62;
}

header .brand {
  color: var(--maincolor);
  font-size: 3em;
  font-family: "Fredoka One", cursive;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
}

header .navigation {
  position: relative;
}

header .navigation a {
  color: var(--text-color);
  font-size: 1.3em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 30px;
}

header .navigation a::before {
  content: "";
  width: 0px;
  height: 0px;
  background: var(--maincolor);
  position: absolute;
  bottom: -3px;
  transition: 0.8s;
}

header .navigation a:hover::before {
  content: "";
  width: 40px;
  height: 4px;
}

header .navigation a.active {
  color: var(--maincolor) !important;
  border-bottom: 3px solid var(--text-color);
}

body {
  min-height: 110vh;
  background: var(--bgcolor);
}

.title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.title h2 {
  position: relative;
  color: var(--maincolor);
  font-size: 3.5em;
  width: 90%;
  text-align: center;
  font-weight: 300;
  margin-bottom: 60px;
  border-bottom: 3px solid var(--text-color);
}

.title h2 span {
  text-align: center;
  font-family: "Aladin";
}

/*
===================
   main section
===================
*/
.main {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(images/bg1.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.main .content {
  max-width: 800px;
}

.main .image img {
  width: 20vw;
  margin-left: 0.5em;
  border-radius: 10px;
  animation: float 3s linear infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0rem);
  }

  50% {
    transform: translateY(-2.5rem);
  }
}

.main .content h2 {
  color: var(--text-color);
  font-size: 2em;
  font-weight: 400;
}

.main .content strong {
  font-size: 1.8em;
  letter-spacing: 5px;
  font-weight: 600;
  line-height: 1em;
}

b {
  color: var(--maincolor);
  font-family: "Fredoka One", cursive;
}

.main .content h2 span {
  font-size: 2.8em;
  font-family: "Fredoka One", cursive;
}

.animated-text {
  position: relative;
  height: 70px;
  overflow: hidden;
}

.animated-text h3 {
  color: var(--maincolor);
  font-size: 2.4em;
  font-weight: 100;
  font-family: "Fredoka One", cursive;
  line-height: 70px;
  letter-spacing: 1px;
}

.animated-text h3:nth-child(1) {
  animation: text-move 10s infinite;
}

@keyframes text-move {
  0% {
    margin-top: 0;
  }

  25% {
    margin-top: -70px;
  }

  50% {
    margin-top: -140px;
  }

  75% {
    margin-top: -70px;
  }

  100% {
    margin-top: 0;
  }
}

.btn {
  color: var(--text-color);
  background: var(--maincolor);
  font-size: 1em;
  font-weight: 600;
  display: inline-block;
  padding: 10px 20px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-top: 30px;
  transition: 0.5s ease;
}

.btn:hover {
  transform: scale(1.1);
}

.media-icons {
  margin-top: 50px;
}

.media-icons a {
  color: var(--text-color);
  font-size: 2.2em;
  margin-right: 40px;
}

.media-icons a i:hover {
  transform: scale(1.3);
  color: var(--maincolor);
  transition: 0.5s ease;
}

/*
===================
   about section
===================
*/
.about .content {
  position: relative;
  width: 100%;
  color: var(--text-color);
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.about .content .col-left {
  position: relative;
  width: auto;
  margin-right: 3rem;
}

.about .content .col-right {
  position: relative;
  width: 100%;
}

.about .content .about-info {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about .content .about-info h4 {
  padding-right: .5rem;
}

.about .content .about-info .about-info-left div,
.about .content .about-info .about-info-right div {
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #666;
}

.about .content .col-left .img-card {
  background-image: url("./images/new-profile.jpg");
  width: 380px;
  height: 380px;
  background-size: cover;
  -webkit-background-position: center;
  background-position: center center;
  margin: 20px;
  box-shadow: 0 5px 20px 5px #dd07357e;
  animation: profileblob 5s ease-in-out infinite;
  transition: all 1s ease-in-out;
}

@keyframes profileblob {

  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 80% 40% / 50% 60% 30% 60%;
  }
}




.about .content .col-right .content-title {
  font-size: 2em;
  font-weight: 800;
  margin-bottom: 20px;
}

.about .content .col-right .paragraph-text {
  font-size: 1em;
}

.timeline {
  background: #17171B;
  margin-bottom: 2rem !important;
  margin: 0 auto;
  padding-bottom: 10px;
  border-radius: 10px;
  width: 60%;
  position: relative;
  padding: 3rem 5rem;
}

.timeline .timeline_item {
  background: #17171B;
  border-left: 2px solid var(--maincolor);
  position: relative;
  padding: 0rem 0rem 1rem 2rem;
  padding-bottom: 1rem;
}

.timeline .timeline_item::after {
  width: 12px;
  height: 12px;
  border-radius: 50px;
  display: block;
  top: 1.5rem;
  position: absolute;
  left: -9px;
  content: "";
  border: 2px solid var(--maincolor);
  background: var(--maincolor);
}

.timeline .timeline_item h1 {
  color: var(--maincolor);
  font-size: 1.5rem;
  padding-bottom: .5rem;
  padding-top: 15px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
}

.timeline .timeline_item p {
  font-size: 16px;
  color: var(--text-color);
  background: #17171B;
  padding: .3rem 0rem;
  font-family: "Oswald", sans-serif;
}

.timeline .timeline_item h3 {
  color: var(--text-color);
  font-weight: 400;
  padding: .3rem 0rem;
}

.timeline a {
  color: var(--maincolor);
  transition: all .5s ease-out;
}

.timeline a:hover {
  color: #fff;
}

.timeline .timeline_item .year {
  font-size: 17px;
  color: aqua;
  padding-bottom: 0rem;
  background: #17171B;
  letter-spacing: 0.03em;
}

/* =========================
skills
=========================== */
.skills {
  background: var(--bgcolor);
}

.skills .content {
  position: relative;
  width: 100%;
  color: var(--text-color);
  margin-top: 20px;
}

.skills .content .skill {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;

}

.skills .skill .skill-sec {
  width: 400px;
  padding: 1rem 3rem;
  border-radius: 10px;
  background: #fcfcfc18;
}

.skills .skill .skill-sec:hover {
  /* border: 4px solid var(--maincolor); */
  box-shadow: 0px 0px 40px var(--maincolor);
}

.skills .skill .skill-sec .skill-list {
  display: flex;
  flex-wrap: wrap;
  padding-top: 3rem;
  gap: 2rem;
  justify-content: center;
}

.skills .skill .skill-sec .skill-list img {
  width: 4rem;
  height: auto;
  transition: all .5s ease-in-out;
}

.skills .skill .skill-sec .skill-list img:hover {
  transform: scale(1.2);
}

.skills .skill .skill-sec h1 {
  text-align: center;
  font-family: 'Kaushan Script', cursive;
  letter-spacing: 3px;
  font-size: 1.5rem;
}

.skills .skill .skill-sec h1 i {
  margin-right: .5rem;
}

/*=======================
       services
   =======================*/
section #services {
  padding-bottom: 10px;
}


.services .content,
.contact .content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  margin-top: 20px;
}

.my-card {
  position: relative;
  width: 300px;
  cursor: pointer;
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin: 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.my-card::before {
  content: '';
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.my-card .my-card-text {
  position: relative;
  width: 80px;
  height: 80px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 40px;
  font-weight: 700;
  transition: 1s;
}

.my-card .my-card-text {
  background: #f3094f;
  box-shadow: 0 0 0 #f3094f;
}

.my-card:hover .my-card-text {
  box-shadow: 0 0 0 400px #f3094f;
}

.my-card .info-text {
  position: relative;
  transition: .5s;
}

.my-card:hover .info-text {
  color: #fff;
}

.my-card:hover .my-card-text {
  color: #000;
  background: #fff;
}

.info-text h3 {
  margin: 20px 0;
}




/*
===================
   my work section
===================
*/
.work {
  background: var(--bgcolor);
  min-height: 100vh;
}

.work .controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0em;
  list-style: none;
}

.work .controls .buttons {
  margin: 1rem 1.2rem;
  padding: 0 0.4em;
  font-family: "Fredoka One", cursive;
  color: var(--text-color);
  letter-spacing: 2px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: 0.5s ease;
}

.work .controls .buttons.button-active,
.work .controls .buttons:hover {
  color: var(--maincolor);
  transition: 0.5s ease;
  border-color: var(--text-color);
  border-bottom: 2px solid var(--text-color);
}

.work .image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  overflow: hidden;
  padding-bottom: 2rem;
}

.work .image-container .image {
  width: 320px;
  position: relative;
  margin: 2rem 1rem;
  display: block;
  align-items: flex-end;
  height: 13rem;
}

.work .image-container .image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 13rem;
  z-index: 2;
  transition: all 0.5s ease-in-out;
  background: #05000044;
  opacity: 0;
}

.work .image-container .image:hover::before {
  opacity: 1;
}

.work .image-container .image .inner-info {
  color: #fff;
  height: 13rem;
  padding: 2rem 1rem;
  position: relative;
  z-index: 3;
  border-radius: 10px;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  bottom: 13.5rem;
  text-align: center;
}

.work .image-container .image:hover .inner-info {
  opacity: 1;
  box-shadow: 0px 0px 10px var(--maincolor);
}

.inner-info p {
  padding-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.inner-info h1 {
  text-shadow: 0px 0px 5px var(--maincolor);
}

.inner-info a {
  border: 2px solid var(--maincolor);
  padding: 0.1rem 1rem;
  box-shadow: 0px 0px 10px var(--maincolor);
  text-decoration: none;
  transition: all 0.5s ease-in-out;
  color: #fff;
}

.inner-info a:hover {
  display: inline-block;
  transform: scale(1.1) !important;
  background: var(--maincolor);
}

.work .image-container .image img {
  width: 100%;
  position: relative;
  object-fit: cover;
  transition: 0.8s ease;
  height: 13rem;
  border-radius: 10px;
}

.work .image-container .image:hover img {
  opacity: 10%;
}

.content .card h3 {
  color: #fff;
  font-weight: 400;
  text-align: center;
  margin: 0.5em;
}

/*
===================
   contact section
===================
*/
.contact .content {
  flex-direction: column;
}

.contact .content .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
}

.contact-form {
  background: var(--text-color);
  max-width: 600px;
  margin-top: 50px;
  padding: 20px 50px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
}

.contact-form h3 {
  color: var(--maincolor);
  font-size: 1.8em;
  font-family: "Fredoka One", cursive;
  font-weight: 100;
  text-align: center;
  margin-bottom: 15px;
}

.contact-form .input-box {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.contact-form .input-box input,
.contact-form .input-box textarea {
  color: var(--bgcolor);
  width: 100%;
  padding: 10px;
  font-size: 1em;
  font-weight: 400;
  outline: none;
  border: 1px solid #111;
  border-radius: 5px;
  resize: none;
}

textarea {
  height: 10rem;
}

.contact-form .input-box .send-btn {
  color: #fff;
  background: var(--maincolor);
  display: inline-block;
  padding: .5rem;
  border-radius: .5rem;
  font-size: 1.1em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: 0.5s ease;
}

.contact-form .input-box .send-btn:hover {
  background: var(--bgcolor);
  transition: 0.5s ease;
}

/*
===================
   scrollbutton 
===================
*/
.scrollToTop-btn {
  z-index: 999;
  position: fixed;
  color: var(--text-color);
  right: 0;
  bottom: 15px;
  text-align: center;
  line-height: 45px;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  transition: all 0.5s ease;
}

.scrollToTop-btn i {
  font-size: 1.8rem;
  background: var(--maincolor);
  padding: 0.6rem 1rem;
}

.scrollToTop-btn:hover {
  bottom: 20px;
}

.scrollToTop-btn.active {
  right: 20px;
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: all 1.5s ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/*
===================
   footer section
===================
*/
.footer {
  background: var(--bgcolor);
  color: #fff;
  padding: 2em;
}

.footer i {
  color: var(--maincolor);
}

.footer .policy {
  text-align: center;
}

.footer .policy :nth-child(2) {
  color: #5a5c5b;
  border-top: 1px solid #5a5c5b;
  margin-top: 1em;
  border-bottom: 1px solid #5a5c5b;
}

.devby p,
.terms {
  font-size: 1.5em !important;
}

.terms {
  font-size: 1rem !important;
  justify-content: right;
  color: #5a5c5b;
  margin: 1em 4em -1em 0em;
  text-align: right;
}

.footer .footer-image {
  width: 13em;
  border-radius: 20%;
  object-fit: cover;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 1.6em;
}

.footer .footer-image img {
  width: 100%;
}

.footer .quick-links {
  margin: 0 auto;
  text-align: center;
}

.footer .quick-links a {
  text-decoration: none;
  color: #fff;
}

.footer .quick-links i {
  margin: 0.7em 0.5em;
  font-size: 2em;
  transition: 0.8s ease;
}

.footer .quick-links i:hover {
  color: var(--text-color);
  transform: scale(1.3);
}

/*
===================
   media queries
===================
*/
@media (max-width: 1040px) {
  .hamburger-menu {
    display: grid;
  }

  .scrollToTop-btn i {
    font-size: 4rem;
    padding: 0.8rem 1.7rem;
  }

  header {
    padding: 12px 20px;
  }

  header.sticky {
    padding: 5px 20px;
  }

  header .navigation {
    display: none;
  }

  header .navigation.active {
    z-index: 888;
    position: fixed;
    background: var(--bgcolor);
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    transition: 0.3s ease;
  }

  header .navigation a {
    color: var(--text-color);
    font-size: 3rem;
    margin: 39px;
    padding: 0 20px;
    border-radius: 20px;
  }

  header .navigation a:hover {
    color: var(--maincolor);
  }

  header .brand {
    font-size: 5rem;
  }

  .menu-btn {
    position: absolute;
    background: url(images/menu.png) no-repeat;
    background-size: 60px;
    background-position: center;
    width: 70px;
    height: 50px;
    right: 0;
    margin: 0 20px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .menu-btn.active {
    z-index: 999;
    background: url(images/close.png) no-repeat;
    background-size: 50px;
    background-position: center;
    transition: 0.3s ease;
  }

  section {
    padding: 90px 50px;
  }

  .main .content h2 span {
    font-size: 10rem;
  }

  .main .content h2 {
    font-size: 4.3em;
  }

  .animated-text h3 {
    font-size: 3.5em;
  }

  .title h2 {
    font-size: 5rem;
    border-bottom: 3px solid var(--text-color);
  }

  .about .content {
    margin-top: 1rem;
    flex-direction: column;
  }

  .about .content .column {
    position: relative;
    width: 100%;
  }

  .about-info {
    margin-top: 2rem;
    justify-content: space-around !important;
  }



  .about .content .col-left .img-card {
    margin: 0 auto;
    width: 280px;
    height: 280px;
  }

  .about .content .col-right {
    margin-top: 40px;
  }

  .contact-form {
    padding: 35px 40px;
  }

  .btn {
    font-size: 1rem;
    /* padding: 5px 15px; */
  }

  .media-icons a {
    color: var(--text-color);
    font-size: 5em;
    margin-right: 120px;
  }

  .work .image-container .image {
    margin: 1rem;
  }

  .work .controls {
    margin: 1rem 0rem .5rem 0rem;
  }

  .timeline {
    width: 70%;
  }

  .skills .skill .skill-sec {
    width: 360px;
    padding: 1rem;
  }

  .skills .content .skill {
    padding: 0rem 2rem;
  }
}

@media (max-width: 780px) {
  .scrollToTop-btn i {
    font-size: 3rem;
    padding: 0.6rem 1.4rem;
  }

  section {
    padding: 80px 40px !important;
  }

  .title h2 {
    margin-bottom: .5rem;
    font-size: 4rem;
  }

  .main .content {
    max-width: 650px;
    padding: 1rem;
  }

  .main .content h2 span {
    font-size: 8rem;
  }

  .main .content h2 {
    font-size: 1.7em;
    line-height: 3em;
  }

  header .navigation.active {
    width: 60%;
  }

  header .brand {
    font-size: 4rem;
  }

  header .navigation a {
    font-size: 2rem;
  }

  .menu-btn {
    background-size: 50px;
    width: 60px;
    height: 40px;
  }

  .menu-btn.active {
    background-size: 40px;
  }

  .animated-text h3 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.5em;

  }

  .main .image img {
    width: 8em;
    margin-left: 0.5em;
    border-radius: 10px;
  }

  .media-icons a {
    color: var(--text-color);
    font-size: 4rem;
    margin-right: 50px;
  }

  .media-icons {
    margin-top: 40px;
  }

  .about .content {
    position: relative;
    width: 100% !important;
    height: auto !important;
    margin-top: 3rem;
  }


  .work .image-container .image {
    width: 300px;

  }

  .work .work-items a li {
    font-size: 1.3em;
  }

  .btn {
    font-size: 1rem;
    padding: 8px 25px;
  }

  .timeline {
    width: 90%;
    margin-top: 2rem !important;
  }

  .skills .skill .skill-sec {
    width: 290px;
  }

  .skills .skill .skill-sec .skill-list {
    padding: 2rem 0rem 0rem 0rem;
  }

  .skills .skill .skill-sec .skill-list img {
    width: 2.5rem;
  }

  .skills .skill .skill-sec h1 {
    font-size: 1.2rem;
  }
}

@media (max-width: 650px) {
  .contact-form {
    padding: 10px 15px;
  }

  section {
    padding: 20px 10px !important;
  }

  .title h2 {
    font-size: 3rem;
  }

  .main .content h2 span {
    font-size: 5rem;
  }

  .policy p,
  .terms {
    font-size: .8em !important;
  }

  header {
    padding: 5px 20px;
  }

  header.sticky {
    padding: 3px 20px;
  }

  .menu-btn.active {
    background-size: 30px;
  }

  .menu-btn {
    background-size: 40px;
    width: 50px;
    height: 30px;
  }

  header .navigation a {
    font-size: 1.5rem;
    margin: 28px;
  }

  header .brand {
    font-size: 3rem;
  }

  .scrollToTop-btn {
    right: 15px !important;
    bottom: 10px !important;
  }

  .scrollToTop-btn i {
    font-size: 2rem;
    padding: 0.5rem 1rem;
  }

  .main .content {
    max-width: 450px;
    padding: 1rem;
  }

  .animated-text h3 {
    font-size: 2rem;
  }

  .main .content h2 {
    font-size: 1.5rem;
    line-height: 4rem;
  }

  .media-icons a {
    color: var(--text-color);
    font-size: 3rem;
    margin-right: 50px;
  }

  .work .controls .buttons {
    margin: 0.5rem 0.5rem;
    font-size: 1rem;
  }

  .btn {
    font-size: .8rem;
    padding: 5px 15px;
  }

  .about-info {
    justify-content: flex-start !important;
  }

  .timeline {
    width: 90%;
    padding: 2rem 2rem;
  }

  .skills .content .skill {
    padding: 0rem 2rem;
  }

  .skills .skill .skill-sec {
    width: 100%;
  }

  .skills .skill .skill-sec .skill-list img {
    width: 3rem;
  }

}

@media (max-width: 450px) {
  .title h2 {
    font-size: 2.5rem;
    border-bottom: 3px solid var(--text-color);
  }

  .about .content {
    margin-top: 0rem;
  }

  .scrollToTop-btn {
    right: 10px !important;
    bottom: 3px !important;
  }

  .scrollToTop-btn i {
    font-size: 1.5rem;
    padding: 0.4rem 0.8rem;
  }

  header .navigation.active {
    width: 70%;
  }

  .menu-btn {
    margin: 0 11px;
    background-size: 31px;
    width: 40px;
    height: 24px;
  }

  .menu-btn.active {
    background-size: 25px;
  }

  .main .content h2 {
    font-size: 1em;
    line-height: 3em;
  }

  header .brand {
    font-size: 2rem;
  }

  header .navigation a {
    font-size: 1.4rem;
    margin: 20px;
  }

  .main .content h2 span {
    font-size: 3.5rem;
  }

  .animated-text h3 {
    font-size: 1.3rem;
  }

  .main .content {
    padding: 0rem .5rem;
    padding: 1rem;
  }

  .about .content .col-right {
    padding: 0rem 1rem;
  }

  .about-info h4,
  .about p {
    font-size: .9rem !important;
  }

  .media-icons a {
    font-size: 2rem;
  }

  .about .content .col-left .img-card {
    margin-top: 2rem;
  }

  .footer {
    padding: 2rem 1em;
  }

  .timeline {
    padding: 1.5rem 1rem;
  }

  .timeline .timeline_item {
    padding: 0rem 0rem 1rem 1rem;
    padding-bottom: 1rem;
  }

  .timeline .timeline_item h1 {
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    padding-top: 15px;
  }

  .timeline .timeline_item p {
    font-size: .9rem;
  }

  .timeline .timeline_item h3 {
    font-size: 1rem;
  }


  .skills .skill .skill-sec h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 280px) {
  .menu-btn {
    margin: 0 7px;
  }

  header {
    padding: 5px 4px;
  }

  header.sticky {
    padding: 0 7px;
  }
}