body {
  font-family: 'Inter', Tahoma, sans-serif;
  width: 100%;
}

* {
  scroll-behavior: smooth;
}

.flex {
  display: flex;
  justify-content: center;
}

.navigation {
  display: flex;
  padding-left: 24px;
  padding-right: 35px;
}

nav ul a {
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
  color: #3a4a42;
  display: flex;
  margin: 20px;
}

small {
  color: white;
  border: 1px solid #172b4d;
  background: #172b4d;
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  width: 75%;
  text-align: center;
}

.navigation a {
  flex: 1;
  font-style: normal;
  color: #28352f;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  text-decoration: none;
}

.nav_collapse {
  display: none;
}

.collapse {
  display: none;
}

.button_Container {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  width: 100%;
  justify-content: center;
}

.button_foot_Container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin-left: auto;
  margin-right: auto;
}

nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  height: 100vh;
  width: 100%;
  padding: 3rem 0 0 0;
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  background-color: white;
  z-index: 2;
}

#closebtn {
  align-self: flex-end;
  margin-right: 2rem;
}

.hero {
  /* background-image: url(assets/images/background_img.svg); */
  background-size: 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  padding-top: 60px;
}

.hero_content {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #172b4d;
}

.hero_head {
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 60px;
  text-align: center;
  color: #172b4d;
}

.hero_head span {
  color: #36b37e;
}

.text {
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 52px;
  text-align: center;
}

.hero ul {
  display: flex;
  width: 30%;
}

.hero li {
  list-style: none;
  flex: 1;
}

.popup_noscroll {
  overflow-y: hidden;
}

.projects_header {
  position: absolute;
  width: 327px;
  height: 200px;
  top: 100px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 52px;
  text-align: center;
  color: #172b4d;
  order: 0;
  flex-grow: 0;
  margin: 24px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.items_space {
  height: 70px;
}

.aboutme_head {
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 52px;
  text-align: center;
  color: #172b4d;
  margin: 10px 0;
}

.works_head {
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 52px;
  text-align: center;
  color: #172b4d;
  margin: 24px 0;
}

#down_icon {
  margin-top: 40px;
}

.works_container {
  display: flex;
  flex-direction: column;
  padding-top: 75px;
  align-items: center;
  width: 95%;
}

.flex_container_primary {
  display: flex;
  flex-direction: column;
  border: 1px solid #d0d9d4;
  border-radius: 15px;
  margin-bottom: 150px;
  height: min-content;
  width: 95%;
  justify-self: center;
}

.placehold {
  height: 252px;
}

.works_container_secondary {
  gap: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  flex: 33.33%;
  width: 100%;
}

.flex_container_primary h3 {
  text-align: center;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #3a4a42;
}

.flex_container_primary ul {
  display: flex;
  align-items: center;
  padding: 0;
  justify-content: center;
}

.flex_container_primary li {
  flex: none;
  list-style-type: none;
  padding: 8px 12px;
  margin: 0 8px;
  border-radius: 4px;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  color: #3a4a42;
  background: #ebf0ee;
}

.flex_container_secondary {
  flex-direction: column;
  align-items: center;
  width: 95%;
  padding: 20px;
  gap: 20px;
}

.web_button {
  background: #36b37f;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 15px;
  margin: 15px;
  transition: all 300ms ease-in 0ms;
}

a.web_button:hover {
  background: #36b37f;
  box-shadow: 1px -1px 26px -3px rgba(54, 179, 127, 0.52);
  -webkit-box-shadow: 1px -1px 26px -3px rgba(54, 179, 127, 0.52);
  -moz-box-shadow: 1px -1px 26px -3px rgba(54, 179, 127, 0.52);
}

a.web_button:active {
  background-color: #008552;
}

.overlap {
  all: inherit;
  transform: translateY(-263px);
  z-index: 1;
  background-color: #fff;
  border-radius: 10px;
}

.aboutme_text {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  color: #42526e;
  margin-top: 40px;
}

.grid_container_aboutme {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto auto auto;
  justify-content: center;
}

.first_about_container {
  background-size: 80px;
  background-image: url(assets/images/desktop/aboutme1.png), url(assets/images/desktop/aboutme2.png);
  background-position: right top, left bottom;
  background-repeat: no-repeat, no-repeat;
}

.center_align {
  align-self: center;
}

.center_button {
  width: fit-content;
  justify-self: center;
  align-self: center;
}

.nested_flexbox {
  background: #ebf0ee;
  border-radius: 8px;
  text-align: center;
  list-style: none;
  height: 352px;
  width: 327px;
  display: flex;
  flex-direction: column;
}

.nested_flexbox ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nested_flexbox img {
  order: -1;
  padding-top: 20px;
}

.first_footer_section {
  background-image: url(./assets/images/desktop/contact-form-illustratoin-3-desktop.svg);
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: 330px 710px;
  width: 100%;
  margin-bottom: 260px;
}

.popup_footer img {
  padding-left: 0.75rem;
}

.navigation img:hover {
  transform: scale(1.2);
}

.nested_flexbox h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #344563;
}

.nested_flexbox li {
  flex: none;
  list-style-type: none;
  padding: 8px 12px;
  margin: 8px;
  border-radius: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  background: #fff;
  color: #36b37e;
}

.contact_head {
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 52px;
  text-align: center;
  color: #172b4d;
}

form {
  margin-top: 58px;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-content: center;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.first_footer_section input {
  background: #fff;
  border: 1px solid #d0d9d4;
  box-sizing: border-box;
  border-radius: 4px;
  padding: 15px 16px;
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 24px;
  color: #6b778c;
  width: 90%;
  height: 48px;
  margin-left: 24px;
}

.first_footer_section textarea {
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #60c095;
  background: #fff;
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 24px;
  color: #091e42;
  width: 90%;
  box-sizing: border-box;
  height: 114px;
  margin-left: 24px;
}

.first_footer_section button {
  border: 1px solid #fff;
}

footer {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.footer_icon {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  padding: 0;
  margin-top: 40px;
}

.footer_icon li {
  list-style: none;
}

.first_footer_section h4 {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  color: #42526e;
  margin: 0;
}

.popup {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  width: 80%;
  display: flex;
  flex-direction: column;
}

.popup_body {
  display: flex;
  flex-direction: column;
}

.popup_footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  order: 5;
}

.popup_footer a {
  margin: 1rem 0 0 0;
  display: flex;
}

.popup_img {
  order: 1;
}

.popup_img2 {
  display: none;
}

.popup_body h2 {
  order: 2;
  font-style: normal;
  font-weight: bold;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
  margin: 1rem 0 0 0;
}

#popup_container {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
}

.desktop_nav {
  display: none;
}

.form_button {
  background: #36b37f;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 17px;
}

.form_foot_button {
  background: #36b37f;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 17px;
}

.form_button:hover,
.form_button:focus {
  background: #36b37f;
  box-shadow: 0 8px 16px rgba(54, 179, 127, 0.24);
}

.form_button:active {
  background-color: #008552;
}

.links {
  background-size: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.links ul {
  display: flex;
  width: 30%;
}

.links li {
  list-style: none;
  flex: 1;
}

.popup_body p {
  order: 4;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 30px;
  color: #344563;
}

.close_mobile {
  display: flex;
  position: absolute;
  width: fit-content;
  align-self: flex-end;
  margin: 1.5rem 1.5rem 0 0;
}

.close_desktop {
  display: none;
}

.ul_mobile {
  order: 3;
  display: flex;
  list-style: none;
  align-items: center;
  padding: 0;
}

.ul_mobile li {
  flex: none;
  list-style-type: none;
  padding: 8px 12px;
  margin: 0 8px 0 0;
  border-radius: 4px;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  color: #3a4a42;
  background: #ebf0ee;
}

.ul_desktop {
  display: none;
}

.popup_header {
  display: none;
}

.desktop-fields {
  display: none;
}

@media screen and (min-width: 768px) {
  #icon {
    display: none;
  }

  #logo {
    display: none;
  }

  li img,
  nav a,
  .hero_head {
    transition: all 0.9s ease;
  }

  .nav_collapse {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0;
    background: none;
  }

  #closebtn {
    display: none;
  }

  nav ul img {
    display: none;
  }

  nav ul {
    list-style: none;
    padding: 0;
    height: auto;
    position: initial;
    background: none;
    overflow: initial;
    flex-direction: row;
    justify-content: center;
  }

  nav ul a {
    margin: 26px;
    font-weight: 600;
    font-style: normal;
    line-height: 20px;
    text-decoration: none;
    color: #344563;
    font-size: 15px;
    transition-property: font-size, color;
    transition-duration: 1s, 1s;
    transition-delay: 0s, 0s;
  }

  .toolbar {
    display: none;
  }

  .logo {
    display: none;
  }

  .background_desktop {
    background-image: url(./assets/images/desktop/main-page-desktop-background.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    height: 130vh;
  }

  nav {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .tool_nav {
    display: none;
  }

  .desktop_nav {
    display: flex;
    list-style: none;
    padding: 0;
  }

  .desktop_nav a {
    margin: 26px;
    font-weight: 600;
    font-style: normal;
    line-height: 20px;
    text-decoration: none;
    color: #344563;
    font-size: 15px;
    transition: all 250ms ease-out 0ms;
  }

  .popup_body a {
    margin: 1rem 0 0 0;
  }

  .popup_footer a {
    margin: 1rem 0 0 0;
    display: none;
  }

  .popup_header a {
    align-items: center;
    display: flex;
  }

  .popup_header img {
    padding-left: 0.75rem;
  }

  li img:hover,
  nav a:hover,
  .hero_head:hover {
    transform: scale(1.6);
    transition-duration: 0.9s;
  }

  .desktop_nav a:hover {
    font-weight: bold;
    font-size: 20px;
  }

  .hero {
    background-image: none;
  }

  .hero p {
    width: 45%;
  }

  .hero ul {
    width: 20%;
    padding: 0;
    margin: 20px 0 70px 0;
  }

  .hero li {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 500ms ease-in 0ms;
    position: relative;
  }

  .flex_container_primary li {
    margin: 8px;
  }

  .footer_icon {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
  }

  .footer_icon li {
    list-style: none;
    align-items: center;
    align-content: center;
    padding: 5px;
  }

  .ul_desktop li {
    flex: none;
    list-style-type: none;
    padding: 8px 12px;
    margin: 0 8px 0 0;
    border-radius: 4px;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #3a4a42;
    background: #ebf0ee;
  }

  .hero li:hover {
    bottom: 3px;
  }

  .flex_container_primary {
    margin-bottom: 0;
  }

  .flex_container_primary ul {
    flex-wrap: wrap;
  }

  .aboutme_text {
    width: 50%;
    display: flex;
    justify-self: center;
  }

  .first_about_container {
    background-size: 150px;
  }

  .grid_container_aboutme {
    padding: 0;
  }

  .works_container_secondary {
    display: flex;
    flex-direction: row;

    /* grid-template-columns: auto auto auto;
    grid-template-rows: auto auto; */
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .flex_container_secondary {
    flex-direction: row;
    align-items: center;
    align-content: center;
    margin: 0 auto;
    gap: 20px;
  }

  .nested_flexbox {
    height: 382px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    align-content: center;
    width: 95%;
    padding: 20px;
    gap: 20px;
  }

  .contact_head {
    width: 50%;
    font-size: 30px;
    font-style: normal;
    font-weight: bold;
    line-height: 52px;
    text-align: center;
    box-sizing: border-box;
  }

  .popup {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #ebecf0;
    box-shadow: 0 48px 48px rgba(37, 47, 137, 0.08);
    border-radius: 8px;
    width: 50%;
    display: flex;
    flex-direction: column;
  }

  .popup_body {
    display: flex;
    flex-direction: column;
  }

  .popup_h2 {
    display: none;
  }

  .popup_body h2 {
    order: 0;
    width: 65%;
  }

  .popup_header {
    display: flex;
    align-items: baseline;
    justify-content: space-around;
  }

  .popup_footer {
    display: flex;
    justify-content: space-between;
  }

  .close_mobile {
    display: none;
  }

  .close_desktop {
    display: flex;
    width: fit-content;
    align-self: flex-end;
  }

  .popup_img {
    display: none;
  }

  .popup_img2 {
    display: initial;
    border-radius: 8px;
    width: 100%;
    margin-top: 2%;
  }

  .ul_desktop {
    order: 3;
    display: flex;
    list-style: none;
    align-items: center;
    padding: 0;
  }

  .ul_mobile {
    display: none;
  }

  .first_footer_section {
    display: flex;
    flex-direction: row;
    flex: 1 1 100px;
    align-items: center;
    width: 95%;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    background-image: url(./assets/images/desktop/illustration-1-contact-form-desktop.svg), url(./assets/images/desktop/contact-form-illustratoin-3-desktop.svg), url(./assets/images/desktop/illustration-2-contact-form-desktop.svg);
    background-repeat: no-repeat;
    background-size: 120px;
    background-position: left 450px, right 400px, 200px 450px;
  }

  form {
    margin-top: 58px;
    display: flex;
    flex-direction: column;
    width: 40%;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .first_footer_section input {
    background: #fff;
    border: 1px solid #d0d9d4;
    box-sizing: border-box;
    border-radius: 4px;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    color: #6b778c;
    width: 100%;
  }

  .first_footer_section textarea {
    border-radius: 4px;
    border: 1px solid #60c095;
    background: #fff;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    color: #091e42;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
  }

  .button_Container {
    margin: 0;
    line-height: 24px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
  }

  .button_foot_Container {
    margin: 24px;
    line-height: 24px;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
  }

  .first_footer_section button {
    background: #36b37f;
    border-radius: 4px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.03em;
    width: 100%;
  }

  .first_footer_section button:hover,
  .first_footer_section button:focus {
    opacity: 0.9;
    outline: 0;
  }

  footer h4 {
    display: none;
  }

  small {
    width: auto;
    box-sizing: border-box;
  }
}
