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

body {
  background: #fff;
}

ul {
  list-style-type: none;
}

main {
  margin: auto;
}

img {
  cursor: pointer;
}

header {
  display: flex;
  flex-direction: column;
  margin: auto;
}

.toolbar {
  background-color: #3c3a39;
  max-height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
}

.toolbar a {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  text-decoration: none;
}

.toolbar img {
  width: 18px;
  height: 12px;
}

.toolbar .menu {
  display: none;
}

.toolbar .menu-list-show ul {
  width: 85%;
  margin: 100px auto 0 auto;
}

.toolbar .menu-list-show ul li {
  width: 100%;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #fff5e1;
  padding: 10px;
  border-bottom: 1px solid #6f6c6b;
}

.toolbar .menu-list-show .close-menu {
  position: absolute;
  top: 2%;
  right: 2%;
}

.menu-list-show {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  line-height: 40px;
  background-color: #3c3a39;
  display: flex;
  justify-content: center;
  align-items: center;
}

.toolbar .menu ul {
  display: block;
}

.email-icon {
  display: none;
}

@media screen and (min-width: 768px) {
  .toolbar {
    padding: 0 100px;
    height: 72px;
  }

  .email-icon {
    display: block;
  }

  .close-menu {
    display: none;
  }

  .toolbar i {
    display: none;
  }

  .toolbar .menu {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .toolbar .menu ul {
    display: flex;
    gap: 12px;
  }

  .toolbar .menu ul li a {
    font-family: Inter, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
  }
}

.headline {
  position: relative;
  background-color: black;
  background-image: url("./assets/imagebg.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 150px 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 120px 24px;
  height: 100vh;
}

.headline .infos .title {
  color: #ff6b00;
  font-family: "Crete Round", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 56px;
  line-height: 64px;
  letter-spacing: 0.37px;
}

.headline .infos .sub-title {
  color: #fff5e1;
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  margin: 12px 0;
}

.headline .infos p {
  color: #fff;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 22px;
}

.headline .socials ul {
  display: flex;
  gap: 20px;
  padding: 8px;
  list-style-type: none;
}

@media screen and (min-width: 768px) {
  .headline {
    background-image: url("./assets/Illustration-header.png");
    background-position: right top;
    background-size: 400px 100%;
    flex-direction: row;
    align-items: center;
    gap: 25px;
  }

  .headline p {
    max-width: 400px;
  }

  .headline .infos {
    order: 2;
  }

  .headline .socials {
    order: 1;
  }

  .headline .socials ul {
    flex-direction: column;
  }
}

@media (min-width: 820px) {
  .headline {
    gap: 85px;
  }

  .headline p {
    max-width: 450px;
  }
}

.works {
  display: flex;
  flex-direction: column;
  padding: 120px 24px;
}

.works .title h2 {
  font-family: "Crete Round", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  text-align: left;
}

hr {
  margin-top: 24px;
  margin-bottom: 80px;
}

.work-container {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 24px;
}

.work-container .hero-work {
  display: flex;
  flex-direction: column;
}

.work-container .hero-work img {
  width: 327px;
  height: 237px;
  margin-bottom: 24px;
  transition: transform 1s;
}

.work-container .work-card img {
  width: 100%;
  height: 400px;
  display: block;
}

.work-container .hero-work img:hover {
  transform: scale(1.1);
}

.work-container .hero-work h2 {
  font-family: "Crete Round", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
  color: #091e42;
}

.work-container .hero-work p {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #091e42;
  margin: 12px 0;
}

.work-container .hero-work ul {
  display: flex;
  justify-content: flex-start;
  list-style-type: none;
  gap: 12px;
  padding: 12px 0;
}

.work-container .hero-work ul li {
  padding: 10px 12px;
  border: 1px solid #8993a4;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: #091e42;
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.03em;
  padding: 12px;
  background: #ff6b00;
  color: #fff;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  cursor: pointer;
  border: none;
  transition: all 0.8s;
}

button:hover {
  background: #fff5e1;
  border: 1px solid #f55800;
  color: #f55800;
}

.work-container .hero-work button {
  width: 124px;
  height: 48px;
}

.work-container .work-card {
  position: relative;
  overflow: hidden;
}

.work-container .work-card .layer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.work-container .work-card .layer .title {
  font-family: "Crete Round", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
  color: #fff;
  margin: 0 24px;
}

.work-container .work-card .layer p {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin: 12px 16px;
}

.work-container .work-card .layer ul {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  margin-left: 16px;
}

.work-container .work-card .layer ul li {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: #fff;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 24%);
}

.work-container .work-card button {
  width: 100%;
}

.work-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.open {
  opacity: 1;
  visibility: visible;
}

.work-popup-content {
  position: relative;
  background-color: #fff;
  width: 100%;

  /* height: 98%; */
  padding: 1rem;
  border-radius: 5px;
}

.popup-top-title {
  font-family: "Crete Round", sans-serif;
}

.work-popup-content .work-popup-close {
  position: absolute;
  right: 2rem;
  cursor: pointer;
}

.work-popup-bottom .work-popup-img {
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
}

.work-popup-bottom .work-popup-img .popup-img {
  width: 100%;
  max-height: 100%;
  object-fit: fill;
}

.work-popup-top .popup-list {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  margin-top: 10px;
}

.work-popup-bottom .work-popup-info .popup-info-desc {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #344563;
}

.work-popup-bottom .work-popup-btn {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.work-popup-top .work-cart {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 24%);
  border: 1px solid gray;
}

@media screen and (min-width: 768px) {
  .works {
    padding: 20px;
  }

  .works .title h2 {
    float: left;
    margin-right: 24px;
  }

  .work-container {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
  }

  .work-container .hero-work {
    display: block;
    grid-column: 1 / 3;
  }

  .work-container .hero-work img {
    float: left;
    height: 330px;
    margin-right: 24px;
  }

  .work-popup-content {
    background-color: #fff;
    width: 90%;
    height: 80%;
    padding: 1.5rem;
  }

  .work-popup-bottom {
    height: 80%;
    display: flex;
    gap: 20px;

    /* margin-top: 30px; */
  }

  .work-popup-bottom .work-popup-img {
    flex: 3;
    height: 100%;
  }

  .work-popup-bottom .work-popup-info {
    flex: 2;
    height: 100%;
    line-height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .work-popup-bottom .work-popup-btn {
    justify-content: flex-start;
  }
}

@media (min-width: 820px) {
  .works {
    padding: 50px;
  }

  .work-container {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px;
  }

  .work-container .hero-work {
    display: block;
    grid-column: 1 / 4;
  }

  .work-container .hero-work img {
    float: left;
    width: 60%;
    height: 448px;
    margin-right: 24px;
  }

  .work-container .work-card {
    padding-top: 50px;
  }
}

.about {
  display: flex;
  flex-direction: column;
  background: #1c1a19;
}

.about .top {
  display: flex;
  flex-direction: column;
  padding-top: 120px;
  padding-bottom: 209px;
  background-image: url("./assets/aboutbg.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 150px 260px;
}

.about .top * {
  margin: 0 24px;
}

.about .top h2 {
  font-family: "Crete Round", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 72px;
  line-height: 88px;
  letter-spacing: 0.37px;
  color: #ff6b00;
}

.about .top .about-desc {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #f4f5f7;
  margin: 24px;
}

.about .top button {
  width: 161px;
}

.about .bottom {
  padding-top: 136px;
  padding-bottom: 99px;
}

.about .bottom .about-main-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.language,
.frameworks,
.skills {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  font-family: InaiMathi, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #fff;
}

.about .bottom .about-main-list li ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 44px 0;
}

.about .bottom .about-main-list li ul li {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 43px;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .about .top {
    background-image: url("./assets/aboutBackground.png");
    background-position: right 100px;
    background-size: 400px 300px;
    padding-left: 10px;
  }

  .about .top .about-desc {
    max-width: 350px;
  }

  .about hr {
    margin: 0 50px;
  }

  .about .bottom {
    padding: 50px;
  }

  .about .bottom .about-main-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 100px;
  }
}

@media (min-width: 820px) {
  .about .top {
    padding-left: 50px;
  }

  .about .top .about-desc {
    max-width: 400px;
  }
}

.contact .contact-form {
  padding: 120px 24px;
  background-color: #fff;
  border-bottom: 1px solid #dfe1e6;
}

.contact .contact-form h2 {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  text-align: center;
  color: #172b4d;
  margin-bottom: 59px;
}

.contact .contact-form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.contact .contact-form form .error {
  color: red;
  font-weight: 600;
  font-size: 1rem;
}

.contact .contact-form form .get-in-touch {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input {
  width: 100%;
  border: none;
  outline: none;
  border-bottom: 1px solid #dbd8d7;
  padding: 14px;
}

.contact .invalid {
  border: 1px solid rgb(244, 89, 89);
}

.contact textarea {
  background-color: #fbf8f7;
  padding: 12px;
  width: 100%;
  height: 114px;
}

.contact .contact-icons {
  border-top: 1px solid #dfe1e6;
  background: #fff;
  padding: 20px 0;
}

.contact .contact-icons .contact-icons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .contact .contact-form {
    display: flex;
    gap: 40px;
    padding: 70px;
  }

  .contact .contact-form form {
    width: 100%;
    align-items: start;
  }

  .contact .contact-form h2 {
    max-width: 300px;
    text-align: left;
  }

  .contact .contact-form form .get-in-touch {
    flex-direction: row;
  }
}
