* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #d8ccbe;
  font-family: Roboto, Arial, "sans-serif";
}
/* Navbar */
nav {
  padding: 15px 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
}

nav .links ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
nav .links ul li > a {
  padding: 10px;
  color: #60574c;
  text-decoration: none;
  font-size: 18px;
}
nav .links ul li > a:hover {
  color: #8e7f6e;
}
nav svg {
  display: none;
}
/* Main Section */
main {
  padding: 15px 200px 0;
  display: flex;
  align-items: center;
  gap: 50px;
}
main .about-me {
  width: 50%;
  line-height: 1.6;
}
main .about-me .name > h3 {
  font-size: 38px;
  font-weight: 400;
}
main .about-me .name > h1 {
  font-size: 58px;
  font-family: Georgia, serif !important;
  font-weight: 400;
}
main .about-me .name span a {
  color: #333;
}
main .about-me .name button {
  margin-top: 30px;
  display: block;
  background-color: #333;
  color: aliceblue;
  border: none;
  padding: 20px 40px;
}
main .about-me .name button:hover {
  background-color: #60574c;
}

main .about-me .achievments {
  color: #60574c;
  display: flex;
  gap: 20px;
}
main .about-me .achievments > div {
  margin-top: 100px;
  width: 50%;
}
main .about-me .achievments > div h2 {
  font-size: 60px;
  font-weight: 700;
  color: #8e7f6e;
  line-height: 1;
}
main .about-me .achievments > div h4 {
  font-size: 24px;
  font-weight: 400;
  color: #60574c;

  margin-bottom: 20px;
}
main .about-me .achievments > div p {
  font-style: italic;
  line-height: 1.8;
  color: #60574c;
  font-weight: lighter;
}
main .my-image {
  width: 50%;
  display: flex;
  justify-content: center;
}
main .my-image img {
  width: 100%;
}
/* section 2 */
.section-2 {
  background-color: #333;
  padding: 50px 200px;
}
.section-2 > p {
  font-size: 22px;
  color: #8e7f6e;
}
.section-2 .my-strengths {
  margin: 30px 0 30px 0;
  color: white;
  display: flex;
  gap: 30px;
  line-height: 2;
}
.section-2 .my-strengths > div h3 {
  font-size: 22px;
}
/* section 3 */
.section-3 {
  padding: 50px 200px;
  line-height: 2;
}
.section-3 h4 {
  color: #8e7f6e;
  font-weight: lighter;
  font-size: 24px;
}
.section-3 h2{
  font-size: 55px;
  font-weight: 500;
}
.section-3 .skills {
  margin-top: 30px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}
.section-3 .skills > div {
  width: calc(100% / 4);
  background-color: white;
  padding: 20px;
  line-height: 2;
}
.section-3 .skills > div > img {
  width: 65px;
}
.section-3 .skills > div > p {
  color: #60574c;
  letter-spacing: 1.5px;
  font-size: 21px;
}
.section-3 .skills > div a {
  color: black;
  font-size: 14px;
  font-weight: 600;
}
.section-3 .skills > div a:hover {
  color: #8e7f6e;
}
.section-3 .my-projects {
  background-color: #333;
  color: aliceblue;
  padding: 50px 100px;
  margin-top: 50px;
}
.section-3 .my-projects p {
  font-size: 48px;
}
.section-3 .my-projects button {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  padding: 20px 40px;
  font-size: 18px;
}
.section-3 .my-projects button:hover {
  background-color: white;
  color: #333;
}
/* section 4 */
.section-4 {
  background-color: #333;
  color: aliceblue;
  padding: 100px 200px 150px;
  margin-bottom: 50px;
}
.section-4 .personal-info {
  display: flex;
  gap: 300px;
  line-height: 2;
  margin-bottom: 400px;
}
.section-4 .personal-info .education,
.section-4 .personal-info .awards {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.section-4 .personal-info h3 {
  color: #8e7f6e;
  font-size: 20px;
}
section.clients {
  padding: 0px 200px 50px;
  margin: -500px 0 50px;
  line-height: 2;
}
section.clients h3 {
  font-size: 54px;
  font-weight: lighter;
  color: white;
}
section.clients .cards {
  margin-top: 50px;
  display: flex;
  gap: 30px;
}
section.clients .cards .client-card {
  width: calc(100% / 3);
  background-color: white;
  color: #60574c;
  padding: 30px;
  border-radius: 10px;
}
section.clients .cards .client-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}
/* section 5 */
section.my-works-section {
  padding: 15px 200px 0;

  margin-top: 100px;
}
section.my-works-section h2 {
  font-size: 48px;
  font-weight: 400;
}
section.my-works-section .work-cards {
  padding-bottom: 20px;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
section.my-works-section .work-cards .work-card {
  width: calc((100% - 40px) / 3);
  height: 400px;
  background-size: cover;
  display: flex;
  align-items: end;
}
section.my-works-section .work-cards .work-card > div {
  background-color: rgba(51, 51, 51, 0.7);
  padding: 30px 40px;
  line-height: 2;
  width: 100%;
  color: aliceblue;
}
section.my-works-section .work-cards .card1 {
  background-image: url(./images/card1.jpg);
}
section.my-works-section .work-cards .card2 {
  background-image: url(./images/card2.jpg);
}
section.my-works-section .work-cards .card3 {
  background-image: url(./images/card3.jpg);
}
section.my-works-section .work-cards .card4 {
  background-image: url(./images/card4.jpg);
}
section.my-works-section .work-cards .card5 {
  background-image: url(./images/card5.jpg);
}
section.my-works-section .work-cards .card6 {
  background-image: url(./images/card6.jpg);
}
/* section 6 contact us */
section.contact-us {
  margin-top: 100px;
  padding: 0 200px 80px;
  display: flex;
}
section.contact-us .contact-info {
  width: 45%;
  line-height: 1.6;
  background-color: #333;
  color: white;
  padding: 0px 70px 0px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
section.contact-us .contact-info h2 {
  font-size: 42px;
}
section.contact-us .contact-info p,
section.contact-us .contact-info a {
  display: block;
  font-size: 24px;
  width: fit-content;
}
section.contact-us .contact-info > div .phone,
section.contact-us .contact-info > div .email {
  color: #8e7f6e;
}
section.contact-us .contact-info > div .email {
  text-decoration: none;
  border-bottom: 2px solid #8e7f6e;
}
section.contact-us .contact-info > div .email:hover {
  color: white;
  border-bottom: 2px solid white;
}
section.contact-us form {
  padding: 100px;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex-grow: 1;
}
section.contact-us form > input,
section.contact-us form > textarea {
  padding: 20px 30px;
  outline: none;
  border: unset;
  border-bottom: 2px solid #b5a99c;
}
section.contact-us form > input::placeholder,
section.contact-us form > textarea::placeholder {
  font-size: 18px;
}
section.contact-us form > button {
  padding: 20px 30px;
  border: none;
  color: white;
  background-color: #8e7f6e;
  font-size: 18px;
}
section.contact-us form > button:hover {
  background-color: #333;
}
/* footer */
footer > div {
  text-align: center;
  padding: 40px;
  color: white;
}
footer .one {
  background-color: #333;
}
footer .two {
  background-color: #413b33;
}
/* fixed button up */
button.up {
  background-color: #60574c;
  padding: 30px;
  border: none;
  border-radius: 50px;
  position: fixed;
  right: 50px;
  bottom: 150px;
}
button.up:hover {
  background-color: #8e7f6e;
}
button.up > a {
  text-decoration: none;
  color: white;
  font-size: 30px;
}

/* Reponsive On Laptop Screen */

@media (max-width: 1400px) {
  /* NavBar */
  nav {
    padding: 20px 50px;
  }
  /* Main */
  main {
    padding: 20px 50px 0;
  }
  main .about-me .achievments > div {
    margin-top: 50px;
  }
  main .about-me .achievments > div h2 {
    font-size: 40px;
  }
  main .about-me .achievments > div h4 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  main .about-me .achievments > div p {
    line-height: 1.3;
    padding-bottom: 13px;
  }
  /* Section 2 My Strengths */
  .section-2,
  .section-3,
  section.clients,
  section.my-works-section,
  section.contact-us {
    padding: 40px 50px;
  }
  /* Section 4 Education And Awards */
  .section-4 {
    padding: 40px 50px 200px;
  }
}
/* Reponsive On Tablet Screen */
@media (max-width: 991px) {
  /* NavBar */
  nav {
    padding: 10px 30px;
  }
  nav .links {
    display: none;
  }
  nav svg {
    display: block;
  }
  /* Main */
  main {
    display: block;
    padding: 20px 30px 0;
  }
  main .my-image,
  main .about-me {
    width: 100%;
  }
  /* Section 2 My Strengths */
  .section-2,
  .section-3,
  section.clients,
  section.my-works-section,
  section.contact-us {
    padding: 20px 30px;
  }
  .section-2 .my-strengths {
    flex-wrap: wrap;
  }
  .section-2 .my-strengths div {
    width: calc((100% - 40px) / 2);
    margin-top: 30px;
  }
  /* Section 3 Abit About Me*/
  .section-3 .skills {
    flex-wrap: wrap;
  }
  .section-3 .skills > div {
    width: calc((100% - 40px) / 2);
  }
  .section-3 .my-projects {
    padding: 20px 30px;
  }
  .section-3 .my-projects p {
    font-size: 28px;
  }
  .section-3 .my-projects button {
    margin-top: 20px;
  }
  /* Section 4 Education And Awards */
  .section-4 {
    padding: 20px 30px 200px;
  }
  .section-4 .personal-info {
    gap: 50px;
  }
  /* Clients Section */

  section.clients .cards {
    flex-wrap: wrap;
    width: 100%;
  }
  section.clients .cards .client-card {
    width: calc((100% - 40px) / 2);
  }
  /* My Works Section */
  section.my-works-section .work-cards {
    flex-wrap: wrap;
  }
  section.my-works-section .work-cards .work-card {
    width: calc((100% - 20px) / 2);
  }
  /* Contact Us Section*/
  section.contact-us {
    display: block;
  }
  section.contact-us .contact-info {
    width: 100%;
    padding: 70px;
    gap: 30px;
  }
  section.contact-us .contact-info h2 {
    font-size: 35px;
  }
}

/* Responsive On Phone Screen */
@media (max-width: 767px) {
  /* Main */
  main .about-me .achievments {
    display: block;
  }
  main .about-me .achievments > div {
    width: 100%;
  }
  .section-2 .my-strengths div {
    width:100%;
  }
  /* Section 3 Abit About Me*/
  .section-3 .skills > div {
    width: 100%;
  }
  /* Section 4 Education And Awards */
  .section-4 .personal-info {
    display: block;
  }
  .section-4 .personal-info .awards {
    margin-top: 30px;
  }

  /* Clients Section */
  section.clients h3 {
    font-size: 40px;
  }
  section.clients .cards .client-card {
    width: 100%;
  }
  /* My Works Section */

  section.my-works-section .work-cards .work-card {
    width: 100%;
  }
  /* Contact Us Section*/
  section.contact-us .contact-info {
    padding: 30px;
  }
  section.contact-us .contact-info h2 {
    font-size: 24px;
  }
  section.contact-us .contact-info div > p,
  section.contact-us .contact-info div .phone,
  section.contact-us .contact-info div .email {
    font-size: 20px;
  }
  section.contact-us form {
    padding: 30px;
  }
  section.contact-us form > input::placeholder,
  section.contact-us form > textarea::placeholder {
    font-size: 14px;
  }
  /* Footer */
  footer div p {
    font-size: 12px;
  }
}
