@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@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");

.menu-items {
  display: flex;
}

li {
  list-style: none;
}

.checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  right: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.hamburger-lines {
  display: block;
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  right: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #0e2431;
}

.hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.menu-items {
  padding-top: 120px;
  background-color: #fdf9ed;
  height: 100vh;
  width: 100%;
  transform: translate(150%);
  display: flex;
  flex-direction: column;
  margin-left: -20px;
  transition: transform 0.5s ease-in-out;
  text-align: center;
  position: absolute;
}

.menu-items li a {
  text-decoration: none;
  color: #181716;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.menu-items li {
  transition: all 0.3s ease;
}

.menu-items li:hover {
  transform: scale(1.1);
}

input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.links {
  display: none;
}

.nav-bar {
  padding: 20px 20px;
  display: flex;
  justify-content: space-between;
}

.name {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  line-height: 90%;
  letter-spacing: -1.5px;
}

.contact-btn {
  display: none;
}

.hamburger {
  display: block;
}

.banner-section {
  height: calc(100vh - 260px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 0;
  position: relative;
  justify-content: space-between;
}

.banner-inner-text {
  font-family: "Poppins", sans-serif;
  font-size: clamp(40px, 10vw, 230px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 70%;
}

.banner-title {
  text-transform: uppercase;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 82%;
  z-index: 2;
}

.img-block {
  position: absolute;
  top: 12%;
  right: 29%;
  z-index: 1;
  width: 34%;
}

.profile-img {
  width: 100%;
}

.color-block {
  width: 58%;
  height: 28%;
  z-index: 0;
  background-color: #fba679;
  position: absolute;
  top: 24%;
  right: 13%;
  padding: 0 25px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
}

.color-block-text {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
  margin-bottom: 12px;

  display: none;
}

.info-text {
  width: 75%;
  text-align: center;
  position: absolute;
  bottom: 30%;
  right: 10%;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 2px;
}

.cv-button {
  position: relative; /* needed for absolute child (.under-box) */
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
  color: #181716;
}

.upper-box {
  position: relative;
  z-index: 2;
  min-width: 100px;
  height: 30px;
  padding: 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  background: #181716;
  color: aliceblue;
  transition: transform 0.3s ease;
  will-change: transform;
}

.cv-button:hover .upper-box {
  transform: translate(-3px, -3px);
}

.cv-button:active .upper-box {
  transform: translate(5px, 5px);
  transition: all 0.2s ease;
}

.under-box {
  position: absolute;
  z-index: 1;
  border: 2px solid #181716;
  width: 116px;
  height: 46px;
  top: 6%;
  left: 2%;
  pointer-events: none; /* prevents it from capturing the mouse */
}

.bottom-part {
  width: 50px;
  margin-bottom: 38px;
  transition: all 0.3s ease;
}

.bottom-part:hover {
  transform: translateY(8px);
  cursor: pointer;
}

.about-section {
  margin-top: 20px;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.about-title {
  font-size: 46px;
  margin-bottom: 30px;
}

.highlight {
  font-weight: 600;
}

.dot {
  color: #fba679;
}

.orange-block {
  width: 10px;
  height: 520px;
  background-color: #fba679;
}

.about-text-wrapper {
  display: flex;
  align-items: center;
}

.about-text {
  max-width: 1000px;
  margin: 0;
  margin-left: 20px;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-stack {
  margin: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.right-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rating {
  display: flex;
  gap: 14px;
}

.point {
  width: 22px;
  height: 22px;
  background-color: rgb(111, 111, 111);
}

.list-elem-text {
  font-size: 20px;
}

.list-elem {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 60px;
  margin-bottom: 15px;
  justify-content: space-between;
}

.orange {
  background-color: #fba679;
}

.tech-img {
  width: 15%;
}

.left-side {
  display: flex;
  gap: 30px;
  justify-content: space-evenly;
}

.tech-title {
  text-align: end;
}

.foot {
  background-color: #fba679;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  padding: 20px 0;
}

.white-dot {
  color: #fdf9ed;
}

.contact-email {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
}

.email {
  font-size: 22px;
  font-weight: 500;
  text-decoration: underline;
  color: #181716;
}

.social-icon {
  width: 40px;
}

.social-link {
  text-decoration: none;
}

.social-buttons {
  display: flex;
  gap: 20px;
}

.foot-title {
  margin-top: 10px;
}

.contact-link {
  color: #181716;
  text-decoration: none;
}

.nav-link-elem.active {
  color: #fba679; /* or your highlight color */
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #181716;
}

@media (min-width: 760px) {
  .color-block {
    width: 58%;
    height: 28%;
    z-index: 0;
    background-color: #fba679;
    position: absolute;
    top: 36%;
    right: 14%;
    padding: 0 25px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
  }
  .info-text {
    width: 75%;
    text-align: center;
    position: absolute;
    bottom: 24%;
    right: 10%;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 2px;
  }
  .color-block-text {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 12px;
    display: block;
  }
}

@media (min-width: 1024px) {
  .desktop-hide {
    display: none;
  }
  .email {
    margin-top: 6px;
    font-size: 28px;
    font-weight: 500;
    text-decoration: underline;
    color: #181716;
  }
  .contact-email {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
  }
  .info-text {
    width: 40%;
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 32%;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 2px;
  }

  .orange-block {
    width: 10px;
    height: 200px;
    background-color: #fba679;
  }
  .about-section {
    margin-top: 80px;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
  }
  .about-title {
    font-size: 60px;
    margin-bottom: 30px;
  }
  .bottom-part {
    width: 50px;
    margin-bottom: 38px;
    transition: all 0.3s ease;
    display: none;
  }
  .under-box {
    position: absolute;
    z-index: 1;
    border: 2px solid #181716;
    width: 130px;
    height: 56px;
    top: 6%;
    left: 2%;
    pointer-events: none; /* prevents it from capturing the mouse */
  }
  .color-block-text {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 50px;
    display: block;
  }
  .cv-button {
    position: relative; /* needed for absolute child (.under-box) */
    display: inline-block;
    margin-bottom: 32px;
    text-decoration: none;
    color: #181716;
  }
  .upper-box {
    position: relative;
    z-index: 2;
    min-width: 100px;
    height: 40px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    background: #181716;
    color: aliceblue;
    transition: transform 0.3s ease;
    will-change: transform;
  }
  .color-block {
    width: 45%;
    height: 52%;
    z-index: 0;
    background-color: #fba679;
    position: absolute;
    top: 34%;
    right: 28%;
    padding: 0 25px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }
  .img-block {
    position: absolute;
    top: 21%;
    right: 32%;
    z-index: 1;
    width: 22%;
  }
  .banner-inner-text {
    letter-spacing: -14px;
  }
  .banner-title {
    font-size: 40px;
  }
  .nav-bar {
    padding: 20px 80px;
  }

  .hamburger {
    display: none;
  }

  .links {
    display: flex;
    gap: 100px;
    align-items: center;
  }

  .nav-link-elem {
    text-decoration: none;
    color: black;
    font-size: 20px;
    cursor: pointer;
  }

  .nav-link-elem:hover {
    transition: all 0.3s ease;
    transform: scale(1.1);
  }

  .nav-link-elem.clicked {
    color: #fba679;
  }

  .inner-wrapper {
    margin: 0 16px;
  }

  .contact-btn {
    font-size: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .btn-text {
    margin-right: 10px;
    position: relative;
  }

  .contact-btn svg {
    transform: translateX(-8px);
    transition: all 0.3s ease;
  }

  .contact-btn:hover svg {
    transform: translateX(0);
  }

  .contact-btn:active svg {
    transform: scale(0.9);
  }

  .btn-text:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000000;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }

  .contact-btn:hover .btn-text:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  .tech-stack {
    margin: 80px 0;
    align-items: center;
    justify-content: space-between;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #181716;
  margin: 0;
  background-color: #fdf9ed;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fdf9ed;
}

@media (max-width: 480px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
}

@media (min-width: 1440px) {
}
