* {
  margin: 0;
  padding: 0;
  color: white;
  scroll-behavior: smooth;
}
body {
  background-color: #272727;
}

:root {
  --main-color: #272727;
  --secondary-color: #323443;
  --white-color: #ffffff;
  --grey-color: #d1d1d1;
  --border-color: #4d4d4d;
  --gradient-color: linear-gradient(134deg, #3bf686 40.75%, #4ca9ff 90.52%);
}

.font-poppins {
  font-family: "Poppins", sans-serif;
}
.font-sora {
  font-family: "Sora", sans-serif;
  font-optical-sizing: auto;
}

.container {
  width: 100%;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

header {
  position: sticky;
  top: 0;
  background-color: var(--main-color);
  z-index: 10;
  transition: all 0.3s ease;
}
.scrolled nav {
  padding: 16px 0;
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-bottom: 2px var(--border-color) solid;
  transition: all 0.3s ease;
}
header nav h3 {
  font-size: 28px;
}
header nav h3 a {
  text-decoration: none;
}
header nav ul {
  display: none;
  list-style: none;
}
header nav ul li {
  margin-left: 75px;
  letter-spacing: 1px;
}
header nav ul li a:hover {
  color: var(--white-color);
}
header nav ul li a {
  color: var(--grey-color);
  text-decoration: none;
  transition: all 0.3s ease;
}
#hamburger {
  display: block;
  position: relative;
  z-index: 12;
}
.mobile-menu.active {
  right: 0;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s ease-in-out;
  z-index: 11;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-menu ul li a {
  text-decoration: none;
  font-size: 20px;
  color: var(--grey-color);
  transition: color 0.3s ease;
}
.mobile-menu ul li a:hover {
  color: var(--white-color);
}

#home {
  margin-bottom: 120px;
}
#home h1 {
  font-size: 40px;
  padding-top: 70px;
  padding-bottom: 65px;
  width: 90%;
  background: var(--gradient-color);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wrap-profile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 80px;
}
.profile-bio {
  display: flex;
  flex-direction: column;
}
.wrap-pp {
  width: 140px;
  height: 140px;
  background: var(--gradient-color);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
}
.profile-bio img {
  width: 130px;
  height: 130px;
  border-radius: 100px;
}
.wrap-bio {
  margin-top: 18px;
}
.profile-bio h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.profile-bio p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--grey-color);
}
.profile-connect a {
  text-decoration: none;
}
.profile-connect img {
  width: 32px;
  object-fit: cover;
  object-position: center;
  margin-right: 14px;
}
.profile-connect h2 {
  font-size: 20px;
  margin-top: 18px;
  margin-bottom: 16px;
}

.wrap-i-do {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.i-do {
  width: 100%;
  margin-bottom: 30px;
}
.i-do h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.i-do p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--grey-color);
}

.slider-container {
  width: 700px;
  overflow: hidden;
  border-radius: 18px;
  display: none;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slide {
  display: flex;
  min-width: 700px;
  justify-content: center;
  align-items: center;
}
.box {
  width: 350px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--secondary-color);
  margin-right: 18px;
  border-radius: 18px;
  padding: 0 20px;
}

.box span {
  background-color: transparent;
  margin-bottom: 10px;
}
.box span img {
  width: 70px;
  height: 70px;
  border-radius: 50px;
}
.box b {
  background-color: transparent;
  font-size: 18px;
  margin-bottom: 14px;
}
.box p {
  background-color: transparent;
  color: var(--grey-color);
  text-align: center;
}

#projects {
  margin-bottom: 100px;
}
#projects a {
  text-decoration: none;
}
#projects span {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 40px;
}
#projects h1 {
  font-size: 36px;
  width: 400px;
  margin-right: 80px;
}
#projects article {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
  transition: all 0.3s ease;
}
#projects article:hover .wrap-thumb-porto {
  padding-top: 20px;
  padding-bottom: 20px;
}
#projects article:hover .wrap-thumb-porto img {
  border-radius: 10px;
}
.wrap-thumb-porto {
  position: relative;
  background-color: var(--secondary-color);
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 80px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.wrap-thumb-porto img:nth-child(1) {
  width: 100%;
  border-radius: 10px 10px 0 0;
}
#projects article:hover .wrap-thumb-porto img:nth-child(2) {
  top: 8px;
  right: 8px;
  width: 32px;
}
.wrap-thumb-porto img:nth-child(2) {
  position: absolute;
  background-color: #3f4152;
  border-radius: 10px;
  width: 40px;
  top: 15px;
  right: 20px;
  transition: all 0.3s ease;
}
.wrap-info-porto {
  margin-top: 20px;
}
.wrap-info-porto p:nth-child(1) {
  font-weight: 700;
  color: var(--grey-color);
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.wrap-info-porto .desc {
  color: var(--grey-color);
  width: 80%;
  font-size: 16px;
  line-height: 1.8;
}
.wrap-info-porto h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.btn-see-more {
  text-decoration: none;
  display: flex;
  align-items: center;
  width: max-content;
  background-color: var(--secondary-color);
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 10px;
}
.btn-see-more img {
  object-fit: cover;
  margin-right: 20px;
}
.btn-see-more p {
  color: var(--grey-color);
}

#about-me {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 72px;
  flex-direction: column;
}
#about-me aside:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#about-me aside:nth-child(1) h1 {
  font-size: 26px;
  margin-bottom: 10px;
}
#about-me aside:nth-child(2) {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 20px;
  font-size: 16px;
  line-height: 1.8;
  width: 85%;
}

footer {
  padding-top: 80px;
  padding-bottom: 52px;
  border-top: 1px var(--border-color) solid;
}
footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-bottom: 70px;
}
footer ul li {
  margin-right: 10px;
}
footer div p {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.5;
  margin-bottom: 14px;
  text-align: center;
}
footer span {
  display: flex;
  justify-content: center;
}
footer span img {
  width: 30px;
}
footer span img:nth-child(2) {
  margin: 0 40px;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
  header nav ul {
    display: flex;
  }
  #hamburger {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
  .wrap-bio {
    width: 440px;
  }
  .profile-bio {
    flex-direction: row;
  }
  .i-do {
    width: 550px;
  }
  .wrap-thumb-porto {
    width: max-content;
    margin-right: 30px;
  }
  .wrap-thumb-porto img:nth-child(1) {
    width: 450px;
  }
  footer ul li {
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding-left: 4px;
    padding-right: 4px;
  }
  #home h1 {
    font-size: 50px;
  }
  #about-me aside:nth-child(1) {
    margin-right: 60px;
  }
  #about-me aside:nth-child(1) h1 {
    font-size: 46px;
    margin-bottom: 20px;
  }
  #about-me aside:nth-child(2) {
    padding: 40px;
    font-size: 18px;
    width: 500px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
  .wrap-i-do {
    flex-direction: column;
  }
  #projects h1 {
    font-size: 52px;
  }
  #projects article {
    flex-direction: row;
  }
  .wrap-info-porto .desc {
    font-size: 18px;
  }
  .wrap-info-porto h2 {
    font-size: 38px;
    margin-bottom: 20px;
  }
  #about-me {
    flex-direction: row;
  }
  .wrap-bio {
    width: 640px;
  }
  #projects span {
    flex-direction: row;
    align-items: center;
  }
  .slider-container {
    display: block;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
  .i-do {
    width: 400px;
    margin-bottom: 0;
  }
  .wrap-i-do {
    flex-direction: row;
  }
  .wrap-profile {
    flex-direction: row;
  }
  #home h1 {
    font-size: 80px;
  }
  .wrap-pp {
    width: 180px;
    height: 180px;
  }
  .profile-bio img {
    width: 165px;
    height: 165px;
  }
  .profile-bio h2 {
    font-size: 30px;
  }
  .profile-bio p {
    font-size: 18px;
  }
  .profile-connect {
    margin-right: 120px;
  }
  .profile-connect h2 {
    font-size: 26px;
  }
  .wrap-info-porto .desc {
    width: 500px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
  .i-do {
    width: 600px;
  }
  .wrap-info-porto .desc {
    width: 700px;
  }
}
