* {
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

nav {
  padding: 15px;
}

html {
  scroll-behavior: smooth;
}

.logo {
  font-weight: bold;
  font-size: 18px;
  color: #6070ff;
  margin-top: 15px;
  margin-left: 30px;
}

.logo:hover {
  transition: 100ms;
  font-size: 22px;
}

.ham0 {
  margin-top: 6px;
}

.ham {
  width: 25px;
  height: 3px;
  background-color: #6070ff;
  margin: 3px 0;
  border-radius: 3px;
}

.mobile_menu {
  background-color: rgba(96, 112, 255, 0.7);
  backdrop-filter: blur(8.26px);
  position: fixed;
  width: 100%;
  height: 100vh;
  visibility: hidden;
}

.mobile_navbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  clear: both;
}

.cross_icon {
  float: right;
  cursor: pointer;
}

.mobile_navbar a {
  color: #fff;
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  margin-top: 20px;
  opacity: 1;
}

.home-ind-container {
  text-align: center;
  position: fixed;
  bottom: 0%;
  left: 25%;
  right: 25%;
}

#work,
#about-me,
#contact-us {
  transition: all 3s ease-in-out;
}

body {
  background-color: #e5e5e5;
  overflow: auto;
}

.homepage {
  background-image: url(./images/background.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 0 0 90px;
  background-color: white;
  margin-top: -2px;
  width: auto;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.container0 {
  background-color: white;
  display: flex;
  justify-content: space-between;
}

.desktop-nav {
  display: none;
}

.intro {
  font-size: 40px;
  font-weight: bold;
  color: #172b4d;
  margin-top: 61px;
}

.intro:hover {
  transition: 100ms;
  color: #6070ff;
}

.description {
  font-size: 16px;
  font-weight: 500;
  text-align: justify;
  line-height: 28px;
  margin-left: 5px;
  margin-right: 5px;
  color: #172b4d;
  margin-bottom: 12px;
}

.description:hover {
  color: orangered;
}

.connect {
  font-weight: 500;
  font-size: 16px;
  color: #7f8cff;
}

.list-img {
  animation-name: connect-right;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.icon-list {
  display: flex;
  list-style: none;
  margin-bottom: 68px;
}

.abm-icons {
  margin-bottom: 25px;
}

.fa {
  color: #505f79;
  margin-right: 10px;
}

.container2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fa-color {
  color: #505f79;
}

/* Model Style */

.bg_model {
  background-color: rgba(193, 199, 208, 0.7);
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.model_content {
  width: 93%;
  height: calc(100vh - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background-color: #fff;
  border-radius: 8px;
  padding-bottom: 10px;
}

.model_header {
  display: flex;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}

.project_title {
  color: #172b4d;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
}

.crossBtn {
  color: #67798e;
  font-size: 30px;
  cursor: pointer;
}

.img_project {
  width: 100%;
}

.info_list {
  display: flex;
  flex-direction: row;
  align-self: flex-start;
  list-style: none;
  margin-bottom: 12px;
}

.info_list li {
  margin-left: 16px;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
}

.item1 {
  color: #344563;
}

.item2 {
  color: #7a869a;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  display: flex;
}

.dot {
  line-height: 16px;
  font-size: 30px;
  margin-right: 10px;
}

.img_desktop {
  display: none;
}

.tech_list {
  width: 90%;
  display: flex;
  align-items: flex-start;
  list-style: none;
  margin-bottom: 30px;
}

.tech_list li {
  background-color: #ebebff;
  color: #6070ff;
  border-radius: 8px;
  font-size: 12px;
  padding: 4px 12px;
  font-weight: 500;
}

.margin_li {
  margin-left: 10px;
}

.project_description {
  text-align: start;
  color: #344563;
  font-size: 15px;
  width: 90%;
  line-height: 24px;
  font-weight: 400;
}

.model_btn {
  border: 1px solid #6070ff;
  padding: 6px 10px;
  border-radius: 8px;
  color: #396df2;
  width: 113px;
  height: 26px;
}

.buttons {
  width: 90%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: 31px 0 12px 0;
}

._icon {
  margin-left: 5px;
}

/* Model Style */

.w1contain {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: white;
  margin: 100px 5%;
  padding: 20px;
}

.works-title {
  color: #172b4d;
  font-weight: bold;
  font-size: 40px;
}

.w11contain {
  display: flex;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 15px;
}

.spec1 {
  list-style: none;
  color: #344563;
  margin: 16px 0 10px 0;
}

.spec2 {
  margin-left: 30px;
  color: #7a869a;
  margin-top: 16px;
}

.w1par {
  width: 295px;
  margin-top: 20px;
  color: #344563;
  font-size: 17px;
}

.w1btn:disabled {
  color: #6070ff;
  font-size: 15px;
  background: #ebebff;
  border: none;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.w1b:disabled {
  margin-left: 10px;
}

.w1btn2 {
  padding: 16px;
  width: 120px;
  margin-bottom: 30px;
  border: 1px solid #6070ff;
  color: #6070ff;
  background-color: white;
  border-radius: 10px;
  transition: 100ms;
}

.w1btn2:hover {
  border: 1px solid #6070ff;
  color: white;
  background-color: #6070ff;
  cursor: pointer;
}

.w1btn2:active {
  background-color: #2230d2;
  color: white;
  border: 1px solid #2230d2;
}

.w1btn2:disabled {
  background: white;
  color: #5e6c84;
  border: 1px solid #5e6c84;
}

.w1btn3 {
  padding: 7px 16px;
  width: 140px;
  height: 47px;
  margin-top: -20px;
  margin-bottom: 30px;
  border: 1px solid #6070ff;
  color: #6070ff;
  background-color: white;
  border-radius: 10px;
}

.w1btn3:hover {
  border: 1px solid #6070ff;
  color: white;
  background-color: #6070ff;
  transition: 100ms;
  cursor: pointer;
}

.w1btn3:active {
  background-color: #2230d2;
  color: white;
  border: 1px solid #2230d2;
}

.w1btn3:disabled {
  background: white;
  color: #5e6c84;
  border: 1px solid #5e6c84;
}

.modal {
  position: absolute;
  z-index: 1;
  background-color: rgb(0, 0, 0, 0.5);
  width: 100%;
  height: 100vh;
  overflow: auto;
  top: 0;
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: 1fr;
  visibility: hidden;
}

.modal_container {
  background-color: white;
  margin: 20px;
  border-radius: 10px;
}

.closeBtn {
  float: right;
  padding: 20px;
  font-size: 24px;
  color: rgba(103, 121, 142, 1);
}

.pti {
  width: 100%;
}

.section-about-myself-2 {
  width: 100%;
}

.abm-skills-ul {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.abm-intro {
  width: 40px;
}

.abm-skills {
  list-style: none;
  font-weight: 500;
  font-size: 20px;
  grid-column: 1 / 2;
}

.abm-skills-img {
  list-style: none;
  grid-column: 1 / span 2;
  height: 80px;
  display: flex;
  background-color: #f7f7f9;
  margin: 5px 5px;
  border-radius: 10px;
}

.abm-skills-img2 {
  margin: 20px;
}

.abm-skills-img3 {
  font-weight: 500;
  font-size: 15px;
  color: #253858;
  position: relative;
  left: 100px;
  bottom: 55px;
  list-style: none;
}

.abm-img-4 {
  display: none;
}

.abm-skills-arrow {
  list-style: none;
  margin-top: 10px;
  margin-left: 30px;
}

.write {
  color: #344563;
}

.cr-grid {
  display: grid;
  grid-template-columns: 1fr;
  background-color: #e5e5e5;
}

.contact-back {
  background-color: white;
}

.contact-form {
  background-image: url(./images/background2.png);
  background-color: #6070ff;
  background-size: cover;
  border-radius: 91.5px 0 0 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info h2 {
  font-size: 40px;
  text-align: center;
  color: white;
  margin-top: 160px;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 20px;
  text-align: center;
  margin-bottom: 38px;
  padding: 0 70px;
  color: white;
}

.contact-input {
  width: 317px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 17px;
  border: none;
  color: #172b4d;
  padding: 10px 15px;
}

.contact-textarea {
  width: 317px;
  height: 160px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 17px;
  border: none;
  color: #172b4d;
  padding: 10px 15px;
}

.contact-textarea:focus {
  border: 1px solid #6070ff;
}

.contact-button {
  width: 140px;
  height: 48px;
  color: #6070ff;
  margin-bottom: 20px;
  align-self: flex-start;
  border-radius: 8px;
  border: none;
  font-size: 17px;
  font-weight: 500;
  background-color: white;
}

.contact-button:hover {
  background-color: #6070ff;
  border: 1px solid white;
  color: white;
  font-size: 17px;
  transition: 100ms;
  cursor: pointer;
}

.input-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
}

.home-ind {
  margin-top: 50px;
  margin-bottom: 10px;
}

.snap01 {
  display: none;
}

.about-me-01 {
  background-color: white;
  border-radius: 0 70px 0 0;
}

.list-1 {
  list-style: none;
}

.list-item-1 {
  display: flex;
  justify-content: space-between;
}

.list-2 {
  display: flex;
  flex-direction: column;
  flex-basis: 100px;
  list-style: none;
}

.list-item-2 {
  background: #f7f7f9;
  display: flex;
  align-items: center;
  padding: 10px;
  margin-top: 20px;
  border-radius: 5px;
}

.name {
  margin-left: 10px;
  color: #253858;
  font-weight: 500;
  font-size: 15px;
}

.list-3 {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.list-4 {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/* Validation message */

.hidden {
  display: none;
}

.error {
  display: block;
  color: red;
  font-size: 15px;
  font-weight: bold;
  position: relative;
  bottom: 10px;
}

.success {
  display: block;
  color: green;
  font-size: 15px;
  font-weight: bold;
  position: relative;
  bottom: 10px;
}

@media screen and (min-width: 1024px) {
  .logo {
    margin-left: 60px;
    margin-top: 10px;
  }

  .mobile-nav {
    display: none;
  }

  .desktop-nav {
    display: inherit;
    margin-right: 30px;
  }

  .nav-link {
    text-decoration: none;
    margin-right: 30px;
    color: #344563;
    transition: all 0.2s linear;
  }

  .nav-link:hover {
    color: #6070ff;
    transition: all 100ms ease-in-out;
  }

  .homepage {
    background-image: url(./images/background_1024.png);
    padding-bottom: 100px;
  }

  .home-page {
    width: 870px;
    margin: 0 auto;
  }

  .intro {
    margin-top: 200px;
    width: 350px;
    height: 122px;
    color: #091e42;
  }

  .description {
    color: #344563;
    margin-bottom: 12px;
  }

  .cr-grid {
    display: flex;
    flex-direction: column;
  }

  .w1contain {
    flex-direction: row;
    justify-content: space-between;
    align-self: center;
  }

  .for-fullscreen {
    margin-left: 50px;
  }

  .for-portfolio {
    margin: 20px 50px;
  }

  .pti {
    display: none;
    width: 100%;
  }

  .snap01 {
    display: inherit;
    width: 350px;
    margin: auto;
  }

  .img13 {
    align-self: flex-start;
  }

  .img24 {
    align-self: flex-end;
  }

  .w1par {
    width: 496px;
  }

  .abm-intro {
    margin-top: 80px;
    width: 200px;
    height: 114px;
  }

  .section-about-myself {
    width: 40%;
    margin-left: 70px;
  }

  .section-about-myself-2 {
    width: 60%;
    margin-left: 20px;
    display: flex;
    justify-content: space-between;
  }

  .list-item-1 {
    margin-left: 20px;
  }

  .list-3 {
    margin-left: 20px;
  }

  .list-2 {
    flex-direction: row;
    margin: 25px 10px 30px 10px;
  }

  .list-item-2 {
    width: 100px;
    margin: 10px;
    display: list-item;
    margin-top: -20px;
  }

  .name {
    margin-left: 10px;
  }

  .abm-container {
    flex-direction: row;
    justify-content: space-around;
  }

  .icon-list {
    margin-bottom: 10px;
  }

  .abm-icons {
    margin-bottom: 25px;
  }

  .w1btn3 {
    margin-bottom: 80px;
  }

  .skills-high-resolution {
    display: flex;
  }

  .abm-skills-ul {
    margin-top: 140px;
    grid-template-columns: 4fr 1fr;
  }

  .abm-skills-img {
    padding: 20px;
    display: flex;
    flex-direction: column;
  }

  .abm-skills-img2 {
    margin-left: 0;
    position: relative;
    bottom: 30px;
    right: 17px;
  }

  .abm-skills-img3 {
    display: none;
  }

  .abm-img-4 {
    display: inherit;
    position: relative;
    top: 100px;
  }

  .abm-skills-images4 {
    list-style: none;
    font-weight: 500;
    font-size: 15px;
    color: #253858;
  }

  .img1 {
    position: relative;
    right: 350px;
  }

  .img2 {
    position: relative;
    right: 300px;
  }

  .img3 {
    position: relative;
    right: 230px;
  }

  .contact-form {
    background-image: url(./images/contact-back-high.png);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .contact-info p {
    width: 569px;
  }

  .contact-button {
    align-self: center;
  }

  .home-ind {
    display: none;
  }

  .img_project {
    display: none;
  }

  .model_content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, auto);
    height: auto;
    width: 70vw;
    position: fixed;
    top: 20px;
    bottom: 20px;
    overflow-y: scroll;
  }

  .model_content::-webkit-scrollbar {
    display: none;
  }

  .model_header {
    grid-column: 1/ 5;
    place-self: end center;
  }

  .info_list {
    grid-column: 1 / 3;
    place-self: start;
    margin-left: 35px;
  }

  .img_desktop {
    grid-column: 1/5;
    grid-row: 3/4;
    display: inherit;
    place-self: stretch center;
    width: 100%;
  }

  .project_description {
    grid-column: 1/4;
    grid-row: 4/6;
    place-self: center;
  }

  .tech_list {
    grid-column: 4/5;
    grid-row: 4/5;
    place-self: center;
    margin-left: 20px;
    margin-top: 20px;
  }

  .buttons {
    grid-column: 4/5;
    grid-row: 5/6;
    margin-top: 0;
  }

  .button_line {
    display: none;
  }

  .live {
    margin-right: 5px;
  }

  .model_btn {
    margin-top: 0;
    width: 130px;
  }

  @keyframes connect-right {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(15px);
    }
  }
}

@media screen and (max-width: 320px) {
  .project_description {
    font-size: 13px;
    line-height: 17px;
  }
}
