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

body {
  font-family: "Lexend Deca", sans-serif;
  font-style: normal;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;

}

main {
  margin-bottom: 50px;

  @media (max-width:980px) {
    margin-bottom: 0;

  }
}

a {
  color: #545454;
}

h3 {
  margin-bottom: 15px;
}

h2 {
  margin-bottom: 20px;
}

.container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding-inline: 15px;
}

header {
  padding-inline: 40px;

  max-width: 1920px;
  width: 100%;
  box-shadow: 0px 4px 12px rgb(0, 0, 0, 0.06);
  margin: 0 auto;
}

.header_container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-inline: 15px;
}

.header_logo {
  align-items: center;
  display: flex;
  margin: auto 0;
  justify-content: center;

  h2 {
    /* display: flex; */
    /* align-items: center; */
    margin: auto 0;
    /* justify-content: center; */
  }

  img {}
}

.header_buttons {
  align-items: center;
  display: flex;
  gap: 10px;
  padding-block: 20px;

  @media (max-width:750px) {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 7rem;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    z-index: 5;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    transform: translatex(-100%);
    transition: all 0.3s linear;
  }

  a {
    padding: 10px;
    background-color: white;
    border: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s linear;

  }

  a:hover {
    background-color: rgb(230, 230, 230);
  }

  a:hover {
    cursor: pointer;
  }

  .hire_button {
    background-color: #5664F5;
    color: white;
    transition: all 0.3s linear;

  }

  .hire_button:hover {
    background-color: #4954d1;
    color: white;
  }

  .fiver {
    background-color: #03ca4c;
    transition: all 0.3s linear;
  }

  .fiver:hover {
    background-color: #02b242;
  }

  .download_button {
    border: 1px solid rgb(128, 128, 128, 0.2);
    border-radius: 12px;
  }
}

.main-screen {
  margin-top: 31px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgb(0, 0, 0, 0.06);
  padding-inline: 40px;
  display: flex;
  gap: 100px;
  padding-top: 25px;

  @media (max-width:968px) {
    display: block;
  }

  @media (max-width:480px) {
    padding-inline: 5px;

  }

  .side {
    display: flex;
    flex-direction: column;
    max-width: 30%;
    align-items: center;

    @media (max-width:968px) {
      max-width: 100%;
    }

    .my_img {
      max-width: 300px;
      max-height: 300px;
      border: solid 5px black;
      border-radius: 50%;
      clip-path: circle(50%);
      margin-bottom: 30px;
    }

    .about {
      display: flex;
      flex-direction: column;
      margin-bottom: 15px;
      align-items: center;

      @media (max-width:968px) {
        margin-bottom: 35px;
        ;
      }

      h2 {

        font-size: 32px;
      }


      span {
        margin-bottom: 10px;
        color: #545454;
        flex-wrap: wrap;
      }

      .skills {
        font-size: 20px;
        font-weight: bold;
      }

      .based {
        font-size: 16px;
        /* font-weight: bold; */
      }


    }

    .contact {
      display: flex;
      flex-direction: column;
      align-self: flex-start;
      margin-bottom: 20px;



      .mail {
        display: flex;
        gap: 5px;
        justify-content: center;

        @media (max-width:480px) {
          justify-content: flex-start;
          ;

        }

        img {
          padding-top: 5px;
          max-width: 24px;
          max-height: 24px;
          clip-path: inset(0 0 5px 0);
        }
      }
    }

    .core_skills {
      display: flex;
      flex-direction: column;
      align-self: flex-start;
      width: 100%;
      margin-bottom: 25px;


      .html {
        margin-bottom: 15px;

        .text {
          display: flex;
          justify-content: space-between;
          margin-bottom: 10px;
        }

        .line {
          display: inline-block;
          position: relative;
          background-color: #F0F1FF;
          height: 15px;
          width: 100%;
          border-radius: 15px;
        }

        .line::after {
          content: '';
          height: 15px;
          position: absolute;
          display: inline-block;
          left: 0;
          top: 0;
          width: 95%;
          background-color: #5664F5;
          border-radius: 15px;
        }
      }

      .css {
        margin-bottom: 15px;

        .text {
          display: flex;
          justify-content: space-between;
          margin-bottom: 10px;
        }

        .line {
          display: inline-block;
          position: relative;
          background-color: #F0F1FF;
          height: 15px;
          width: 100%;
          border-radius: 15px;
        }

        .line::after {
          content: '';
          height: 15px;
          position: absolute;
          display: inline-block;
          left: 0;
          top: 0;
          width: 90%;
          background-color: #5664F5;
          border-radius: 15px;
        }
      }

      .Responsive {
        margin-bottom: 10px;

        .text {
          display: flex;
          justify-content: space-between;
          margin-bottom: 10px;
        }

        .line {
          display: inline-block;
          position: relative;
          background-color: #F0F1FF;
          height: 15px;
          width: 100%;
          border-radius: 15px;
        }

        .line::after {
          content: '';
          height: 15px;
          position: absolute;
          display: inline-block;
          left: 0;
          top: 0;
          width: 85%;
          background-color: #5664F5;
          border-radius: 15px;
        }
      }

      .java {

        .text {
          display: flex;
          justify-content: space-between;
          margin-bottom: 10px;
        }

        .line {
          display: inline-block;
          position: relative;
          background-color: #F0F1FF;
          height: 15px;
          width: 100%;
          border-radius: 15px;
        }

        .line::after {
          content: '';
          height: 15px;
          position: absolute;
          display: inline-block;
          left: 0;
          top: 0;
          width: 70%;
          background-color: #5664F5;
          border-radius: 15px;
        }
      }
    }

    .tools {
      display: flex;
      flex-direction: column;
      align-self: flex-start;
      margin-bottom: 25px;


      .js {
        display: flex;

        gap: 15px;
        margin-bottom: 10px;

        img {
          max-width: 16px;
          max-height: 16px;
        }

        .image {
          background-color: #F0F1FF;
          padding: 8px;
          border-radius: 50%;
          justify-content: center;
          display: flex;
        }

        span {
          align-self: center;
        }
      }

      .css {
        display: flex;

        gap: 15px;
        margin-bottom: 10px;

        img {
          max-width: 16px;
          max-height: 16px;
        }

        .image {
          background-color: #F0F1FF;
          padding: 8px;
          border-radius: 50%;
          justify-content: center;
          display: flex;
        }

        span {
          align-self: center;
        }
      }

      .Bootstrap {
        display: flex;

        gap: 15px;
        margin-bottom: 10px;

        img {
          max-width: 16px;
          max-height: 16px;
        }

        .image {
          background-color: #F0F1FF;
          padding: 8px;
          border-radius: 50%;
          justify-content: center;
          display: flex;
        }

        span {
          align-self: center;
        }
      }

      .Git {
        display: flex;

        gap: 15px;
        margin-bottom: 10px;

        img {
          max-width: 16px;
          max-height: 16px;
        }

        .image {
          background-color: #F0F1FF;
          padding: 8px;
          border-radius: 50%;
          justify-content: center;
          display: flex;
        }

        span {
          align-self: center;
        }
      }

      .DevTools {
        display: flex;

        gap: 15px;
        margin-bottom: 10px;

        img {
          max-width: 16px;
          max-height: 16px;
        }

        .image {
          background-color: #F0F1FF;
          padding: 8px;
          border-radius: 50%;
          justify-content: center;
          display: flex;
        }

        span {
          align-self: center;
        }
      }
    }

    .links {
      display: flex;
      flex-direction: column;
      align-self: flex-start;

      .link {
        display: flex;

        align-items: center;
        gap: 10px;
        margin-bottom: 20px;

        .image {
          img {
            max-width: 28px;
            max-width: 28x;
          }
        }
      }
    }
  }

  .right {
    width: 100%;

    .aboutme {
      align-items: center;
      padding-bottom: 30px;
      margin-bottom: 15px;
      border-bottom: 1px solid #E0E0E0;

      h1 {
        padding-bottom: 15px;
        border-bottom: 1px solid #E0E0E0;
      }

      p {
        padding-top: 15px;
      }
    }

    .upwork-projects {

      margin-bottom: 50px;

      .bug-fix {


        .project {
          margin-bottom: 15px;
          border: 1px solid #E0E0E0;
          padding: 20px;
          border-radius: 10px;

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

          p {
            margin-bottom: 20px;
          }

          .project-buttons {
            margin-top: 20px;
            display: flex;
            gap: 15px;

            a {
              text-decoration: none;
              padding: 10px;
              border-radius: 12px;
            }


            .fiver-btn {
              background-color: #03ca4c;
              transition: all 0.3s linear;
              color: white;
            }

            .fiver-btn:hover {
              background-color: #02b242;
            }

            .upwork-btn {
              background-color: #5664F5;
              color: white;
              transition: all 0.3s linear;

            }

            .upwork-btn:hover {
              background-color: #4954d1;
              color: white;
            }
          }

          h2 {
            margin-bottom: 20px;
          }
        }
      }
    }

    .portfolio {
      h2 {
        border-bottom: 1px solid #E0E0E0;
        padding-bottom: 20px;
      }

      margin-bottom: 60px;

      .cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding-bottom: 1rem;

        @media (max-width:1024px) {
          grid-template-columns: repeat(1, 1fr);

        }

        .card-wrap {
          text-decoration: none;
          transition: all 0.3s linear;

          .card {
            border: 1px solid #E0E0E0;
            border-radius: 12px;
            padding: 12px;
            display: flex;
            flex-direction: column;
            height: 100%;

            .ghost {
              margin-top: auto;
            }

            img {
              max-width: 100%;

              border-radius: 12px;
              margin-bottom: 10px;
            }

            .site-name {
              color: black;
              font-size: 24px;
              margin-bottom: 15px;
            }
          }
        }

        .card-wrap:hover {
          transform: scale(1.01);
        }

      }
    }
  }
}

.footer {
  margin-top: auto;

}

footer .container {
  border-top: 1px solid #E0E0E0;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  @media (max-width:580px) {
    flex-direction: column;
    align-items: center;
  }

  .left {
    color: #545454;
  }

  .right {
    display: flex;
    align-items: center;
    gap: 5px;
  }
}

.burger-open {
  margin: auto 0;
  display: none;

  @media (max-width:750px) {
    display: block;
  }
}

.burger-open:hover {
  cursor: pointer;
}

.active {
  transform: translatex(0%);
}

.close-burger {
  display: none;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 5px;
  right: 57px;

  @media (max-width:750px) {
    display: block;
  }
}

.close-burger:hover {
  cursor: pointer;
}