/*Start global*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  font-family: "Roboto", sans-serif;
  color: #eee;
  overflow-x: hidden;
}

body {
  width: 100%;
  height: 100%;
  background: url("images/sitebg.jpg") no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

section {
  padding: 6rem 0;
}

a {
  text-decoration: none;
  color: #eee;
}

p {
  font-size: 1.8rem;
  font-weight: 300;
}

img {
  width: 100%;
}
/*End global*/

/*Start reusable*/
.container {
  width: 90%;
  max-width: 120rem;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.section-heading {
  text-align: center;
  margin-bottom: 10rem;
}

.section-heading h1 {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  margin-bottom: 1rem;
}

.section-heading h1::before,
.section-heading h1::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.75);
}

.section-heading h1::before {
  width: 10rem;
  height: 3px;
  border-radius: 0.8rem;
  -webkit-border-radius: 0.8rem;
  -moz-border-radius: 0.8rem;
  -ms-border-radius: 0.8rem;
  -o-border-radius: 0.8rem;
}

.section-heading h1::after {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
  bottom: -1.15rem;
}

.section-heading h6 {
  font-size: 1.6rem;
  font-weight: 300;
}
/*End reusable*/

/*Start header*/
header {
  width: 100%;
  height: 100vh;
}

.top-nav {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: -100vh;
  z-index: 50;
  background-color: #16162d;
  border-bottom-right-radius: 100%;
  border-bottom-left-radius: 100%;
  transition: all 650ms cubic-bezier(1, 0, 0, 1);
  -webkit-transition: all 650ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 650ms cubic-bezier(1, 0, 0, 1);
  -ms-transition: all 650ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 650ms cubic-bezier(1, 0, 0, 1);
}

.nav-list {
  list-style: none;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

li {
  margin: 0 2rem;
}

.nav-link {
  font-family: "The Historia Demo", cursive;
  font-size: 5rem;
  padding: 1rem;
}

.nav-link:hover,
.nav-link:focus {
  background: linear-gradient(to top, #3b0fa8, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top-nav.open {
  top: 0;
  border-radius: initial;
  -webkit-border-radius: initial;
  -moz-border-radius: initial;
  -ms-border-radius: initial;
  -o-border-radius: initial;
}

.menu-toggler {
  position: absolute;
  top: 5rem;
  right: 5rem;
  width: 5rem;
  height: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1500;
  transition: transform 650ms ease-out;
  -webkit-transition: transform 650ms ease-out;
  -moz-transition: transform 650ms ease-out;
  -ms-transition: transform 650ms ease-out;
  -o-transition: transform 650ms ease-out;
}

.menu-toggler.open {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}

.bar {
  background: linear-gradient(to top, #3b0fa8, #67e8f9);
  width: 100%;
  height: 4px;
  border-radius: 0.8rem;
  -webkit-border-radius: 0.8rem;
  -moz-border-radius: 0.8rem;
  -ms-border-radius: 0.8rem;
  -o-border-radius: 0.8rem;
}

.bar.half {
  width: 50%;
}

.bar.start {
  transform-origin: right;
  transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  -webkit-transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  -moz-transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  -ms-transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  -o-transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.start {
  transform: rotate(-450deg) translateX(0.8rem);
  -webkit-transform: rotate(-450deg) translateX(0.8rem);
  -moz-transform: rotate(-450deg) translateX(0.8rem);
  -ms-transform: rotate(-450deg) translateX(0.8rem);
  -o-transform: rotate(-450deg) translateX(0.8rem);
}

.bar.end {
  align-self: flex-end;
  transform-origin: left;
  transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  -webkit-transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  -moz-transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  -ms-transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  -o-transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.end {
  transform: rotate(-450deg) translateX(-0.8rem);
  -webkit-transform: rotate(-450deg) translateX(-0.8rem);
  -moz-transform: rotate(-450deg) translateX(-0.8rem);
  -ms-transform: rotate(-450deg) translateX(-0.8rem);
  -o-transform: rotate(-450deg) translateX(-0.8rem);
}

.landing-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 1;
}

.landing-text h1 {
  font-size: 18rem;
  font-family: "The Historia Demo", cursive;
  background: linear-gradient(to top, #3b0fa8, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 1rem;
  user-select: none;
  filter: drop-shadow(0px 0px 25px rgba(59, 15, 168, 0.6));
  -webkit-filter: drop-shadow(0px 0px 25px rgba(59, 15, 168, 0.6));
}

.landing-text h6 {
  font-size: 2.8rem;
  font-weight: 400;
  color: #22d3ee;
  letter-spacing: 0.02em;
}
/*End header*/

/*Start about*/
.about .container {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 5rem;
}

#my-image {
  width: 350px;
  border-radius: 20px;
  padding: 10px 20px 0 20px;
  box-shadow: 0 18px 35px rgba(255, 255, 255, 0.1);
}

.about-heading {
  text-align: center;
  text-transform: uppercase;
  line-height: 0;
  margin-bottom: 6rem;
}

.about-heading h1 {
  font-size: 10rem;
  opacity: 0.3;
}

.about-heading h6 {
  font-size: 2rem;
  font-weight: 400;
  opacity: 0.9;
}

.about-des {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #d2e1f4;
}

.profile-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-details {
  flex: 1;
  align-self: center;
}

.social-media {
  margin-top: 5rem;
}

.social-media i {
  font-size: 5rem;
  transition: color 650ms;
  -webkit-transition: color 650ms;
  -moz-transition: color 650ms;
  -ms-transition: color 650ms;
  -o-transition: color 650ms;
}

.fa-facebook-square:hover {
  color: #1877f2;
}

.fa-linkedin:hover {
  color: #0077b5;
}

.fa-dribbble-square:hover {
  color: #ea4c89;
}

.fa-twitter-square:hover {
  color: #aab8c2;
}
/*End about*/

/*Start services*/
.my-skills {
  margin-top: 10rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 4.5rem;
  text-align: center;
}

.skills {
  max-width: 350px;
  width: 350px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 2rem;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.04);
  position: relative;
  top: 0;
  transition: top 0.4s ease, box-shadow 0.4s ease;
  -webkit-transition: top 0.4s ease, box-shadow 0.4s ease;
}

.skills:hover {
  top: -10px;
  box-shadow: 0 20px 48px rgba(255, 255, 255, 0.1);
}

.skills h1 {
  text-transform: uppercase;
  letter-spacing: 2.2px;
  margin: 2rem -2px 2rem 0;
}

.skills > p {
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.icon-container {
  width: 9rem;
  height: 9rem;
  border: 3px solid #fbbf24;
  background-color: #142a45;
  display: flex;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  margin-bottom: 3rem;
}

.icon-container i {
  color: #ddd7ed;
  font-size: 3.6rem;
  margin: auto;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}
/*End services*/

/*Start portfolio*/
.portfolio-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  margin-bottom: 7rem;
}

.portfolio-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.portfolio-item:last-child {
  margin-bottom: 0;
}

.portfolio-img {
  flex: 1;
}

.portfolio-des {
  flex: 1;
}

.browser-mockup {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  -webkit-transition: transform 0.4s ease, box-shadow 0.4s ease;
  -o-transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.browser-mockup:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.browser-bar {
  background: #1a2035;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-content img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.portfolio-item h6 {
  font-size: 13px;
  color: #1dcde4;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.portfolio-des h1 {
  font-size: 3rem;
  font-weight: 500;
  margin: 1rem 0;
}

.portfolio-des p {
  max-width: 550px;
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: justify;
}

.project-number {
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(99, 102, 241, 0.2);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.portfolio-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: center;
}

.cta {
  font-size: 1.1rem;
}

.cta:hover {
  background: transparent;
  color: #67e8f9;
  border: 1px solid #67e8f9;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.cta-outline {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.cta-outline:hover {
  border-color: #6366f1;
  color: #6366f1;
}
/*End portfolio*/

/*Start timeline*/
.timeline ul {
  border-left: 4px solid #3b0fa8;
  border-radius: 0.8rem;
  -webkit-border-radius: 0.8rem;
  -moz-border-radius: 0.8rem;
  -ms-border-radius: 0.8rem;
  -o-border-radius: 0.8rem;
  background-color: rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  position: relative;
  padding: 4rem 4rem 4rem 6rem;
  list-style: none;
  text-align: left;
  width: 70%;
}

.timeline h1 {
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.8rem;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

.timeline p {
  font-size: 1.4rem;
  line-height: 1.7;
  opacity: 0.6;
}

.timeline .date {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  position: relative;
}

.timeline .date:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

.timeline .date::before,
.timeline .date::after {
  position: absolute;
  display: block;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.timeline .date::before {
  content: attr(data-date);
  left: -22rem;
  text-align: right;
  min-width: 12rem;
  font-size: 1.4rem;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

.timeline .date::after {
  content: "";
  box-shadow: 0 0 0 4px #43cfe2;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
  left: -8.8rem;
  height: 1.2rem;
  width: 1.2rem;
  background-color: #1e1e3a;
}
/*End timeline*/

/*Start contact*/
.contact {
  background-color: #221e3f;
}

form {
  width: 70%;
  margin: 0 auto;
}

form label {
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.6rem;
  display: block;
  letter-spacing: 0.03em;
}

input,
select,
textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1.4rem;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-transition: border-color 0.3s ease;
  -moz-transition: border-color 0.3s ease;
  -ms-transition: border-color 0.3s ease;
  -o-transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #67e8f9;
  background-color: rgba(255, 255, 255, 0.06);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.4rem;
}

select {
  cursor: pointer;
}

select option {
  background-color: #221e3f;
  color: #fff;
}

textarea {
  resize: vertical;
  min-height: 160px;
}

input[type="submit"] {
  width: initial;
  background: linear-gradient(to right, #3b0fa8, #67e8f9);
  color: #fff;
  padding: 1.2rem 3.5rem;
  border: none;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  -webkit-transition: opacity 0.3s ease, transform 0.3s ease;
  -moz-transition: opacity 0.3s ease, transform 0.3s ease;
  -ms-transition: opacity 0.3s ease, transform 0.3s ease;
  -o-transition: opacity 0.3s ease, transform 0.3s ease;
}

input[type="submit"]:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}
/*End contact*/

/*Start footer*/
.footer {
  background-color: #16162d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 6rem;
}

.footer-container {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand h2 {
  font-size: 2.4rem;
  font-weight: 600;
  background: linear-gradient(to right, #3b0fa8, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #67e8f9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links ul li a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #67e8f9;
}

.footer-contact a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #67e8f9;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.4rem;
  text-decoration: none;
  margin-bottom: 0;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.footer-socials a:hover {
  border-color: #67e8f9;
  color: #67e8f9;
  transform: translateY(-3px);
  -webkit-transform: translateY(-3px);
}

.footer-bottom {
  width: 80%;
  margin: 0 auto;
  padding: 2.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.footer-bottom p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.25);
}

.up {
  width: 4.5rem;
  height: 4.5rem;
  background: linear-gradient(to top, #3b0fa8, #67e8f9);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  display: flex;
  cursor: pointer;
  animation: pulse 2s infinite;
  -webkit-animation: pulse 2s infinite;
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
}

.up:hover {
  transform: translateY(-3px);
  -webkit-transform: translateY(-3px);
}

.up i {
  color: #fff;
  font-size: 1.8rem;
  margin: auto;
}
/*End footer*/

/*Start animations*/
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.6);
  }
  70% {
    box-shadow: 0 0 0 1.5rem rgba(103, 232, 249, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(103, 232, 249, 0);
  }
}
/*End animations*/

/*Start media queries*/

/* Tablet - 768px */
@media screen and (max-width: 768px) {
  body {
    background: url("images/sitebg2.jpg") no-repeat center fixed;
    background-size: cover;
  }

  /* Header */
  .landing-text h1 {
    font-size: 12rem;
  }

  .landing-text h6 {
    font-size: 2rem;
  }

  .nav-list {
    flex-direction: column;
  }

  li {
    margin: 1.5rem 0;
  }

  .nav-link {
    font-size: 4rem;
  }

  /* About */
  .about .container {
    flex-direction: column;
    gap: 4rem;
  }

  .profile-img {
    margin: 0;
  }

  #my-image {
    width: 280px;
  }

  .about .container {
    gap: 8rem;
  }

  .about-heading h1 {
    font-size: 8rem;
  }

  .about-details .nav-list {
    flex-direction: row;
    justify-content: center;
  }

  .about-details li {
    margin: 0 1.5rem;
  }

  /* Services */
  .skills {
    width: 300px;
    max-width: 300px;
    height: 420px;
  }

  /* Section heading */
  .section-heading h1 {
    font-size: 3rem;
  }

  .section-heading {
    margin-bottom: 7rem;
  }

  /* Portfolio */
  .portfolio-item {
    flex-direction: column !important;
    gap: 3rem;
  }

  .portfolio-img {
    width: 100%;
  }

  .portfolio-des {
    text-align: center;
    width: 100%;
  }

  .portfolio-des p {
    max-width: 100%;
    text-align: left;
  }

  .portfolio-buttons {
    justify-content: center;
  }

  /* Timeline */
  .timeline ul {
    width: 85%;
    padding: 3rem 3rem 3rem 5rem;
  }

  .timeline .date::before {
    left: -18rem;
    font-size: 1.3rem;
  }

  .timeline .date::after {
    left: -6.8rem;
  }

  /* Contact */
  form {
    width: 85%;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    width: 90%;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    width: 90%;
  }
}

/* Mobile - 600px */
@media screen and (max-width: 600px) {
  /* Header */
  .menu-toggler {
    top: 2rem;
    right: 2rem;
  }

  .landing-text h1 {
    font-size: 7.5rem;
  }

  .landing-text h6 {
    font-size: 1.5rem;
  }

  .nav-link {
    font-size: 3.2rem;
  }

  li {
    margin: 1rem 0;
  }

  /* About */
  #my-image {
    width: 240px;
  }

  .about .container {
    gap: 7rem;
  }

  .about-heading h1 {
    font-size: 6rem;
  }

  .about-des {
    font-size: 14px;
  }

  .social-media i {
    font-size: 4rem;
  }

  /* Services */
  .my-skills {
    gap: 3rem;
    margin-top: 6rem;
  }

  .skills {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 350px;
    padding: 3rem 2rem;
  }

  .icon-container {
    width: 7rem;
    height: 7rem;
  }

  .icon-container i {
    font-size: 3rem;
  }

  /* Portfolio */
  .portfolio-item {
    margin-bottom: 5rem;
  }

  .portfolio-des h1 {
    font-size: 2.4rem;
  }

  .project-number {
    font-size: 3.5rem;
  }

  .browser-content img {
    height: 200px;
  }

  /* Timeline */
  .timeline ul {
    width: 100%;
    padding: 2.5rem;
    border-left: 3px solid #3b0fa8;
  }

  .timeline .date::before {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    -webkit-transform: none;
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: #67e8f9;
    opacity: 1;
    background: rgba(103, 232, 249, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    letter-spacing: 0.08em;
    font-weight: 600;
  }

  .timeline .date::after {
    display: none;
  }

  .timeline .date {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .timeline h1 {
    font-size: 1.6rem;
  }

  .timeline p {
    font-size: 1.4rem;
  }

  /* Contact */
  form {
    width: 100%;
  }

  input[type="submit"] {
    width: 100%;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    width: 90%;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    width: 90%;
  }

  .footer-bottom p {
    text-align: center;
  }
}

/* Small mobile - 400px */
@media screen and (max-width: 400px) {
  .landing-text h1 {
    font-size: 6rem;
  }

  .landing-text h6 {
    font-size: 1.3rem;
  }

  .nav-link {
    font-size: 2.8rem;
  }

  .about-heading h1 {
    font-size: 5rem;
  }

  .portfolio-des h1 {
    font-size: 2rem;
  }
}
/*End media queries*/