* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --main-color: #fd6f00;
  --main-bg: #1e1e1e;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-hover-btn: #c05300;
  --bg-nav: #121212;
  --bg-hover-nav: #292929;
  --main-text: #959595;
  --color-border: #2b2b2b;
}
:root[data-theme="light"] {
  --main-color: #fd6f00;
  --main-bg: #ffffff;
  --color-white: #000000;
  --color-black: #ffffff;
  --color-hover-btn: #ff8c33;
  --bg-hover-nav: #dfdfdf;
  --bg-nav: #f2f2f2;
  --main-text: #333333;
  --color-border: #e0e0e0;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--main-bg);
  font-family: "Urbanist", sans-serif;
}
.container {
  padding: 0 15px;
  margin: auto;
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
a {
  text-decoration: none;
  color: var(--color-white);
}
.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.text-center {
  text-align: center;
}
.portfolioName {
  color: var(--main-color);
  font-size: 20px;
}
.portfolioName:hover {
  background-color: var(--bg-nav);
}
header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--main-bg);
  width: 100%;
  z-index: 1000000;
}
header .header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  padding: 10px 0;
  z-index: 10000;
  top: 15px;
  right: 0;
  left: 0;
}
nav {
  width: 100%;
}
header nav ul li a {
  padding: 14px 30px;
  border-radius: 50px;
}
header nav ul li a:hover {
  background-color: var(--main-color);
  transition: 0.5s;
}
header nav ul {
  justify-content: space-between;
  padding: 16px 5px;
  border-radius: 50px;
  border: var(--color-border) 1px solid;
  background-color: var(--bg-nav);
  transition: 0.3s;
  z-index: 100000;
}
@media (max-width: 992px) {
  header nav ul {
    display: none;
  }
  .btn-toggle-menu {
    display: flex;
    justify-content: center;
    background-color: var(--bg-nav);
    border: var(--color-border) 1px solid;
    padding: 18px 30px;
    color: var(--color-white);
    border-radius: 50px;
    cursor: pointer;
    outline: none;
  }
  .btn-toggle-menu:hover {
    background-color: var(--bg-hover-nav);
    transition: 0.3s;
  }
  .portfolioName {
    display: none;
  }
}
@media (min-width: 992px) {
  .btn-toggle-menu {
    display: none;
  }
  .Portfolio {
    display: none;
  }
}
.Portfolio {
  color: var(--main-color);
  font-size: 25px;
}
.btn-toggle-mode {
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  margin-left: 10px;
  padding: 18px 30px;
  outline: none;
  color: var(--color-white);
  background-color: var(--bg-nav);
  border: var(--color-border) 1px solid;
}
.btn-toggle-mode:hover {
  background-color: var(--bg-hover-nav);
  transition: 0.3s;
}
.activeToggleMenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-top: 5px;
  padding: 10px 5px;
  padding-bottom: 30px;
  border-radius: 50px;
  border: var(--color-border) 1px solid;
  background-color: var(--bg-nav);
  position: absolute;
  top: 65px;
  right: 45px;
  width: 200px;
}
.nameAndJob {
  padding-top: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}
.nameAndJob .hello {
  position: relative;
}
.nameAndJob .hello img {
  position: absolute;
  top: -33px;
  right: -28px;
}
.nameAndJob .hello span {
  color: var(--color-white);
  border: 1px solid var(--color-white);
  padding: 10px 15px;
  border-radius: 50px;
}
.name {
  position: relative;
}
.name h1 {
  color: var(--color-white);
  font-size: 65px;
}
.name span {
  color: var(--main-color);
}
.name img {
  position: absolute;
  left: -10px;
  top: 120px;
}
.home-content {
  margin-top: -60px;
  gap: 20px;
  display: grid;
  grid-template-columns: 350px auto auto;
  justify-content: space-between;
  align-items: center;
}
.img-home {
  position: relative;
  display: flex;
}
.img-home-container {
  position: absolute;
  background-color: var(--main-color);
  width: 387px;
  height: 61%;
  bottom: 0;
  border-top-left-radius: 260px;
  border-top-right-radius: 260px;
  z-index: -10;
  box-shadow: 0 0px 40px 0 var(--main-color);
}
.img-home img {
  height: 395px;
}
.home-content .icon-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.icon-social a {
  font-size: 35px;
  color: var(--main-text);
}
.icon-social a:hover {
  color: var(--color-white);
  transition: 0.5s;
}
.experience {
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.experience p {
  color: var(--color-white);
  line-height: 30px;
}
.experience .years .stars {
  color: var(--main-color);
  padding-bottom: 10px;
}
.experience .years span {
  color: var(--color-white);
}
@media (max-width: 1200px) {
  .home-content {
    grid-template-columns: 250px auto auto;
  }
}
@media (max-width: 992px) {
  .home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 30px;
    align-items: center;
    margin: auto;
  }
  .home-content .icon-social {
    flex-direction: row;
  }
  .img-home img {
    height: 410px;
    width: 100%;
  }
  .img-home-container {
    width: 100%;
    height: 60%;
  }
  .experience {
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .name h1 {
    color: var(--color-white);
    font-size: 50px;
  }
  .name img {
    left: -15px;
    top: 95px;
    width: 60px;
  }
  .feedBack {
    padding-top: 15px;
  }
}
@media (max-width: 600px) {
  .name h1 {
    color: var(--color-white);
    font-size: 35px;
  }
  .name img {
    left: -5px;
    top: 65px;
    width: 40px;
  }
  .feedBack {
    padding-top: 0px;
  }
}
@media (max-width: 430px) {
  .name h1 {
    color: var(--color-white);
    font-size: 25px;
  }
  .name img {
    left: -10px;
    top: 45px;
    width: 30px;
  }
  .img-home img {
    height: 250px;
    width: 100%;
  }
}
.services {
  padding: 80px 0;
  text-align: center;
}
.section-title {
  font-weight: 700;
  font-size: 35px;
  color: var(--color-white);
  margin-bottom: 50px;
}
.services-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.service-card {
  background: var(--bg-nav);
  border-radius: 18px;
  padding: 40px 25px;
  width: 270px;
  height: 270px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0px 10px var(--main-color);
}

.service-card .icon {
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--main-text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.about {
  padding-bottom: 20px;
}
.about-text {
  line-height: 30px;
  color: var(--color-white);
  padding: 10px;
}
.about-img {
  position: relative;
  display: flex;
  margin-bottom: 20px;
  justify-content: center;
}
.about-title .section-title {
  margin-bottom: 20px;
}
.about-img img {
  height: 400px;
  border-radius: 20px;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
.about-img .container-img {
  position: absolute;
  background-color: var(--main-color);
  width: 375px;
  height: 68%;
  bottom: 0;
  border-top-left-radius: 260px;
  border-top-right-radius: 260px;
  z-index: -10;
  box-shadow: 0 0px 40px 0 var(--main-color);
}
@media (max-width: 992px) {
  .about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .about-title .section-title {
    margin-bottom: 40px;
  }
  .services {
    padding: 40px 0;
  }
  .about-link {
    justify-content: center;
  }
}
@media (max-width: 430px) {
  .about-img img {
    height: 250px;
    width: 100%;
  }
  .about-img .container-img {
    width: 130%;
    height: 70%;
  }
  .about-text {
    padding: 0px;
  }
}
.about-link {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.about-link .hair {
  border: 1px solid var(--main-color);
  padding: 10px 20px;
  border-radius: 50px;
}
.about-link .hair:hover {
  background-color: var(--main-color);
  transition: 0.5s;
}
.about-link .download-cv {
  background-color: var(--main-color);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 50px;
}
.about-link .download-cv:hover {
  background-color: var(--color-hover-btn);
  transition: 0.5s;
}
.icons-wrapper {
  overflow: hidden;
  padding: 40px 0;
  white-space: nowrap;
  position: relative;
}
.icons-wrapper::before,
.icons-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
}
.icons-wrapper::before {
  left: 0;
  width: 100px;
  height: 100%;
  border-radius: 0 100% 100% 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--main-bg));
}
.icons-wrapper::after {
  right: 0;
  width: 100px;
  height: 100%;
  border-radius: 100% 0 0 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--main-bg));
}
.icons-wrapper .icons-track {
  display: inline-block;
  animation: track 15s linear infinite;
}
.icons-wrapper:hover .icons-track {
  animation-play-state: paused;
}
.icons-wrapper .icons-track i {
  font-size: 70px;
  color: var(--main-text);
  margin: 0 30px;
  cursor: pointer;
}
.icons-wrapper .icons-track i:hover {
  color: var(--main-color);
  transition: 0.2s;
}
@keyframes track {
  form {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (max-width: 768px) {
}
.gallery-section {
  padding-bottom: 60px;
}
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .grid-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1280px) {
  .grid-gallery {
    gap: 32px;
  }
}

.gallery-section h2 {
  font-size: 32px;
  color: var(--color-white);
  margin-bottom: 30px;
  text-align: center;
}
.image-card {
  position: relative;
  height: 200px;
  border-radius: 12px 12px 12px 0px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: 0.5s;
}
.image-card img {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.4s;
}

.image-card:hover img {
  transform: scale(1.1);
}

.wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .wide {
    grid-column: span 1;
  }
}
.image-card span {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
  border-radius: 0 10px 0px 0px;
  z-index: 10;
  background-color: var(--main-bg);
  box-shadow: var(--main-bg) 0px 0px 20px;
}
.message-section {
  color: var(--main-text);
}
.message-section .container {
  max-width: 700px;
  margin: auto;
  text-align: center;
}
.message-section h2 {
  color: var(--color-white);
  font-size: 28px;
  margin-bottom: 10px;
}
.message-section p {
  margin-bottom: 30px;
}

.message-form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 600px) {
  .message-form .field {
    flex-direction: column;
  }
}
.message-form .field {
  gap: 10px;
}

.message-form input,
.message-form textarea {
  width: 100%;
  padding: 10px;
  background: var(--bg-nav);
  border: 1px solid var(--color-border);
  color: var(--main-text);
  border-radius: 6px;
}
.message-form textarea {
  height: 100px;
}
.btn-main {
  background: #fd6f00;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.message-footer {
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 20px;
}
.message-footer a {
  color: #fd6f00;
  display: block;
  margin-bottom: 10px;
}
.socials a {
  margin: 0 5px;
  color: #aaa;
}
.note {
  padding-top: 15px;
}
.footer-bottom {
  text-align: center;
  border-top: var(--main-text) 1px solid;
  padding: 15px;
  color: var(--main-text);
  font-size: 0.9rem;
}
