* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #191765;
  font-family: 'roboto', sans-serif;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

.navbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
}

.navbar .logo {
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 24px;
}

.navbar .menu {
  margin-right: 32px;
}

.menu_mobile {
  position: fixed;
  display: none;
  flex-direction: column;
  align-content: center;
  height: 100vh;
  width: 100%;
  background-color: #191765;
  top: 0;
}

.portfolio_container,
.about_container,
.contact_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 48px 0 40px;
}

.menu_mobile a {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #edecff;
}

.menu_mobile .img {
  display: flex;
  justify-content: flex-end;
  margin-right: 24px;
}

.popup_window {
  display: flex;
  flex-direction: column;
  border: 1px solid #fff;
  margin: 0 24px;
  padding: 0 24px;
  background-color: rgba(255, 255, 255, 0.16);
  z-index: 10;
}

#popup_window {
  display: none;
  position: absolute;
  top: 0;
}

.background_popup {
  background-color: #191765;
  z-index: 5;
}

.top_title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.top_title .h_tag {
  font-weight: 500;
  font-size: 20px;
  color: #fff;
}

.photo {
  margin-top: 24px;
}

.photo img {
  object-fit: cover;
  width: 279px;
}

.popup_window .portfolio_para {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 24px;
  margin-top: 24px;
  text-align: center;
}

.popup_window .unordered_list {
  display: flex;
  list-style: none;
  justify-content: space-between;
  align-self: center;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  margin-top: 24px;
}

.html1,
.ruby1,
.css1 {
  padding: 10px 20px;
  border-right: 1px solid #646369;
}

.html1 {
  border-left: 1px solid #646369;
}

.button1,
.button2 {
  position: static;
  justify-content: center;
  align-items: center;
  background-color: #7d73fc;
  border: none;
  margin: 24px auto 0 auto;
  display: flex;
  flex-direction: row-reverse;
}

.button1 {
  width: 108px;
  height: 48px;
}

.button2 {
  width: 124px;
  height: 48px;
  margin-bottom: 28px;
}

.popup_window span {
  color: #edecff;
  font-weight: 500;
  font-size: 12px;
  margin-right: 15px;
}

.headline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  background-image: url(./assets/Ellipse18.svg);
  background-repeat: no-repeat;
}

.headline .myname {
  font-weight: 700;
  font-size: 48px;
  color: #7d73fc;
  margin-top: 47px;
}

.headline .subtitle {
  font-weight: 500;
  font-size: 32px;
  color: #edecff;
  margin-top: 40px;
  align-self: center;
}

.headline .myinfo {
  font-weight: 400;
  font-size: 20px;
  color: #c8c8d4;
  margin-top: 40px;
  padding-bottom: 33px;
  border-bottom: 1px solid #646369;
}

.languages_container {
  display: flex;
  flex-wrap: wrap;
  padding: 0 24px 41px 24px;
  background-image: url(./assets/Ellipseround.svg);
  background-repeat: no-repeat;
  background-position: right top;
}

.languages_container > div > ul {
  list-style: none;
}

.languages_container > div > ul > * {
  margin-top: 20px;
}

.frameworks,
.skills,
.language {
  width: 50%;
  font-weight: 400;
  font-size: 15px;
  color: #f5f5ff;
  box-sizing: border-box;
  margin-top: 37px;
}

.language,
.skills {
  padding-left: 20px;
}

.social_media_container {
  margin: 0 24px;
  padding-top: 48px;
  border-top: 1px solid #646369;
}

.social_media_container .social_media {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.social_media_container .social_media > * {
  margin: 0 10px;
}

.work_box {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin-top: 28px;
}

.work_box .work {
  margin-left: 20px;
  font-weight: 500;
  font-size: 20px;
  color: #a2a3ae;
}

.languages_container h6 {
  font-weight: 500;
  font-size: 12px;
  color: #9490ff;
  margin-bottom: 29px;
}

.recent_heading {
  font-weight: 500;
  font-size: 40px;
  color: #9490ff;
  margin: 83px 24px 33px 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #646369;
}

.About_myself {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: repeat(4, auto);
  row-gap: 40px;
  background-image: url(./assets/Ellipse19.svg), url(./assets/Ellipse20.svg), url(./assets/Ellipse21.svg), url(./assets/Ellipse22.svg);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: 0 168px, right 879px, 0 1658px, 200px 2399px;
}

.project-container {
  display: flex;
  flex-direction: column;
  margin: 0 24px;
}

.project-container .image_placeholder {
  background-color: #fff;
  width: 327px;
  height: 236px;
}

.project-container .title_post {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 32px;
  height: 105px;
  color: #fff;
  margin: 24px 0;
}

.project-container .supporting_text {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #dcdce8;
  margin-bottom: 24px;
}

.project-container .tags {
  display: flex;
  justify-content: space-between;
  align-self: center;
  margin-bottom: 24px;
  list-style: none;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
}

.tags li {
  padding: 10px 20px;
  border-right: 1px solid #646369;
}

.tags li:last-child {
  padding: 10px 0 10px 20px;
  border-right: none;
}

.button {
  position: static;
  width: 89px;
  height: 48px;
  text-align: center;
  background-color: #7d73fc;
  align-items: center;
  color: #edecff;
  font-weight: 500;
  font-size: 12px;
  border: none;
}

button:hover {
  background-color: #7d73fc;
  box-shadow: 0 8px 16px rgba(125, 115, 252, 0.48);
}

button:active {
  background-color: #5e42d7;
}

.contact_text {
  display: flex;
  flex-direction: column;
  margin: 0 24px;
}

.contact_text .contact_us {
  display: flex;
  justify-content: center;
  font-weight: 500;
  font-size: 32px;
  color: #9390ff;
  margin-top: 120px;
}

.contact_text .description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #f5f5ff;
  text-align: center;
  margin: 24px 0 40px 0;
}

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

.form_container input {
  width: 327px;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 0;
  border-style: none;
  margin: 0 24px 24px 24px;
}

.form_container .text_area {
  height: 148px;
  width: 327px;
  border-radius: 0;
  border-style: none;
  margin: 0 24px;
  resize: none;
  padding: 12px;
  box-sizing: border-box;
}

#error_message {
  color: #f00;
  display: none;
  text-align: center;
  font-style: italic;
}

.form_container input::placeholder,
.form_container .text_area::placeholder {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
}

.form_button {
  width: 89px;
  height: 48px;
  text-align: center;
  background-color: #7d73fc;
  align-items: center;
  color: #edecff;
  font-weight: 500;
  font-size: 12px;
  border: none;
  align-self: center;
  margin: 40px 0 71px 0;
  transition: background-color 2s;
}

.form_button:hover {
  background-color: #7d73fc;
}

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

.footer .social_media {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  border-top: 1px solid #646369;
  padding-top: 15px;
  width: 100%;
}

.footer .social_media > * {
  margin: 0 10px;
}

.footer .my_email {
  font-weight: 400;
  font-size: 20px;
  color: #ebebff;
  text-align: center;
}

.contact_text .contact_desktop,
.work_box2,
.nav_menu {
  display: none;
}

@media only screen and (min-width: 786px) {
  .contact_text .contact_us,
  .border_line,
  .menu {
    display: none;
  }

  .languages_container,
  .headline,
  .About_myself {
    background-image: none;
  }

  .footer .social_media {
    border: none;
    width: auto;
    padding: 20px 0 20px 0;
  }

  body {
    background-image: url(./assets/circle_img.svg), url(./assets/circle\ _header2.svg), url(./assets/Ellipse22.svg);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 69px 237px, 1143px 546px, right 2780px;
  }

  .navbar {
    height: 72px;
  }

  .navbar .logo {
    margin-left: 154px;
  }

  .nav_menu {
    display: flex;
    list-style: none;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    margin-right: 156px;
  }

  .nav_menu li {
    margin-right: 32px;
  }

  .popup_window {
    margin: 112px 142px 0 142px;
  }

  .top_title {
    display: flex;
    flex-direction: row;
  }

  .top_title .h_tag {
    font-size: 40px;
  }

  .top_title img {
    height: 40px;
    width: 40px;
  }

  #tags-popup li {
    padding: 15px;
    border-left: 1px solid #646369;
    border-right: 1px solid #646369;
  }

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

  .button1,
  .button2 {
    margin: 30px;
  }

  .popup_window .photo img {
    width: 100%;
    height: auto;
  }

  .popup_window .portfolio_para {
    justify-content: center;
    align-content: center;
    font-size: 16px;
    line-height: 30px;
    margin: 40px 236px 57px 236px;
  }

  .headline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 477px;
    margin: 0 auto;
    padding: 0;
  }

  .headline .myname {
    font-size: 90px;
    color: #9391ff;
    margin-top: 114px;
  }

  .headline .subtitle {
    font-size: 40px;
    color: #dfe1e6;
    margin-top: 24px;
    text-align: right;
  }

  .headline .myinfo {
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    align-self: center;
    color: #b3bac5;
    margin: 88px 0 20px 0;
  }

  .languages_container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 477px;
    margin: 0 auto;
    padding: 0 0 50px 0;
  }

  .languages_container > * {
    padding: 0;
  }

  .work_box2 {
    display: flex;
    align-items: center;
  }

  .work_box2 h2 {
    margin-right: 12px;
    font-weight: 500;
    font-size: 20px;
    color: #a2a3ae;
  }

  .social_media_container {
    display: flex;
    justify-content: space-between;
    max-width: 1156px;
    margin: 0 auto;
  }

  .recent_heading {
    max-width: 1156px;
    margin: 238px auto 0 auto;
    text-transform: lowercase;
  }

  .recent_heading span {
    text-transform: uppercase;
  }

  .About_myself {
    display: grid;
    justify-content: center;
    margin: 0 auto;
    padding-top: 129px;
    background-image: url(./assets/Ellipse19.svg), url(./assets/Ellipse20.svg), url(./assets/Ellipse21.svg);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: left top, right 760px, left 1041px;
  }

  .project-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin: 0;
  }

  .project-container * {
    order: 999;
  }

  .project-container .wrap-container1,
  .project-container .wrap-container2 {
    width: 448px;
    margin-left: 24px;
  }

  .project-container .wrap-container2 {
    order: 1;
    margin-left: 0;
    padding-left: 0;
  }

  .project-container .image_placeholder {
    width: 684px;
    height: 448px;
  }

  .tags {
    max-width: 100px;
  }

  .tags .css {
    padding-left: 0;
  }

  .contact_form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 378px;
  }

  .contact_text .contact_desktop {
    display: flex;
    justify-content: center;
    font-weight: 700;
    font-size: 40px;
    color: #9390ff;
    margin-top: 228px;
  }

  .contact_form .description {
    font-size: 20px;
    line-height: 28px;
  }

  .form_container input {
    width: 684px;
  }

  .form_container .text_area {
    height: 136px;
    width: 684px;
  }

  .form_button {
    width: 136px;
    transition: all 0.3s ease 3s;
  }

  .footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-top: 1px solid #646369;
  }
}
