body {
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  margin: 0;
}

.container {
  border: 1px solid #ccc;
  background-image: url('images/header-ilustration.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: 40px;
}

.desktop-background {
  display: none;
}

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

.head {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
}

.logo {
  text-decoration: none;
  color: #172b4d;
}

.mobile-menu {
  height: 24px;
  width: 24px;
  padding: 16px 16px;
  right: 24px;
  cursor: pointer;
}

.mobile-menu:hover {
  background-color: whitesmoke;
  border-radius: 10px;
}

nav.menu-btn {
  display: block;
}

nav {
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  background: #fff;
  padding: 1em;
}

.primary-nav {
  list-style: none;
  margin-top: 5em;
}

.primary-nav a {
  text-decoration: none;
  color: #172b4d;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  display: block;
  margin-bottom: 40px;
}

.primary-nav a:hover {
  color: #6b778c;
}

.mobile-menu-exit {
  height: 20px;
  width: 20px;
  cursor: pointer;
  float: right;
  margin: 0.5em 2em 0.5em 0.5em;
  padding: 14px;
}

.present {
  color: #172b4d;
  font-size: 40px;
  font-weight: 600;
  line-height: 52px;
  text-align: center;
  margin-top: 64px;
  font-style: normal;
}

.title {
  margin-bottom: 0;
}

.second-title {
  color: #36b37f;
  margin-top: 0;
}

.description-container {
  margin: 0;
}

.personal-description {
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  line-height: 25px;
  margin: 20px 24px;
  text-align: center;
  color: #172b4d;
}

.social {
  width: 20px;
  height: 20px;
  padding: 10px;
}

.social:hover {
  background-color: whitesmoke;
  border-radius: 10px;
  cursor: pointer;
}

.social-media {
  padding-top: 38px;
  padding-left: 0;
  display: flex;
  justify-content: center;
  list-style-type: none;
}

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

.arrow {
  width: 40px;
  height: 40px;
  margin-top: 48px;
}

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

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

.works-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 52px;
  color: #172b4d;
  margin-bottom: 24px;
  grid-column: 2;
  text-align: center;
}

.middle-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 62px;
}

.indicator {
  width: 48px;
  height: 4px;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
  z-index: 10;
  background-color: #fff;
  border-radius: 16px;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

#overlay {
  position: fixed;
  opacity: 0;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

.project-modal {
  height: auto;
  width: 300px;
  border: 1px solid #dfe1e6;
  background-color: #fff;
  border-radius: 16px;
  padding: 16px;
}

.close-project {
  height: 14px;
  width: 14px;
  position: relative;
  float: right;
  right: 20px;
  top: 31px;
  z-index: 2;
  cursor: pointer;
  background: whitesmoke;
  border-radius: 3px;
  padding: 2px;
}

.popup-image {
  position: relative;
  display: flex;
  width: 300px;
  height: 190px;
  z-index: 1;
}

.popup-title {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 25px;
  line-height: 44px;
  color: #172b4d;
  margin-bottom: 15px;
}

.project-languages {
  display: flex;
  font-size: 10px;
  font-weight: 600;
  list-style-type: none;
  padding: 0;
  letter-spacing: 0.03em;
  color: #3a4a42;
  gap: 10px;
}

.project-language {
  background: #ebf0ee;
  border-radius: 4px;
  padding: 8px 12px;
  flex: none;
  order: 3;
}

.popup-description {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #344563;
}

.buttons-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.see-live,
.see-source {
  display: flex;
  background: #36b37f;
  border-radius: 4px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.03em;
  color: #fff;
  height: 38px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-decoration: none;
}

.see-live {
  width: 125px;
}

.see-source {
  width: 150px;
}

.seelive-icon,
.github-whiteicon {
  height: 22px;
  width: 22px;
  position: relative;
  top: 2.5px;
  left: 3px;
}

.preview-image {
  width: 260px;
  height: 170px;
  border: 10px solid whitesmoke;
  border-radius: 10px;
}

.cards-container {
  display: grid;
  grid-template-columns: auto 280px auto;
}

.work-card {
  grid-column: 2;
  background: #ebf0ee;
  border: none;
  box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0;
  border-radius: 8px;
  width: 280px;
  margin-bottom: 24px;
}

.card-title1,
.card-title2 {
  display: flex;
  justify-content: center;
  margin-top: 0;
  font-size: 16px;
}

.card-title1 {
  margin-bottom: 3px;
}

.card-content {
  /* margin-top: 251px; */
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.languages {
  display: flex;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  list-style-type: none;
  padding: 0;
  letter-spacing: 0.03em;
  color: #3a4a42;
}

.language {
  background: #ebf0ee;
  border-radius: 4px;
  padding: 7px 10px;
  margin-right: 2px;
  margin-left: 2px;
  flex: none;
  order: 3;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  margin-bottom: 13px;
}

.project-button {
  border: none;
  background: #36b37f;
  border-radius: 4px;
  width: 100px;
  height: 30px;
  font-size: 13px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.03em;
  text-align: center;
  color: #fff;
}

.project-button:hover {
  cursor: pointer;
}

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

.resume-title {
  margin-left: 90px;
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  text-align: center;
  margin-bottom: 24px;
  color: #172b4d;
  z-index: 2;
}

.resume-button-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 59px;
}

.resume-button {
  border: none;
  background: #36b37f;
  border-radius: 4px;
  width: 159px;
  height: 48px;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.03em;
  text-align: center;
  color: #fff;
  margin-right: 105px;
}

.resume-button:hover {
  cursor: pointer;
}

.resume-image1 {
  height: 127px;
  width: 68px;
  z-index: 1;
}

.resume-image2 {
  height: 57px;
  width: 70px;
}

.resume-image-desktop1,
.resume-image-desktop2 {
  display: none;
}

.resume-description {
  font-size: 15px;
  font-weight: 300;
  line-height: 30px;
  text-align: center;
  color: #42526e;
  margin: 0 12px 24px;
}

.about-card-icon {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-left: 124px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  background-color: #fff;
  box-shadow: 0 16px 24px rgba(37, 47, 137, 0.08);
  align-items: center;
}

.language-icon {
  width: 44px;
  height: 44px;
}

.about-card {
  background: #ebf0ee;
  border: 1px solid #d0d9d4;
  border-radius: 8px;
  height: 352px;
  width: 327px;
  margin-left: 26px;
  margin-bottom: 24px;
}

.about-card-content {
  display: flex;
  align-items: center;
}

.about-card-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0;
  text-align: center;
  color: #344563;
  margin-top: 64px;
}

.languages2 {
  display: flex;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  list-style-type: none;
  letter-spacing: 0.03em;
  color: #36b37e;
  padding-left: 28px;
  padding-right: 28px;
  order: 1;
}

.language2 {
  background: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  text-align: center;
}

.frameworks {
  display: flex;
  justify-content: space-evenly;
  font-size: 12px;
  font-weight: 600;
  list-style-type: none;
  letter-spacing: 0.03em;
  color: #36b37e;
  padding-left: 0;
  order: 1;
}

.framework {
  background: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  text-align: center;
}

.skills {
  display: flex;
  justify-content: space-evenly;
  font-size: 12px;
  font-weight: 600;
  list-style-type: none;
  letter-spacing: 0.03em;
  color: #36b37e;
  padding-left: 0;
  order: 1;
}

.skill {
  background: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  text-align: center;
}

.skill2 {
  background: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  text-align: center;
}

.about-interest {
  font-size: 35px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  margin-bottom: 24px;
  color: #172b4d;
  padding: 0 24px;
  margin-top: 60px;
}

.form-list {
  list-style: none;
  padding-left: 35px;
  margin-bottom: 0;
}

.name-input::placeholder,
.email-input::placeholder {
  color: #6b778c;
  font-weight: 400;
  font-size: 15px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
}

.name-input {
  width: 295px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #d0d9d4;
  margin-bottom: 24px;
  padding: 15px 16px;
}

.email-input {
  width: 295px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #d0d9d4;
  margin-bottom: 24px;
  font-style: normal;
  padding: 15px 16px;
}

.message-input::placeholder {
  color: black;
  font-weight: 400;
  font-size: 15px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
}

.message-input {
  width: 295px;
  height: 114px;
  border-radius: 4px;
  border: 1px solid #60c095;
  margin-bottom: 24px;
  padding: 15px 16px;
}

.input-button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  margin-right: 24px;
}

.button-input {
  border: none;
  background: #36b37f;
  border-radius: 4px;
  width: 120px;
  height: 43px;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.03em;
  text-align: center;
  color: #fff;
}

.button-input:hover {
  cursor: pointer;
}

.form-background {
  width: 50px;
  height: 130px;
  float: right;
  position: relative;
  top: -70px;
}

.error-form {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  color: red;
  padding: 5px;
  margin-top: 15px;
}

.footer-background1,
.footer-background2,
.footer-background3 {
  display: none;
}

.free-space {
  display: none;
}

.rectangle-container {
  display: none;
}

.social2 {
  width: 20px;
  height: 20px;
  padding: 10px;
}

.social2:hover {
  background-color: whitesmoke;
  border-radius: 10px;
  cursor: pointer;
}

.social-media2 {
  float: clear;
  padding-top: 38px;
  padding-left: 0;
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin-left: 50px;
}

.my-mail {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  color: #42526e;
  padding-left: 50px;
  margin-bottom: 310px;
}

.bar-container {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.low-bar {
  height: 5px;
  width: 134px;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .container {
    background-image: url('./images/Header-llustration-desktop.png');
    background-size: 100%;
    background-position-y: -10px;
    background-position-x: 20px;
    border: none;

    /* transition: ease-in 1s; */
  }

  .mobile-menu,
  .logo {
    display: none;
  }

  .mobile-menu-exit {
    display: none;
  }

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

  .nav-bar nav {
    position: relative;
    background: none;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 30px;
    padding: 0;
  }

  .primary-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin-top: 26px;
    margin-bottom: 26px;
  }

  .primary-nav a {
    font-size: 18px;
    text-decoration: none;
    color: #172b4d;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 0 16px;
  }

  .present {
    font-weight: 1000;
    font-size: 40px;
    line-height: normal;
  }

  .title {
    margin-top: 140px;

    /* animation-duration: 2s;
    animation-name: slidein; */
  }

  @keyframes slidein {
    from {
      margin-left: 100%;
      width: 300%;
    }

    to {
      margin-left: 0%;
      width: 100%;
    }
  }

  .second-title {
    margin-bottom: 0;
  }

  .description-container {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
  }

  .personal-description {
    grid-column: 2;
    margin: 24px 0 0 0;
  }

  .social-media {
    padding: 0;
    margin-top: 20px;
  }

  .arrow {
    margin-top: 0;
  }

  .division {
    margin-top: 30px;
  }

  .work-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    margin-top: 370px;
    margin-bottom: 52px;
  }

  .middle-icon {
    display: none;
  }

  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    z-index: 10;
    background-color: #fff;
    border-radius: 8px;
  }

  .modal.active {
    transform: translate(-50%, -50%) scale(1);
  }

  #overlay {
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    pointer-events: none;
  }

  #overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .project-modal {
    /* height: 570px; */
    width: 500px;
    border-radius: 8px;
    padding-top: 0;
  }

  .close-project {
    display: flex;
    height: 8px;
    width: 8px;
    padding: 8px;
    top: 12px;
    right: 10px;
    cursor: pointer;
    background: #ebecf0;
    border-radius: 8px;
  }

  .popup-image {
    width: 480px;
    height: 300px;
    padding-top: 18px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .popup-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 44px;
    color: #172b4d;
    padding-left: 26px;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .project-languages {
    padding-left: 24px;
    display: flex;
    font-size: 9px;
    font-weight: 600;
    list-style-type: none;
    letter-spacing: 0.03em;
    color: #3a4a42;
    gap: 10px;
  }

  .popup-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 20px;
    color: #344563;
    padding-left: 24px;
  }

  .buttons-container {
    display: flex;
    justify-content: flex-end;
    position: relative;
  }

  .see-live,
  .see-source {
    display: flex;
    background: #36b37f;
    border-radius: 4px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0.03em;
    color: #fff;
    height: 32px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-right: 10px;
    text-decoration: none;
  }

  .see-live {
    width: 100px;
  }

  .see-source {
    width: 120px;
  }

  .seelive-icon,
  .github-whiteicon {
    height: 17px;
    width: 17px;
    position: relative;
    top: 2.5px;
    left: 3px;
  }

  .work-card {
    grid-column: auto;
    justify-self: center;
    margin-bottom: 0;
  }

  .work-card:hover {
    transform: scale(1.05);
  }

  .preview-image {
    width: 260px;
    height: 170px;
    border: 10px solid whitesmoke;
    border-radius: 10px;
  }

  .cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 5px;
    row-gap: 20px;
  }

  .resume {
    color: #172b4d;
    font-family: 'Inter', sans-serif;
    margin-top: 192px;
  }

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

  .about-me-container {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .resume-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 52px;
    margin-bottom: 15px;
    color: #172b4d;
    margin-left: 0;
  }

  .resume-button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 59px;
  }

  .resume-button {
    border: none;
    background: #36b37f;
    border-radius: 4px;
    width: 159px;
    height: 45px;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-align: center;
    color: #fff;
    margin-right: 0;
  }

  .resume-button:hover {
    cursor: pointer;
    background: #008552;
  }

  .resume-image-desktop1,
  .resume-image-desktop2 {
    display: flex;
  }

  .resume-image-desktop1 {
    height: 190px;
    width: 220px;
    float: right;
    position: relative;
    top: 180px;
    left: 10px;
  }

  .resume-image-desktop2 {
    height: 129px;
    width: 230px;
    float: left;
    position: relative;
    top: 320px;
    left: -10px;
  }

  .resume-image1,
  .resume-image2 {
    display: none;
  }

  .resume-container {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    margin-bottom: 20px;
  }

  .resume-description {
    grid-column: 2;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    margin: 10px 24px;
    text-align: center;
    color: #172b4d;
  }

  .aboutme-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    column-gap: 20px;
  }

  .about-card-icon {
    margin-left: 140px;
  }

  .about-card {
    justify-self: center;
    margin: 0;
    width: 360px;
  }

  .interest-form {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-rows: 1fr;
    margin-top: 164px;
    column-gap: 24px;
    z-index: 999;
  }

  .interest {
    align-self: center;
  }

  .about-interest {
    margin-top: 0;
    font-weight: 700;
    font-size: 30px;
    line-height: 52px;
  }

  .about-interest:hover {
    transform: translate(12px);
    transition: ease 2s;
  }

  .form-list {
    padding: 0;
  }

  .name-input {
    width: 80%;
    height: 48px;
  }

  .email-input {
    width: 80%;
    height: 48px;
  }

  .message-input {
    width: 80%;
    height: 114px;
  }

  .input-button-container {
    display: flex;
    justify-content: left;
  }

  .form-background {
    display: none;
  }

  .error-form {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 32px;
    text-align: right;
    color: red;
    text-decoration: underline;
    padding: 5px;
    position: relative;
    left: 305px;
    margin-top: 18px;
  }

  .footer-background1,
  .footer-background2,
  .footer-background3 {
    display: flex;
    margin: 10px;
  }

  .footer-background1 {
    height: 470px;
    width: 200px;
    float: right;
    position: relative;
    top: -300px;
    left: 10px;
  }

  .footer-background2 {
    height: 370px;
    width: 220px;
    float: left;
    position: relative;
    top: -150px;
    left: -10px;
  }

  .footer-background3 {
    height: 105px;
    width: 130px;
    float: left;
    position: relative;
    top: 40px;
    left: 60px;
  }

  .rectangle-container {
    display: flex;
    margin-top: 200px;
  }

  .rectangle {
    background: #dfe1e6;
    height: 2px;
    width: 100%;
    position: relative;
    top: -270px;
  }

  .my-mail {
    display: none;
  }

  .bar-container {
    display: none;
  }

  .social-media2 {
    margin: 0;
    margin-top: 251px;
    padding-top: 27px;
  }
}
